Pull request #168 updated 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 jpwhitemn for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 0d9b53f380664d327cdd8d5493c2988863f41b5b+73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 (e4c38822e6ec1e743b80d649bec8f9691843c18e) 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-ssh14631444530693710613.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh691602162238199469.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-168/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1427498274076748725.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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-ssh13839640523597879326.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-168/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > 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-168/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9256323143827229650.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[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-41442 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [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-168 # 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/main commit 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit 0d9b53f380664d327cdd8d5493c2988863f41b5b Merge succeeded, producing 0d9b53f380664d327cdd8d5493c2988863f41b5b Checking out Revision 0d9b53f380664d327cdd8d5493c2988863f41b5b (PR-168) > 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/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d9b53f380664d327cdd8d5493c2988863f41b5b # 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 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d9b53f380664d327cdd8d5493c2988863f41b5b # timeout=10 Commit message: "docs: additions to CHANGELOG" > git rev-list --no-walk c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:26:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:26:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:26:13 ========================================================= 01:26:13 EdgeX Global Pipelines Version Info 01:26:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:26:14 ------------------- 01:26:14 stable info: 01:26:14 ------------------- 01:26:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:26:14 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:26:14 Message: update stable to v1.0.227 01:26:14 ------------------- 01:26:14 experimental info: 01:26:14 ------------------- 01:26:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:26:14 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 01:26:14 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:26:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 01:26:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 01:26:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:26:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:26:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:26:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d9b53f380664d327cdd8d5493c2988863f41b5b [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d9b53f [Pipeline] echo 01:26:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:15 provisioning config files... 01:26:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config5135704602898657588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:15 ---> docker-login.sh 01:26:15 nexus3.edgexfoundry.org:10001 01:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:16 Configure a credential helper to remove this warning. See 01:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:16 01:26:16 Login Succeeded 01:26:16 nexus3.edgexfoundry.org:10002 01:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:16 Configure a credential helper to remove this warning. See 01:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:16 01:26:16 Login Succeeded 01:26:16 nexus3.edgexfoundry.org:10003 01:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:16 Configure a credential helper to remove this warning. See 01:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:16 01:26:16 Login Succeeded 01:26:16 nexus3.edgexfoundry.org:10004 01:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:16 Configure a credential helper to remove this warning. See 01:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:16 01:26:16 Login Succeeded 01:26:16 docker.io 01:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:17 Configure a credential helper to remove this warning. See 01:26:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:17 01:26:17 Login Succeeded 01:26:17 ---> docker-login.sh ends [Pipeline] } 01:26:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:26:17 + git rev-list -1 --merges 0d9b53f380664d327cdd8d5493c2988863f41b5b~1..0d9b53f380664d327cdd8d5493c2988863f41b5b [Pipeline] echo 01:26:17 -----------> git rev-list -1 --merges 0d9b53f380664d327cdd8d5493c2988863f41b5b~1..0d9b53f380664d327cdd8d5493c2988863f41b5b 0d9b53f380664d327cdd8d5493c2988863f41b5b [false] [Pipeline] sh 01:26:17 + git log --format=format:%s -1 0d9b53f380664d327cdd8d5493c2988863f41b5b [Pipeline] echo 01:26:17 ========================================================= 01:26:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:26:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:26:18 + git log --format=format:%s -1 0d9b53f380664d327cdd8d5493c2988863f41b5b [Pipeline] echo 01:26:18 [semverPrep] GIT_COMMIT: 0d9b53f380664d327cdd8d5493c2988863f41b5b, Commit Message: docs: additions to CHANGELOG [Pipeline] echo 01:26:18 [semverPrep] This is not a build commit. [Pipeline] sh 01:26:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:26:18 + grep -v github /etc/ssh/ssh_known_hosts 01:26:18 + [ -e /tmp/ssh_known_hosts ] 01:26:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:26:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:26:18 + sudo tee -a /etc/ssh/ssh_known_hosts 01:26:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:26:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:26:19 01:26:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:26:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:26:19 latest: Pulling from edgex-devops/py-git-semver 01:26:19 1fe172e4850f: Pulling fs layer 01:26:19 caf521ccaac6: Pulling fs layer 01:26:19 3ead6fa29328: Pulling fs layer 01:26:19 5c2a1cbceb83: Pulling fs layer 01:26:19 a8d5f1318db7: Pulling fs layer 01:26:19 c427282e49a2: Pulling fs layer 01:26:19 1827001aaf11: Pulling fs layer 01:26:19 0714d37db230: Pulling fs layer 01:26:19 ac28cf19c067: Pulling fs layer 01:26:19 ca983d60f3e2: Pulling fs layer 01:26:19 c427282e49a2: Waiting 01:26:19 5c2a1cbceb83: Waiting 01:26:19 0714d37db230: Waiting 01:26:19 1827001aaf11: Waiting 01:26:19 ac28cf19c067: Waiting 01:26:19 ca983d60f3e2: Waiting 01:26:19 a8d5f1318db7: Waiting 01:26:19 9f894cec8388: Pulling fs layer 01:26:19 9f894cec8388: Waiting 01:26:19 caf521ccaac6: Download complete 01:26:19 5c2a1cbceb83: Download complete 01:26:19 3ead6fa29328: Verifying Checksum 01:26:19 3ead6fa29328: Download complete 01:26:19 c427282e49a2: Download complete 01:26:19 a8d5f1318db7: Verifying Checksum 01:26:19 a8d5f1318db7: Download complete 01:26:19 0714d37db230: Verifying Checksum 01:26:19 0714d37db230: Download complete 01:26:19 ac28cf19c067: Verifying Checksum 01:26:19 ac28cf19c067: Download complete 01:26:19 ca983d60f3e2: Verifying Checksum 01:26:19 ca983d60f3e2: Download complete 01:26:19 9f894cec8388: Verifying Checksum 01:26:19 9f894cec8388: Download complete 01:26:19 1fe172e4850f: Verifying Checksum 01:26:19 1fe172e4850f: Download complete 01:26:19 1827001aaf11: Verifying Checksum 01:26:19 1827001aaf11: Download complete 01:26:21 1fe172e4850f: Pull complete 01:26:21 caf521ccaac6: Pull complete 01:26:21 3ead6fa29328: Pull complete 01:26:21 5c2a1cbceb83: Pull complete 01:26:22 a8d5f1318db7: Pull complete 01:26:22 c427282e49a2: Pull complete 01:26:23 1827001aaf11: Pull complete 01:26:23 0714d37db230: Pull complete 01:26:24 ac28cf19c067: Pull complete 01:26:24 ca983d60f3e2: Pull complete 01:26:24 9f894cec8388: Pull complete 01:26:24 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:26:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:26:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:26:24 prd-ubuntu20.04-docker-8c-8g-41442 does not seem to be running inside a container 01:26:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:26:26 $ docker top 2d6d00cc83fc5d9e2f30c6a8db7a7a3f90df68529a7b9b5bd4530b6b1c84fc8f -eo pid,comm 01:26:26 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:26:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:26:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:26 [ssh-agent] Looking for ssh-agent implementation... 01:26:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:26 $ docker exec 2d6d00cc83fc5d9e2f30c6a8db7a7a3f90df68529a7b9b5bd4530b6b1c84fc8f ssh-agent 01:26:26 SSH_AUTH_SOCK=/tmp/ssh-q7ShmhYSwaW2/agent.32 01:26:26 SSH_AGENT_PID=39 01:26:26 Running ssh-add (command line suppressed) 01:26:26 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_7773186200972818430.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_7773186200972818430.key) 01:26:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:27 + git tag --points-at HEAD [Pipeline] } 01:26:27 $ docker exec --env ******** --env ******** 2d6d00cc83fc5d9e2f30c6a8db7a7a3f90df68529a7b9b5bd4530b6b1c84fc8f ssh-agent -k 01:26:27 unset SSH_AUTH_SOCK; 01:26:27 unset SSH_AGENT_PID; 01:26:27 echo Agent pid 39 killed; 01:26:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:26:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:27 [ssh-agent] Looking for ssh-agent implementation... 01:26:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:27 $ docker exec 2d6d00cc83fc5d9e2f30c6a8db7a7a3f90df68529a7b9b5bd4530b6b1c84fc8f ssh-agent 01:26:27 SSH_AUTH_SOCK=/tmp/ssh-lj6O8yFUC0I0/agent.71 01:26:27 SSH_AGENT_PID=77 01:26:27 Running ssh-add (command line suppressed) 01:26:27 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_1339681725383221777.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_1339681725383221777.key) 01:26:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:27 + git semver init 01:26:28 2022-05-08 01:26:28,054 [run_init] DEBUG init version:0.0.0 force:False 01:26:28 2022-05-08 01:26:28,054 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 01:26:28 2022-05-08 01:26:28,055 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 01:26:28 2022-05-08 01:26:28,055 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168, universal_newlines=False, shell=None, istream=None) 01:26:29 2022-05-08 01:26:28,853 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.git/info/exclude 01:26:29 2022-05-08 01:26:28,853 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 with force:False 01:26:29 2022-05-08 01:26:28,853 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 01:26:29 2022-05-08 01:26:28,856 [execute] INFO git cat-file --batch-check 01:26:29 2022-05-08 01:26:28,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 01:26:29 2022-05-08 01:26:28,862 [execute] INFO git cat-file --batch 01:26:29 2022-05-08 01:26:28,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 01:26:29 2022-05-08 01:26:28,867 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 01:26:29 0.0.0 [Pipeline] } 01:26:29 $ docker exec --env ******** --env ******** 2d6d00cc83fc5d9e2f30c6a8db7a7a3f90df68529a7b9b5bd4530b6b1c84fc8f ssh-agent -k 01:26:29 unset SSH_AUTH_SOCK; 01:26:29 unset SSH_AGENT_PID; 01:26:29 echo Agent pid 77 killed; 01:26:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:26:29 + git semver [Pipeline] } 01:26:29 $ docker stop --time=1 2d6d00cc83fc5d9e2f30c6a8db7a7a3f90df68529a7b9b5bd4530b6b1c84fc8f 01:26:31 $ docker rm -f 2d6d00cc83fc5d9e2f30c6a8db7a7a3f90df68529a7b9b5bd4530b6b1c84fc8f [Pipeline] // withDockerContainer [Pipeline] sh 01:26:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:26:31 Stashed 1 file(s) [Pipeline] echo 01:26:31 [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:26:31 provisioning config files... 01:26:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config110258500937007417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:32 ---> docker-login.sh 01:26:32 nexus3.edgexfoundry.org:10001 01:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:32 Configure a credential helper to remove this warning. See 01:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:32 01:26:32 Login Succeeded 01:26:32 nexus3.edgexfoundry.org:10002 01:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:32 Configure a credential helper to remove this warning. See 01:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:32 01:26:32 Login Succeeded 01:26:32 nexus3.edgexfoundry.org:10003 01:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:32 Configure a credential helper to remove this warning. See 01:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:32 01:26:32 Login Succeeded 01:26:32 nexus3.edgexfoundry.org:10004 01:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:32 Configure a credential helper to remove this warning. See 01:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:32 01:26:32 Login Succeeded 01:26:32 docker.io 01:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:32 Configure a credential helper to remove this warning. See 01:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:32 01:26:32 Login Succeeded 01:26:32 ---> docker-login.sh ends [Pipeline] } 01:26:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:26:33 ========================================================= 01:26:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:26:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:26:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:26:33 Sending build context to Docker daemon 5.335MB 01:26:33 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:26:33 Step 2/12 : FROM ${BASE} AS builder 01:26:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:26:33 59bf1c3509f3: Pulling fs layer 01:26:33 666ba61612fd: Pulling fs layer 01:26:33 8ed8ca486205: Pulling fs layer 01:26:33 4fe6c5a15a65: Pulling fs layer 01:26:33 22a0e8bec74d: Pulling fs layer 01:26:33 ca2b28591e48: Pulling fs layer 01:26:33 a51346096db8: Pulling fs layer 01:26:33 daebc70d1ce1: Pulling fs layer 01:26:33 0e18a0eac166: Pulling fs layer 01:26:33 ca2b28591e48: Waiting 01:26:33 a51346096db8: Waiting 01:26:33 daebc70d1ce1: Waiting 01:26:33 4fe6c5a15a65: Waiting 01:26:33 0e18a0eac166: Waiting 01:26:33 22a0e8bec74d: Waiting 01:26:33 8ed8ca486205: Verifying Checksum 01:26:33 8ed8ca486205: Download complete 01:26:33 666ba61612fd: Download complete 01:26:33 22a0e8bec74d: Download complete 01:26:33 ca2b28591e48: Verifying Checksum 01:26:33 ca2b28591e48: Download complete 01:26:33 59bf1c3509f3: Verifying Checksum 01:26:33 a51346096db8: Verifying Checksum 01:26:33 a51346096db8: Download complete 01:26:33 daebc70d1ce1: Verifying Checksum 01:26:33 daebc70d1ce1: Download complete 01:26:33 59bf1c3509f3: Pull complete 01:26:33 666ba61612fd: Pull complete 01:26:33 8ed8ca486205: Pull complete 01:26:34 0e18a0eac166: Verifying Checksum 01:26:34 0e18a0eac166: Download complete 01:26:34 4fe6c5a15a65: Verifying Checksum 01:26:34 4fe6c5a15a65: Download complete 01:26:38 4fe6c5a15a65: Pull complete 01:26:38 22a0e8bec74d: Pull complete 01:26:38 ca2b28591e48: Pull complete 01:26:38 a51346096db8: Pull complete 01:26:38 daebc70d1ce1: Pull complete 01:26:40 0e18a0eac166: Pull complete 01:26:40 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:26:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:26:40 ---> f018257e8ee9 01:26:40 Step 3/12 : ARG MAKE='make build' 01:26:41 ---> Running in fe612aa9fb5e 01:26:41 Removing intermediate container fe612aa9fb5e 01:26:41 ---> d59e6872ab51 01:26:41 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:26:41 ---> Running in f171d3796185 01:26:41 Removing intermediate container f171d3796185 01:26:41 ---> 6441ab511df2 01:26:41 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:26:41 ---> Running in a9b4d991e97b 01:26:42 Removing intermediate container a9b4d991e97b 01:26:42 ---> bb289d9a896e 01:26:42 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:42 ---> Running in 88a30f7659f1 01:26:42 Removing intermediate container 88a30f7659f1 01:26:42 ---> 2d2a5aeb59f8 01:26:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:42 ---> Running in 7f0fa7119913 01:26:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:26:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:26:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:26:44 (2/4) Installing libedit (20210910.3.1-r0) 01:26:44 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:26:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:26:44 Executing busybox-1.34.1-r3.trigger 01:26:44 OK: 224 MiB in 56 packages 01:26:44 Removing intermediate container 7f0fa7119913 01:26:44 ---> 9b0372329760 01:26:44 Step 8/12 : WORKDIR /device-snmp-go 01:26:44 ---> Running in 6bb18983614c 01:26:44 Removing intermediate container 6bb18983614c 01:26:44 ---> 397db458fb7c 01:26:44 Step 9/12 : COPY go.mod vendor* ./ 01:26:44 ---> 9030ae8545e2 01:26:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:45 ---> Running in fdea73f89d9e 01:26:46 Still waiting to schedule task 01:26:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:27:00 Removing intermediate container fdea73f89d9e 01:27:00 ---> dc2c640c3a61 01:27:00 Step 11/12 : COPY . . 01:27:00 ---> 29d1241ddca6 01:27:00 Step 12/12 : RUN ${MAKE} 01:27:00 ---> Running in b0d6e3e02f29 01:27:00 noop 01:27:00 Removing intermediate container b0d6e3e02f29 01:27:00 ---> fa0fb74d7dda 01:27:00 Successfully built fa0fb74d7dda 01:27:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:27:00 + docker inspect -f . ci-base-image-x86_64 01:27:00 . [Pipeline] withDockerContainer 01:27:00 prd-ubuntu20.04-docker-8c-8g-41442 does not seem to be running inside a container 01:27:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@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 ******** ci-base-image-x86_64 cat 01:27:01 $ docker top 1d556d9ed932675dd62c7f8f0f28374e6855232acbaec312fde7f4df84333e60 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:01 + go version 01:27:01 go version go1.17.6 linux/amd64 [Pipeline] } 01:27:01 $ docker stop --time=1 1d556d9ed932675dd62c7f8f0f28374e6855232acbaec312fde7f4df84333e60 01:27:03 $ docker rm -f 1d556d9ed932675dd62c7f8f0f28374e6855232acbaec312fde7f4df84333e60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:27:03 + docker inspect -f . ci-base-image-x86_64 01:27:03 . [Pipeline] withDockerContainer 01:27:03 prd-ubuntu20.04-docker-8c-8g-41442 does not seem to be running inside a container 01:27:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@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 ******** ci-base-image-x86_64 cat 01:27:03 $ docker top f8ac20e88bdb541c4be615e153ca5c8c7de37050298050d40fa03b6e5b3e06c1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:27:04 + make test 01:27:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:27:04 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:27:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:27:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 01:27:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:27:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:22 ./bin/test-attribution-txt.sh [Pipeline] echo 01:27:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:27:22 $ docker stop --time=1 f8ac20e88bdb541c4be615e153ca5c8c7de37050298050d40fa03b6e5b3e06c1 01:27:24 $ docker rm -f f8ac20e88bdb541c4be615e153ca5c8c7de37050298050d40fa03b6e5b3e06c1 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:26 + ls -al . 01:27:26 total 168 01:27:26 drwxrwxr-x 9 jenkins jenkins 4096 May 8 01:27 . 01:27:26 drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:26 .. 01:27:26 -rw-rw-r-- 1 jenkins jenkins 6 May 8 01:26 .dockerignore 01:27:26 drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:26 .git 01:27:26 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:26 .github 01:27:26 -rw-rw-r-- 1 jenkins jenkins 328 May 8 01:26 .gitignore 01:27:26 -rw-rw-r-- 1 jenkins jenkins 41 May 8 01:26 .golangci.yml 01:27:26 drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:26 .semver 01:27:26 -rw-rw-r-- 1 jenkins jenkins 8296 May 8 01:26 Attribution.txt 01:27:26 -rw-rw-r-- 1 jenkins jenkins 7102 May 8 01:26 CHANGELOG.md 01:27:26 -rw-rw-r-- 1 jenkins jenkins 1516 May 8 01:26 Dockerfile 01:27:26 -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:26 GOVERNANCE.md 01:27:26 -rw-rw-r-- 1 jenkins jenkins 656 May 8 01:26 Jenkinsfile 01:27:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 01:26 LICENSE 01:27:26 -rw-rw-r-- 1 jenkins jenkins 1938 May 8 01:26 Makefile 01:27:26 -rw-rw-r-- 1 jenkins jenkins 620 May 8 01:26 OWNERS.md 01:27:26 -rw-rw-r-- 1 jenkins jenkins 9390 May 8 01:26 README.md 01:27:26 -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:26 VERSION 01:27:26 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:26 bin 01:27:26 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:26 cmd 01:27:26 -rw-r--r-- 1 jenkins jenkins 7631 May 8 01:27 coverage.out 01:27:26 -rw-rw-r-- 1 jenkins jenkins 3296 May 8 01:26 go.mod 01:27:26 -rw-rw-r-- 1 jenkins jenkins 35911 May 8 01:26 go.sum 01:27:26 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:26 internal 01:27:26 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:26 snap 01:27:26 -rw-rw-r-- 1 jenkins jenkins 209 May 8 01:26 version.go [Pipeline] isUnix [Pipeline] sh 01:27:26 + 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=0d9b53f380664d327cdd8d5493c2988863f41b5b --label arch=amd64 --label version=0.0.0 . 01:27:26 Sending build context to Docker daemon 5.343MB 01:27:26 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:27:26 Step 2/24 : FROM ${BASE} AS builder 01:27:26 ---> fa0fb74d7dda 01:27:26 Step 3/24 : ARG MAKE='make build' 01:27:26 ---> Running in 55d4f437bd31 01:27:26 Removing intermediate container 55d4f437bd31 01:27:26 ---> cf62ff625c07 01:27:26 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:27:26 ---> Running in 081e9ccd5546 01:27:26 Removing intermediate container 081e9ccd5546 01:27:26 ---> 68dd4f882bfa 01:27:26 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:27:26 ---> Running in d62e37a6a9e7 01:27:26 Removing intermediate container d62e37a6a9e7 01:27:26 ---> 2680606c0831 01:27:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:26 ---> Running in 0c62b05d1d50 01:27:27 Removing intermediate container 0c62b05d1d50 01:27:27 ---> 41d514a15b66 01:27:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:27 ---> Running in a9d4207ca67b 01:27:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:27:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:27:28 OK: 224 MiB in 56 packages 01:27:29 Removing intermediate container a9d4207ca67b 01:27:29 ---> 04ad40f20b8a 01:27:29 Step 8/24 : WORKDIR /device-snmp-go 01:27:29 ---> Running in 19d17c4569c6 01:27:29 Removing intermediate container 19d17c4569c6 01:27:29 ---> 2ff2938d0e4e 01:27:29 Step 9/24 : COPY go.mod vendor* ./ 01:27:29 ---> f2cdfcabd3c0 01:27:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:29 ---> Running in 626d7e9b15fe 01:27:30 Removing intermediate container 626d7e9b15fe 01:27:30 ---> 5ac7ff55aa76 01:27:30 Step 11/24 : COPY . . 01:27:30 ---> f57e15b9e042 01:27:30 Step 12/24 : RUN ${MAKE} 01:27:30 ---> Running in 2fd73d1ea996 01:27:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 01:27:48 Removing intermediate container 2fd73d1ea996 01:27:48 ---> c8c2fd07a37b 01:27:48 Step 13/24 : FROM alpine:3.14 01:27:49 3.14: Pulling from library/alpine 01:27:49 8663204ce13b: Pulling fs layer 01:27:49 8663204ce13b: Download complete 01:27:50 8663204ce13b: Pull complete 01:27:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:27:50 Status: Downloaded newer image for alpine:3.14 01:27:50 ---> e04c818066af 01:27:50 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 01:27:50 ---> Running in 9d2f459d80ff 01:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:27:50 (1/6) Installing dumb-init (1.2.5-r1) 01:27:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:27:51 (3/6) Installing libsodium (1.0.18-r0) 01:27:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:27:51 (5/6) Installing libzmq (4.3.4-r0) 01:27:51 (6/6) Installing zeromq (4.3.4-r0) 01:27:51 Executing busybox-1.33.1-r7.trigger 01:27:51 OK: 8 MiB in 20 packages 01:27:51 Removing intermediate container 9d2f459d80ff 01:27:51 ---> a655ffe47f27 01:27:51 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 01:27:52 ---> cf91330635c7 01:27:52 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:27:52 ---> 9ae144ddf4c9 01:27:52 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 01:27:52 ---> 963bed11ef1e 01:27:52 Step 18/24 : EXPOSE 59993 01:27:52 ---> Running in f34107e9f439 01:27:52 Removing intermediate container f34107e9f439 01:27:52 ---> 8db8520a2383 01:27:52 Step 19/24 : EXPOSE 161 01:27:52 ---> Running in 16b9f6976d9e 01:27:52 Removing intermediate container 16b9f6976d9e 01:27:52 ---> c658500b6dd0 01:27:52 Step 20/24 : ENTRYPOINT ["/device-snmp"] 01:27:52 ---> Running in 2dad544a278c 01:27:52 Removing intermediate container 2dad544a278c 01:27:52 ---> d66a939b2790 01:27:52 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:27:52 ---> Running in 0d63229811ac 01:27:52 Removing intermediate container 0d63229811ac 01:27:52 ---> 27c1fc790bf4 01:27:52 Step 22/24 : LABEL arch=amd64 01:27:53 ---> Running in bf8dc7f7a87f 01:27:53 Removing intermediate container bf8dc7f7a87f 01:27:53 ---> 91d6e50b203b 01:27:53 Step 23/24 : LABEL git_sha=0d9b53f380664d327cdd8d5493c2988863f41b5b 01:27:53 ---> Running in ff60f42f7cbe 01:27:53 Removing intermediate container ff60f42f7cbe 01:27:53 ---> a20ba5b1733e 01:27:53 Step 24/24 : LABEL version=0.0.0 01:27:53 ---> Running in 51ce1e3a9afd 01:27:53 Removing intermediate container 51ce1e3a9afd 01:27:53 ---> 2be0c47752bf 01:27:53 [Warning] One or more build-args [ARCH] were not consumed 01:27:53 Successfully built 2be0c47752bf 01:27:53 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:53 01:27:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:27:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:54 latest: Pulling from edgex-lftools-log-publisher 01:27:54 5eb5b503b376: Pulling fs layer 01:27:54 5c69ac0246d0: Pulling fs layer 01:27:54 ec43610c2a17: Pulling fs layer 01:27:54 3a2ae6a8a46f: Pulling fs layer 01:27:54 33b1e0a273af: Pulling fs layer 01:27:54 5d3b04190fa2: Pulling fs layer 01:27:54 2f39f015ded8: Pulling fs layer 01:27:54 5d3b04190fa2: Waiting 01:27:54 2f39f015ded8: Waiting 01:27:54 33b1e0a273af: Waiting 01:27:54 3a2ae6a8a46f: Waiting 01:27:54 5c69ac0246d0: Verifying Checksum 01:27:54 5c69ac0246d0: Download complete 01:27:54 3a2ae6a8a46f: Download complete 01:27:54 33b1e0a273af: Verifying Checksum 01:27:54 ec43610c2a17: Verifying Checksum 01:27:54 ec43610c2a17: Download complete 01:27:54 5d3b04190fa2: Verifying Checksum 01:27:54 5d3b04190fa2: Download complete 01:27:54 5eb5b503b376: Verifying Checksum 01:27:54 5eb5b503b376: Download complete 01:27:54 2f39f015ded8: Download complete 01:27:55 5eb5b503b376: Pull complete 01:27:55 5c69ac0246d0: Pull complete 01:27:56 ec43610c2a17: Pull complete 01:27:56 3a2ae6a8a46f: Pull complete 01:27:56 33b1e0a273af: Pull complete 01:27:56 5d3b04190fa2: Pull complete 01:28:00 2f39f015ded8: Pull complete 01:28:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:28:00 prd-ubuntu20.04-docker-8c-8g-41442 does not seem to be running inside a container 01:28:00 $ 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-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@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:28:02 $ docker top 745011a40363bddfee6369258f8ebbb0b7015dea344e862d422070ebdb3fefaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:02 ---> job-cost.sh 01:28:02 lf-activate-venv: SKIPPING 01:28:02 INFO: No Stack... 01:28:03 INFO: Retrieving Pricing Info for: v3-standard-8 01:28:03 INFO: Archiving Costs [Pipeline] sh 01:28:04 + cat /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/cost.csv 01:28:04 + cut -d, -f6 [Pipeline] lock 01:28:04 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-2-stack-cost] 01:28:04 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-2-stack-cost] did not exist. Created. 01:28:04 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:28:04 + echo total: 0.2199999988079071 [Pipeline] stash 01:28:04 Stashed 1 file(s) [Pipeline] } 01:28:04 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:28:04 $ docker stop --time=1 745011a40363bddfee6369258f8ebbb0b7015dea344e862d422070ebdb3fefaf 01:28:05 $ docker rm -f 745011a40363bddfee6369258f8ebbb0b7015dea344e862d422070ebdb3fefaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:34:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41534 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [Pipeline] { [Pipeline] ws 01:34:48 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 01:34:49 Selected Git installation does not exist. Using Default 01:34:49 The recommended git tool is: NONE 01:34:56 using credential edgex-jenkins-ssh 01:34:56 Cloning the remote Git repository 01:34:56 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:34:57 > git init /w/workspace/device-snmp-go/2 # timeout=10 01:34:57 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:34:57 > git --version # timeout=10 01:34:57 > git --version # 'git version 2.25.1' 01:34:57 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:59 Merging remotes/origin/main commit 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit 0d9b53f380664d327cdd8d5493c2988863f41b5b 01:34:59 Merge succeeded, producing 0d9b53f380664d327cdd8d5493c2988863f41b5b 01:34:59 Checking out Revision 0d9b53f380664d327cdd8d5493c2988863f41b5b (PR-168) 01:34:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:34:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:34:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:34:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:34:59 > git config core.sparsecheckout # timeout=10 01:34:59 > git checkout -f 0d9b53f380664d327cdd8d5493c2988863f41b5b # timeout=10 01:34:59 > git remote # timeout=10 01:34:59 > git config --get remote.origin.url # timeout=10 01:34:59 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:59 > git merge 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 01:34:59 > git rev-parse HEAD^{commit} # timeout=10 01:34:59 > git config core.sparsecheckout # timeout=10 01:34:59 > git checkout -f 0d9b53f380664d327cdd8d5493c2988863f41b5b # timeout=10 01:35:03 Commit message: "docs: additions to CHANGELOG" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:35:04 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:04 Dload Upload Total Spent Left Speed 01:35:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99521 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 01:35:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:35:05 + sudo tee /etc/docker/daemon.new 01:35:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:35:05 { 01:35:05 "registry-mirrors": [ 01:35:05 "https://nexus3.edgexfoundry.org:10001" 01:35:05 ], 01:35:05 "bip": "10.250.0.254/24", 01:35:05 "hosts": [ 01:35:05 "tcp://0.0.0.0:5555", 01:35:05 "unix:///var/run/docker.sock" 01:35:05 ], 01:35:05 "mtu": 1458, 01:35:05 "selinux-enabled": true, 01:35:05 "seccomp-profile": "/etc/docker/seccomp.json" 01:35:05 } [Pipeline] sh 01:35:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:35:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:24 provisioning config files... 01:35:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config8345472442282902667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:24 ---> docker-login.sh 01:35:24 nexus3.edgexfoundry.org:10001 01:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:25 Configure a credential helper to remove this warning. See 01:35:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:25 01:35:25 Login Succeeded 01:35:25 nexus3.edgexfoundry.org:10002 01:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:26 Configure a credential helper to remove this warning. See 01:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:26 01:35:26 Login Succeeded 01:35:26 nexus3.edgexfoundry.org:10003 01:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:26 Configure a credential helper to remove this warning. See 01:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:26 01:35:26 Login Succeeded 01:35:26 nexus3.edgexfoundry.org:10004 01:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:27 Configure a credential helper to remove this warning. See 01:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:27 01:35:27 Login Succeeded 01:35:27 docker.io 01:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:28 Configure a credential helper to remove this warning. See 01:35:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:28 01:35:28 Login Succeeded 01:35:28 ---> docker-login.sh ends [Pipeline] } 01:35:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:35:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:28 ========================================================= 01:35:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:35:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:35:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:35:29 Sending build context to Docker daemon 2.762MB 01:35:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:35:29 Step 2/12 : FROM ${BASE} AS builder 01:35:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:35:29 9b3977197b4f: Pulling fs layer 01:35:29 1a89e8eeedd5: Pulling fs layer 01:35:29 94645a83ff95: Pulling fs layer 01:35:29 3f3a8bcf1eab: Pulling fs layer 01:35:29 0c92f367c5e7: Pulling fs layer 01:35:29 3096ccb668a1: Pulling fs layer 01:35:29 e8cf19c19ddd: Pulling fs layer 01:35:29 a4caa8a26152: Pulling fs layer 01:35:29 0c92f367c5e7: Waiting 01:35:29 e8cf19c19ddd: Waiting 01:35:29 3096ccb668a1: Waiting 01:35:29 a4caa8a26152: Waiting 01:35:29 3f3a8bcf1eab: Waiting 01:35:29 94645a83ff95: Verifying Checksum 01:35:29 94645a83ff95: Download complete 01:35:29 1a89e8eeedd5: Verifying Checksum 01:35:29 1a89e8eeedd5: Download complete 01:35:29 0c92f367c5e7: Verifying Checksum 01:35:29 0c92f367c5e7: Download complete 01:35:29 3096ccb668a1: Verifying Checksum 01:35:29 3096ccb668a1: Download complete 01:35:29 9b3977197b4f: Download complete 01:35:29 e8cf19c19ddd: Verifying Checksum 01:35:29 e8cf19c19ddd: Download complete 01:35:30 9b3977197b4f: Pull complete 01:35:31 1a89e8eeedd5: Pull complete 01:35:31 94645a83ff95: Pull complete 01:35:31 a4caa8a26152: Verifying Checksum 01:35:31 a4caa8a26152: Download complete 01:35:32 3f3a8bcf1eab: Verifying Checksum 01:35:32 3f3a8bcf1eab: Download complete 01:35:44 3f3a8bcf1eab: Pull complete 01:35:44 0c92f367c5e7: Pull complete 01:35:45 3096ccb668a1: Pull complete 01:35:45 e8cf19c19ddd: Pull complete 01:35:50 a4caa8a26152: Pull complete 01:35:50 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:35:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:35:50 ---> 725f1c02e7f9 01:35:50 Step 3/12 : ARG MAKE='make build' 01:35:51 ---> Running in a18ef9fd7d55 01:35:52 Removing intermediate container a18ef9fd7d55 01:35:52 ---> 264429deb3cb 01:35:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:35:52 ---> Running in e0c3852c4ada 01:35:52 Removing intermediate container e0c3852c4ada 01:35:52 ---> 9a9fc8e7746b 01:35:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:35:52 ---> Running in 90844da18a63 01:35:52 Removing intermediate container 90844da18a63 01:35:52 ---> d32ab31ea5c1 01:35:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:35:52 ---> Running in 683b23e3f1c0 01:35:54 Removing intermediate container 683b23e3f1c0 01:35:54 ---> 8ffb3383cea2 01:35:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:54 ---> Running in fe5161d0573c 01:35:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:35:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:35:57 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:35:57 (2/4) Installing libedit (20210910.3.1-r0) 01:35:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:35:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:35:57 Executing busybox-1.34.1-r3.trigger 01:35:57 OK: 224 MiB in 56 packages 01:35:58 Removing intermediate container fe5161d0573c 01:35:58 ---> 8ed0bf977159 01:35:58 Step 8/12 : WORKDIR /device-snmp-go 01:35:58 ---> Running in 0ff76e027f39 01:35:59 Removing intermediate container 0ff76e027f39 01:35:59 ---> 335bcf2c542d 01:35:59 Step 9/12 : COPY go.mod vendor* ./ 01:35:59 ---> c5eff3dfe74b 01:35:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:59 ---> Running in a5ab82a2e46b 01:36:46 Removing intermediate container a5ab82a2e46b 01:36:46 ---> 384e6c3ffe79 01:36:46 Step 11/12 : COPY . . 01:36:46 ---> 8534fabda67e 01:36:46 Step 12/12 : RUN ${MAKE} 01:36:46 ---> Running in 3ec30c9dc25a 01:36:46 noop 01:36:46 Removing intermediate container 3ec30c9dc25a 01:36:46 ---> 30b12d29f26b 01:36:46 Successfully built 30b12d29f26b 01:36:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:36:47 + docker inspect -f . ci-base-image-arm64 01:36:47 . [Pipeline] withDockerContainer 01:36:47 prd-ubuntu20.04-docker-arm64-4c-16g-41534 does not seem to be running inside a container 01:36:47 $ 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:36:48 $ docker top 7d94904b2dad780303d01eb7c2322d1e09b8e39737030afafb02cb7faa9ba8f4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:49 + go version 01:36:49 go version go1.17.6 linux/arm64 [Pipeline] } 01:36:49 $ docker stop --time=1 7d94904b2dad780303d01eb7c2322d1e09b8e39737030afafb02cb7faa9ba8f4 01:36:51 $ docker rm -f 7d94904b2dad780303d01eb7c2322d1e09b8e39737030afafb02cb7faa9ba8f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:36:52 + docker inspect -f . ci-base-image-arm64 01:36:52 . [Pipeline] withDockerContainer 01:36:52 prd-ubuntu20.04-docker-arm64-4c-16g-41534 does not seem to be running inside a container 01:36:52 $ 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:36:53 $ docker top eb6f4ee552ebedd16a40a223ed6ef2a183a6188a1704491fb38acdd815d5b1d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:36:54 + make test 01:36:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:36:56 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:38:18 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:38:18 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 01:38:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:38:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:38:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:38:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:38:51 ./bin/test-attribution-txt.sh [Pipeline] echo 01:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:38:51 $ docker stop --time=1 eb6f4ee552ebedd16a40a223ed6ef2a183a6188a1704491fb38acdd815d5b1d2 01:38:53 $ docker rm -f eb6f4ee552ebedd16a40a223ed6ef2a183a6188a1704491fb38acdd815d5b1d2 [Pipeline] // withDockerContainer [Pipeline] sh 01:38:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:38:54 Warning: overwriting stash ‘coverage-report’ 01:38:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:38:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:38:55 + ls -al . 01:38:55 total 164 01:38:55 drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:38 . 01:38:55 drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:34 .. 01:38:55 -rw-rw-r-- 1 jenkins jenkins 6 May 8 01:34 .dockerignore 01:38:55 drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:35 .git 01:38:55 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:34 .github 01:38:55 -rw-rw-r-- 1 jenkins jenkins 328 May 8 01:34 .gitignore 01:38:55 -rw-rw-r-- 1 jenkins jenkins 41 May 8 01:34 .golangci.yml 01:38:55 -rw-rw-r-- 1 jenkins jenkins 8296 May 8 01:34 Attribution.txt 01:38:55 -rw-rw-r-- 1 jenkins jenkins 7102 May 8 01:34 CHANGELOG.md 01:38:55 -rw-rw-r-- 1 jenkins jenkins 1516 May 8 01:34 Dockerfile 01:38:55 -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:34 GOVERNANCE.md 01:38:55 -rw-rw-r-- 1 jenkins jenkins 656 May 8 01:34 Jenkinsfile 01:38:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 01:34 LICENSE 01:38:55 -rw-rw-r-- 1 jenkins jenkins 1938 May 8 01:34 Makefile 01:38:55 -rw-rw-r-- 1 jenkins jenkins 620 May 8 01:34 OWNERS.md 01:38:55 -rw-rw-r-- 1 jenkins jenkins 9390 May 8 01:34 README.md 01:38:55 -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:26 VERSION 01:38:55 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:34 bin 01:38:55 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:34 cmd 01:38:55 -rw-r--r-- 1 jenkins jenkins 7631 May 8 01:38 coverage.out 01:38:55 -rw-rw-r-- 1 jenkins jenkins 3296 May 8 01:34 go.mod 01:38:55 -rw-rw-r-- 1 jenkins jenkins 35911 May 8 01:34 go.sum 01:38:55 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:34 internal 01:38:55 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:34 snap 01:38:55 -rw-rw-r-- 1 jenkins jenkins 209 May 8 01:34 version.go [Pipeline] isUnix [Pipeline] sh 01:38:55 + 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=0d9b53f380664d327cdd8d5493c2988863f41b5b --label arch=arm64 --label version=0.0.0 . 01:38:56 Sending build context to Docker daemon 2.77MB 01:38:56 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:38:56 Step 2/24 : FROM ${BASE} AS builder 01:38:56 ---> 30b12d29f26b 01:38:56 Step 3/24 : ARG MAKE='make build' 01:38:56 ---> Running in f07206a93c9a 01:38:56 Removing intermediate container f07206a93c9a 01:38:56 ---> 7d8a58122f35 01:38:56 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:38:56 ---> Running in 8e8d90e19f1c 01:38:57 Removing intermediate container 8e8d90e19f1c 01:38:57 ---> 513f5d7c058e 01:38:57 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:38:57 ---> Running in 880e6ed7f251 01:38:57 Removing intermediate container 880e6ed7f251 01:38:57 ---> cdaa80098d54 01:38:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:38:57 ---> Running in 53e0c7b74d34 01:38:59 Removing intermediate container 53e0c7b74d34 01:38:59 ---> 2cdb36939eab 01:38:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:38:59 ---> Running in 381d86d4a011 01:39:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:39:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:39:02 OK: 224 MiB in 56 packages 01:39:02 Removing intermediate container 381d86d4a011 01:39:02 ---> 0df5b954e63e 01:39:02 Step 8/24 : WORKDIR /device-snmp-go 01:39:03 ---> Running in 5996880487a0 01:39:03 Removing intermediate container 5996880487a0 01:39:03 ---> b01ed28cfed9 01:39:03 Step 9/24 : COPY go.mod vendor* ./ 01:39:03 ---> c1a7b64c8d3b 01:39:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:03 ---> Running in d12c9bc0b393 01:39:05 Removing intermediate container d12c9bc0b393 01:39:05 ---> 80f02e357d5c 01:39:05 Step 11/24 : COPY . . 01:39:06 ---> 349d64958a97 01:39:06 Step 12/24 : RUN ${MAKE} 01:39:06 ---> Running in 58f9ee4a82b9 01:39:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 01:41:14 Removing intermediate container 58f9ee4a82b9 01:41:14 ---> a0e2e9aceaee 01:41:14 Step 13/24 : FROM alpine:3.14 01:41:14 3.14: Pulling from library/alpine 01:41:14 455c02918c45: Pulling fs layer 01:41:14 455c02918c45: Download complete 01:41:14 455c02918c45: Pull complete 01:41:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:41:14 Status: Downloaded newer image for alpine:3.14 01:41:14 ---> ac73e934f311 01:41:14 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 01:41:14 ---> Running in dbfceb8aecf5 01:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:41:14 (1/6) Installing dumb-init (1.2.5-r1) 01:41:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:41:14 (3/6) Installing libsodium (1.0.18-r0) 01:41:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:41:14 (5/6) Installing libzmq (4.3.4-r0) 01:41:14 (6/6) Installing zeromq (4.3.4-r0) 01:41:14 Executing busybox-1.33.1-r7.trigger 01:41:14 OK: 8 MiB in 20 packages 01:41:14 Removing intermediate container dbfceb8aecf5 01:41:14 ---> f72d63597f58 01:41:14 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 01:41:14 ---> 880b65634e22 01:41:14 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:41:14 ---> b62144cea616 01:41:14 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 01:41:14 ---> 29e7b5880ff7 01:41:14 Step 18/24 : EXPOSE 59993 01:41:14 ---> Running in f404eda5236b 01:41:14 Removing intermediate container f404eda5236b 01:41:14 ---> dea19a532ae2 01:41:14 Step 19/24 : EXPOSE 161 01:41:14 ---> Running in 29cb7f1f6111 01:41:15 Removing intermediate container 29cb7f1f6111 01:41:15 ---> 4915041cd2a5 01:41:15 Step 20/24 : ENTRYPOINT ["/device-snmp"] 01:41:15 ---> Running in b54613daac9c 01:41:15 Removing intermediate container b54613daac9c 01:41:15 ---> d5e59771c192 01:41:15 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:41:15 ---> Running in 6323540685f8 01:41:15 Removing intermediate container 6323540685f8 01:41:15 ---> bec14cce91a7 01:41:15 Step 22/24 : LABEL arch=arm64 01:41:15 ---> Running in 71401c0a0baf 01:41:16 Removing intermediate container 71401c0a0baf 01:41:16 ---> 1c1aab7c1e57 01:41:16 Step 23/24 : LABEL git_sha=0d9b53f380664d327cdd8d5493c2988863f41b5b 01:41:16 ---> Running in 5a354fb0c01a 01:41:16 Removing intermediate container 5a354fb0c01a 01:41:16 ---> 0da15cc6a1db 01:41:16 Step 24/24 : LABEL version=0.0.0 01:41:16 ---> Running in b54ef91bd9a5 01:41:17 Removing intermediate container b54ef91bd9a5 01:41:17 ---> 037299b26906 01:41:17 [Warning] One or more build-args [ARCH] were not consumed 01:41:17 Successfully built 037299b26906 01:41:17 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:41:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:41:17 01:41:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:41:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:41:18 arm64: Pulling from edgex-lftools-log-publisher 01:41:18 8998bd30e6a1: Pulling fs layer 01:41:18 04944245beec: Pulling fs layer 01:41:18 699f458cf7ca: Pulling fs layer 01:41:18 765212b225bb: Pulling fs layer 01:41:18 f23df028b6ca: Pulling fs layer 01:41:18 d65c8cfc05b1: Pulling fs layer 01:41:18 2437ff75d9bd: Pulling fs layer 01:41:18 f23df028b6ca: Waiting 01:41:18 765212b225bb: Waiting 01:41:18 d65c8cfc05b1: Waiting 01:41:18 2437ff75d9bd: Waiting 01:41:18 04944245beec: Verifying Checksum 01:41:18 04944245beec: Download complete 01:41:18 765212b225bb: Verifying Checksum 01:41:18 765212b225bb: Download complete 01:41:18 f23df028b6ca: Verifying Checksum 01:41:18 f23df028b6ca: Download complete 01:41:18 d65c8cfc05b1: Verifying Checksum 01:41:18 d65c8cfc05b1: Download complete 01:41:18 699f458cf7ca: Verifying Checksum 01:41:18 699f458cf7ca: Download complete 01:41:18 8998bd30e6a1: Verifying Checksum 01:41:18 8998bd30e6a1: Download complete 01:41:21 2437ff75d9bd: Verifying Checksum 01:41:21 2437ff75d9bd: Download complete 01:41:22 8998bd30e6a1: Pull complete 01:41:23 04944245beec: Pull complete 01:41:24 699f458cf7ca: Pull complete 01:41:24 765212b225bb: Pull complete 01:41:25 f23df028b6ca: Pull complete 01:41:26 d65c8cfc05b1: Pull complete 01:41:41 2437ff75d9bd: Pull complete 01:41:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:41:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:41:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:41:41 prd-ubuntu20.04-docker-arm64-4c-16g-41534 does not seem to be running inside a container 01:41:41 $ 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:41:44 $ docker top a0515fe158678a2050f70c5f44f38f64e572d5465d9ff47f48a87b214965aee4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:45 ---> job-cost.sh 01:41:45 lf-activate-venv: SKIPPING 01:41:45 INFO: No Stack... 01:41:45 INFO: Retrieving Pricing Info for: v3-standard-4 01:41:46 INFO: Archiving Costs [Pipeline] sh 01:41:47 + cut -d, -f6 01:41:47 + cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock 01:41:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-2-stack-cost] 01:41:47 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-2-stack-cost] did not exist. Created. 01:41:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:41:47 /w/workspace/device-snmp-go/2@tmp/durable-af9acfc8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:41:48 + echo total: 0.10999999940395355 [Pipeline] stash 01:41:48 Warning: overwriting stash ‘stack-cost’ 01:41:48 Stashed 1 file(s) [Pipeline] } 01:41:48 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:41:48 $ docker stop --time=1 a0515fe158678a2050f70c5f44f38f64e572d5465d9ff47f48a87b214965aee4 01:41:50 $ docker rm -f a0515fe158678a2050f70c5f44f38f64e572d5465d9ff47f48a87b214965aee4 [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:41:50 provisioning config files... 01:41:50 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config2483948485407690271tmp [Pipeline] { [Pipeline] sh 01:41:50 + set +x 01:41:50 + curl -s https://codecov.io/bash 01:41:50 + bash -s -- 01:41:50 01:41:50 _____ _ 01:41:50 / ____| | | 01:41:50 | | ___ __| | ___ ___ _____ __ 01:41:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:41:50 | |___| (_) | (_| | __/ (_| (_) \ V / 01:41:50 \_____\___/ \__,_|\___|\___\___/ \_/ 01:41:50 Bash-1.0.6 01:41:50 01:41:50 01:41:50 ==> git version 2.25.1 found 01:41:50 ==> 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:41:50 Release-Date: 2020-01-08 01:41:50 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:41:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:41:50 ==> Jenkins CI detected. 01:41:50 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-168 01:41:50 project root: . 01:41:50 --> token set from env 01:41:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:41:51 ==> Running gcov in . (disable via -X gcov) 01:41:51 ==> Python coveragepy not found 01:41:51 ==> Searching for coverage reports in: 01:41:51 + . 01:41:51 -> Found 1 reports 01:41:51 ==> Detecting git/mercurial file structure 01:41:51 ==> Reading reports 01:41:51 + ./coverage.out bytes=7631 01:41:51 ==> Appending adjustments 01:41:51 https://docs.codecov.io/docs/fixing-reports 01:41:51 + Found adjustments 01:41:51 ==> Gzipping contents 01:41:51 4.0K /tmp/codecov.GBrKKG.gz 01:41:51 ==> Uploading reports 01:41:51 url: https://codecov.io 01:41:51 query: branch=PR-168&commit=0d9b53f380664d327cdd8d5493c2988863f41b5b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 01:41:51 -> Pinging Codecov 01:41:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-168&commit=0d9b53f380664d327cdd8d5493c2988863f41b5b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 01:41:51 -> Uploading to 01:41:51 https://storage.googleapis.com/codecov/v4/raw/2022-05-08/6C56EA5C29638FB4528AC87E60AF5AE0/0d9b53f380664d327cdd8d5493c2988863f41b5b/3938604b-700d-4b39-8f11-c56b86ea476a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220508T014151Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1250438721887943bb28bdf262fe4f93eb1d5a20757ff73f13fde1ccd96f9aec 01:41:51 % Total % Received % Xferd Average Speed Time Time Time Current 01:41:51 Dload Upload Total Spent Left Speed 01:41:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7248 --:--:-- --:--:-- --:--:-- 7216 100 1602 0 0 100 1602 0 5037 --:--:-- --:--:-- --:--:-- 5021 01:41:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/0d9b53f380664d327cdd8d5493c2988863f41b5b [Pipeline] } 01:41:51 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:41:52 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-168/archives ] 01:41:52 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 01:41:52 total 16 01:41:52 drwxr-xr-x 3 root root 4096 May 8 01:28 . 01:41:52 drwxrwxr-x 10 jenkins jenkins 4096 May 8 01:28 .. 01:41:52 drwxr-xr-x 2 root root 4096 May 8 01:28 cost 01:41:52 -rw-r--r-- 1 root root 85 May 8 01:28 cost.csv 01:41:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 01:41:52 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 01:41:52 total 16 01:41:52 drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:28 . 01:41:52 drwxrwxr-x 10 jenkins jenkins 4096 May 8 01:28 .. 01:41:52 drwxr-xr-x 2 jenkins jenkins 4096 May 8 01:28 cost 01:41:52 -rw-r--r-- 1 jenkins jenkins 85 May 8 01:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:41:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:41:53 ---> package-listing.sh 01:41:53 ++ facter osfamily 01:41:53 ++ tr '[:upper:]' '[:lower:]' 01:41:53 + OS_FAMILY=debian 01:41:53 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-168 01:41:53 + START_PACKAGES=/tmp/packages_start.txt 01:41:53 + END_PACKAGES=/tmp/packages_end.txt 01:41:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:41:53 + PACKAGES=/tmp/packages_start.txt 01:41:53 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 01:41:53 + PACKAGES=/tmp/packages_end.txt 01:41:53 + case "${OS_FAMILY}" in 01:41:53 + dpkg -l 01:41:53 + grep '^ii' 01:41:53 + '[' -f /tmp/packages_start.txt ']' 01:41:53 + '[' -f /tmp/packages_end.txt ']' 01:41:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:41:53 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 01:41:53 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ 01:41:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ [Pipeline] echo 01:41:53 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-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:41:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:54 . [Pipeline] withDockerContainer 01:41:54 prd-ubuntu20.04-docker-8c-8g-41442 does not seem to be running inside a container 01:41:54 $ 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-168/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-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:41:55 $ docker top 5167c296944c574f60cd82c00a3ed8826677120c14a98ce32897c53183a1db8c -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:55 + touch /tmp/pre-build-complete [Pipeline] sh 01:41:55 + mkdir -p /var/log/sysstat [Pipeline] sh 01:41:56 + ls /var/log/sa-host 01:41:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:56 provisioning config files... 01:41:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config5087816282729740976tmp [Pipeline] { [Pipeline] echo 01:41:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:41:56 ---> create-netrc.sh [Pipeline] } 01:41:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:41:56 ---> python-tools-install.sh [Pipeline] echo 01:41:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:41:57 ---> sudo-logs.sh 01:41:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:41:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:41:57 ---> job-cost.sh 01:41:57 lf-activate-venv: SKIPPING 01:41:57 DEBUG: total: 0.2199999988079071 01:41:57 INFO: Retrieving Stack Cost... 01:41:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:41:58 INFO: Archiving Costs [Pipeline] echo 01:41:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:41:58 ---> logs-deploy.sh 01:41:58 lf-activate-venv: SKIPPING 01:41:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-168/2 01:41:58 INFO: archiving workspace using pattern(s): 01:41:59 Archives upload complete. 01:41:59 INFO: archiving logs to Nexus