Pull request #167 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 MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at d555bf136e773009b6ef88c6c814540d1eb4cbee rather than 65af2917e38e4efdcf95004374322e66f078e1bc Obtained Jenkinsfile from d555bf136e773009b6ef88c6c814540d1eb4cbee 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-ssh3429361082883861563.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14859366679863129467.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-167/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-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3700595886225050898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11905546832089336499.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-167/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-167/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6617422975907765663.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40547 in /w/workspace/gexfoundry_device-snmp-go_PR-167 [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-167 # 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 d555bf136e773009b6ef88c6c814540d1eb4cbee into PR head commit 65af2917e38e4efdcf95004374322e66f078e1bc Merge succeeded, producing 65af2917e38e4efdcf95004374322e66f078e1bc Checking out Revision 65af2917e38e4efdcf95004374322e66f078e1bc (PR-167) > 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/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65af2917e38e4efdcf95004374322e66f078e1bc # 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 d555bf136e773009b6ef88c6c814540d1eb4cbee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65af2917e38e4efdcf95004374322e66f078e1bc # timeout=10 Commit message: "Merge branch 'main' into move-snap-readme" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:45:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:45:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:45:59 ========================================================= 06:45:59 EdgeX Global Pipelines Version Info 06:45:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 259017e6f559af30df475305c910dffc7077af35 # timeout=10 06:45:59 ------------------- 06:45:59 stable info: 06:45:59 ------------------- 06:45:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:45:59 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:45:59 Message: update stable to v1.0.227 06:46:00 ------------------- 06:46:00 experimental info: 06:46:00 ------------------- 06:46:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:46:00 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:46:00 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-167 [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-167 [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-167 [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65af2917e38e4efdcf95004374322e66f078e1bc [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65af291 [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:01 provisioning config files... 06:46:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/config4186007092005029007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:01 ---> docker-login.sh 06:46:01 nexus3.edgexfoundry.org:10001 06:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:01 Configure a credential helper to remove this warning. See 06:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:01 06:46:01 Login Succeeded 06:46:01 nexus3.edgexfoundry.org:10002 06:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:01 Configure a credential helper to remove this warning. See 06:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:01 06:46:01 Login Succeeded 06:46:01 nexus3.edgexfoundry.org:10003 06:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:01 Configure a credential helper to remove this warning. See 06:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:01 06:46:01 Login Succeeded 06:46:01 nexus3.edgexfoundry.org:10004 06:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:02 Configure a credential helper to remove this warning. See 06:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:02 06:46:02 Login Succeeded 06:46:02 docker.io 06:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:02 Configure a credential helper to remove this warning. See 06:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:02 06:46:02 Login Succeeded 06:46:02 ---> docker-login.sh ends [Pipeline] } 06:46:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:46:03 + git rev-list -1 --merges 65af2917e38e4efdcf95004374322e66f078e1bc~1..65af2917e38e4efdcf95004374322e66f078e1bc [Pipeline] echo 06:46:03 -----------> git rev-list -1 --merges 65af2917e38e4efdcf95004374322e66f078e1bc~1..65af2917e38e4efdcf95004374322e66f078e1bc 65af2917e38e4efdcf95004374322e66f078e1bc 06:46:03 65af2917e38e4efdcf95004374322e66f078e1bc [false] [Pipeline] sh 06:46:03 + git log --format=format:%s -1 65af2917e38e4efdcf95004374322e66f078e1bc [Pipeline] echo 06:46:03 ========================================================= 06:46:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:46:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:03 + git log --format=format:%s -1 65af2917e38e4efdcf95004374322e66f078e1bc [Pipeline] echo 06:46:03 [semverPrep] GIT_COMMIT: 65af2917e38e4efdcf95004374322e66f078e1bc, Commit Message: Merge branch 'main' into move-snap-readme [Pipeline] echo 06:46:03 [semverPrep] This is not a build commit. [Pipeline] sh 06:46:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:46:04 + grep -v github /etc/ssh/ssh_known_hosts 06:46:04 + [ -e /tmp/ssh_known_hosts ] 06:46:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:46:04 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:46:04 sudo tee -a /etc/ssh/ssh_known_hosts 06:46:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:46:04 06:46:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:46:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:46:05 latest: Pulling from edgex-devops/py-git-semver 06:46:05 1fe172e4850f: Pulling fs layer 06:46:05 caf521ccaac6: Pulling fs layer 06:46:05 3ead6fa29328: Pulling fs layer 06:46:05 5c2a1cbceb83: Pulling fs layer 06:46:05 a8d5f1318db7: Pulling fs layer 06:46:05 c427282e49a2: Pulling fs layer 06:46:05 1827001aaf11: Pulling fs layer 06:46:05 0714d37db230: Pulling fs layer 06:46:05 ac28cf19c067: Pulling fs layer 06:46:05 ca983d60f3e2: Pulling fs layer 06:46:05 9f894cec8388: Pulling fs layer 06:46:05 1827001aaf11: Waiting 06:46:05 5c2a1cbceb83: Waiting 06:46:05 a8d5f1318db7: Waiting 06:46:05 c427282e49a2: Waiting 06:46:05 ac28cf19c067: Waiting 06:46:05 0714d37db230: Waiting 06:46:05 ca983d60f3e2: Waiting 06:46:05 9f894cec8388: Waiting 06:46:05 caf521ccaac6: Verifying Checksum 06:46:05 caf521ccaac6: Download complete 06:46:05 5c2a1cbceb83: Verifying Checksum 06:46:05 5c2a1cbceb83: Download complete 06:46:05 a8d5f1318db7: Verifying Checksum 06:46:05 a8d5f1318db7: Download complete 06:46:05 3ead6fa29328: Verifying Checksum 06:46:05 3ead6fa29328: Download complete 06:46:05 c427282e49a2: Verifying Checksum 06:46:05 c427282e49a2: Download complete 06:46:05 0714d37db230: Download complete 06:46:05 ac28cf19c067: Download complete 06:46:05 ca983d60f3e2: Verifying Checksum 06:46:05 ca983d60f3e2: Download complete 06:46:05 9f894cec8388: Download complete 06:46:05 1fe172e4850f: Download complete 06:46:05 1827001aaf11: Verifying Checksum 06:46:05 1827001aaf11: Download complete 06:46:06 1fe172e4850f: Pull complete 06:46:06 caf521ccaac6: Pull complete 06:46:07 3ead6fa29328: Pull complete 06:46:07 5c2a1cbceb83: Pull complete 06:46:07 a8d5f1318db7: Pull complete 06:46:07 c427282e49a2: Pull complete 06:46:09 1827001aaf11: Pull complete 06:46:10 0714d37db230: Pull complete 06:46:10 ac28cf19c067: Pull complete 06:46:10 ca983d60f3e2: Pull complete 06:46:10 9f894cec8388: Pull complete 06:46:10 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:46:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:46:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:46:10 prd-ubuntu20.04-docker-8c-8g-40547 does not seem to be running inside a container 06:46:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:46:11 $ docker top b3ab9a28952949b662d8e49c042374f0223cbf3854a4128476c508b1fef8faee -eo pid,comm 06:46:12 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). 06:46:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:12 [ssh-agent] Looking for ssh-agent implementation... 06:46:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:12 $ docker exec b3ab9a28952949b662d8e49c042374f0223cbf3854a4128476c508b1fef8faee ssh-agent 06:46:12 SSH_AUTH_SOCK=/tmp/ssh-tnzaRmVk5WW4/agent.33 06:46:12 SSH_AGENT_PID=39 06:46:12 Running ssh-add (command line suppressed) 06:46:12 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/private_key_6025335486416762105.key (/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/private_key_6025335486416762105.key) 06:46:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:12 + git tag --points-at HEAD [Pipeline] } 06:46:12 $ docker exec --env ******** --env ******** b3ab9a28952949b662d8e49c042374f0223cbf3854a4128476c508b1fef8faee ssh-agent -k 06:46:12 unset SSH_AUTH_SOCK; 06:46:12 unset SSH_AGENT_PID; 06:46:12 echo Agent pid 39 killed; 06:46:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:46:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:12 [ssh-agent] Looking for ssh-agent implementation... 06:46:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:13 $ docker exec b3ab9a28952949b662d8e49c042374f0223cbf3854a4128476c508b1fef8faee ssh-agent 06:46:13 SSH_AUTH_SOCK=/tmp/ssh-NenTNCyTiV2K/agent.72 06:46:13 SSH_AGENT_PID=79 06:46:13 Running ssh-add (command line suppressed) 06:46:13 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/private_key_5138529105319472118.key (/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/private_key_5138529105319472118.key) 06:46:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:13 + git semver init 06:46:13 2022-05-06 06:46:13,911 [run_init] DEBUG init version:0.0.0 force:False 06:46:13 2022-05-06 06:46:13,912 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver 06:46:13 2022-05-06 06:46:13,913 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-167/.semver 06:46:13 2022-05-06 06:46:13,913 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-167, universal_newlines=False, shell=None, istream=None) 06:46:14 2022-05-06 06:46:14,682 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-167/.git/info/exclude 06:46:14 2022-05-06 06:46:14,683 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver/PR-167 with force:False 06:46:14 2022-05-06 06:46:14,683 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver/PR-167 06:46:14 2022-05-06 06:46:14,687 [execute] INFO git cat-file --batch-check 06:46:14 2022-05-06 06:46:14,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver, universal_newlines=False, shell=None, istream=) 06:46:14 2022-05-06 06:46:14,692 [execute] INFO git cat-file --batch 06:46:14 2022-05-06 06:46:14,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver, universal_newlines=False, shell=None, istream=) 06:46:14 2022-05-06 06:46:14,698 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-167/.semver/PR-167 06:46:14 0.0.0 [Pipeline] } 06:46:14 $ docker exec --env ******** --env ******** b3ab9a28952949b662d8e49c042374f0223cbf3854a4128476c508b1fef8faee ssh-agent -k 06:46:15 unset SSH_AUTH_SOCK; 06:46:15 unset SSH_AGENT_PID; 06:46:15 echo Agent pid 79 killed; 06:46:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:15 + git semver [Pipeline] } 06:46:15 $ docker stop --time=1 b3ab9a28952949b662d8e49c042374f0223cbf3854a4128476c508b1fef8faee 06:46:16 $ docker rm -f b3ab9a28952949b662d8e49c042374f0223cbf3854a4128476c508b1fef8faee [Pipeline] // withDockerContainer [Pipeline] sh 06:46:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:46:17 Stashed 1 file(s) [Pipeline] echo 06:46:17 [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 06:46:17 provisioning config files... 06:46:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/config2127415737230658397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:18 ---> docker-login.sh 06:46:18 nexus3.edgexfoundry.org:10001 06:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:18 Configure a credential helper to remove this warning. See 06:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:18 06:46:18 Login Succeeded 06:46:18 nexus3.edgexfoundry.org:10002 06:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:18 Configure a credential helper to remove this warning. See 06:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:18 06:46:18 Login Succeeded 06:46:18 nexus3.edgexfoundry.org:10003 06:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:18 Configure a credential helper to remove this warning. See 06:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:18 06:46:18 Login Succeeded 06:46:18 nexus3.edgexfoundry.org:10004 06:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:18 Configure a credential helper to remove this warning. See 06:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:18 06:46:18 Login Succeeded 06:46:18 docker.io 06:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:19 Configure a credential helper to remove this warning. See 06:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:19 06:46:19 Login Succeeded 06:46:19 ---> docker-login.sh ends [Pipeline] } 06:46:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:46:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:46:19 ========================================================= 06:46:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:46:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:46:19 + 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 . 06:46:19 Sending build context to Docker daemon 5.333MB 06:46:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:46:19 Step 2/12 : FROM ${BASE} AS builder 06:46:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:46:19 59bf1c3509f3: Pulling fs layer 06:46:19 666ba61612fd: Pulling fs layer 06:46:19 8ed8ca486205: Pulling fs layer 06:46:19 4fe6c5a15a65: Pulling fs layer 06:46:19 22a0e8bec74d: Pulling fs layer 06:46:19 ca2b28591e48: Pulling fs layer 06:46:19 a51346096db8: Pulling fs layer 06:46:19 daebc70d1ce1: Pulling fs layer 06:46:19 0e18a0eac166: Pulling fs layer 06:46:19 4fe6c5a15a65: Waiting 06:46:19 ca2b28591e48: Waiting 06:46:19 a51346096db8: Waiting 06:46:19 0e18a0eac166: Waiting 06:46:19 8ed8ca486205: Verifying Checksum 06:46:19 8ed8ca486205: Download complete 06:46:19 666ba61612fd: Verifying Checksum 06:46:19 666ba61612fd: Download complete 06:46:19 22a0e8bec74d: Verifying Checksum 06:46:19 22a0e8bec74d: Download complete 06:46:19 ca2b28591e48: Verifying Checksum 06:46:19 ca2b28591e48: Download complete 06:46:19 59bf1c3509f3: Download complete 06:46:19 a51346096db8: Verifying Checksum 06:46:19 a51346096db8: Download complete 06:46:19 daebc70d1ce1: Verifying Checksum 06:46:19 daebc70d1ce1: Download complete 06:46:19 59bf1c3509f3: Pull complete 06:46:20 666ba61612fd: Pull complete 06:46:20 8ed8ca486205: Pull complete 06:46:20 0e18a0eac166: Verifying Checksum 06:46:20 0e18a0eac166: Download complete 06:46:20 4fe6c5a15a65: Verifying Checksum 06:46:20 4fe6c5a15a65: Download complete 06:46:24 4fe6c5a15a65: Pull complete 06:46:24 22a0e8bec74d: Pull complete 06:46:24 ca2b28591e48: Pull complete 06:46:24 a51346096db8: Pull complete 06:46:24 daebc70d1ce1: Pull complete 06:46:27 0e18a0eac166: Pull complete 06:46:27 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:46:27 ---> f018257e8ee9 06:46:27 Step 3/12 : ARG MAKE='make build' 06:46:28 ---> Running in e35eb909e5ec 06:46:28 Removing intermediate container e35eb909e5ec 06:46:28 ---> 80326ccd0e5c 06:46:28 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:46:28 ---> Running in cef8cd071815 06:46:28 Removing intermediate container cef8cd071815 06:46:28 ---> 83e101260be6 06:46:28 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:46:28 ---> Running in d909fcbc1067 06:46:28 Removing intermediate container d909fcbc1067 06:46:28 ---> 669c46f592a3 06:46:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:46:28 ---> Running in d8ae7a4ddaa4 06:46:29 Removing intermediate container d8ae7a4ddaa4 06:46:29 ---> 246d488eb73d 06:46:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:46:29 ---> Running in fc7f4b52e4ca 06:46:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:46:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:46:31 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:46:31 (2/4) Installing libedit (20210910.3.1-r0) 06:46:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:46:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:46:31 Executing busybox-1.34.1-r3.trigger 06:46:31 OK: 224 MiB in 56 packages 06:46:31 Removing intermediate container fc7f4b52e4ca 06:46:31 ---> 99953d403dac 06:46:31 Step 8/12 : WORKDIR /device-snmp-go 06:46:31 ---> Running in 7d8c8f1665ca 06:46:31 Removing intermediate container 7d8c8f1665ca 06:46:31 ---> d37ebff9da7b 06:46:31 Step 9/12 : COPY go.mod vendor* ./ 06:46:32 ---> f6fe74a58dd0 06:46:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:46:32 ---> Running in a9a201d7c20a 06:46:32 Still waiting to schedule task 06:46:32 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:46:47 Removing intermediate container a9a201d7c20a 06:46:47 ---> 8ceb1dd39206 06:46:47 Step 11/12 : COPY . . 06:46:47 ---> 2aa5539485a6 06:46:47 Step 12/12 : RUN ${MAKE} 06:46:47 ---> Running in 4a7fdd1eb9ba 06:46:47 noop 06:46:47 Removing intermediate container 4a7fdd1eb9ba 06:46:47 ---> f3b4134ce693 06:46:47 Successfully built f3b4134ce693 06:46:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:46:48 + docker inspect -f . ci-base-image-x86_64 06:46:48 . [Pipeline] withDockerContainer 06:46:48 prd-ubuntu20.04-docker-8c-8g-40547 does not seem to be running inside a container 06:46:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:46:48 $ docker top 757022c477fb75bd0dc41e9222ad3c8eeeb1026693d82a5e3a4251c278b98330 -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:49 + go version 06:46:49 go version go1.17.6 linux/amd64 [Pipeline] } 06:46:49 $ docker stop --time=1 757022c477fb75bd0dc41e9222ad3c8eeeb1026693d82a5e3a4251c278b98330 06:46:50 $ docker rm -f 757022c477fb75bd0dc41e9222ad3c8eeeb1026693d82a5e3a4251c278b98330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:46:50 + docker inspect -f . ci-base-image-x86_64 06:46:50 . [Pipeline] withDockerContainer 06:46:50 prd-ubuntu20.04-docker-8c-8g-40547 does not seem to be running inside a container 06:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:46:51 $ docker top 80a92959a93268840a49f8e78152dd603c37c5a69709d1d2f5d043b473a4b64b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:46:51 + make test 06:46:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:46:52 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:47:02 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:47:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 06:47:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:47:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:47:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:47:13 ./bin/test-attribution-txt.sh [Pipeline] echo 06:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:47:13 $ docker stop --time=1 80a92959a93268840a49f8e78152dd603c37c5a69709d1d2f5d043b473a4b64b 06:47:15 $ docker rm -f 80a92959a93268840a49f8e78152dd603c37c5a69709d1d2f5d043b473a4b64b [Pipeline] // withDockerContainer [Pipeline] sh 06:47:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:47:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:47:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:47:17 + ls -al . 06:47:17 total 168 06:47:17 drwxrwxr-x 9 jenkins jenkins 4096 May 6 06:47 . 06:47:17 drwxrwxr-x 4 jenkins jenkins 4096 May 6 06:45 .. 06:47:17 -rw-rw-r-- 1 jenkins jenkins 6 May 6 06:45 .dockerignore 06:47:17 drwxrwxr-x 8 jenkins jenkins 4096 May 6 06:46 .git 06:47:17 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:45 .github 06:47:17 -rw-rw-r-- 1 jenkins jenkins 328 May 6 06:45 .gitignore 06:47:17 -rw-rw-r-- 1 jenkins jenkins 41 May 6 06:45 .golangci.yml 06:47:17 drwxr-xr-x 3 jenkins jenkins 4096 May 6 06:46 .semver 06:47:17 -rw-rw-r-- 1 jenkins jenkins 8296 May 6 06:45 Attribution.txt 06:47:17 -rw-rw-r-- 1 jenkins jenkins 4401 May 6 06:45 CHANGELOG.md 06:47:17 -rw-rw-r-- 1 jenkins jenkins 1516 May 6 06:45 Dockerfile 06:47:17 -rw-rw-r-- 1 jenkins jenkins 677 May 6 06:45 GOVERNANCE.md 06:47:17 -rw-rw-r-- 1 jenkins jenkins 656 May 6 06:45 Jenkinsfile 06:47:17 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 06:45 LICENSE 06:47:17 -rw-rw-r-- 1 jenkins jenkins 1938 May 6 06:45 Makefile 06:47:17 -rw-rw-r-- 1 jenkins jenkins 620 May 6 06:45 OWNERS.md 06:47:17 -rw-rw-r-- 1 jenkins jenkins 9390 May 6 06:45 README.md 06:47:17 -rw-rw-r-- 1 jenkins jenkins 5 May 6 06:46 VERSION 06:47:17 drwxrwxr-x 2 jenkins jenkins 4096 May 6 06:45 bin 06:47:17 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:45 cmd 06:47:17 -rw-r--r-- 1 jenkins jenkins 7631 May 6 06:47 coverage.out 06:47:17 -rw-rw-r-- 1 jenkins jenkins 3296 May 6 06:45 go.mod 06:47:17 -rw-rw-r-- 1 jenkins jenkins 35911 May 6 06:45 go.sum 06:47:17 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:45 internal 06:47:17 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:45 snap 06:47:17 -rw-rw-r-- 1 jenkins jenkins 209 May 6 06:45 version.go [Pipeline] isUnix [Pipeline] sh 06:47:17 + 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=65af2917e38e4efdcf95004374322e66f078e1bc --label arch=amd64 --label version=0.0.0 . 06:47:17 Sending build context to Docker daemon 5.341MB 06:47:17 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:47:17 Step 2/24 : FROM ${BASE} AS builder 06:47:17 ---> f3b4134ce693 06:47:17 Step 3/24 : ARG MAKE='make build' 06:47:17 ---> Running in 50f3d19cfe15 06:47:17 Removing intermediate container 50f3d19cfe15 06:47:17 ---> bff4a42b8f1e 06:47:17 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:47:17 ---> Running in a7276c209ae5 06:47:17 Removing intermediate container a7276c209ae5 06:47:17 ---> 207672dc9aa2 06:47:17 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:47:18 ---> Running in 5adccd3f544c 06:47:18 Removing intermediate container 5adccd3f544c 06:47:18 ---> c2692b6d9ba7 06:47:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:47:18 ---> Running in 4362fc0957eb 06:47:18 Removing intermediate container 4362fc0957eb 06:47:18 ---> ed4cdc4c78da 06:47:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:47:19 ---> Running in 8a97b0859efd 06:47:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:47:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:47:20 OK: 224 MiB in 56 packages 06:47:20 Removing intermediate container 8a97b0859efd 06:47:20 ---> bb532177db01 06:47:20 Step 8/24 : WORKDIR /device-snmp-go 06:47:20 ---> Running in 78cd1470dd2e 06:47:20 Removing intermediate container 78cd1470dd2e 06:47:20 ---> 024965f6d34d 06:47:20 Step 9/24 : COPY go.mod vendor* ./ 06:47:21 ---> 588265d67460 06:47:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:47:21 ---> Running in a94933d10085 06:47:21 Removing intermediate container a94933d10085 06:47:21 ---> fd59c7d43f22 06:47:21 Step 11/24 : COPY . . 06:47:22 ---> 5871fb9ef5ae 06:47:22 Step 12/24 : RUN ${MAKE} 06:47:22 ---> Running in 2103633b389c 06:47:22 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 06:47:44 Removing intermediate container 2103633b389c 06:47:44 ---> d7c2e0344474 06:47:44 Step 13/24 : FROM alpine:3.14 06:47:44 3.14: Pulling from library/alpine 06:47:44 8663204ce13b: Pulling fs layer 06:47:44 8663204ce13b: Verifying Checksum 06:47:44 8663204ce13b: Download complete 06:47:44 8663204ce13b: Pull complete 06:47:44 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:47:44 Status: Downloaded newer image for alpine:3.14 06:47:44 ---> e04c818066af 06:47:44 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 06:47:44 ---> Running in ec6eb4ba5389 06:47:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:47:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:47:45 (1/6) Installing dumb-init (1.2.5-r1) 06:47:45 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:47:45 (3/6) Installing libsodium (1.0.18-r0) 06:47:45 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:47:45 (5/6) Installing libzmq (4.3.4-r0) 06:47:45 (6/6) Installing zeromq (4.3.4-r0) 06:47:45 Executing busybox-1.33.1-r7.trigger 06:47:45 OK: 8 MiB in 20 packages 06:47:45 Removing intermediate container ec6eb4ba5389 06:47:45 ---> 8de37306ef48 06:47:45 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:47:46 ---> d37eb7fa1f09 06:47:46 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:47:46 ---> 400ac4d7ae06 06:47:46 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:47:46 ---> d59326466d45 06:47:46 Step 18/24 : EXPOSE 59993 06:47:46 ---> Running in 6dc9b5d93c94 06:47:46 Removing intermediate container 6dc9b5d93c94 06:47:46 ---> b23023e45d13 06:47:46 Step 19/24 : EXPOSE 161 06:47:46 ---> Running in ab080ce41fcb 06:47:46 Removing intermediate container ab080ce41fcb 06:47:46 ---> 4e99d6951b8d 06:47:46 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:47:47 ---> Running in 3243ef48515e 06:47:47 Removing intermediate container 3243ef48515e 06:47:47 ---> e432ead99bea 06:47:47 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:47:47 ---> Running in ac67b654e994 06:47:47 Removing intermediate container ac67b654e994 06:47:47 ---> f8f5450589c1 06:47:47 Step 22/24 : LABEL arch=amd64 06:47:47 ---> Running in ee6e07ace985 06:47:47 Removing intermediate container ee6e07ace985 06:47:47 ---> d7f73e8ade15 06:47:47 Step 23/24 : LABEL git_sha=65af2917e38e4efdcf95004374322e66f078e1bc 06:47:47 ---> Running in 5039844ed7ff 06:47:47 Removing intermediate container 5039844ed7ff 06:47:47 ---> 765d6fe07caf 06:47:47 Step 24/24 : LABEL version=0.0.0 06:47:47 ---> Running in 12918f899a6e 06:47:47 Removing intermediate container 12918f899a6e 06:47:47 ---> 4fbef54cac50 06:47:47 [Warning] One or more build-args [ARCH] were not consumed 06:47:47 Successfully built 4fbef54cac50 06:47:47 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 06:47:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:47:48 06:47:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:47:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:47:48 latest: Pulling from edgex-lftools-log-publisher 06:47:48 5eb5b503b376: Pulling fs layer 06:47:48 5c69ac0246d0: Pulling fs layer 06:47:48 ec43610c2a17: Pulling fs layer 06:47:48 3a2ae6a8a46f: Pulling fs layer 06:47:48 33b1e0a273af: Pulling fs layer 06:47:48 5d3b04190fa2: Pulling fs layer 06:47:48 2f39f015ded8: Pulling fs layer 06:47:48 5d3b04190fa2: Waiting 06:47:48 2f39f015ded8: Waiting 06:47:48 3a2ae6a8a46f: Waiting 06:47:48 33b1e0a273af: Waiting 06:47:48 5c69ac0246d0: Download complete 06:47:48 3a2ae6a8a46f: Verifying Checksum 06:47:48 3a2ae6a8a46f: Download complete 06:47:48 33b1e0a273af: Verifying Checksum 06:47:48 33b1e0a273af: Download complete 06:47:48 ec43610c2a17: Verifying Checksum 06:47:48 ec43610c2a17: Download complete 06:47:48 5d3b04190fa2: Verifying Checksum 06:47:48 5d3b04190fa2: Download complete 06:47:48 5eb5b503b376: Verifying Checksum 06:47:48 5eb5b503b376: Download complete 06:47:49 2f39f015ded8: Download complete 06:47:50 5eb5b503b376: Pull complete 06:47:50 5c69ac0246d0: Pull complete 06:47:50 ec43610c2a17: Pull complete 06:47:50 3a2ae6a8a46f: Pull complete 06:47:51 33b1e0a273af: Pull complete 06:47:51 5d3b04190fa2: Pull complete 06:47:56 2f39f015ded8: Pull complete 06:47:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:47:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:47:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:47:56 prd-ubuntu20.04-docker-8c-8g-40547 does not seem to be running inside a container 06:47:56 $ 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-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:47:58 $ docker top 426bdf1641c1011d6c0cd1a51653cee62fec166788da18d07d71e71dca2c940f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:47:58 ---> job-cost.sh 06:47:58 lf-activate-venv: SKIPPING 06:47:58 INFO: No Stack... 06:47:59 INFO: Retrieving Pricing Info for: v3-standard-8 06:47:59 INFO: Archiving Costs [Pipeline] sh 06:47:59 + cat /w/workspace/gexfoundry_device-snmp-go_PR-167/archives/cost.csv 06:47:59 + cut -d, -f6 [Pipeline] lock 06:47:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-167-2-stack-cost] 06:47:59 Resource [jenkins-edgexfoundry-device-snmp-go-PR-167-2-stack-cost] did not exist. Created. 06:47:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-167-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:48:00 + echo total: 0.2199999988079071 [Pipeline] stash 06:48:00 Stashed 1 file(s) [Pipeline] } 06:48:00 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-167-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:48:00 $ docker stop --time=1 426bdf1641c1011d6c0cd1a51653cee62fec166788da18d07d71e71dca2c940f 06:48:01 $ docker rm -f 426bdf1641c1011d6c0cd1a51653cee62fec166788da18d07d71e71dca2c940f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:50:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40548 in /w/workspace/gexfoundry_device-snmp-go_PR-167 [Pipeline] { [Pipeline] ws 06:50:04 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 06:50:04 Selected Git installation does not exist. Using Default 06:50:04 The recommended git tool is: NONE 06:50:10 using credential edgex-jenkins-ssh 06:50:10 Cloning the remote Git repository 06:50:10 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:50:10 > git init /w/workspace/device-snmp-go/2 # timeout=10 06:50:10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:50:10 > git --version # timeout=10 06:50:10 > git --version # 'git version 2.25.1' 06:50:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:50:11 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:50:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:50:12 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:50:12 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:50:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:50:12 Merging remotes/origin/main commit d555bf136e773009b6ef88c6c814540d1eb4cbee into PR head commit 65af2917e38e4efdcf95004374322e66f078e1bc 06:50:12 Merge succeeded, producing 65af2917e38e4efdcf95004374322e66f078e1bc 06:50:12 Checking out Revision 65af2917e38e4efdcf95004374322e66f078e1bc (PR-167) 06:50:12 > git config core.sparsecheckout # timeout=10 06:50:12 > git checkout -f 65af2917e38e4efdcf95004374322e66f078e1bc # timeout=10 06:50:12 > git remote # timeout=10 06:50:12 > git config --get remote.origin.url # timeout=10 06:50:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:12 > git merge d555bf136e773009b6ef88c6c814540d1eb4cbee # timeout=10 06:50:12 > git rev-parse HEAD^{commit} # timeout=10 06:50:12 > git config core.sparsecheckout # timeout=10 06:50:12 > git checkout -f 65af2917e38e4efdcf95004374322e66f078e1bc # timeout=10 06:50:17 Commit message: "Merge branch 'main' into move-snap-readme" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:50:17 % Total % Received % Xferd Average Speed Time Time Time Current 06:50:17 Dload Upload Total Spent Left Speed 06:50:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50395 0 --:--:-- --:--:-- --:--:-- 50395 [Pipeline] sh 06:50:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:50:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:50:18 + sudo tee /etc/docker/daemon.new 06:50:18 { 06:50:18 "registry-mirrors": [ 06:50:18 "https://nexus3.edgexfoundry.org:10001" 06:50:18 ], 06:50:18 "bip": "10.250.0.254/24", 06:50:18 "hosts": [ 06:50:18 "tcp://0.0.0.0:5555", 06:50:18 "unix:///var/run/docker.sock" 06:50:18 ], 06:50:18 "mtu": 1458, 06:50:18 "selinux-enabled": true, 06:50:18 "seccomp-profile": "/etc/docker/seccomp.json" 06:50:18 } [Pipeline] sh 06:50:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:50:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:50:38 provisioning config files... 06:50:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config1535574956627939379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:50:38 ---> docker-login.sh 06:50:38 nexus3.edgexfoundry.org:10001 06:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:39 Configure a credential helper to remove this warning. See 06:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:39 06:50:39 Login Succeeded 06:50:39 nexus3.edgexfoundry.org:10002 06:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:39 Configure a credential helper to remove this warning. See 06:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:39 06:50:39 Login Succeeded 06:50:39 nexus3.edgexfoundry.org:10003 06:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:40 Configure a credential helper to remove this warning. See 06:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:40 06:50:40 Login Succeeded 06:50:40 nexus3.edgexfoundry.org:10004 06:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:40 Configure a credential helper to remove this warning. See 06:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:40 06:50:40 Login Succeeded 06:50:40 docker.io 06:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:41 Configure a credential helper to remove this warning. See 06:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:41 06:50:41 Login Succeeded 06:50:41 ---> docker-login.sh ends [Pipeline] } 06:50:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:50:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:50:42 ========================================================= 06:50:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:50:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:50:42 + 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 . 06:50:42 Sending build context to Docker daemon 2.765MB 06:50:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:50:42 Step 2/12 : FROM ${BASE} AS builder 06:50:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:50:43 9b3977197b4f: Pulling fs layer 06:50:43 1a89e8eeedd5: Pulling fs layer 06:50:43 94645a83ff95: Pulling fs layer 06:50:43 3f3a8bcf1eab: Pulling fs layer 06:50:43 0c92f367c5e7: Pulling fs layer 06:50:43 3096ccb668a1: Pulling fs layer 06:50:43 e8cf19c19ddd: Pulling fs layer 06:50:43 a4caa8a26152: Pulling fs layer 06:50:43 0c92f367c5e7: Waiting 06:50:43 3096ccb668a1: Waiting 06:50:43 e8cf19c19ddd: Waiting 06:50:43 a4caa8a26152: Waiting 06:50:43 3f3a8bcf1eab: Waiting 06:50:43 94645a83ff95: Verifying Checksum 06:50:43 94645a83ff95: Download complete 06:50:43 1a89e8eeedd5: Verifying Checksum 06:50:43 1a89e8eeedd5: Download complete 06:50:43 0c92f367c5e7: Verifying Checksum 06:50:43 0c92f367c5e7: Download complete 06:50:43 3096ccb668a1: Verifying Checksum 06:50:43 3096ccb668a1: Download complete 06:50:43 9b3977197b4f: Verifying Checksum 06:50:43 9b3977197b4f: Download complete 06:50:43 e8cf19c19ddd: Verifying Checksum 06:50:43 e8cf19c19ddd: Download complete 06:50:44 9b3977197b4f: Pull complete 06:50:44 1a89e8eeedd5: Pull complete 06:50:44 94645a83ff95: Pull complete 06:50:45 a4caa8a26152: Verifying Checksum 06:50:45 3f3a8bcf1eab: Verifying Checksum 06:50:45 3f3a8bcf1eab: Download complete 06:50:58 3f3a8bcf1eab: Pull complete 06:50:58 0c92f367c5e7: Pull complete 06:50:58 3096ccb668a1: Pull complete 06:50:58 e8cf19c19ddd: Pull complete 06:51:05 a4caa8a26152: Pull complete 06:51:05 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:51:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:51:05 ---> 725f1c02e7f9 06:51:05 Step 3/12 : ARG MAKE='make build' 06:51:06 ---> Running in e07dc1b2cc7a 06:51:06 Removing intermediate container e07dc1b2cc7a 06:51:06 ---> defdc24c315d 06:51:06 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:51:06 ---> Running in f58adb9747b3 06:51:07 Removing intermediate container f58adb9747b3 06:51:07 ---> f98349b065a1 06:51:07 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:51:07 ---> Running in f2411c5f0127 06:51:07 Removing intermediate container f2411c5f0127 06:51:07 ---> f2506687647e 06:51:07 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:51:07 ---> Running in f12ede520efe 06:51:09 Removing intermediate container f12ede520efe 06:51:09 ---> 0f1a04cbbc07 06:51:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:51:09 ---> Running in 725c14fd708d 06:51:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:51:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:51:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:51:13 (2/4) Installing libedit (20210910.3.1-r0) 06:51:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:51:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:51:13 Executing busybox-1.34.1-r3.trigger 06:51:13 OK: 224 MiB in 56 packages 06:51:14 Removing intermediate container 725c14fd708d 06:51:14 ---> a0844b12e48b 06:51:14 Step 8/12 : WORKDIR /device-snmp-go 06:51:14 ---> Running in 9b2ad014e053 06:51:15 Removing intermediate container 9b2ad014e053 06:51:15 ---> 477599b2474a 06:51:15 Step 9/12 : COPY go.mod vendor* ./ 06:51:15 ---> dc7869209ee7 06:51:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:51:15 ---> Running in fabef56e3226 06:52:02 Removing intermediate container fabef56e3226 06:52:02 ---> d4627eb56218 06:52:02 Step 11/12 : COPY . . 06:52:02 ---> c95640805e71 06:52:02 Step 12/12 : RUN ${MAKE} 06:52:02 ---> Running in 64f0dbbcc769 06:52:02 noop 06:52:03 Removing intermediate container 64f0dbbcc769 06:52:03 ---> 7f33dbb30dee 06:52:03 Successfully built 7f33dbb30dee 06:52:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:52:03 + docker inspect -f . ci-base-image-arm64 06:52:03 . [Pipeline] withDockerContainer 06:52:03 prd-ubuntu20.04-docker-arm64-4c-16g-40548 does not seem to be running inside a container 06:52:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:52:05 $ docker top 1c3388c5c0626ae7217849ae31b2bdfb2984a4105582517d1e973324305703d8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:06 + go version 06:52:06 go version go1.17.6 linux/arm64 [Pipeline] } 06:52:06 $ docker stop --time=1 1c3388c5c0626ae7217849ae31b2bdfb2984a4105582517d1e973324305703d8 06:52:07 $ docker rm -f 1c3388c5c0626ae7217849ae31b2bdfb2984a4105582517d1e973324305703d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:52:08 + docker inspect -f . ci-base-image-arm64 06:52:08 . [Pipeline] withDockerContainer 06:52:08 prd-ubuntu20.04-docker-arm64-4c-16g-40548 does not seem to be running inside a container 06:52:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:52:10 $ docker top 72aa313cc269bce178a7ca8ab94fe9794c0da0fe955d78795fe90bc5994d3022 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:52:11 + make test 06:52:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:52:13 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:53:35 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:53:35 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 06:53:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:53:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:53:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:53:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:53:57 ./bin/test-attribution-txt.sh [Pipeline] echo 06:53:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:53:57 $ docker stop --time=1 72aa313cc269bce178a7ca8ab94fe9794c0da0fe955d78795fe90bc5994d3022 06:53:59 $ docker rm -f 72aa313cc269bce178a7ca8ab94fe9794c0da0fe955d78795fe90bc5994d3022 [Pipeline] // withDockerContainer [Pipeline] sh 06:53:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:53:59 Warning: overwriting stash ‘coverage-report’ 06:54:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:54:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:54:01 + ls -al . 06:54:01 total 164 06:54:01 drwxrwxr-x 8 jenkins jenkins 4096 May 6 06:53 . 06:54:01 drwxrwxr-x 4 jenkins jenkins 4096 May 6 06:50 .. 06:54:01 -rw-rw-r-- 1 jenkins jenkins 6 May 6 06:50 .dockerignore 06:54:01 drwxrwxr-x 8 jenkins jenkins 4096 May 6 06:50 .git 06:54:01 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:50 .github 06:54:01 -rw-rw-r-- 1 jenkins jenkins 328 May 6 06:50 .gitignore 06:54:01 -rw-rw-r-- 1 jenkins jenkins 41 May 6 06:50 .golangci.yml 06:54:01 -rw-rw-r-- 1 jenkins jenkins 8296 May 6 06:50 Attribution.txt 06:54:01 -rw-rw-r-- 1 jenkins jenkins 4401 May 6 06:50 CHANGELOG.md 06:54:01 -rw-rw-r-- 1 jenkins jenkins 1516 May 6 06:50 Dockerfile 06:54:01 -rw-rw-r-- 1 jenkins jenkins 677 May 6 06:50 GOVERNANCE.md 06:54:01 -rw-rw-r-- 1 jenkins jenkins 656 May 6 06:50 Jenkinsfile 06:54:01 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 06:50 LICENSE 06:54:01 -rw-rw-r-- 1 jenkins jenkins 1938 May 6 06:50 Makefile 06:54:01 -rw-rw-r-- 1 jenkins jenkins 620 May 6 06:50 OWNERS.md 06:54:01 -rw-rw-r-- 1 jenkins jenkins 9390 May 6 06:50 README.md 06:54:01 -rw-rw-r-- 1 jenkins jenkins 5 May 6 06:46 VERSION 06:54:01 drwxrwxr-x 2 jenkins jenkins 4096 May 6 06:50 bin 06:54:01 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:50 cmd 06:54:01 -rw-r--r-- 1 jenkins jenkins 7631 May 6 06:53 coverage.out 06:54:01 -rw-rw-r-- 1 jenkins jenkins 3296 May 6 06:50 go.mod 06:54:01 -rw-rw-r-- 1 jenkins jenkins 35911 May 6 06:50 go.sum 06:54:01 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:50 internal 06:54:01 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:50 snap 06:54:01 -rw-rw-r-- 1 jenkins jenkins 209 May 6 06:50 version.go [Pipeline] isUnix [Pipeline] sh 06:54:01 + 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=65af2917e38e4efdcf95004374322e66f078e1bc --label arch=arm64 --label version=0.0.0 . 06:54:01 Sending build context to Docker daemon 2.773MB 06:54:01 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:54:01 Step 2/24 : FROM ${BASE} AS builder 06:54:01 ---> 7f33dbb30dee 06:54:01 Step 3/24 : ARG MAKE='make build' 06:54:02 ---> Running in d61f90c23468 06:54:02 Removing intermediate container d61f90c23468 06:54:02 ---> 747034c77874 06:54:02 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:54:02 ---> Running in 7120c1c4da1f 06:54:02 Removing intermediate container 7120c1c4da1f 06:54:02 ---> 5f171d978683 06:54:02 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:54:02 ---> Running in 71e69aaad98a 06:54:02 Removing intermediate container 71e69aaad98a 06:54:02 ---> 9dea8b9b21b1 06:54:02 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:03 ---> Running in aa2923508b4c 06:54:04 Removing intermediate container aa2923508b4c 06:54:04 ---> 82cc7d1f76dc 06:54:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:54:04 ---> Running in d6f2b397eb6e 06:54:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:54:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:54:07 OK: 224 MiB in 56 packages 06:54:08 Removing intermediate container d6f2b397eb6e 06:54:08 ---> 281dc512fc55 06:54:08 Step 8/24 : WORKDIR /device-snmp-go 06:54:08 ---> Running in 16e577906b3b 06:54:08 Removing intermediate container 16e577906b3b 06:54:08 ---> 3884c32981cb 06:54:08 Step 9/24 : COPY go.mod vendor* ./ 06:54:09 ---> 9786572f4522 06:54:09 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:54:09 ---> Running in 9c8e13a52a08 06:54:11 Removing intermediate container 9c8e13a52a08 06:54:11 ---> 8a9826c1bd9c 06:54:11 Step 11/24 : COPY . . 06:54:11 ---> c5d0b8796742 06:54:11 Step 12/24 : RUN ${MAKE} 06:54:12 ---> Running in 0cfba56753d1 06:54:13 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 06:56:19 Removing intermediate container 0cfba56753d1 06:56:19 ---> f886064d9a42 06:56:19 Step 13/24 : FROM alpine:3.14 06:56:19 3.14: Pulling from library/alpine 06:56:19 455c02918c45: Pulling fs layer 06:56:19 455c02918c45: Download complete 06:56:19 455c02918c45: Pull complete 06:56:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:56:19 Status: Downloaded newer image for alpine:3.14 06:56:19 ---> ac73e934f311 06:56:19 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 06:56:19 ---> Running in 198c07099027 06:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:56:19 (1/6) Installing dumb-init (1.2.5-r1) 06:56:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:56:19 (3/6) Installing libsodium (1.0.18-r0) 06:56:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:56:19 (5/6) Installing libzmq (4.3.4-r0) 06:56:19 (6/6) Installing zeromq (4.3.4-r0) 06:56:19 Executing busybox-1.33.1-r7.trigger 06:56:19 OK: 8 MiB in 20 packages 06:56:19 Removing intermediate container 198c07099027 06:56:19 ---> 07ccdd4a6b17 06:56:19 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:56:19 ---> e92d730bde68 06:56:19 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:56:19 ---> 14da3b536329 06:56:19 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:56:19 ---> dd0099b4dd8d 06:56:19 Step 18/24 : EXPOSE 59993 06:56:19 ---> Running in 514b755cf78f 06:56:19 Removing intermediate container 514b755cf78f 06:56:19 ---> 9e069b6a7b58 06:56:19 Step 19/24 : EXPOSE 161 06:56:19 ---> Running in 9827cff29909 06:56:19 Removing intermediate container 9827cff29909 06:56:19 ---> 4720af6247d3 06:56:19 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:56:19 ---> Running in 8cee84362401 06:56:19 Removing intermediate container 8cee84362401 06:56:19 ---> 5ad34c76f73a 06:56:19 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:56:19 ---> Running in 009589e705b8 06:56:19 Removing intermediate container 009589e705b8 06:56:19 ---> e6d7cb6446c9 06:56:19 Step 22/24 : LABEL arch=arm64 06:56:19 ---> Running in b60df469fcf0 06:56:19 Removing intermediate container b60df469fcf0 06:56:19 ---> fb847f6435e6 06:56:19 Step 23/24 : LABEL git_sha=65af2917e38e4efdcf95004374322e66f078e1bc 06:56:19 ---> Running in 5788d55cbe62 06:56:19 Removing intermediate container 5788d55cbe62 06:56:19 ---> c83463cd18e5 06:56:19 Step 24/24 : LABEL version=0.0.0 06:56:19 ---> Running in e0aac6c70f67 06:56:19 Removing intermediate container e0aac6c70f67 06:56:19 ---> 2a3e82bcc69e 06:56:19 [Warning] One or more build-args [ARCH] were not consumed 06:56:19 Successfully built 2a3e82bcc69e 06:56:19 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 06:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:56:20 06:56:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:56:20 arm64: Pulling from edgex-lftools-log-publisher 06:56:20 8998bd30e6a1: Pulling fs layer 06:56:20 04944245beec: Pulling fs layer 06:56:20 699f458cf7ca: Pulling fs layer 06:56:20 765212b225bb: Pulling fs layer 06:56:20 f23df028b6ca: Pulling fs layer 06:56:20 d65c8cfc05b1: Pulling fs layer 06:56:20 2437ff75d9bd: Pulling fs layer 06:56:20 765212b225bb: Waiting 06:56:20 f23df028b6ca: Waiting 06:56:20 d65c8cfc05b1: Waiting 06:56:20 2437ff75d9bd: Waiting 06:56:20 04944245beec: Verifying Checksum 06:56:20 04944245beec: Download complete 06:56:20 765212b225bb: Verifying Checksum 06:56:20 765212b225bb: Download complete 06:56:20 f23df028b6ca: Verifying Checksum 06:56:20 f23df028b6ca: Download complete 06:56:20 d65c8cfc05b1: Verifying Checksum 06:56:20 d65c8cfc05b1: Download complete 06:56:21 699f458cf7ca: Verifying Checksum 06:56:21 699f458cf7ca: Download complete 06:56:21 8998bd30e6a1: Verifying Checksum 06:56:21 8998bd30e6a1: Download complete 06:56:24 2437ff75d9bd: Verifying Checksum 06:56:24 2437ff75d9bd: Download complete 06:56:26 8998bd30e6a1: Pull complete 06:56:26 04944245beec: Pull complete 06:56:28 699f458cf7ca: Pull complete 06:56:28 765212b225bb: Pull complete 06:56:28 f23df028b6ca: Pull complete 06:56:29 d65c8cfc05b1: Pull complete 06:56:44 2437ff75d9bd: Pull complete 06:56:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:56:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:56:44 prd-ubuntu20.04-docker-arm64-4c-16g-40548 does not seem to be running inside a container 06:56:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:56:46 $ docker top a5caef36295bdf7db217ffd7873c1495c91726abccb9d78a3e2859bebb64e71e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:47 ---> job-cost.sh 06:56:47 lf-activate-venv: SKIPPING 06:56:47 INFO: No Stack... 06:56:48 INFO: Retrieving Pricing Info for: v3-standard-4 06:56:49 INFO: Archiving Costs [Pipeline] sh 06:56:49 + cut -d, -f6 06:56:49 + cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock 06:56:49 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-167-2-stack-cost] 06:56:49 Resource [jenkins-edgexfoundry-device-snmp-go-PR-167-2-stack-cost] did not exist. Created. 06:56:49 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-167-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:56:50 /w/workspace/device-snmp-go/2@tmp/durable-4cc28a31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:56:51 + echo total: 0.10999999940395355 [Pipeline] stash 06:56:51 Warning: overwriting stash ‘stack-cost’ 06:56:51 Stashed 1 file(s) [Pipeline] } 06:56:51 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-167-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:56:51 $ docker stop --time=1 a5caef36295bdf7db217ffd7873c1495c91726abccb9d78a3e2859bebb64e71e 06:56:52 $ docker rm -f a5caef36295bdf7db217ffd7873c1495c91726abccb9d78a3e2859bebb64e71e [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 06:56:53 provisioning config files... 06:56:53 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/config2298448430927736493tmp [Pipeline] { [Pipeline] sh 06:56:53 + set +x 06:56:53 + curl -s https://codecov.io/bash 06:56:53 + bash -s -- 06:56:53 06:56:53 _____ _ 06:56:53 / ____| | | 06:56:53 | | ___ __| | ___ ___ _____ __ 06:56:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:56:53 | |___| (_) | (_| | __/ (_| (_) \ V / 06:56:53 \_____\___/ \__,_|\___|\___\___/ \_/ 06:56:53 Bash-1.0.6 06:56:53 06:56:53 06:56:53 ==> git version 2.25.1 found 06:56:53 ==> 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 06:56:53 Release-Date: 2020-01-08 06:56:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:56:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:56:53 ==> Jenkins CI detected. 06:56:53 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-167 06:56:53 project root: . 06:56:53 --> token set from env 06:56:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:56:53 ==> Running gcov in . (disable via -X gcov) 06:56:53 ==> Python coveragepy not found 06:56:53 ==> Searching for coverage reports in: 06:56:53 + . 06:56:53 -> Found 1 reports 06:56:53 ==> Detecting git/mercurial file structure 06:56:53 ==> Reading reports 06:56:53 + ./coverage.out bytes=7631 06:56:53 ==> Appending adjustments 06:56:53 https://docs.codecov.io/docs/fixing-reports 06:56:53 + Found adjustments 06:56:53 ==> Gzipping contents 06:56:53 4.0K /tmp/codecov.tMXIS5.gz 06:56:53 ==> Uploading reports 06:56:53 url: https://codecov.io 06:56:53 query: branch=PR-167&commit=65af2917e38e4efdcf95004374322e66f078e1bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-167%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=167&job=&cmd_args= 06:56:53 -> Pinging Codecov 06:56:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-167&commit=65af2917e38e4efdcf95004374322e66f078e1bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-167%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=167&job=&cmd_args= 06:56:54 -> Uploading to 06:56:54 https://storage.googleapis.com/codecov/v4/raw/2022-05-06/6C56EA5C29638FB4528AC87E60AF5AE0/65af2917e38e4efdcf95004374322e66f078e1bc/9e146028-d239-4038-9560-323ba2ae6923.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220506T065653Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2f3515b228a59a4694a8bad051aac50e3aa3de0f134f32cfa91046b99559951d 06:56:54 % Total % Received % Xferd Average Speed Time Time Time Current 06:56:54 Dload Upload Total Spent Left Speed 06:56:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1599 0 0 100 1599 0 3825 --:--:-- --:--:-- --:--:-- 3825 06:56:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/65af2917e38e4efdcf95004374322e66f078e1bc [Pipeline] } 06:56:54 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 06:56:55 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-167/archives ] 06:56:55 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-167/archives 06:56:55 total 16 06:56:55 drwxr-xr-x 3 root root 4096 May 6 06:47 . 06:56:55 drwxrwxr-x 10 jenkins jenkins 4096 May 6 06:48 .. 06:56:55 drwxr-xr-x 2 root root 4096 May 6 06:47 cost 06:56:55 -rw-r--r-- 1 root root 85 May 6 06:47 cost.csv 06:56:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-167/archives 06:56:55 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-167/archives 06:56:55 total 16 06:56:55 drwxr-xr-x 3 jenkins jenkins 4096 May 6 06:47 . 06:56:55 drwxrwxr-x 10 jenkins jenkins 4096 May 6 06:48 .. 06:56:55 drwxr-xr-x 2 jenkins jenkins 4096 May 6 06:47 cost 06:56:55 -rw-r--r-- 1 jenkins jenkins 85 May 6 06:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:56:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:56:56 ---> package-listing.sh 06:56:56 ++ facter osfamily 06:56:56 ++ tr '[:upper:]' '[:lower:]' 06:56:56 + OS_FAMILY=debian 06:56:56 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-167 06:56:56 + START_PACKAGES=/tmp/packages_start.txt 06:56:56 + END_PACKAGES=/tmp/packages_end.txt 06:56:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:56:56 + PACKAGES=/tmp/packages_start.txt 06:56:56 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-167 ']' 06:56:56 + PACKAGES=/tmp/packages_end.txt 06:56:56 + case "${OS_FAMILY}" in 06:56:56 + dpkg -l 06:56:56 + grep '^ii' 06:56:56 + '[' -f /tmp/packages_start.txt ']' 06:56:56 + '[' -f /tmp/packages_end.txt ']' 06:56:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:56:56 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-167 ']' 06:56:56 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-167/archives/ 06:56:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-167/archives/ [Pipeline] echo 06:56:56 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-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:56:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:56:57 . [Pipeline] withDockerContainer 06:56:57 prd-ubuntu20.04-docker-8c-8g-40547 does not seem to be running inside a container 06:56:57 $ 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-167/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-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:56:58 $ docker top 74302005b0e62ab3c067bd8c40786db3e2f86f1137f13da1a40792004dd83da2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:58 + touch /tmp/pre-build-complete [Pipeline] sh 06:56:58 + mkdir -p /var/log/sysstat [Pipeline] sh 06:56:59 + ls /var/log/sa-host 06:56:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:56:59 provisioning config files... 06:56:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/config3857077417729656592tmp [Pipeline] { [Pipeline] echo 06:56:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:56:59 ---> create-netrc.sh [Pipeline] } 06:56:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:56:59 ---> python-tools-install.sh [Pipeline] echo 06:56:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:57:00 ---> sudo-logs.sh 06:57:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:57:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:57:00 ---> job-cost.sh 06:57:00 lf-activate-venv: SKIPPING 06:57:00 DEBUG: total: 0.2199999988079071 06:57:00 INFO: Retrieving Stack Cost... 06:57:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:57:01 INFO: Archiving Costs [Pipeline] echo 06:57:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:57:01 ---> logs-deploy.sh 06:57:01 lf-activate-venv: SKIPPING 06:57:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-167/2 06:57:01 INFO: archiving workspace using pattern(s): 06:57:02 Archives upload complete. 06:57:03 INFO: archiving logs to Nexus