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 6fc80c8eb675621a35ee63c3499b46a26cb77ee2+2a65a39039cf7664a715857da731e59ec3cb9dfd (99cbefb93c8ff52eb31afd3492e6c72cd177b8d4) 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-ssh12432020350108765109.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2287623253842980954.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh2367740104578574654.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh18129431542235213426.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-ssh10735690477248497369.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 ‘prd-ubuntu20.04-docker-8c-8g-63158’ is offline Running on prd-ubuntu20.04-docker-8c-8g-63160 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 2a65a39039cf7664a715857da731e59ec3cb9dfd into PR head commit 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 Merge succeeded, producing 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 Checking out Revision 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 (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 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 # 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 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 # timeout=10 Commit message: "Merge branch 'main' into kamakura-rls-notes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:21:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:21:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:21:39 ========================================================= 16:21:39 EdgeX Global Pipelines Version Info 16:21:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk acdb4c3149c01840aabeaf38edb55bf363a6457a # timeout=10 16:21:40 ------------------- 16:21:40 stable info: 16:21:40 ------------------- 16:21:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:21:40 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:21:40 Message: update stable to v1.0.230 16:21:40 ------------------- 16:21:40 experimental info: 16:21:40 ------------------- 16:21:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:21:40 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:21:40 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:21:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6fc80c8 [Pipeline] echo 16:21:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:41 provisioning config files... 16:21:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config7377178875692710340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:41 ---> docker-login.sh 16:21:41 nexus3.edgexfoundry.org:10001 16:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:41 Configure a credential helper to remove this warning. See 16:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:41 16:21:41 Login Succeeded 16:21:41 nexus3.edgexfoundry.org:10002 16:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:42 Configure a credential helper to remove this warning. See 16:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:42 16:21:42 Login Succeeded 16:21:42 nexus3.edgexfoundry.org:10003 16:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:42 Configure a credential helper to remove this warning. See 16:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:42 16:21:42 Login Succeeded 16:21:42 nexus3.edgexfoundry.org:10004 16:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:42 Configure a credential helper to remove this warning. See 16:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:42 16:21:42 Login Succeeded 16:21:42 docker.io 16:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:42 Configure a credential helper to remove this warning. See 16:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:42 16:21:42 Login Succeeded 16:21:42 ---> docker-login.sh ends [Pipeline] } 16:21:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:21:43 + git rev-list -1 --merges 6fc80c8eb675621a35ee63c3499b46a26cb77ee2~1..6fc80c8eb675621a35ee63c3499b46a26cb77ee2 [Pipeline] echo 16:21:43 -----------> git rev-list -1 --merges 6fc80c8eb675621a35ee63c3499b46a26cb77ee2~1..6fc80c8eb675621a35ee63c3499b46a26cb77ee2 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 16:21:43 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 [false] [Pipeline] sh 16:21:43 + git log --format=format:%s -1 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 [Pipeline] echo 16:21:43 ========================================================= 16:21:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:21:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:44 + git log --format=format:%s -1 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 [Pipeline] echo 16:21:44 [semverPrep] GIT_COMMIT: 6fc80c8eb675621a35ee63c3499b46a26cb77ee2, Commit Message: Merge branch 'main' into kamakura-rls-notes [Pipeline] echo 16:21:44 [semverPrep] This is not a build commit. [Pipeline] sh 16:21:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:21:44 + grep -v github /etc/ssh/ssh_known_hosts 16:21:44 + [ -e /tmp/ssh_known_hosts ] 16:21:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:21:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:21:44 + sudo tee -a /etc/ssh/ssh_known_hosts 16:21:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:21:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:21:44 16:21:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:21:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:21:45 latest: Pulling from edgex-devops/py-git-semver 16:21:45 1fe172e4850f: Pulling fs layer 16:21:45 caf521ccaac6: Pulling fs layer 16:21:45 3ead6fa29328: Pulling fs layer 16:21:45 5c2a1cbceb83: Pulling fs layer 16:21:45 a8d5f1318db7: Pulling fs layer 16:21:45 c427282e49a2: Pulling fs layer 16:21:45 1827001aaf11: Pulling fs layer 16:21:45 0714d37db230: Pulling fs layer 16:21:45 ac28cf19c067: Pulling fs layer 16:21:45 ca983d60f3e2: Pulling fs layer 16:21:45 9f894cec8388: Pulling fs layer 16:21:45 5c2a1cbceb83: Waiting 16:21:45 a8d5f1318db7: Waiting 16:21:45 c427282e49a2: Waiting 16:21:45 1827001aaf11: Waiting 16:21:45 0714d37db230: Waiting 16:21:45 ac28cf19c067: Waiting 16:21:45 ca983d60f3e2: Waiting 16:21:45 9f894cec8388: Waiting 16:21:45 caf521ccaac6: Download complete 16:21:45 5c2a1cbceb83: Verifying Checksum 16:21:45 5c2a1cbceb83: Download complete 16:21:45 a8d5f1318db7: Verifying Checksum 16:21:45 a8d5f1318db7: Download complete 16:21:45 c427282e49a2: Verifying Checksum 16:21:45 c427282e49a2: Download complete 16:21:45 3ead6fa29328: Verifying Checksum 16:21:45 3ead6fa29328: Download complete 16:21:45 0714d37db230: Verifying Checksum 16:21:45 0714d37db230: Download complete 16:21:45 ac28cf19c067: Verifying Checksum 16:21:45 ac28cf19c067: Download complete 16:21:45 ca983d60f3e2: Verifying Checksum 16:21:45 ca983d60f3e2: Download complete 16:21:45 9f894cec8388: Download complete 16:21:45 1fe172e4850f: Verifying Checksum 16:21:45 1fe172e4850f: Download complete 16:21:45 1827001aaf11: Verifying Checksum 16:21:45 1827001aaf11: Download complete 16:21:47 1fe172e4850f: Pull complete 16:21:47 caf521ccaac6: Pull complete 16:21:47 3ead6fa29328: Pull complete 16:21:47 5c2a1cbceb83: Pull complete 16:21:47 a8d5f1318db7: Pull complete 16:21:47 c427282e49a2: Pull complete 16:21:49 1827001aaf11: Pull complete 16:21:50 0714d37db230: Pull complete 16:21:50 ac28cf19c067: Pull complete 16:21:50 ca983d60f3e2: Pull complete 16:21:50 9f894cec8388: Pull complete 16:21:50 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 16:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:21:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 16:21:50 prd-ubuntu20.04-docker-8c-8g-63160 does not seem to be running inside a container 16:21:50 $ 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 16:21:51 $ docker top e592473e98c6a36ea833a49b17991b461ce18884c536793418ca937d9d0089eb -eo pid,comm 16:21:51 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). 16:21:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:21:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:51 [ssh-agent] Looking for ssh-agent implementation... 16:21:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:52 $ docker exec e592473e98c6a36ea833a49b17991b461ce18884c536793418ca937d9d0089eb ssh-agent 16:21:52 SSH_AUTH_SOCK=/tmp/ssh-b7f0G8PoVbFB/agent.32 16:21:52 SSH_AGENT_PID=38 16:21:52 Running ssh-add (command line suppressed) 16:21:52 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_6938591789392114297.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_6938591789392114297.key) 16:21:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:52 + git tag --points-at HEAD [Pipeline] } 16:21:52 $ docker exec --env ******** --env ******** e592473e98c6a36ea833a49b17991b461ce18884c536793418ca937d9d0089eb ssh-agent -k 16:21:52 unset SSH_AUTH_SOCK; 16:21:52 unset SSH_AGENT_PID; 16:21:52 echo Agent pid 38 killed; 16:21:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:21:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:52 [ssh-agent] Looking for ssh-agent implementation... 16:21:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:53 $ docker exec e592473e98c6a36ea833a49b17991b461ce18884c536793418ca937d9d0089eb ssh-agent 16:21:53 SSH_AUTH_SOCK=/tmp/ssh-NjJ28nsWcppo/agent.71 16:21:53 SSH_AGENT_PID=77 16:21:53 Running ssh-add (command line suppressed) 16:21:53 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_5694222020510956727.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_5694222020510956727.key) 16:21:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:53 + git semver init 16:21:53 2022-05-11 16:21:53,790 [run_init] DEBUG init version:0.0.0 force:False 16:21:53 2022-05-11 16:21:53,791 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 16:21:53 2022-05-11 16:21:53,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 16:21:53 2022-05-11 16:21:53,791 [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) 16:21:54 2022-05-11 16:21:54,561 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.git/info/exclude 16:21:54 2022-05-11 16:21:54,562 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 with force:False 16:21:54 2022-05-11 16:21:54,562 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 16:21:54 2022-05-11 16:21:54,567 [execute] INFO git cat-file --batch-check 16:21:54 2022-05-11 16:21:54,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 16:21:54 2022-05-11 16:21:54,573 [execute] INFO git cat-file --batch 16:21:54 2022-05-11 16:21:54,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 16:21:54 2022-05-11 16:21:54,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 16:21:54 0.0.0 [Pipeline] } 16:21:54 $ docker exec --env ******** --env ******** e592473e98c6a36ea833a49b17991b461ce18884c536793418ca937d9d0089eb ssh-agent -k 16:21:54 unset SSH_AUTH_SOCK; 16:21:54 unset SSH_AGENT_PID; 16:21:54 echo Agent pid 77 killed; 16:21:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:21:55 + git semver [Pipeline] } 16:21:55 $ docker stop --time=1 e592473e98c6a36ea833a49b17991b461ce18884c536793418ca937d9d0089eb 16:21:56 $ docker rm -f e592473e98c6a36ea833a49b17991b461ce18884c536793418ca937d9d0089eb [Pipeline] // withDockerContainer [Pipeline] sh 16:21:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:21:57 Stashed 1 file(s) [Pipeline] echo 16:21:57 [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 16:21:57 provisioning config files... 16:21:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config2304094709014514169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:57 ---> docker-login.sh 16:21:57 nexus3.edgexfoundry.org:10001 16:21:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:57 Configure a credential helper to remove this warning. See 16:21:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:57 16:21:57 Login Succeeded 16:21:57 nexus3.edgexfoundry.org:10002 16:21:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:58 Configure a credential helper to remove this warning. See 16:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:58 16:21:58 Login Succeeded 16:21:58 nexus3.edgexfoundry.org:10003 16:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:58 Configure a credential helper to remove this warning. See 16:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:58 16:21:58 Login Succeeded 16:21:58 nexus3.edgexfoundry.org:10004 16:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:58 Configure a credential helper to remove this warning. See 16:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:58 16:21:58 Login Succeeded 16:21:58 docker.io 16:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:59 Configure a credential helper to remove this warning. See 16:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:59 16:21:59 Login Succeeded 16:21:59 ---> docker-login.sh ends [Pipeline] } 16:21:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:59 ========================================================= 16:21:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:21:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:21:59 + 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 . 16:21:59 Sending build context to Docker daemon 5.362MB 16:21:59 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:21:59 Step 2/12 : FROM ${BASE} AS builder 16:21:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:21:59 59bf1c3509f3: Pulling fs layer 16:21:59 666ba61612fd: Pulling fs layer 16:21:59 8ed8ca486205: Pulling fs layer 16:21:59 4fe6c5a15a65: Pulling fs layer 16:21:59 22a0e8bec74d: Pulling fs layer 16:21:59 ca2b28591e48: Pulling fs layer 16:21:59 a51346096db8: Pulling fs layer 16:21:59 daebc70d1ce1: Pulling fs layer 16:21:59 0e18a0eac166: Pulling fs layer 16:21:59 ca2b28591e48: Waiting 16:21:59 daebc70d1ce1: Waiting 16:21:59 0e18a0eac166: Waiting 16:21:59 22a0e8bec74d: Waiting 16:21:59 4fe6c5a15a65: Waiting 16:21:59 a51346096db8: Waiting 16:21:59 8ed8ca486205: Download complete 16:21:59 666ba61612fd: Download complete 16:21:59 22a0e8bec74d: Verifying Checksum 16:21:59 22a0e8bec74d: Download complete 16:21:59 ca2b28591e48: Download complete 16:21:59 59bf1c3509f3: Verifying Checksum 16:21:59 59bf1c3509f3: Download complete 16:21:59 a51346096db8: Verifying Checksum 16:21:59 a51346096db8: Download complete 16:21:59 daebc70d1ce1: Verifying Checksum 16:21:59 daebc70d1ce1: Download complete 16:21:59 59bf1c3509f3: Pull complete 16:21:59 666ba61612fd: Pull complete 16:21:59 8ed8ca486205: Pull complete 16:22:00 0e18a0eac166: Verifying Checksum 16:22:00 0e18a0eac166: Download complete 16:22:00 4fe6c5a15a65: Verifying Checksum 16:22:00 4fe6c5a15a65: Download complete 16:22:04 4fe6c5a15a65: Pull complete 16:22:04 22a0e8bec74d: Pull complete 16:22:04 ca2b28591e48: Pull complete 16:22:04 a51346096db8: Pull complete 16:22:04 daebc70d1ce1: Pull complete 16:22:06 0e18a0eac166: Pull complete 16:22:06 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 16:22:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:22:06 ---> f018257e8ee9 16:22:06 Step 3/12 : ARG MAKE='make build' 16:22:08 ---> Running in 8a7e334d5c42 16:22:08 Removing intermediate container 8a7e334d5c42 16:22:08 ---> 232ae4a09644 16:22:08 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:22:08 ---> Running in 6859700e0d2b 16:22:08 Removing intermediate container 6859700e0d2b 16:22:08 ---> db9496b7c1b0 16:22:08 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 16:22:08 ---> Running in 74e236f6c481 16:22:08 Removing intermediate container 74e236f6c481 16:22:08 ---> 0b755f8a0b7f 16:22:08 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:22:08 ---> Running in bae966f21110 16:22:08 Removing intermediate container bae966f21110 16:22:08 ---> 248883846d67 16:22:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:22:08 ---> Running in 08293d220e25 16:22:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:22:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:22:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:22:10 (2/4) Installing libedit (20210910.3.1-r0) 16:22:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:22:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:22:10 Executing busybox-1.34.1-r3.trigger 16:22:10 OK: 224 MiB in 56 packages 16:22:10 Removing intermediate container 08293d220e25 16:22:10 ---> ffe43b86ef01 16:22:10 Step 8/12 : WORKDIR /device-snmp-go 16:22:11 ---> Running in b4689318026e 16:22:11 Removing intermediate container b4689318026e 16:22:11 ---> be4f4c0cff55 16:22:11 Step 9/12 : COPY go.mod vendor* ./ 16:22:11 ---> 9a900d899ee7 16:22:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:22:11 ---> Running in 7c48d4f72969 16:22:12 Still waiting to schedule task 16:22:12 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63159’ is offline 16:22:26 Removing intermediate container 7c48d4f72969 16:22:26 ---> 6974fe7ec7ce 16:22:26 Step 11/12 : COPY . . 16:22:26 ---> c4b0a774e738 16:22:26 Step 12/12 : RUN ${MAKE} 16:22:26 ---> Running in 60a62939a58f 16:22:26 noop 16:22:26 Removing intermediate container 60a62939a58f 16:22:26 ---> df0a9af86059 16:22:26 Successfully built df0a9af86059 16:22:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:22:26 + docker inspect -f . ci-base-image-x86_64 16:22:26 . [Pipeline] withDockerContainer 16:22:26 prd-ubuntu20.04-docker-8c-8g-63160 does not seem to be running inside a container 16:22:26 $ 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 16:22:27 $ docker top 6f3338ac359a4b58d7d3adba6d7f9fa47099a7b8de9b7a02b0f3be757f61d35d -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:27 + go version 16:22:27 go version go1.17.6 linux/amd64 [Pipeline] } 16:22:27 $ docker stop --time=1 6f3338ac359a4b58d7d3adba6d7f9fa47099a7b8de9b7a02b0f3be757f61d35d 16:22:29 $ docker rm -f 6f3338ac359a4b58d7d3adba6d7f9fa47099a7b8de9b7a02b0f3be757f61d35d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:22:29 + docker inspect -f . ci-base-image-x86_64 16:22:29 . [Pipeline] withDockerContainer 16:22:29 prd-ubuntu20.04-docker-8c-8g-63160 does not seem to be running inside a container 16:22:29 $ 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 16:22:30 $ docker top 8f96e30cb314fb3fc49e1eaced1f7d2f9f03540ece4f1e63b02461a615168d26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:22:30 + make test 16:22:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:22:30 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:22:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:22:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 16:22:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:22:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:22:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:22:52 ./bin/test-attribution-txt.sh [Pipeline] echo 16:22:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:22:53 $ docker stop --time=1 8f96e30cb314fb3fc49e1eaced1f7d2f9f03540ece4f1e63b02461a615168d26 16:22:54 $ docker rm -f 8f96e30cb314fb3fc49e1eaced1f7d2f9f03540ece4f1e63b02461a615168d26 [Pipeline] // withDockerContainer [Pipeline] sh 16:22:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:22:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:22:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:22:56 + ls -al . 16:22:56 total 168 16:22:56 drwxrwxr-x 9 jenkins jenkins 4096 May 11 16:22 . 16:22:56 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:21 .. 16:22:56 -rw-rw-r-- 1 jenkins jenkins 6 May 11 16:21 .dockerignore 16:22:56 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:21 .git 16:22:56 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:21 .github 16:22:56 -rw-rw-r-- 1 jenkins jenkins 328 May 11 16:21 .gitignore 16:22:56 -rw-rw-r-- 1 jenkins jenkins 41 May 11 16:21 .golangci.yml 16:22:56 drwxr-xr-x 3 jenkins jenkins 4096 May 11 16:21 .semver 16:22:56 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 16:21 Attribution.txt 16:22:56 -rw-rw-r-- 1 jenkins jenkins 6947 May 11 16:21 CHANGELOG.md 16:22:56 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 16:21 Dockerfile 16:22:56 -rw-rw-r-- 1 jenkins jenkins 677 May 11 16:21 GOVERNANCE.md 16:22:56 -rw-rw-r-- 1 jenkins jenkins 656 May 11 16:21 Jenkinsfile 16:22:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 16:21 LICENSE 16:22:56 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 16:21 Makefile 16:22:56 -rw-rw-r-- 1 jenkins jenkins 620 May 11 16:21 OWNERS.md 16:22:56 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 16:21 README.md 16:22:56 -rw-rw-r-- 1 jenkins jenkins 5 May 11 16:21 VERSION 16:22:56 drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:21 bin 16:22:56 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:21 cmd 16:22:56 -rw-r--r-- 1 jenkins jenkins 7631 May 11 16:22 coverage.out 16:22:56 -rw-rw-r-- 1 jenkins jenkins 3250 May 11 16:21 go.mod 16:22:56 -rw-rw-r-- 1 jenkins jenkins 35701 May 11 16:21 go.sum 16:22:56 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:21 internal 16:22:56 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:21 snap 16:22:56 -rw-rw-r-- 1 jenkins jenkins 209 May 11 16:21 version.go [Pipeline] isUnix [Pipeline] sh 16:22:56 + 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=6fc80c8eb675621a35ee63c3499b46a26cb77ee2 --label arch=amd64 --label version=0.0.0 . 16:22:56 Sending build context to Docker daemon 5.37MB 16:22:56 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:22:56 Step 2/24 : FROM ${BASE} AS builder 16:22:56 ---> df0a9af86059 16:22:56 Step 3/24 : ARG MAKE='make build' 16:22:56 ---> Running in 8c2103a9673b 16:22:56 Removing intermediate container 8c2103a9673b 16:22:56 ---> 27dffcc091b3 16:22:56 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:22:56 ---> Running in 691f298a3534 16:22:56 Removing intermediate container 691f298a3534 16:22:56 ---> cf5179e3dc8c 16:22:56 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:22:56 ---> Running in a9d2891bd8a4 16:22:56 Removing intermediate container a9d2891bd8a4 16:22:56 ---> 9d7479fe30d7 16:22:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:22:56 ---> Running in 44a5a99541b7 16:22:57 Removing intermediate container 44a5a99541b7 16:22:57 ---> 11bbf5a10c4f 16:22:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:22:57 ---> Running in 66532b9b6de8 16:22:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:22:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:22:59 OK: 224 MiB in 56 packages 16:22:59 Removing intermediate container 66532b9b6de8 16:22:59 ---> e38661d6408f 16:22:59 Step 8/24 : WORKDIR /device-snmp-go 16:22:59 ---> Running in df52881d16cf 16:22:59 Removing intermediate container df52881d16cf 16:22:59 ---> 57354165bef6 16:22:59 Step 9/24 : COPY go.mod vendor* ./ 16:22:59 ---> 5e36affd9652 16:22:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:22:59 ---> Running in c88f70f14d31 16:23:00 Removing intermediate container c88f70f14d31 16:23:00 ---> ba7a80106909 16:23:00 Step 11/24 : COPY . . 16:23:00 ---> 364c910b1280 16:23:00 Step 12/24 : RUN ${MAKE} 16:23:00 ---> Running in 8f11f9d1c5ba 16:23:00 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 16:23:22 Removing intermediate container 8f11f9d1c5ba 16:23:22 ---> e61831bf6521 16:23:22 Step 13/24 : FROM alpine:3.14 16:23:22 3.14: Pulling from library/alpine 16:23:22 8663204ce13b: Pulling fs layer 16:23:22 8663204ce13b: Download complete 16:23:22 8663204ce13b: Pull complete 16:23:22 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:23:22 Status: Downloaded newer image for alpine:3.14 16:23:22 ---> e04c818066af 16:23:22 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 16:23:22 ---> Running in 34fb32b53f99 16:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:23:22 (1/6) Installing dumb-init (1.2.5-r1) 16:23:22 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:23:22 (3/6) Installing libsodium (1.0.18-r0) 16:23:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:23:22 (5/6) Installing libzmq (4.3.4-r0) 16:23:22 (6/6) Installing zeromq (4.3.4-r0) 16:23:22 Executing busybox-1.33.1-r7.trigger 16:23:22 OK: 8 MiB in 20 packages 16:23:23 Removing intermediate container 34fb32b53f99 16:23:23 ---> 64b1e80c8ef6 16:23:23 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:23:24 ---> 77f8d85b390d 16:23:24 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:23:24 ---> d2136e9a7977 16:23:24 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:23:24 ---> ae49a44cf7db 16:23:24 Step 18/24 : EXPOSE 59993 16:23:24 ---> Running in 86144d0feb53 16:23:24 Removing intermediate container 86144d0feb53 16:23:24 ---> bcac5e10411d 16:23:24 Step 19/24 : EXPOSE 161 16:23:24 ---> Running in ae859a8b29f2 16:23:24 Removing intermediate container ae859a8b29f2 16:23:24 ---> 941c7256140a 16:23:24 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:23:24 ---> Running in 6d2c22ba90f8 16:23:24 Removing intermediate container 6d2c22ba90f8 16:23:24 ---> a85fc9d842c0 16:23:24 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:23:24 ---> Running in 2a28c4c86234 16:23:24 Removing intermediate container 2a28c4c86234 16:23:24 ---> 29c55843a3a7 16:23:24 Step 22/24 : LABEL arch=amd64 16:23:24 ---> Running in 1bb62a7f63ab 16:23:24 Removing intermediate container 1bb62a7f63ab 16:23:24 ---> 85b3dadc1a56 16:23:24 Step 23/24 : LABEL git_sha=6fc80c8eb675621a35ee63c3499b46a26cb77ee2 16:23:24 ---> Running in 000da43d7bff 16:23:24 Removing intermediate container 000da43d7bff 16:23:24 ---> 3956f83ebd52 16:23:24 Step 24/24 : LABEL version=0.0.0 16:23:25 ---> Running in 120f624e3521 16:23:25 Removing intermediate container 120f624e3521 16:23:25 ---> 9ce25b5c9ca1 16:23:25 [Warning] One or more build-args [ARCH] were not consumed 16:23:25 Successfully built 9ce25b5c9ca1 16:23:25 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 16:23:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:25 16:23:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:25 latest: Pulling from edgex-lftools-log-publisher 16:23:25 5eb5b503b376: Pulling fs layer 16:23:25 5c69ac0246d0: Pulling fs layer 16:23:25 ec43610c2a17: Pulling fs layer 16:23:25 3a2ae6a8a46f: Pulling fs layer 16:23:25 33b1e0a273af: Pulling fs layer 16:23:25 5d3b04190fa2: Pulling fs layer 16:23:25 3a2ae6a8a46f: Waiting 16:23:25 33b1e0a273af: Waiting 16:23:25 2f39f015ded8: Pulling fs layer 16:23:25 5d3b04190fa2: Waiting 16:23:25 2f39f015ded8: Waiting 16:23:25 5c69ac0246d0: Verifying Checksum 16:23:25 5c69ac0246d0: Download complete 16:23:25 3a2ae6a8a46f: Verifying Checksum 16:23:25 33b1e0a273af: Verifying Checksum 16:23:25 33b1e0a273af: Download complete 16:23:25 5d3b04190fa2: Verifying Checksum 16:23:25 5d3b04190fa2: Download complete 16:23:25 ec43610c2a17: Verifying Checksum 16:23:25 ec43610c2a17: Download complete 16:23:26 5eb5b503b376: Verifying Checksum 16:23:26 5eb5b503b376: Download complete 16:23:26 2f39f015ded8: Verifying Checksum 16:23:26 2f39f015ded8: Download complete 16:23:27 5eb5b503b376: Pull complete 16:23:27 5c69ac0246d0: Pull complete 16:23:28 ec43610c2a17: Pull complete 16:23:28 3a2ae6a8a46f: Pull complete 16:23:28 33b1e0a273af: Pull complete 16:23:28 5d3b04190fa2: Pull complete 16:23:33 2f39f015ded8: Pull complete 16:23:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:23:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:23:33 prd-ubuntu20.04-docker-8c-8g-63160 does not seem to be running inside a container 16:23:33 $ 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 16:23:35 $ docker top 4fddc60b6e545ba0537d0f19edf63d74e065a9b48be233a81c5bc592c29e7252 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:36 ---> job-cost.sh 16:23:36 lf-activate-venv: SKIPPING 16:23:36 INFO: No Stack... 16:23:36 INFO: Retrieving Pricing Info for: v3-standard-8 16:23:36 INFO: Archiving Costs [Pipeline] sh 16:23:37 + cat /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/cost.csv 16:23:37 + cut -d, -f6 [Pipeline] lock 16:23:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-5-stack-cost] 16:23:37 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-5-stack-cost] did not exist. Created. 16:23:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:23:37 + echo total: 0.2199999988079071 [Pipeline] stash 16:23:37 Stashed 1 file(s) [Pipeline] } 16:23:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-5-stack-cost] [Pipeline] // lock [Pipeline] } 16:23:37 $ docker stop --time=1 4fddc60b6e545ba0537d0f19edf63d74e065a9b48be233a81c5bc592c29e7252 16:23:38 $ docker rm -f 4fddc60b6e545ba0537d0f19edf63d74e065a9b48be233a81c5bc592c29e7252 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:23:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63161 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [Pipeline] { [Pipeline] ws 16:23:48 Running in /w/workspace/device-snmp-go/5 [Pipeline] { [Pipeline] checkout 16:23:48 Selected Git installation does not exist. Using Default 16:23:48 The recommended git tool is: NONE 16:23:55 using credential edgex-jenkins-ssh 16:23:55 Cloning the remote Git repository 16:23:55 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 16:23:55 > git init /w/workspace/device-snmp-go/5 # timeout=10 16:23:55 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:23:55 > git --version # timeout=10 16:23:55 > git --version # 'git version 2.25.1' 16:23:55 using GIT_SSH to set credentials SSH Credentials for GitHub 16:23:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:23:57 Merging remotes/origin/main commit 2a65a39039cf7664a715857da731e59ec3cb9dfd into PR head commit 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 16:23:57 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:23:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:23:57 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:23:57 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:23:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:23:57 > 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 16:23:57 > git config core.sparsecheckout # timeout=10 16:23:57 > git checkout -f 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 # timeout=10 16:23:57 > git remote # timeout=10 16:23:57 > git config --get remote.origin.url # timeout=10 16:23:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:23:57 > git merge 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 16:23:57 > git rev-parse HEAD^{commit} # timeout=10 16:23:57 Merge succeeded, producing 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 16:23:57 Checking out Revision 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 (PR-168) 16:23:57 > git config core.sparsecheckout # timeout=10 16:23:57 > git checkout -f 6fc80c8eb675621a35ee63c3499b46a26cb77ee2 # timeout=10 16:24:02 Commit message: "Merge branch 'main' into kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:24:03 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:03 Dload Upload Total Spent Left Speed 16:24:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85201 0 --:--:-- --:--:-- --:--:-- 85201 [Pipeline] sh 16:24:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:24:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:24:04 + sudo tee /etc/docker/daemon.new 16:24:04 { 16:24:04 "registry-mirrors": [ 16:24:04 "https://nexus3.edgexfoundry.org:10001" 16:24:04 ], 16:24:04 "bip": "10.250.0.254/24", 16:24:04 "hosts": [ 16:24:04 "tcp://0.0.0.0:5555", 16:24:04 "unix:///var/run/docker.sock" 16:24:04 ], 16:24:04 "mtu": 1458, 16:24:04 "selinux-enabled": true, 16:24:04 "seccomp-profile": "/etc/docker/seccomp.json" 16:24:04 } [Pipeline] sh 16:24:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:24:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:23 provisioning config files... 16:24:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config8849338463412103350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:23 ---> docker-login.sh 16:24:23 nexus3.edgexfoundry.org:10001 16:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:24 Configure a credential helper to remove this warning. See 16:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:24 16:24:24 Login Succeeded 16:24:24 nexus3.edgexfoundry.org:10002 16:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:24 Configure a credential helper to remove this warning. See 16:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:24 16:24:24 Login Succeeded 16:24:24 nexus3.edgexfoundry.org:10003 16:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:25 Configure a credential helper to remove this warning. See 16:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:25 16:24:25 Login Succeeded 16:24:25 nexus3.edgexfoundry.org:10004 16:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:25 Configure a credential helper to remove this warning. See 16:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:25 16:24:25 Login Succeeded 16:24:25 docker.io 16:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:26 Configure a credential helper to remove this warning. See 16:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:26 16:24:26 Login Succeeded 16:24:26 ---> docker-login.sh ends [Pipeline] } 16:24:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:24:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:26 ========================================================= 16:24:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:24:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:24:27 + 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 . 16:24:27 Sending build context to Docker daemon 2.782MB 16:24:27 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:24:27 Step 2/12 : FROM ${BASE} AS builder 16:24:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:24:27 9b3977197b4f: Pulling fs layer 16:24:27 1a89e8eeedd5: Pulling fs layer 16:24:27 94645a83ff95: Pulling fs layer 16:24:27 3f3a8bcf1eab: Pulling fs layer 16:24:27 0c92f367c5e7: Pulling fs layer 16:24:27 3096ccb668a1: Pulling fs layer 16:24:27 e8cf19c19ddd: Pulling fs layer 16:24:27 a4caa8a26152: Pulling fs layer 16:24:27 a4caa8a26152: Waiting 16:24:27 3096ccb668a1: Waiting 16:24:27 e8cf19c19ddd: Waiting 16:24:27 3f3a8bcf1eab: Waiting 16:24:27 0c92f367c5e7: Waiting 16:24:27 94645a83ff95: Download complete 16:24:27 1a89e8eeedd5: Download complete 16:24:27 0c92f367c5e7: Verifying Checksum 16:24:27 0c92f367c5e7: Download complete 16:24:27 3096ccb668a1: Verifying Checksum 16:24:27 3096ccb668a1: Download complete 16:24:27 9b3977197b4f: Verifying Checksum 16:24:27 9b3977197b4f: Download complete 16:24:27 e8cf19c19ddd: Verifying Checksum 16:24:27 e8cf19c19ddd: Download complete 16:24:28 9b3977197b4f: Pull complete 16:24:29 1a89e8eeedd5: Pull complete 16:24:29 94645a83ff95: Pull complete 16:24:29 a4caa8a26152: Verifying Checksum 16:24:29 a4caa8a26152: Download complete 16:24:30 3f3a8bcf1eab: Verifying Checksum 16:24:30 3f3a8bcf1eab: Download complete 16:24:42 3f3a8bcf1eab: Pull complete 16:24:42 0c92f367c5e7: Pull complete 16:24:42 3096ccb668a1: Pull complete 16:24:42 e8cf19c19ddd: Pull complete 16:24:49 a4caa8a26152: Pull complete 16:24:49 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:24:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:24:49 ---> 725f1c02e7f9 16:24:49 Step 3/12 : ARG MAKE='make build' 16:24:50 ---> Running in 635217f7996d 16:24:50 Removing intermediate container 635217f7996d 16:24:50 ---> 8c3f85eec81f 16:24:50 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:24:50 ---> Running in 386e4aacea47 16:24:50 Removing intermediate container 386e4aacea47 16:24:50 ---> 4b2542269f01 16:24:50 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 16:24:51 ---> Running in 2499fb91a67c 16:24:51 Removing intermediate container 2499fb91a67c 16:24:51 ---> b5d7625aa66d 16:24:51 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:24:51 ---> Running in bb12150392f7 16:24:53 Removing intermediate container bb12150392f7 16:24:53 ---> 5465128a3b29 16:24:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:24:53 ---> Running in 4c5efd36cb7a 16:24:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:24:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:24:55 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:24:56 (2/4) Installing libedit (20210910.3.1-r0) 16:24:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:24:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:24:56 Executing busybox-1.34.1-r3.trigger 16:24:56 OK: 224 MiB in 56 packages 16:24:57 Removing intermediate container 4c5efd36cb7a 16:24:57 ---> ee8d00071e60 16:24:57 Step 8/12 : WORKDIR /device-snmp-go 16:24:58 ---> Running in 29b904d171b4 16:24:58 Removing intermediate container 29b904d171b4 16:24:58 ---> 86ea89bedc88 16:24:58 Step 9/12 : COPY go.mod vendor* ./ 16:24:59 ---> 0aefa84ae5de 16:24:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:24:59 ---> Running in 576427db3b29 16:25:46 Removing intermediate container 576427db3b29 16:25:46 ---> 340da459878f 16:25:46 Step 11/12 : COPY . . 16:25:46 ---> 5a45873229bb 16:25:46 Step 12/12 : RUN ${MAKE} 16:25:46 ---> Running in 61b5543abd08 16:25:46 noop 16:25:46 Removing intermediate container 61b5543abd08 16:25:46 ---> 7146be7f04d0 16:25:46 Successfully built 7146be7f04d0 16:25:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:25:46 + docker inspect -f . ci-base-image-arm64 16:25:46 . [Pipeline] withDockerContainer 16:25:46 prd-ubuntu20.04-docker-arm64-4c-16g-63161 does not seem to be running inside a container 16:25:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 16:25:48 $ docker top ded5699b36103ec8410eff0ae832d8f52c1acf55fbd5a1f5465150ae2d82eeb6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:49 + go version 16:25:49 go version go1.17.6 linux/arm64 [Pipeline] } 16:25:49 $ docker stop --time=1 ded5699b36103ec8410eff0ae832d8f52c1acf55fbd5a1f5465150ae2d82eeb6 16:25:50 $ docker rm -f ded5699b36103ec8410eff0ae832d8f52c1acf55fbd5a1f5465150ae2d82eeb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:25:51 + docker inspect -f . ci-base-image-arm64 16:25:51 . [Pipeline] withDockerContainer 16:25:51 prd-ubuntu20.04-docker-arm64-4c-16g-63161 does not seem to be running inside a container 16:25:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 16:25:52 $ docker top 7d57ef61b2bb5a7dfa2bfb92d110b5ab7f9dd4108e314e3b05bfd71ca722d5fe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:25:53 + make test 16:25:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:25:55 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:27:17 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:27:17 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 16:27:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:27:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:27:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:27:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:27:35 ./bin/test-attribution-txt.sh [Pipeline] echo 16:27:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:27:38 $ docker stop --time=1 7d57ef61b2bb5a7dfa2bfb92d110b5ab7f9dd4108e314e3b05bfd71ca722d5fe 16:27:39 $ docker rm -f 7d57ef61b2bb5a7dfa2bfb92d110b5ab7f9dd4108e314e3b05bfd71ca722d5fe [Pipeline] // withDockerContainer [Pipeline] sh 16:27:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:27:40 Warning: overwriting stash ‘coverage-report’ 16:27:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:27:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:27:42 + ls -al . 16:27:42 total 164 16:27:42 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:27 . 16:27:42 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:23 .. 16:27:42 -rw-rw-r-- 1 jenkins jenkins 6 May 11 16:23 .dockerignore 16:27:42 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:24 .git 16:27:42 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:23 .github 16:27:42 -rw-rw-r-- 1 jenkins jenkins 328 May 11 16:23 .gitignore 16:27:42 -rw-rw-r-- 1 jenkins jenkins 41 May 11 16:23 .golangci.yml 16:27:42 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 16:23 Attribution.txt 16:27:42 -rw-rw-r-- 1 jenkins jenkins 6947 May 11 16:23 CHANGELOG.md 16:27:42 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 16:23 Dockerfile 16:27:42 -rw-rw-r-- 1 jenkins jenkins 677 May 11 16:23 GOVERNANCE.md 16:27:42 -rw-rw-r-- 1 jenkins jenkins 656 May 11 16:23 Jenkinsfile 16:27:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 16:23 LICENSE 16:27:42 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 16:23 Makefile 16:27:42 -rw-rw-r-- 1 jenkins jenkins 620 May 11 16:23 OWNERS.md 16:27:42 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 16:23 README.md 16:27:42 -rw-rw-r-- 1 jenkins jenkins 5 May 11 16:21 VERSION 16:27:42 drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:23 bin 16:27:42 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:23 cmd 16:27:42 -rw-r--r-- 1 jenkins jenkins 7631 May 11 16:27 coverage.out 16:27:42 -rw-rw-r-- 1 jenkins jenkins 3250 May 11 16:23 go.mod 16:27:42 -rw-rw-r-- 1 jenkins jenkins 35701 May 11 16:23 go.sum 16:27:42 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:23 internal 16:27:42 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:23 snap 16:27:42 -rw-rw-r-- 1 jenkins jenkins 209 May 11 16:23 version.go [Pipeline] isUnix [Pipeline] sh 16:27:42 + 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=6fc80c8eb675621a35ee63c3499b46a26cb77ee2 --label arch=arm64 --label version=0.0.0 . 16:27:42 Sending build context to Docker daemon 2.79MB 16:27:42 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:27:42 Step 2/24 : FROM ${BASE} AS builder 16:27:42 ---> 7146be7f04d0 16:27:42 Step 3/24 : ARG MAKE='make build' 16:27:42 ---> Running in f356f693e4f5 16:27:43 Removing intermediate container f356f693e4f5 16:27:43 ---> 06c611c793b5 16:27:43 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:27:43 ---> Running in b0f7a4016ad1 16:27:43 Removing intermediate container b0f7a4016ad1 16:27:43 ---> 844797ab6038 16:27:43 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:27:43 ---> Running in b25639689faa 16:27:44 Removing intermediate container b25639689faa 16:27:44 ---> fb6f443ea98b 16:27:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:27:44 ---> Running in 343272383a86 16:27:46 Removing intermediate container 343272383a86 16:27:46 ---> c7bdcb517362 16:27:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:27:46 ---> Running in 245efe698580 16:27:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:27:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:27:48 OK: 224 MiB in 56 packages 16:27:49 Removing intermediate container 245efe698580 16:27:49 ---> a8047aaa9501 16:27:49 Step 8/24 : WORKDIR /device-snmp-go 16:27:49 ---> Running in 483dffd49e35 16:27:49 Removing intermediate container 483dffd49e35 16:27:49 ---> 6f5c6495328a 16:27:49 Step 9/24 : COPY go.mod vendor* ./ 16:27:50 ---> 901f3deaf11f 16:27:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:27:50 ---> Running in 9b65d5a86aae 16:27:52 Removing intermediate container 9b65d5a86aae 16:27:52 ---> 2b0dfb995acc 16:27:52 Step 11/24 : COPY . . 16:27:52 ---> 6c89bea4e01e 16:27:52 Step 12/24 : RUN ${MAKE} 16:27:52 ---> Running in 69fc4c0a3451 16:27:53 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 16:30:00 Removing intermediate container 69fc4c0a3451 16:30:00 ---> 7e3108560b33 16:30:00 Step 13/24 : FROM alpine:3.14 16:30:00 3.14: Pulling from library/alpine 16:30:00 455c02918c45: Pulling fs layer 16:30:00 455c02918c45: Verifying Checksum 16:30:00 455c02918c45: Download complete 16:30:00 455c02918c45: Pull complete 16:30:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:30:00 Status: Downloaded newer image for alpine:3.14 16:30:00 ---> ac73e934f311 16:30:00 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 16:30:00 ---> Running in 968e2a4eaae0 16:30:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:30:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:30:00 (1/6) Installing dumb-init (1.2.5-r1) 16:30:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:30:00 (3/6) Installing libsodium (1.0.18-r0) 16:30:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:30:00 (5/6) Installing libzmq (4.3.4-r0) 16:30:00 (6/6) Installing zeromq (4.3.4-r0) 16:30:00 Executing busybox-1.33.1-r7.trigger 16:30:00 OK: 8 MiB in 20 packages 16:30:00 Removing intermediate container 968e2a4eaae0 16:30:00 ---> 3922f037f374 16:30:00 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:30:00 ---> bf908444b5c1 16:30:00 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:30:00 ---> 39306e7084e1 16:30:00 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:30:00 ---> 397fa159d127 16:30:00 Step 18/24 : EXPOSE 59993 16:30:00 ---> Running in 59c6bddd6a23 16:30:00 Removing intermediate container 59c6bddd6a23 16:30:00 ---> a9cefe2f1669 16:30:00 Step 19/24 : EXPOSE 161 16:30:00 ---> Running in f496c0550f14 16:30:00 Removing intermediate container f496c0550f14 16:30:00 ---> ccaf5ba9eeaa 16:30:00 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:30:00 ---> Running in 6d972f8085ab 16:30:00 Removing intermediate container 6d972f8085ab 16:30:00 ---> 0479d82331aa 16:30:00 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:30:00 ---> Running in 2d662d4aca8c 16:30:00 Removing intermediate container 2d662d4aca8c 16:30:00 ---> 94102fea06cc 16:30:00 Step 22/24 : LABEL arch=arm64 16:30:00 ---> Running in c8e54ac40fb3 16:30:00 Removing intermediate container c8e54ac40fb3 16:30:00 ---> 670a2d3086be 16:30:00 Step 23/24 : LABEL git_sha=6fc80c8eb675621a35ee63c3499b46a26cb77ee2 16:30:00 ---> Running in 644f74d09d30 16:30:00 Removing intermediate container 644f74d09d30 16:30:00 ---> 5d4b167f0745 16:30:00 Step 24/24 : LABEL version=0.0.0 16:30:00 ---> Running in 243a21422904 16:30:00 Removing intermediate container 243a21422904 16:30:00 ---> d62550a665c4 16:30:00 [Warning] One or more build-args [ARCH] were not consumed 16:30:00 Successfully built d62550a665c4 16:30:00 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 16:30:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:30:01 16:30:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:30:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:30:01 arm64: Pulling from edgex-lftools-log-publisher 16:30:01 8998bd30e6a1: Pulling fs layer 16:30:01 04944245beec: Pulling fs layer 16:30:01 699f458cf7ca: Pulling fs layer 16:30:01 765212b225bb: Pulling fs layer 16:30:01 f23df028b6ca: Pulling fs layer 16:30:01 d65c8cfc05b1: Pulling fs layer 16:30:01 2437ff75d9bd: Pulling fs layer 16:30:01 f23df028b6ca: Waiting 16:30:01 d65c8cfc05b1: Waiting 16:30:01 2437ff75d9bd: Waiting 16:30:01 765212b225bb: Waiting 16:30:01 04944245beec: Verifying Checksum 16:30:01 04944245beec: Download complete 16:30:01 765212b225bb: Verifying Checksum 16:30:01 765212b225bb: Download complete 16:30:01 f23df028b6ca: Download complete 16:30:02 d65c8cfc05b1: Verifying Checksum 16:30:02 d65c8cfc05b1: Download complete 16:30:02 699f458cf7ca: Verifying Checksum 16:30:02 699f458cf7ca: Download complete 16:30:02 8998bd30e6a1: Verifying Checksum 16:30:02 8998bd30e6a1: Download complete 16:30:05 2437ff75d9bd: Verifying Checksum 16:30:05 2437ff75d9bd: Download complete 16:30:06 8998bd30e6a1: Pull complete 16:30:06 04944245beec: Pull complete 16:30:08 699f458cf7ca: Pull complete 16:30:08 765212b225bb: Pull complete 16:30:09 f23df028b6ca: Pull complete 16:30:09 d65c8cfc05b1: Pull complete 16:30:24 2437ff75d9bd: Pull complete 16:30:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:30:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:30:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:30:24 prd-ubuntu20.04-docker-arm64-4c-16g-63161 does not seem to be running inside a container 16:30:25 $ 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/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 16:30:27 $ docker top 76f7dd31f9d420b4d496c19653f05ee3a67bd086a8815294455cd3cbb224504e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:28 ---> job-cost.sh 16:30:28 lf-activate-venv: SKIPPING 16:30:28 INFO: No Stack... 16:30:29 INFO: Retrieving Pricing Info for: v3-standard-4 16:30:29 INFO: Archiving Costs [Pipeline] sh 16:30:30 + cat /w/workspace/device-snmp-go/5/archives/cost.csv 16:30:30 + cut -d, -f6 [Pipeline] lock 16:30:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-5-stack-cost] 16:30:30 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-5-stack-cost] did not exist. Created. 16:30:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:30:31 /w/workspace/device-snmp-go/5@tmp/durable-6eb00aa1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:30:31 + echo total: 0.10999999940395355 [Pipeline] stash 16:30:31 Warning: overwriting stash ‘stack-cost’ 16:30:31 Stashed 1 file(s) [Pipeline] } 16:30:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-5-stack-cost] [Pipeline] // lock [Pipeline] } 16:30:31 $ docker stop --time=1 76f7dd31f9d420b4d496c19653f05ee3a67bd086a8815294455cd3cbb224504e 16:30:33 $ docker rm -f 76f7dd31f9d420b4d496c19653f05ee3a67bd086a8815294455cd3cbb224504e [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 16:30:33 provisioning config files... 16:30:33 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config2327097989353870508tmp [Pipeline] { [Pipeline] sh 16:30:34 + set +x 16:30:34 + curl -s https://codecov.io/bash 16:30:34 + bash -s -- 16:30:34 16:30:34 _____ _ 16:30:34 / ____| | | 16:30:34 | | ___ __| | ___ ___ _____ __ 16:30:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:30:34 | |___| (_) | (_| | __/ (_| (_) \ V / 16:30:34 \_____\___/ \__,_|\___|\___\___/ \_/ 16:30:34 Bash-1.0.6 16:30:34 16:30:34 16:30:34 ==> git version 2.25.1 found 16:30:34 ==> 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 16:30:34 Release-Date: 2020-01-08 16:30:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:30:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:30:34 ==> Jenkins CI detected. 16:30:34 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-168 16:30:34 project root: . 16:30:34 --> token set from env 16:30:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:30:34 ==> Running gcov in . (disable via -X gcov) 16:30:34 ==> Python coveragepy not found 16:30:34 ==> Searching for coverage reports in: 16:30:34 + . 16:30:34 -> Found 1 reports 16:30:34 ==> Detecting git/mercurial file structure 16:30:34 ==> Reading reports 16:30:34 + ./coverage.out bytes=7631 16:30:34 ==> Appending adjustments 16:30:34 https://docs.codecov.io/docs/fixing-reports 16:30:34 + Found adjustments 16:30:34 ==> Gzipping contents 16:30:34 4.0K /tmp/codecov.SxGKiF.gz 16:30:34 ==> Uploading reports 16:30:34 url: https://codecov.io 16:30:34 query: branch=PR-168&commit=6fc80c8eb675621a35ee63c3499b46a26cb77ee2&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 16:30:34 -> Pinging Codecov 16:30:34 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=6fc80c8eb675621a35ee63c3499b46a26cb77ee2&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 16:30:34 -> Uploading to 16:30:34 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/6C56EA5C29638FB4528AC87E60AF5AE0/6fc80c8eb675621a35ee63c3499b46a26cb77ee2/d7cf739a-d4d6-4c34-801b-b54851684a7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T163034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff3914a47c3b9aa833c0133af8b542d6a5debd26f4b4a83f2b19026d222ac155 16:30:34 % Total % Received % Xferd Average Speed Time Time Time Current 16:30:34 Dload Upload Total Spent Left Speed 16:30:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1599 0 0 100 1599 0 5772 --:--:-- --:--:-- --:--:-- 5772 16:30:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/6fc80c8eb675621a35ee63c3499b46a26cb77ee2 [Pipeline] } 16:30:35 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 16:30:35 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-168/archives ] 16:30:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 16:30:35 total 16 16:30:35 drwxr-xr-x 3 root root 4096 May 11 16:23 . 16:30:35 drwxrwxr-x 10 jenkins jenkins 4096 May 11 16:23 .. 16:30:35 drwxr-xr-x 2 root root 4096 May 11 16:23 cost 16:30:35 -rw-r--r-- 1 root root 85 May 11 16:23 cost.csv 16:30:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 16:30:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 16:30:35 total 16 16:30:35 drwxr-xr-x 3 jenkins jenkins 4096 May 11 16:23 . 16:30:35 drwxrwxr-x 10 jenkins jenkins 4096 May 11 16:23 .. 16:30:35 drwxr-xr-x 2 jenkins jenkins 4096 May 11 16:23 cost 16:30:35 -rw-r--r-- 1 jenkins jenkins 85 May 11 16:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:30:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:30:37 ---> package-listing.sh 16:30:37 ++ facter osfamily 16:30:37 ++ tr '[:upper:]' '[:lower:]' 16:30:37 + OS_FAMILY=debian 16:30:37 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-168 16:30:37 + START_PACKAGES=/tmp/packages_start.txt 16:30:37 + END_PACKAGES=/tmp/packages_end.txt 16:30:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:30:37 + PACKAGES=/tmp/packages_start.txt 16:30:37 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 16:30:37 + PACKAGES=/tmp/packages_end.txt 16:30:37 + case "${OS_FAMILY}" in 16:30:37 + dpkg -l 16:30:37 + grep '^ii' 16:30:37 + '[' -f /tmp/packages_start.txt ']' 16:30:37 + '[' -f /tmp/packages_end.txt ']' 16:30:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:30:37 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 16:30:37 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ 16:30:37 + 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 16:30:37 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 16:30:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:30:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:38 . [Pipeline] withDockerContainer 16:30:38 prd-ubuntu20.04-docker-8c-8g-63160 does not seem to be running inside a container 16:30:38 $ 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 16:30:38 $ docker top c4b35b19d2db853ada147ed8946475763629ef3c6b4942e0a83ba524edcc4278 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:38 + touch /tmp/pre-build-complete [Pipeline] sh 16:30:39 + mkdir -p /var/log/sysstat [Pipeline] sh 16:30:39 + ls /var/log/sa-host 16:30:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:39 provisioning config files... 16:30:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config9087965680327956310tmp [Pipeline] { [Pipeline] echo 16:30:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:30:39 ---> create-netrc.sh [Pipeline] } 16:30:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:30:40 ---> python-tools-install.sh [Pipeline] echo 16:30:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:30:40 ---> sudo-logs.sh 16:30:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:30:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:30:40 ---> job-cost.sh 16:30:40 lf-activate-venv: SKIPPING 16:30:40 DEBUG: total: 0.2199999988079071 16:30:40 INFO: Retrieving Stack Cost... 16:30:41 INFO: Retrieving Pricing Info for: v3-standard-8 16:30:41 INFO: Archiving Costs [Pipeline] echo 16:30:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:30:42 ---> logs-deploy.sh 16:30:42 lf-activate-venv: SKIPPING 16:30:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-168/5 16:30:42 INFO: archiving workspace using pattern(s): 16:30:42 Archives upload complete. 16:30:42 INFO: archiving logs to Nexus