Pull request #169 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 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 rather than e42489268cf3d58b57493702f46538b28e584329 Obtained Jenkinsfile from 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 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-ssh4533906728921067951.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-ssh2779828809479481040.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-169/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-169/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18205120171819377748.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-ssh5936844632153973241.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-169/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-169/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16939581539276980690.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 ‘prd-ubuntu20.04-docker-8c-8g-47527’ Running on prd-ubuntu20.04-docker-8c-8g-47530 in /w/workspace/gexfoundry_device-snmp-go_PR-169 [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-169 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit e42489268cf3d58b57493702f46538b28e584329 Merge succeeded, producing e42489268cf3d58b57493702f46538b28e584329 Checking out Revision e42489268cf3d58b57493702f46538b28e584329 (PR-169) > 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/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e42489268cf3d58b57493702f46538b28e584329 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e42489268cf3d58b57493702f46538b28e584329 # timeout=10 Commit message: "build(deps): go mod tidy" > git rev-list --no-walk 2e283d5c857d3d3a5abd6f6fe15a3992613bd436 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:45:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:45:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:45:53 ========================================================= 11:45:53 EdgeX Global Pipelines Version Info 11:45:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:45:54 ------------------- 11:45:54 stable info: 11:45:54 ------------------- 11:45:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:45:54 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 11:45:54 Message: update stable to v1.0.227 11:45:55 ------------------- 11:45:55 experimental info: 11:45:55 ------------------- 11:45:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:45:55 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 11:45:55 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e42489268cf3d58b57493702f46538b28e584329 [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e424892 [Pipeline] echo 11:45:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:45:55 provisioning config files... 11:45:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config2467210282884393335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:45:56 ---> docker-login.sh 11:45:56 nexus3.edgexfoundry.org:10001 11:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:45:56 Configure a credential helper to remove this warning. See 11:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:45:56 11:45:56 Login Succeeded 11:45:56 nexus3.edgexfoundry.org:10002 11:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:45:56 Configure a credential helper to remove this warning. See 11:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:45:56 11:45:56 Login Succeeded 11:45:56 nexus3.edgexfoundry.org:10003 11:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:45:56 Configure a credential helper to remove this warning. See 11:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:45:56 11:45:56 Login Succeeded 11:45:56 nexus3.edgexfoundry.org:10004 11:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:45:56 Configure a credential helper to remove this warning. See 11:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:45:56 11:45:56 Login Succeeded 11:45:56 docker.io 11:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:45:57 Configure a credential helper to remove this warning. See 11:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:45:57 11:45:57 Login Succeeded 11:45:57 ---> docker-login.sh ends [Pipeline] } 11:45:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:45:57 + git rev-list -1 --merges e42489268cf3d58b57493702f46538b28e584329~1..e42489268cf3d58b57493702f46538b28e584329 [Pipeline] echo 11:45:57 -----------> git rev-list -1 --merges e42489268cf3d58b57493702f46538b28e584329~1..e42489268cf3d58b57493702f46538b28e584329 e42489268cf3d58b57493702f46538b28e584329 [false] [Pipeline] sh 11:45:58 + git log --format=format:%s -1 e42489268cf3d58b57493702f46538b28e584329 [Pipeline] echo 11:45:58 ========================================================= 11:45:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:45:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:45:58 + git log --format=format:%s -1 e42489268cf3d58b57493702f46538b28e584329 [Pipeline] echo 11:45:58 [semverPrep] GIT_COMMIT: e42489268cf3d58b57493702f46538b28e584329, Commit Message: build(deps): go mod tidy [Pipeline] echo 11:45:58 [semverPrep] This is not a build commit. [Pipeline] sh 11:45:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:45:59 + grep -v github /etc/ssh/ssh_known_hosts 11:45:59 + [ -e /tmp/ssh_known_hosts ] 11:45:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:45:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:45:59 + sudo tee -a /etc/ssh/ssh_known_hosts 11:45:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:45:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:45:59 11:45:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:45:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:45:59 latest: Pulling from edgex-devops/py-git-semver 11:45:59 1fe172e4850f: Pulling fs layer 11:45:59 caf521ccaac6: Pulling fs layer 11:45:59 3ead6fa29328: Pulling fs layer 11:45:59 5c2a1cbceb83: Pulling fs layer 11:45:59 a8d5f1318db7: Pulling fs layer 11:45:59 c427282e49a2: Pulling fs layer 11:45:59 1827001aaf11: Pulling fs layer 11:45:59 0714d37db230: Pulling fs layer 11:45:59 ac28cf19c067: Pulling fs layer 11:45:59 ca983d60f3e2: Pulling fs layer 11:45:59 9f894cec8388: Pulling fs layer 11:45:59 5c2a1cbceb83: Waiting 11:45:59 c427282e49a2: Waiting 11:45:59 a8d5f1318db7: Waiting 11:45:59 ac28cf19c067: Waiting 11:45:59 0714d37db230: Waiting 11:45:59 ca983d60f3e2: Waiting 11:45:59 9f894cec8388: Waiting 11:45:59 1827001aaf11: Waiting 11:45:59 caf521ccaac6: Download complete 11:45:59 5c2a1cbceb83: Verifying Checksum 11:45:59 5c2a1cbceb83: Download complete 11:45:59 a8d5f1318db7: Verifying Checksum 11:45:59 a8d5f1318db7: Download complete 11:45:59 3ead6fa29328: Verifying Checksum 11:45:59 3ead6fa29328: Download complete 11:45:59 c427282e49a2: Download complete 11:45:59 0714d37db230: Verifying Checksum 11:45:59 0714d37db230: Download complete 11:45:59 ac28cf19c067: Verifying Checksum 11:45:59 ac28cf19c067: Download complete 11:45:59 ca983d60f3e2: Verifying Checksum 11:45:59 ca983d60f3e2: Download complete 11:45:59 9f894cec8388: Download complete 11:45:59 1fe172e4850f: Verifying Checksum 11:45:59 1fe172e4850f: Download complete 11:46:00 1827001aaf11: Verifying Checksum 11:46:00 1827001aaf11: Download complete 11:46:01 1fe172e4850f: Pull complete 11:46:01 caf521ccaac6: Pull complete 11:46:02 3ead6fa29328: Pull complete 11:46:02 5c2a1cbceb83: Pull complete 11:46:02 a8d5f1318db7: Pull complete 11:46:02 c427282e49a2: Pull complete 11:46:04 1827001aaf11: Pull complete 11:46:04 0714d37db230: Pull complete 11:46:04 ac28cf19c067: Pull complete 11:46:05 ca983d60f3e2: Pull complete 11:46:05 9f894cec8388: Pull complete 11:46:05 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 11:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:46:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 11:46:05 prd-ubuntu20.04-docker-8c-8g-47530 does not seem to be running inside a container 11:46:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 11:46:06 $ docker top cd88f809ff771d6651e155076249bca9fb4a3097bff077456567194018db91fd -eo pid,comm 11:46:07 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). 11:46:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:46:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:46:07 [ssh-agent] Looking for ssh-agent implementation... 11:46:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:46:07 $ docker exec cd88f809ff771d6651e155076249bca9fb4a3097bff077456567194018db91fd ssh-agent 11:46:07 SSH_AUTH_SOCK=/tmp/ssh-M7xglopppZp6/agent.33 11:46:07 SSH_AGENT_PID=39 11:46:07 Running ssh-add (command line suppressed) 11:46:07 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_5313526906225917439.key (/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_5313526906225917439.key) 11:46:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:46:07 + git tag --points-at HEAD [Pipeline] } 11:46:07 $ docker exec --env ******** --env ******** cd88f809ff771d6651e155076249bca9fb4a3097bff077456567194018db91fd ssh-agent -k 11:46:07 unset SSH_AUTH_SOCK; 11:46:07 unset SSH_AGENT_PID; 11:46:07 echo Agent pid 39 killed; 11:46:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:46:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:46:07 [ssh-agent] Looking for ssh-agent implementation... 11:46:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:46:08 $ docker exec cd88f809ff771d6651e155076249bca9fb4a3097bff077456567194018db91fd ssh-agent 11:46:08 SSH_AUTH_SOCK=/tmp/ssh-ls28F4WPdt2u/agent.71 11:46:08 SSH_AGENT_PID=78 11:46:08 Running ssh-add (command line suppressed) 11:46:08 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_9006558150592984699.key (/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_9006558150592984699.key) 11:46:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:46:08 + git semver init 11:46:09 2022-05-10 11:46:09,005 [run_init] DEBUG init version:0.0.0 force:False 11:46:09 2022-05-10 11:46:09,006 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver 11:46:09 2022-05-10 11:46:09,006 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-169/.semver 11:46:09 2022-05-10 11:46:09,006 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-169, universal_newlines=False, shell=None, istream=None) 11:46:09 2022-05-10 11:46:09,804 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-169/.git/info/exclude 11:46:09 2022-05-10 11:46:09,805 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 with force:False 11:46:09 2022-05-10 11:46:09,805 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 11:46:09 2022-05-10 11:46:09,810 [execute] INFO git cat-file --batch-check 11:46:09 2022-05-10 11:46:09,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver, universal_newlines=False, shell=None, istream=) 11:46:09 2022-05-10 11:46:09,816 [execute] INFO git cat-file --batch 11:46:09 2022-05-10 11:46:09,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver, universal_newlines=False, shell=None, istream=) 11:46:09 2022-05-10 11:46:09,822 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 11:46:09 0.0.0 [Pipeline] } 11:46:09 $ docker exec --env ******** --env ******** cd88f809ff771d6651e155076249bca9fb4a3097bff077456567194018db91fd ssh-agent -k 11:46:10 unset SSH_AUTH_SOCK; 11:46:10 unset SSH_AGENT_PID; 11:46:10 echo Agent pid 78 killed; 11:46:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:46:10 + git semver [Pipeline] } 11:46:10 $ docker stop --time=1 cd88f809ff771d6651e155076249bca9fb4a3097bff077456567194018db91fd 11:46:11 $ docker rm -f cd88f809ff771d6651e155076249bca9fb4a3097bff077456567194018db91fd [Pipeline] // withDockerContainer [Pipeline] sh 11:46:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:46:12 Stashed 1 file(s) [Pipeline] echo 11:46:12 [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 11:46:12 provisioning config files... 11:46:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config6813939427479510098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:46:13 ---> docker-login.sh 11:46:13 nexus3.edgexfoundry.org:10001 11:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:46:13 Configure a credential helper to remove this warning. See 11:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:46:13 11:46:13 Login Succeeded 11:46:13 nexus3.edgexfoundry.org:10002 11:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:46:13 Configure a credential helper to remove this warning. See 11:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:46:13 11:46:13 Login Succeeded 11:46:13 nexus3.edgexfoundry.org:10003 11:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:46:13 Configure a credential helper to remove this warning. See 11:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:46:13 11:46:13 Login Succeeded 11:46:13 nexus3.edgexfoundry.org:10004 11:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:46:13 Configure a credential helper to remove this warning. See 11:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:46:13 11:46:13 Login Succeeded 11:46:13 docker.io 11:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:46:13 Configure a credential helper to remove this warning. See 11:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:46:13 11:46:14 Login Succeeded 11:46:14 ---> docker-login.sh ends [Pipeline] } 11:46:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:46:14 ========================================================= 11:46:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:46:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:46:14 + 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 . 11:46:14 Sending build context to Docker daemon 5.344MB 11:46:14 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:46:14 Step 2/12 : FROM ${BASE} AS builder 11:46:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:46:14 59bf1c3509f3: Pulling fs layer 11:46:14 666ba61612fd: Pulling fs layer 11:46:14 8ed8ca486205: Pulling fs layer 11:46:14 4fe6c5a15a65: Pulling fs layer 11:46:14 22a0e8bec74d: Pulling fs layer 11:46:14 ca2b28591e48: Pulling fs layer 11:46:14 a51346096db8: Pulling fs layer 11:46:14 daebc70d1ce1: Pulling fs layer 11:46:14 0e18a0eac166: Pulling fs layer 11:46:14 ca2b28591e48: Waiting 11:46:14 a51346096db8: Waiting 11:46:14 daebc70d1ce1: Waiting 11:46:14 4fe6c5a15a65: Waiting 11:46:14 0e18a0eac166: Waiting 11:46:14 22a0e8bec74d: Waiting 11:46:14 8ed8ca486205: Verifying Checksum 11:46:14 8ed8ca486205: Download complete 11:46:14 666ba61612fd: Verifying Checksum 11:46:14 666ba61612fd: Download complete 11:46:14 22a0e8bec74d: Verifying Checksum 11:46:14 59bf1c3509f3: Download complete 11:46:14 ca2b28591e48: Verifying Checksum 11:46:14 ca2b28591e48: Download complete 11:46:14 a51346096db8: Verifying Checksum 11:46:14 a51346096db8: Download complete 11:46:14 daebc70d1ce1: Verifying Checksum 11:46:14 daebc70d1ce1: Download complete 11:46:14 59bf1c3509f3: Pull complete 11:46:15 666ba61612fd: Pull complete 11:46:15 8ed8ca486205: Pull complete 11:46:15 0e18a0eac166: Verifying Checksum 11:46:15 0e18a0eac166: Download complete 11:46:15 4fe6c5a15a65: Verifying Checksum 11:46:15 4fe6c5a15a65: Download complete 11:46:19 4fe6c5a15a65: Pull complete 11:46:19 22a0e8bec74d: Pull complete 11:46:19 ca2b28591e48: Pull complete 11:46:19 a51346096db8: Pull complete 11:46:19 daebc70d1ce1: Pull complete 11:46:22 0e18a0eac166: Pull complete 11:46:22 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:46:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:46:22 ---> f018257e8ee9 11:46:22 Step 3/12 : ARG MAKE='make build' 11:46:23 ---> Running in 289c0b69776b 11:46:23 Removing intermediate container 289c0b69776b 11:46:23 ---> aade347b8e05 11:46:23 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:46:23 ---> Running in da258713070b 11:46:23 Removing intermediate container da258713070b 11:46:23 ---> e3667f44c526 11:46:23 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 11:46:23 ---> Running in fd2d3f75bc74 11:46:24 Removing intermediate container fd2d3f75bc74 11:46:24 ---> f28ffa0316d1 11:46:24 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:46:24 ---> Running in 782c8b8a60d8 11:46:24 Removing intermediate container 782c8b8a60d8 11:46:24 ---> 5bd31922a67a 11:46:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:46:24 ---> Running in 7fb09da05b9b 11:46:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:46:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:46:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:46:26 (2/4) Installing libedit (20210910.3.1-r0) 11:46:26 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:46:26 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:46:26 Executing busybox-1.34.1-r3.trigger 11:46:26 OK: 224 MiB in 56 packages 11:46:27 Removing intermediate container 7fb09da05b9b 11:46:27 ---> 2b592218a848 11:46:27 Step 8/12 : WORKDIR /device-snmp-go 11:46:27 ---> Running in 20c4e5559e2d 11:46:27 Removing intermediate container 20c4e5559e2d 11:46:27 ---> 841b32344f7d 11:46:27 Step 9/12 : COPY go.mod vendor* ./ 11:46:27 ---> 5c77bea00583 11:46:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:46:27 ---> Running in c6abea7463e1 11:46:27 Still waiting to schedule task 11:46:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-47528’ 11:46:45 Removing intermediate container c6abea7463e1 11:46:45 ---> 1ccb5e4bbb6e 11:46:45 Step 11/12 : COPY . . 11:46:45 ---> 437829a75879 11:46:45 Step 12/12 : RUN ${MAKE} 11:46:45 ---> Running in 08f0be958815 11:46:45 noop 11:46:45 Removing intermediate container 08f0be958815 11:46:45 ---> 1e7ca958dd3b 11:46:45 Successfully built 1e7ca958dd3b 11:46:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:46:46 + docker inspect -f . ci-base-image-x86_64 11:46:46 . [Pipeline] withDockerContainer 11:46:46 prd-ubuntu20.04-docker-8c-8g-47530 does not seem to be running inside a container 11:46:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:46:46 $ docker top be5521436eb25825e92687bb0da2412895120ac3851532a806ebbe6c7cf31752 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:46 + go version 11:46:46 go version go1.17.6 linux/amd64 [Pipeline] } 11:46:46 $ docker stop --time=1 be5521436eb25825e92687bb0da2412895120ac3851532a806ebbe6c7cf31752 11:46:48 $ docker rm -f be5521436eb25825e92687bb0da2412895120ac3851532a806ebbe6c7cf31752 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:46:48 + docker inspect -f . ci-base-image-x86_64 11:46:48 . [Pipeline] withDockerContainer 11:46:48 prd-ubuntu20.04-docker-8c-8g-47530 does not seem to be running inside a container 11:46:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:46:49 $ docker top 83b574f9f344595aa3469eba3a7ba8fc239bb499197f4806d740e52a8f5854a5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:46:49 + make test 11:46:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:46:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 11:47:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 11:47:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 11:47:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:47:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:47:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:47:10 ./bin/test-attribution-txt.sh [Pipeline] echo 11:47:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:47:11 $ docker stop --time=1 83b574f9f344595aa3469eba3a7ba8fc239bb499197f4806d740e52a8f5854a5 11:47:12 $ docker rm -f 83b574f9f344595aa3469eba3a7ba8fc239bb499197f4806d740e52a8f5854a5 [Pipeline] // withDockerContainer [Pipeline] sh 11:47:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:47:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:47:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:47:14 + ls -al . 11:47:14 total 168 11:47:14 drwxrwxr-x 9 jenkins jenkins 4096 May 10 11:47 . 11:47:14 drwxrwxr-x 4 jenkins jenkins 4096 May 10 11:45 .. 11:47:14 -rw-rw-r-- 1 jenkins jenkins 6 May 10 11:45 .dockerignore 11:47:14 drwxrwxr-x 8 jenkins jenkins 4096 May 10 11:46 .git 11:47:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:45 .github 11:47:14 -rw-rw-r-- 1 jenkins jenkins 328 May 10 11:45 .gitignore 11:47:14 -rw-rw-r-- 1 jenkins jenkins 41 May 10 11:45 .golangci.yml 11:47:14 drwxr-xr-x 3 jenkins jenkins 4096 May 10 11:46 .semver 11:47:14 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 11:45 Attribution.txt 11:47:14 -rw-rw-r-- 1 jenkins jenkins 4401 May 10 11:45 CHANGELOG.md 11:47:14 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 11:45 Dockerfile 11:47:14 -rw-rw-r-- 1 jenkins jenkins 677 May 10 11:45 GOVERNANCE.md 11:47:14 -rw-rw-r-- 1 jenkins jenkins 656 May 10 11:45 Jenkinsfile 11:47:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 11:45 LICENSE 11:47:14 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 11:45 Makefile 11:47:14 -rw-rw-r-- 1 jenkins jenkins 620 May 10 11:45 OWNERS.md 11:47:14 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 11:45 README.md 11:47:14 -rw-rw-r-- 1 jenkins jenkins 5 May 10 11:46 VERSION 11:47:14 drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:45 bin 11:47:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:45 cmd 11:47:14 -rw-r--r-- 1 jenkins jenkins 7631 May 10 11:46 coverage.out 11:47:14 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 11:45 go.mod 11:47:14 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 11:45 go.sum 11:47:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:45 internal 11:47:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:45 snap 11:47:14 -rw-rw-r-- 1 jenkins jenkins 209 May 10 11:45 version.go [Pipeline] isUnix [Pipeline] sh 11:47:14 + 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=e42489268cf3d58b57493702f46538b28e584329 --label arch=amd64 --label version=0.0.0 . 11:47:14 Sending build context to Docker daemon 5.352MB 11:47:14 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 11:47:14 Step 2/24 : FROM ${BASE} AS builder 11:47:14 ---> 1e7ca958dd3b 11:47:14 Step 3/24 : ARG MAKE='make build' 11:47:14 ---> Running in 39c498a8ec70 11:47:14 Removing intermediate container 39c498a8ec70 11:47:14 ---> e21a83f1f911 11:47:14 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:47:14 ---> Running in 50fbb36532a8 11:47:14 Removing intermediate container 50fbb36532a8 11:47:14 ---> 3b4f2cdaaee7 11:47:14 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:47:14 ---> Running in 118b7608bf5d 11:47:14 Removing intermediate container 118b7608bf5d 11:47:14 ---> df906df5b626 11:47:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:47:14 ---> Running in cd43a9414a71 11:47:15 Removing intermediate container cd43a9414a71 11:47:15 ---> 78d6a2424d45 11:47:15 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:47:15 ---> Running in 33785aa9d0ec 11:47:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:47:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:47:16 OK: 224 MiB in 56 packages 11:47:17 Removing intermediate container 33785aa9d0ec 11:47:17 ---> 0a83243f9ebf 11:47:17 Step 8/24 : WORKDIR /device-snmp-go 11:47:17 ---> Running in 56f5ab48b749 11:47:17 Removing intermediate container 56f5ab48b749 11:47:17 ---> 575e5317eafb 11:47:17 Step 9/24 : COPY go.mod vendor* ./ 11:47:17 ---> ab45fa731364 11:47:17 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:47:17 ---> Running in 4e83e7e2a040 11:47:18 Removing intermediate container 4e83e7e2a040 11:47:18 ---> 9681abc4646b 11:47:18 Step 11/24 : COPY . . 11:47:18 ---> 602861228816 11:47:18 Step 12/24 : RUN ${MAKE} 11:47:18 ---> Running in a3014abc782c 11:47:18 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 11:47:40 Removing intermediate container a3014abc782c 11:47:40 ---> 29568ed1526e 11:47:40 Step 13/24 : FROM alpine:3.14 11:47:40 3.14: Pulling from library/alpine 11:47:40 8663204ce13b: Pulling fs layer 11:47:40 8663204ce13b: Verifying Checksum 11:47:40 8663204ce13b: Download complete 11:47:40 8663204ce13b: Pull complete 11:47:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:47:40 Status: Downloaded newer image for alpine:3.14 11:47:40 ---> e04c818066af 11:47:40 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 11:47:40 ---> Running in 0d535b2c34f4 11:47:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:47:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:47:40 (1/6) Installing dumb-init (1.2.5-r1) 11:47:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:47:40 (3/6) Installing libsodium (1.0.18-r0) 11:47:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:47:40 (5/6) Installing libzmq (4.3.4-r0) 11:47:40 (6/6) Installing zeromq (4.3.4-r0) 11:47:40 Executing busybox-1.33.1-r7.trigger 11:47:40 OK: 8 MiB in 20 packages 11:47:40 Removing intermediate container 0d535b2c34f4 11:47:40 ---> 434184c1644b 11:47:40 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 11:47:41 ---> d3c7654e461b 11:47:41 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 11:47:41 ---> b2847e2f2c1b 11:47:41 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 11:47:41 ---> ef1efd8e3512 11:47:41 Step 18/24 : EXPOSE 59993 11:47:41 ---> Running in 1fdd8685b34d 11:47:41 Removing intermediate container 1fdd8685b34d 11:47:41 ---> 443a70ebe883 11:47:41 Step 19/24 : EXPOSE 161 11:47:41 ---> Running in f43be07df7d8 11:47:41 Removing intermediate container f43be07df7d8 11:47:41 ---> a84a33a5c780 11:47:41 Step 20/24 : ENTRYPOINT ["/device-snmp"] 11:47:41 ---> Running in 8e91bc65c9a6 11:47:42 Removing intermediate container 8e91bc65c9a6 11:47:42 ---> 1af7501e91e9 11:47:42 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:47:42 ---> Running in 20763d061f94 11:47:42 Removing intermediate container 20763d061f94 11:47:42 ---> 7709cb4a9643 11:47:42 Step 22/24 : LABEL arch=amd64 11:47:42 ---> Running in 3ea79fa5d6a2 11:47:42 Removing intermediate container 3ea79fa5d6a2 11:47:42 ---> f0ab0f6a41a2 11:47:42 Step 23/24 : LABEL git_sha=e42489268cf3d58b57493702f46538b28e584329 11:47:42 ---> Running in 89ed3f90b425 11:47:42 Removing intermediate container 89ed3f90b425 11:47:42 ---> 4b4a9bbde729 11:47:42 Step 24/24 : LABEL version=0.0.0 11:47:42 ---> Running in 948b2fec1bf5 11:47:42 Removing intermediate container 948b2fec1bf5 11:47:42 ---> 8b6497c70871 11:47:42 [Warning] One or more build-args [ARCH] were not consumed 11:47:42 Successfully built 8b6497c70871 11:47:42 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 11:47:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:47:43 11:47:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:47:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:47:43 latest: Pulling from edgex-lftools-log-publisher 11:47:43 5eb5b503b376: Pulling fs layer 11:47:43 5c69ac0246d0: Pulling fs layer 11:47:43 ec43610c2a17: Pulling fs layer 11:47:43 3a2ae6a8a46f: Pulling fs layer 11:47:43 33b1e0a273af: Pulling fs layer 11:47:43 5d3b04190fa2: Pulling fs layer 11:47:43 2f39f015ded8: Pulling fs layer 11:47:43 3a2ae6a8a46f: Waiting 11:47:43 33b1e0a273af: Waiting 11:47:43 2f39f015ded8: Waiting 11:47:43 5c69ac0246d0: Download complete 11:47:43 3a2ae6a8a46f: Verifying Checksum 11:47:43 3a2ae6a8a46f: Download complete 11:47:43 33b1e0a273af: Verifying Checksum 11:47:43 33b1e0a273af: Download complete 11:47:43 5d3b04190fa2: Verifying Checksum 11:47:43 5d3b04190fa2: Download complete 11:47:43 ec43610c2a17: Verifying Checksum 11:47:43 ec43610c2a17: Download complete 11:47:43 5eb5b503b376: Verifying Checksum 11:47:43 5eb5b503b376: Download complete 11:47:44 2f39f015ded8: Download complete 11:47:44 5eb5b503b376: Pull complete 11:47:45 5c69ac0246d0: Pull complete 11:47:45 ec43610c2a17: Pull complete 11:47:45 3a2ae6a8a46f: Pull complete 11:47:45 33b1e0a273af: Pull complete 11:47:45 5d3b04190fa2: Pull complete 11:47:50 2f39f015ded8: Pull complete 11:47:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:47:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:47:50 prd-ubuntu20.04-docker-8c-8g-47530 does not seem to be running inside a container 11:47:50 $ 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-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:47:52 $ docker top dcbf0b3106cf3d90d58e643c78da9bb674d7e325c746a0bf59f86cdbcaa43ae8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:47:52 ---> job-cost.sh 11:47:52 lf-activate-venv: SKIPPING 11:47:52 INFO: No Stack... 11:47:53 INFO: Retrieving Pricing Info for: v3-standard-8 11:47:53 INFO: Archiving Costs [Pipeline] sh 11:47:53 + cat /w/workspace/gexfoundry_device-snmp-go_PR-169/archives/cost.csv 11:47:53 + cut -d, -f6 [Pipeline] lock 11:47:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-169-2-stack-cost] 11:47:53 Resource [jenkins-edgexfoundry-device-snmp-go-PR-169-2-stack-cost] did not exist. Created. 11:47:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-169-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:47:54 + echo total: 0.2199999988079071 [Pipeline] stash 11:47:54 Stashed 1 file(s) [Pipeline] } 11:47:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-169-2-stack-cost] [Pipeline] // lock [Pipeline] } 11:47:54 $ docker stop --time=1 dcbf0b3106cf3d90d58e643c78da9bb674d7e325c746a0bf59f86cdbcaa43ae8 11:47:55 $ docker rm -f dcbf0b3106cf3d90d58e643c78da9bb674d7e325c746a0bf59f86cdbcaa43ae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:49:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47532 in /w/workspace/gexfoundry_device-snmp-go_PR-169 [Pipeline] { [Pipeline] ws 11:49:36 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 11:49:37 Selected Git installation does not exist. Using Default 11:49:37 The recommended git tool is: NONE 11:49:43 using credential edgex-jenkins-ssh 11:49:43 Cloning the remote Git repository 11:49:43 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 11:49:43 > git init /w/workspace/device-snmp-go/2 # timeout=10 11:49:43 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:49:43 > git --version # timeout=10 11:49:44 > git --version # 'git version 2.25.1' 11:49:44 using GIT_SSH to set credentials SSH Credentials for GitHub 11:49:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:49:45 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:49:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:49:45 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:49:45 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:49:45 using GIT_SSH to set credentials SSH Credentials for GitHub 11:49:45 Merging remotes/origin/main commit 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit e42489268cf3d58b57493702f46538b28e584329 11:49:46 Merge succeeded, producing e42489268cf3d58b57493702f46538b28e584329 11:49:46 Checking out Revision e42489268cf3d58b57493702f46538b28e584329 (PR-169) 11:49:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:49:45 > git config core.sparsecheckout # timeout=10 11:49:45 > git checkout -f e42489268cf3d58b57493702f46538b28e584329 # timeout=10 11:49:45 > git remote # timeout=10 11:49:45 > git config --get remote.origin.url # timeout=10 11:49:46 using GIT_SSH to set credentials SSH Credentials for GitHub 11:49:46 > git merge 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 11:49:46 > git rev-parse HEAD^{commit} # timeout=10 11:49:46 > git config core.sparsecheckout # timeout=10 11:49:46 > git checkout -f e42489268cf3d58b57493702f46538b28e584329 # timeout=10 11:49:50 Commit message: "build(deps): go mod tidy" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:49:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:49:51 % Total % Received % Xferd Average Speed Time Time Time Current 11:49:51 Dload Upload Total Spent Left Speed 11:49:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 11:49:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:49:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:49:52 + sudo tee /etc/docker/daemon.new 11:49:52 { 11:49:52 "registry-mirrors": [ 11:49:52 "https://nexus3.edgexfoundry.org:10001" 11:49:52 ], 11:49:52 "bip": "10.250.0.254/24", 11:49:52 "hosts": [ 11:49:52 "tcp://0.0.0.0:5555", 11:49:52 "unix:///var/run/docker.sock" 11:49:52 ], 11:49:52 "mtu": 1458, 11:49:52 "selinux-enabled": true, 11:49:52 "seccomp-profile": "/etc/docker/seccomp.json" 11:49:52 } [Pipeline] sh 11:49:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:49:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:50:11 provisioning config files... 11:50:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config8141412255653138832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:50:11 ---> docker-login.sh 11:50:11 nexus3.edgexfoundry.org:10001 11:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:12 Configure a credential helper to remove this warning. See 11:50:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:12 11:50:12 Login Succeeded 11:50:12 nexus3.edgexfoundry.org:10002 11:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:13 Configure a credential helper to remove this warning. See 11:50:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:13 11:50:13 Login Succeeded 11:50:13 nexus3.edgexfoundry.org:10003 11:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:13 Configure a credential helper to remove this warning. See 11:50:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:13 11:50:13 Login Succeeded 11:50:13 nexus3.edgexfoundry.org:10004 11:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:14 Configure a credential helper to remove this warning. See 11:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:14 11:50:14 Login Succeeded 11:50:14 docker.io 11:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:15 Configure a credential helper to remove this warning. See 11:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:15 11:50:15 Login Succeeded 11:50:15 ---> docker-login.sh ends [Pipeline] } 11:50:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:50:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:50:15 ========================================================= 11:50:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:50:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:50:16 + 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 . 11:50:16 Sending build context to Docker daemon 2.771MB 11:50:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:50:16 Step 2/12 : FROM ${BASE} AS builder 11:50:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:50:16 9b3977197b4f: Pulling fs layer 11:50:16 1a89e8eeedd5: Pulling fs layer 11:50:16 94645a83ff95: Pulling fs layer 11:50:16 3f3a8bcf1eab: Pulling fs layer 11:50:16 0c92f367c5e7: Pulling fs layer 11:50:16 3096ccb668a1: Pulling fs layer 11:50:16 e8cf19c19ddd: Pulling fs layer 11:50:16 a4caa8a26152: Pulling fs layer 11:50:16 3096ccb668a1: Waiting 11:50:16 e8cf19c19ddd: Waiting 11:50:16 3f3a8bcf1eab: Waiting 11:50:16 a4caa8a26152: Waiting 11:50:16 0c92f367c5e7: Waiting 11:50:16 94645a83ff95: Verifying Checksum 11:50:16 94645a83ff95: Download complete 11:50:16 1a89e8eeedd5: Verifying Checksum 11:50:16 1a89e8eeedd5: Download complete 11:50:16 0c92f367c5e7: Verifying Checksum 11:50:16 0c92f367c5e7: Download complete 11:50:16 3096ccb668a1: Verifying Checksum 11:50:16 3096ccb668a1: Download complete 11:50:16 9b3977197b4f: Download complete 11:50:16 e8cf19c19ddd: Verifying Checksum 11:50:16 e8cf19c19ddd: Download complete 11:50:17 9b3977197b4f: Pull complete 11:50:18 1a89e8eeedd5: Pull complete 11:50:18 94645a83ff95: Pull complete 11:50:18 a4caa8a26152: Verifying Checksum 11:50:19 3f3a8bcf1eab: Verifying Checksum 11:50:19 3f3a8bcf1eab: Download complete 11:50:31 3f3a8bcf1eab: Pull complete 11:50:31 0c92f367c5e7: Pull complete 11:50:31 3096ccb668a1: Pull complete 11:50:31 e8cf19c19ddd: Pull complete 11:50:38 a4caa8a26152: Pull complete 11:50:38 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:50:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:50:38 ---> 725f1c02e7f9 11:50:38 Step 3/12 : ARG MAKE='make build' 11:50:39 ---> Running in 6a21a4fcf69b 11:50:39 Removing intermediate container 6a21a4fcf69b 11:50:39 ---> fe0c4ed9bcc1 11:50:39 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:50:39 ---> Running in 18ec3c4fb8c3 11:50:40 Removing intermediate container 18ec3c4fb8c3 11:50:40 ---> f5bdff118969 11:50:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 11:50:40 ---> Running in 08d95d84315b 11:50:40 Removing intermediate container 08d95d84315b 11:50:40 ---> e8ebbc0ef0bb 11:50:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:50:40 ---> Running in 8d9813c8b13a 11:50:44 Removing intermediate container 8d9813c8b13a 11:50:44 ---> b2bbc3e01de1 11:50:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:50:44 ---> Running in 29a06d9358ee 11:50:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:50:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:50:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:50:46 (2/4) Installing libedit (20210910.3.1-r0) 11:50:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:50:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:50:46 Executing busybox-1.34.1-r3.trigger 11:50:46 OK: 224 MiB in 56 packages 11:50:47 Removing intermediate container 29a06d9358ee 11:50:47 ---> c85ae236a363 11:50:47 Step 8/12 : WORKDIR /device-snmp-go 11:50:47 ---> Running in a5ce48d1ac7f 11:50:48 Removing intermediate container a5ce48d1ac7f 11:50:48 ---> b37672da5931 11:50:48 Step 9/12 : COPY go.mod vendor* ./ 11:50:48 ---> 169f8706ff2f 11:50:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:50:48 ---> Running in 682ebb06ce6e 11:51:35 Removing intermediate container 682ebb06ce6e 11:51:35 ---> c14d7c05c9a0 11:51:35 Step 11/12 : COPY . . 11:51:35 ---> 4932834c5573 11:51:35 Step 12/12 : RUN ${MAKE} 11:51:35 ---> Running in 2b968f150e22 11:51:35 noop 11:51:35 Removing intermediate container 2b968f150e22 11:51:35 ---> 37ff31ea8643 11:51:35 Successfully built 37ff31ea8643 11:51:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:51:36 + docker inspect -f . ci-base-image-arm64 11:51:36 . [Pipeline] withDockerContainer 11:51:36 prd-ubuntu20.04-docker-arm64-4c-16g-47532 does not seem to be running inside a container 11:51:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:51:37 $ docker top 8c7479b5fda81e90193f149c7fe163d6e130d009bfbf864c33c9f112b68e761d -eo pid,comm [Pipeline] { [Pipeline] sh 11:51:38 + go version 11:51:38 go version go1.17.6 linux/arm64 [Pipeline] } 11:51:38 $ docker stop --time=1 8c7479b5fda81e90193f149c7fe163d6e130d009bfbf864c33c9f112b68e761d 11:51:40 $ docker rm -f 8c7479b5fda81e90193f149c7fe163d6e130d009bfbf864c33c9f112b68e761d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:51:40 + docker inspect -f . ci-base-image-arm64 11:51:40 . [Pipeline] withDockerContainer 11:51:40 prd-ubuntu20.04-docker-arm64-4c-16g-47532 does not seem to be running inside a container 11:51:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:51:42 $ docker top cb21b1e9feb82bfa43a5bda8cbc33252e8f462f93d2e0f99c59d58e75137f5b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:51:43 + make test 11:51:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:51:45 ? github.com/edgexfoundry/device-snmp-go [no test files] 11:53:22 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 11:53:22 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 11:53:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:53:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:53:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:53:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:53:34 ./bin/test-attribution-txt.sh [Pipeline] echo 11:53:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:53:37 $ docker stop --time=1 cb21b1e9feb82bfa43a5bda8cbc33252e8f462f93d2e0f99c59d58e75137f5b9 11:53:39 $ docker rm -f cb21b1e9feb82bfa43a5bda8cbc33252e8f462f93d2e0f99c59d58e75137f5b9 [Pipeline] // withDockerContainer [Pipeline] sh 11:53:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:53:40 Warning: overwriting stash ‘coverage-report’ 11:53:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:53:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:53:41 + ls -al . 11:53:41 total 164 11:53:41 drwxrwxr-x 8 jenkins jenkins 4096 May 10 11:53 . 11:53:41 drwxrwxr-x 4 jenkins jenkins 4096 May 10 11:49 .. 11:53:41 -rw-rw-r-- 1 jenkins jenkins 6 May 10 11:49 .dockerignore 11:53:41 drwxrwxr-x 8 jenkins jenkins 4096 May 10 11:49 .git 11:53:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:49 .github 11:53:41 -rw-rw-r-- 1 jenkins jenkins 328 May 10 11:49 .gitignore 11:53:41 -rw-rw-r-- 1 jenkins jenkins 41 May 10 11:49 .golangci.yml 11:53:41 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 11:49 Attribution.txt 11:53:41 -rw-rw-r-- 1 jenkins jenkins 4401 May 10 11:49 CHANGELOG.md 11:53:41 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 11:49 Dockerfile 11:53:41 -rw-rw-r-- 1 jenkins jenkins 677 May 10 11:49 GOVERNANCE.md 11:53:41 -rw-rw-r-- 1 jenkins jenkins 656 May 10 11:49 Jenkinsfile 11:53:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 11:49 LICENSE 11:53:41 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 11:49 Makefile 11:53:41 -rw-rw-r-- 1 jenkins jenkins 620 May 10 11:49 OWNERS.md 11:53:41 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 11:49 README.md 11:53:41 -rw-rw-r-- 1 jenkins jenkins 5 May 10 11:46 VERSION 11:53:41 drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:49 bin 11:53:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:49 cmd 11:53:41 -rw-r--r-- 1 jenkins jenkins 7631 May 10 11:53 coverage.out 11:53:41 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 11:49 go.mod 11:53:41 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 11:49 go.sum 11:53:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:49 internal 11:53:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:49 snap 11:53:41 -rw-rw-r-- 1 jenkins jenkins 209 May 10 11:49 version.go [Pipeline] isUnix [Pipeline] sh 11:53:41 + 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=e42489268cf3d58b57493702f46538b28e584329 --label arch=arm64 --label version=0.0.0 . 11:53:42 Sending build context to Docker daemon 2.779MB 11:53:42 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 11:53:42 Step 2/24 : FROM ${BASE} AS builder 11:53:42 ---> 37ff31ea8643 11:53:42 Step 3/24 : ARG MAKE='make build' 11:53:42 ---> Running in 23fc3f09922e 11:53:42 Removing intermediate container 23fc3f09922e 11:53:42 ---> 6472fbfafab0 11:53:42 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:53:42 ---> Running in 041f9fc890ee 11:53:43 Removing intermediate container 041f9fc890ee 11:53:43 ---> 78f15659ab85 11:53:43 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:53:43 ---> Running in 843034e3d5d6 11:53:43 Removing intermediate container 843034e3d5d6 11:53:43 ---> 51e6c70546dc 11:53:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:53:43 ---> Running in 617ac9ca6602 11:53:45 Removing intermediate container 617ac9ca6602 11:53:45 ---> f2e39f96fa19 11:53:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:53:45 ---> Running in a2624c714b05 11:53:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:53:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:53:48 OK: 224 MiB in 56 packages 11:53:49 Removing intermediate container a2624c714b05 11:53:49 ---> b69580e4ab59 11:53:49 Step 8/24 : WORKDIR /device-snmp-go 11:53:49 ---> Running in 69ff94bbab8a 11:53:49 Removing intermediate container 69ff94bbab8a 11:53:49 ---> 798a16b68fa1 11:53:49 Step 9/24 : COPY go.mod vendor* ./ 11:53:50 ---> aef0f8efde8c 11:53:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:53:50 ---> Running in 98c370b5c555 11:53:52 Removing intermediate container 98c370b5c555 11:53:52 ---> 4ff96dd80baf 11:53:52 Step 11/24 : COPY . . 11:53:53 ---> 91f362be9f53 11:53:53 Step 12/24 : RUN ${MAKE} 11:53:53 ---> Running in f0106042ed93 11:53:54 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 11:56:01 Removing intermediate container f0106042ed93 11:56:01 ---> 38f355581b45 11:56:01 Step 13/24 : FROM alpine:3.14 11:56:01 3.14: Pulling from library/alpine 11:56:01 455c02918c45: Pulling fs layer 11:56:01 455c02918c45: Verifying Checksum 11:56:01 455c02918c45: Download complete 11:56:01 455c02918c45: Pull complete 11:56:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:56:01 Status: Downloaded newer image for alpine:3.14 11:56:01 ---> ac73e934f311 11:56:01 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 11:56:01 ---> Running in 6790425fba0b 11:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:56:01 (1/6) Installing dumb-init (1.2.5-r1) 11:56:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:56:01 (3/6) Installing libsodium (1.0.18-r0) 11:56:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:56:01 (5/6) Installing libzmq (4.3.4-r0) 11:56:01 (6/6) Installing zeromq (4.3.4-r0) 11:56:01 Executing busybox-1.33.1-r7.trigger 11:56:01 OK: 8 MiB in 20 packages 11:56:02 Removing intermediate container 6790425fba0b 11:56:02 ---> c359c8c76ad2 11:56:02 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 11:56:04 ---> 348f5c654ae9 11:56:04 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 11:56:04 ---> 09f1329d5c9a 11:56:04 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 11:56:04 ---> b5cde1616dbe 11:56:04 Step 18/24 : EXPOSE 59993 11:56:04 ---> Running in ce8e07e4e1be 11:56:05 Removing intermediate container ce8e07e4e1be 11:56:05 ---> 5e73d43dd2d9 11:56:05 Step 19/24 : EXPOSE 161 11:56:05 ---> Running in c597047f7eef 11:56:05 Removing intermediate container c597047f7eef 11:56:05 ---> 820e5554a43b 11:56:05 Step 20/24 : ENTRYPOINT ["/device-snmp"] 11:56:05 ---> Running in fb5fb69d007d 11:56:06 Removing intermediate container fb5fb69d007d 11:56:06 ---> 891761568c18 11:56:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:56:06 ---> Running in 66faf883aa30 11:56:06 Removing intermediate container 66faf883aa30 11:56:06 ---> 9513e24285c4 11:56:06 Step 22/24 : LABEL arch=arm64 11:56:06 ---> Running in 3892c9a1c6f1 11:56:06 Removing intermediate container 3892c9a1c6f1 11:56:06 ---> 55adfcecd364 11:56:06 Step 23/24 : LABEL git_sha=e42489268cf3d58b57493702f46538b28e584329 11:56:06 ---> Running in 32ba86a7c49c 11:56:07 Removing intermediate container 32ba86a7c49c 11:56:07 ---> 4da187cabcca 11:56:07 Step 24/24 : LABEL version=0.0.0 11:56:07 ---> Running in 653dd6bc2f53 11:56:07 Removing intermediate container 653dd6bc2f53 11:56:07 ---> 092033eca0d0 11:56:07 [Warning] One or more build-args [ARCH] were not consumed 11:56:07 Successfully built 092033eca0d0 11:56:07 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 11:56:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:56:07 11:56:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:56:08 arm64: Pulling from edgex-lftools-log-publisher 11:56:08 8998bd30e6a1: Pulling fs layer 11:56:08 04944245beec: Pulling fs layer 11:56:08 699f458cf7ca: Pulling fs layer 11:56:08 765212b225bb: Pulling fs layer 11:56:08 f23df028b6ca: Pulling fs layer 11:56:08 d65c8cfc05b1: Pulling fs layer 11:56:08 2437ff75d9bd: Pulling fs layer 11:56:08 f23df028b6ca: Waiting 11:56:08 d65c8cfc05b1: Waiting 11:56:08 2437ff75d9bd: Waiting 11:56:08 765212b225bb: Waiting 11:56:08 04944245beec: Verifying Checksum 11:56:08 04944245beec: Download complete 11:56:08 765212b225bb: Verifying Checksum 11:56:08 765212b225bb: Download complete 11:56:08 f23df028b6ca: Verifying Checksum 11:56:08 f23df028b6ca: Download complete 11:56:08 d65c8cfc05b1: Verifying Checksum 11:56:08 d65c8cfc05b1: Download complete 11:56:08 699f458cf7ca: Verifying Checksum 11:56:08 699f458cf7ca: Download complete 11:56:08 8998bd30e6a1: Verifying Checksum 11:56:08 8998bd30e6a1: Download complete 11:56:11 2437ff75d9bd: Verifying Checksum 11:56:11 2437ff75d9bd: Download complete 11:56:13 8998bd30e6a1: Pull complete 11:56:13 04944245beec: Pull complete 11:56:15 699f458cf7ca: Pull complete 11:56:15 765212b225bb: Pull complete 11:56:16 f23df028b6ca: Pull complete 11:56:16 d65c8cfc05b1: Pull complete 11:56:31 2437ff75d9bd: Pull complete 11:56:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:56:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:56:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:56:31 prd-ubuntu20.04-docker-arm64-4c-16g-47532 does not seem to be running inside a container 11:56:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:56:34 $ docker top 831226aac24e449a0af38935d4730bbe6ec5af8c86d3a08a15d47017162d05dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:56:35 ---> job-cost.sh 11:56:35 lf-activate-venv: SKIPPING 11:56:35 INFO: No Stack... 11:56:35 INFO: Retrieving Pricing Info for: v3-standard-4 11:56:36 INFO: Archiving Costs [Pipeline] sh 11:56:37 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 11:56:37 + cut -d, -f6 [Pipeline] lock 11:56:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-169-2-stack-cost] 11:56:37 Resource [jenkins-edgexfoundry-device-snmp-go-PR-169-2-stack-cost] did not exist. Created. 11:56:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-169-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:56:37 /w/workspace/device-snmp-go/2@tmp/durable-f621165a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:56:38 + echo total: 0.10999999940395355 [Pipeline] stash 11:56:38 Warning: overwriting stash ‘stack-cost’ 11:56:38 Stashed 1 file(s) [Pipeline] } 11:56:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-169-2-stack-cost] [Pipeline] // lock [Pipeline] } 11:56:38 $ docker stop --time=1 831226aac24e449a0af38935d4730bbe6ec5af8c86d3a08a15d47017162d05dd 11:56:40 $ docker rm -f 831226aac24e449a0af38935d4730bbe6ec5af8c86d3a08a15d47017162d05dd [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 11:56:40 provisioning config files... 11:56:40 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config6329892733676265635tmp [Pipeline] { [Pipeline] sh 11:56:40 + set +x 11:56:40 + + curl -s https://codecov.io/bashbash 11:56:40 -s -- 11:56:40 11:56:40 _____ _ 11:56:40 / ____| | | 11:56:40 | | ___ __| | ___ ___ _____ __ 11:56:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:56:40 | |___| (_) | (_| | __/ (_| (_) \ V / 11:56:40 \_____\___/ \__,_|\___|\___\___/ \_/ 11:56:40 Bash-1.0.6 11:56:40 11:56:40 11:56:40 ==> git version 2.25.1 found 11:56:40 ==> 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 11:56:40 Release-Date: 2020-01-08 11:56:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:56:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:56:40 ==> Jenkins CI detected. 11:56:40 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-169 11:56:40 project root: . 11:56:40 --> token set from env 11:56:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:56:40 ==> Running gcov in . (disable via -X gcov) 11:56:40 ==> Python coveragepy not found 11:56:40 ==> Searching for coverage reports in: 11:56:40 + . 11:56:40 -> Found 1 reports 11:56:40 ==> Detecting git/mercurial file structure 11:56:40 ==> Reading reports 11:56:40 + ./coverage.out bytes=7631 11:56:40 ==> Appending adjustments 11:56:40 https://docs.codecov.io/docs/fixing-reports 11:56:41 + Found adjustments 11:56:41 ==> Gzipping contents 11:56:41 4.0K /tmp/codecov.8N9r5X.gz 11:56:41 ==> Uploading reports 11:56:41 url: https://codecov.io 11:56:41 query: branch=PR-169&commit=e42489268cf3d58b57493702f46538b28e584329&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-169%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=169&job=&cmd_args= 11:56:41 -> Pinging Codecov 11:56:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-169&commit=e42489268cf3d58b57493702f46538b28e584329&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-169%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=169&job=&cmd_args= 11:56:41 -> Uploading to 11:56:41 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/6C56EA5C29638FB4528AC87E60AF5AE0/e42489268cf3d58b57493702f46538b28e584329/536937b5-0723-42c1-a692-2b12f84d6b5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T115641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f78a6a500d3c02e50a57934e9ef50019a3d1e40b1ea31303990c50b46b3ece66 11:56:41 % Total % Received % Xferd Average Speed Time Time Time Current 11:56:41 Dload Upload Total Spent Left Speed 11:56:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6538 --:--:-- --:--:-- --:--:-- 6538 11:56:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/e42489268cf3d58b57493702f46538b28e584329 [Pipeline] } 11:56:41 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 11:56:42 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-169/archives ] 11:56:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 11:56:42 total 16 11:56:42 drwxr-xr-x 3 root root 4096 May 10 11:47 . 11:56:42 drwxrwxr-x 10 jenkins jenkins 4096 May 10 11:47 .. 11:56:42 drwxr-xr-x 2 root root 4096 May 10 11:47 cost 11:56:42 -rw-r--r-- 1 root root 85 May 10 11:47 cost.csv 11:56:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 11:56:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 11:56:42 total 16 11:56:42 drwxr-xr-x 3 jenkins jenkins 4096 May 10 11:47 . 11:56:42 drwxrwxr-x 10 jenkins jenkins 4096 May 10 11:47 .. 11:56:42 drwxr-xr-x 2 jenkins jenkins 4096 May 10 11:47 cost 11:56:42 -rw-r--r-- 1 jenkins jenkins 85 May 10 11:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:56:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:56:43 ---> package-listing.sh 11:56:43 ++ facter osfamily 11:56:43 ++ tr '[:upper:]' '[:lower:]' 11:56:43 + OS_FAMILY=debian 11:56:43 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-169 11:56:43 + START_PACKAGES=/tmp/packages_start.txt 11:56:43 + END_PACKAGES=/tmp/packages_end.txt 11:56:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:56:43 + PACKAGES=/tmp/packages_start.txt 11:56:43 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-169 ']' 11:56:43 + PACKAGES=/tmp/packages_end.txt 11:56:43 + case "${OS_FAMILY}" in 11:56:43 + dpkg -l 11:56:43 + grep '^ii' 11:56:43 + '[' -f /tmp/packages_start.txt ']' 11:56:43 + '[' -f /tmp/packages_end.txt ']' 11:56:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:56:43 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-169 ']' 11:56:43 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-169/archives/ 11:56:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-169/archives/ [Pipeline] echo 11:56:43 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-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:56:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:56:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:56:44 . [Pipeline] withDockerContainer 11:56:44 prd-ubuntu20.04-docker-8c-8g-47530 does not seem to be running inside a container 11:56:44 $ 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-169/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-169 -v /w/workspace/gexfoundry_device-snmp-go_PR-169:/w/workspace/gexfoundry_device-snmp-go_PR-169:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:56:44 $ docker top 4dc419c56af3bc1861970706c57fd0025cdab046c1b16e4f9daaf8db53b3b6a6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:56:45 + touch /tmp/pre-build-complete [Pipeline] sh 11:56:45 + mkdir -p /var/log/sysstat [Pipeline] sh 11:56:45 + ls /var/log/sa-host 11:56:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:56:45 provisioning config files... 11:56:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config303549415759470244tmp [Pipeline] { [Pipeline] echo 11:56:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:56:46 ---> create-netrc.sh [Pipeline] } 11:56:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:56:46 ---> python-tools-install.sh [Pipeline] echo 11:56:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:56:46 ---> sudo-logs.sh 11:56:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:56:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:56:47 ---> job-cost.sh 11:56:47 lf-activate-venv: SKIPPING 11:56:47 DEBUG: total: 0.2199999988079071 11:56:47 INFO: Retrieving Stack Cost... 11:56:47 INFO: Retrieving Pricing Info for: v3-standard-8 11:56:48 INFO: Archiving Costs [Pipeline] echo 11:56:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:56:48 ---> logs-deploy.sh 11:56:48 lf-activate-venv: SKIPPING 11:56:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-169/2 11:56:48 INFO: archiving workspace using pattern(s): 11:56:49 Archives upload complete. 11:56:49 INFO: archiving logs to Nexus