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 159ad2d42081ec16fa82e71231ac3c9dc7e80342 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-ssh16452570759035440356.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-ssh14865678674454145586.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-ssh4386984026750359388.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-ssh14179305337538015993.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-ssh18067427838168031437.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-47566’ is offline Running on prd-ubuntu20.04-docker-8c-8g-47569 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 159ad2d42081ec16fa82e71231ac3c9dc7e80342 Merge succeeded, producing 159ad2d42081ec16fa82e71231ac3c9dc7e80342 Checking out Revision 159ad2d42081ec16fa82e71231ac3c9dc7e80342 (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 159ad2d42081ec16fa82e71231ac3c9dc7e80342 # 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 159ad2d42081ec16fa82e71231ac3c9dc7e80342 # timeout=10 Commit message: "build(deps): go 1.17 mod tidy" > git rev-list --no-walk e42489268cf3d58b57493702f46538b28e584329 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:14:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:14:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:14:27 ========================================================= 12:14:27 EdgeX Global Pipelines Version Info 12:14:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:14:27 ------------------- 12:14:27 stable info: 12:14:27 ------------------- 12:14:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:14:27 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:14:27 Message: update stable to v1.0.227 12:14:28 ------------------- 12:14:28 experimental info: 12:14:28 ------------------- 12:14:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:14:28 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 12:14:28 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:14:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 159ad2d42081ec16fa82e71231ac3c9dc7e80342 [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 159ad2d [Pipeline] echo 12:14:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:14:29 provisioning config files... 12:14:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config284669473407271266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:29 ---> docker-login.sh 12:14:29 nexus3.edgexfoundry.org:10001 12:14:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:30 Configure a credential helper to remove this warning. See 12:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:30 12:14:30 Login Succeeded 12:14:30 nexus3.edgexfoundry.org:10002 12:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:30 Configure a credential helper to remove this warning. See 12:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:30 12:14:30 Login Succeeded 12:14:30 nexus3.edgexfoundry.org:10003 12:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:30 Configure a credential helper to remove this warning. See 12:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:30 12:14:30 Login Succeeded 12:14:30 nexus3.edgexfoundry.org:10004 12:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:30 Configure a credential helper to remove this warning. See 12:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:30 12:14:30 Login Succeeded 12:14:30 docker.io 12:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:30 Configure a credential helper to remove this warning. See 12:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:30 12:14:30 Login Succeeded 12:14:30 ---> docker-login.sh ends [Pipeline] } 12:14:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:14:31 + git rev-list -1 --merges 159ad2d42081ec16fa82e71231ac3c9dc7e80342~1..159ad2d42081ec16fa82e71231ac3c9dc7e80342 [Pipeline] echo 12:14:31 -----------> git rev-list -1 --merges 159ad2d42081ec16fa82e71231ac3c9dc7e80342~1..159ad2d42081ec16fa82e71231ac3c9dc7e80342 159ad2d42081ec16fa82e71231ac3c9dc7e80342 [false] [Pipeline] sh 12:14:31 + git log --format=format:%s -1 159ad2d42081ec16fa82e71231ac3c9dc7e80342 [Pipeline] echo 12:14:31 ========================================================= 12:14:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:14:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:14:32 + git log --format=format:%s -1 159ad2d42081ec16fa82e71231ac3c9dc7e80342 [Pipeline] echo 12:14:32 [semverPrep] GIT_COMMIT: 159ad2d42081ec16fa82e71231ac3c9dc7e80342, Commit Message: build(deps): go 1.17 mod tidy [Pipeline] echo 12:14:32 [semverPrep] This is not a build commit. [Pipeline] sh 12:14:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:14:32 + grep -v github /etc/ssh/ssh_known_hosts 12:14:32 + [ -e /tmp/ssh_known_hosts ] 12:14:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:14:32 + + sudo tee -a /etc/ssh/ssh_known_hosts 12:14:32 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:14:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:14:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:14:32 12:14:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:14:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:14:33 latest: Pulling from edgex-devops/py-git-semver 12:14:33 1fe172e4850f: Pulling fs layer 12:14:33 caf521ccaac6: Pulling fs layer 12:14:33 3ead6fa29328: Pulling fs layer 12:14:33 5c2a1cbceb83: Pulling fs layer 12:14:33 a8d5f1318db7: Pulling fs layer 12:14:33 c427282e49a2: Pulling fs layer 12:14:33 1827001aaf11: Pulling fs layer 12:14:33 0714d37db230: Pulling fs layer 12:14:33 ac28cf19c067: Pulling fs layer 12:14:33 ca983d60f3e2: Pulling fs layer 12:14:33 9f894cec8388: Pulling fs layer 12:14:33 0714d37db230: Waiting 12:14:33 5c2a1cbceb83: Waiting 12:14:33 ac28cf19c067: Waiting 12:14:33 ca983d60f3e2: Waiting 12:14:33 9f894cec8388: Waiting 12:14:33 a8d5f1318db7: Waiting 12:14:33 c427282e49a2: Waiting 12:14:33 1827001aaf11: Waiting 12:14:33 caf521ccaac6: Verifying Checksum 12:14:33 caf521ccaac6: Download complete 12:14:33 5c2a1cbceb83: Verifying Checksum 12:14:33 5c2a1cbceb83: Download complete 12:14:33 a8d5f1318db7: Verifying Checksum 12:14:33 a8d5f1318db7: Download complete 12:14:33 c427282e49a2: Verifying Checksum 12:14:33 c427282e49a2: Download complete 12:14:33 3ead6fa29328: Verifying Checksum 12:14:33 3ead6fa29328: Download complete 12:14:33 0714d37db230: Verifying Checksum 12:14:33 0714d37db230: Download complete 12:14:33 ac28cf19c067: Verifying Checksum 12:14:33 ac28cf19c067: Download complete 12:14:33 ca983d60f3e2: Verifying Checksum 12:14:33 ca983d60f3e2: Download complete 12:14:33 9f894cec8388: Verifying Checksum 12:14:33 9f894cec8388: Download complete 12:14:33 1fe172e4850f: Verifying Checksum 12:14:33 1fe172e4850f: Download complete 12:14:33 1827001aaf11: Verifying Checksum 12:14:33 1827001aaf11: Download complete 12:14:34 1fe172e4850f: Pull complete 12:14:34 caf521ccaac6: Pull complete 12:14:35 3ead6fa29328: Pull complete 12:14:35 5c2a1cbceb83: Pull complete 12:14:35 a8d5f1318db7: Pull complete 12:14:35 c427282e49a2: Pull complete 12:14:37 1827001aaf11: Pull complete 12:14:37 0714d37db230: Pull complete 12:14:37 ac28cf19c067: Pull complete 12:14:37 ca983d60f3e2: Pull complete 12:14:37 9f894cec8388: Pull complete 12:14:37 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:14:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:14:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:14:38 prd-ubuntu20.04-docker-8c-8g-47569 does not seem to be running inside a container 12:14:38 $ 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 12:14:39 $ docker top 76c10c2fdc5f094d933595472bf40ff2de24c7a9dd08a8e53f7f015a000acaa8 -eo pid,comm 12:14:39 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). 12:14:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:14:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:14:39 [ssh-agent] Looking for ssh-agent implementation... 12:14:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:14:39 $ docker exec 76c10c2fdc5f094d933595472bf40ff2de24c7a9dd08a8e53f7f015a000acaa8 ssh-agent 12:14:39 SSH_AUTH_SOCK=/tmp/ssh-Lv9acw6EKkdn/agent.34 12:14:39 SSH_AGENT_PID=41 12:14:39 Running ssh-add (command line suppressed) 12:14:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_1621863882020541521.key (/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_1621863882020541521.key) 12:14:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:14:40 + git tag --points-at HEAD [Pipeline] } 12:14:40 $ docker exec --env ******** --env ******** 76c10c2fdc5f094d933595472bf40ff2de24c7a9dd08a8e53f7f015a000acaa8 ssh-agent -k 12:14:40 unset SSH_AUTH_SOCK; 12:14:40 unset SSH_AGENT_PID; 12:14:40 echo Agent pid 41 killed; 12:14:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:14:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:14:40 [ssh-agent] Looking for ssh-agent implementation... 12:14:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:14:40 $ docker exec 76c10c2fdc5f094d933595472bf40ff2de24c7a9dd08a8e53f7f015a000acaa8 ssh-agent 12:14:40 SSH_AUTH_SOCK=/tmp/ssh-veiFVYXBr3rG/agent.75 12:14:40 SSH_AGENT_PID=81 12:14:40 Running ssh-add (command line suppressed) 12:14:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_3454612703886328335.key (/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/private_key_3454612703886328335.key) 12:14:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:14:41 + git semver init 12:14:41 2022-05-10 12:14:41,401 [run_init] DEBUG init version:0.0.0 force:False 12:14:41 2022-05-10 12:14:41,402 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver 12:14:41 2022-05-10 12:14:41,402 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-169/.semver 12:14:41 2022-05-10 12:14:41,403 [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) 12:14:42 2022-05-10 12:14:42,204 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-169/.git/info/exclude 12:14:42 2022-05-10 12:14:42,204 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 with force:False 12:14:42 2022-05-10 12:14:42,204 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 12:14:42 2022-05-10 12:14:42,208 [execute] INFO git cat-file --batch-check 12:14:42 2022-05-10 12:14:42,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver, universal_newlines=False, shell=None, istream=) 12:14:42 2022-05-10 12:14:42,215 [execute] INFO git cat-file --batch 12:14:42 2022-05-10 12:14:42,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-169/.semver, universal_newlines=False, shell=None, istream=) 12:14:42 2022-05-10 12:14:42,220 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-169/.semver/PR-169 12:14:42 0.0.0 [Pipeline] } 12:14:42 $ docker exec --env ******** --env ******** 76c10c2fdc5f094d933595472bf40ff2de24c7a9dd08a8e53f7f015a000acaa8 ssh-agent -k 12:14:42 unset SSH_AUTH_SOCK; 12:14:42 unset SSH_AGENT_PID; 12:14:42 echo Agent pid 81 killed; 12:14:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:14:42 + git semver [Pipeline] } 12:14:43 $ docker stop --time=1 76c10c2fdc5f094d933595472bf40ff2de24c7a9dd08a8e53f7f015a000acaa8 12:14:44 $ docker rm -f 76c10c2fdc5f094d933595472bf40ff2de24c7a9dd08a8e53f7f015a000acaa8 [Pipeline] // withDockerContainer [Pipeline] sh 12:14:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:14:45 Stashed 1 file(s) [Pipeline] echo 12:14:45 [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 12:14:45 provisioning config files... 12:14:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config2030277097135761728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:45 ---> docker-login.sh 12:14:45 nexus3.edgexfoundry.org:10001 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:45 Configure a credential helper to remove this warning. See 12:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:45 12:14:45 Login Succeeded 12:14:45 nexus3.edgexfoundry.org:10002 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:45 Configure a credential helper to remove this warning. See 12:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:45 12:14:45 Login Succeeded 12:14:45 nexus3.edgexfoundry.org:10003 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:45 Configure a credential helper to remove this warning. See 12:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:45 12:14:45 Login Succeeded 12:14:45 nexus3.edgexfoundry.org:10004 12:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:46 Configure a credential helper to remove this warning. See 12:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:46 12:14:46 Login Succeeded 12:14:46 docker.io 12:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:46 Configure a credential helper to remove this warning. See 12:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:46 12:14:46 Login Succeeded 12:14:46 ---> docker-login.sh ends [Pipeline] } 12:14:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:14:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:14:46 ========================================================= 12:14:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:14:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:14:46 + 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 . 12:14:46 Sending build context to Docker daemon 5.354MB 12:14:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:14:46 Step 2/12 : FROM ${BASE} AS builder 12:14:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:14:46 59bf1c3509f3: Pulling fs layer 12:14:46 666ba61612fd: Pulling fs layer 12:14:46 8ed8ca486205: Pulling fs layer 12:14:46 4fe6c5a15a65: Pulling fs layer 12:14:46 22a0e8bec74d: Pulling fs layer 12:14:46 ca2b28591e48: Pulling fs layer 12:14:46 a51346096db8: Pulling fs layer 12:14:46 daebc70d1ce1: Pulling fs layer 12:14:46 0e18a0eac166: Pulling fs layer 12:14:46 4fe6c5a15a65: Waiting 12:14:46 22a0e8bec74d: Waiting 12:14:46 a51346096db8: Waiting 12:14:46 daebc70d1ce1: Waiting 12:14:46 0e18a0eac166: Waiting 12:14:46 ca2b28591e48: Waiting 12:14:46 8ed8ca486205: Verifying Checksum 12:14:46 8ed8ca486205: Download complete 12:14:46 666ba61612fd: Verifying Checksum 12:14:46 666ba61612fd: Download complete 12:14:46 22a0e8bec74d: Verifying Checksum 12:14:46 22a0e8bec74d: Download complete 12:14:47 59bf1c3509f3: Download complete 12:14:47 ca2b28591e48: Verifying Checksum 12:14:47 ca2b28591e48: Download complete 12:14:47 a51346096db8: Verifying Checksum 12:14:47 a51346096db8: Download complete 12:14:47 daebc70d1ce1: Verifying Checksum 12:14:47 daebc70d1ce1: Download complete 12:14:47 59bf1c3509f3: Pull complete 12:14:47 666ba61612fd: Pull complete 12:14:47 8ed8ca486205: Pull complete 12:14:47 0e18a0eac166: Verifying Checksum 12:14:47 0e18a0eac166: Download complete 12:14:47 4fe6c5a15a65: Verifying Checksum 12:14:47 4fe6c5a15a65: Download complete 12:14:51 4fe6c5a15a65: Pull complete 12:14:51 22a0e8bec74d: Pull complete 12:14:51 ca2b28591e48: Pull complete 12:14:51 a51346096db8: Pull complete 12:14:51 daebc70d1ce1: Pull complete 12:14:53 0e18a0eac166: Pull complete 12:14:53 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:14:53 ---> f018257e8ee9 12:14:53 Step 3/12 : ARG MAKE='make build' 12:14:56 ---> Running in da28d983595d 12:14:56 Removing intermediate container da28d983595d 12:14:56 ---> dd062bf81fd3 12:14:56 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:14:56 ---> Running in 65edf61d14b8 12:14:56 Removing intermediate container 65edf61d14b8 12:14:56 ---> 37a452a87353 12:14:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:14:56 ---> Running in 8adecf081885 12:14:56 Removing intermediate container 8adecf081885 12:14:56 ---> f11f8e76eb51 12:14:56 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:14:56 ---> Running in 45e1c21d1eb0 12:14:56 Removing intermediate container 45e1c21d1eb0 12:14:56 ---> 6169031409c5 12:14:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:14:56 ---> Running in 43fdbd02d213 12:14:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:14:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:14:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:14:58 (2/4) Installing libedit (20210910.3.1-r0) 12:14:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:14:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:14:58 Executing busybox-1.34.1-r3.trigger 12:14:58 OK: 224 MiB in 56 packages 12:14:59 Removing intermediate container 43fdbd02d213 12:14:59 ---> 2b002c6cbec4 12:14:59 Step 8/12 : WORKDIR /device-snmp-go 12:14:59 ---> Running in 7714ab90c574 12:14:59 Removing intermediate container 7714ab90c574 12:14:59 ---> b86e1be44b18 12:14:59 Step 9/12 : COPY go.mod vendor* ./ 12:14:59 ---> fa107961d7eb 12:14:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:14:59 ---> Running in 5f245f244275 12:15:00 Still waiting to schedule task 12:15:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 12:15:14 Removing intermediate container 5f245f244275 12:15:14 ---> 2fc62bf38c9a 12:15:14 Step 11/12 : COPY . . 12:15:14 ---> 60163d50cb46 12:15:14 Step 12/12 : RUN ${MAKE} 12:15:14 ---> Running in 5741e4d2e072 12:15:14 noop 12:15:14 Removing intermediate container 5741e4d2e072 12:15:14 ---> a2d111914780 12:15:14 Successfully built a2d111914780 12:15:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:15:14 + docker inspect -f . ci-base-image-x86_64 12:15:14 . [Pipeline] withDockerContainer 12:15:14 prd-ubuntu20.04-docker-8c-8g-47569 does not seem to be running inside a container 12:15:14 $ 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 12:15:15 $ docker top df8fdbf1965bc5bdb176364af04e71ff4a67f64af9206e3e29f3560bf699267b -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:15 + go version 12:15:15 go version go1.17.6 linux/amd64 [Pipeline] } 12:15:15 $ docker stop --time=1 df8fdbf1965bc5bdb176364af04e71ff4a67f64af9206e3e29f3560bf699267b 12:15:16 $ docker rm -f df8fdbf1965bc5bdb176364af04e71ff4a67f64af9206e3e29f3560bf699267b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:15:17 + docker inspect -f . ci-base-image-x86_64 12:15:17 . [Pipeline] withDockerContainer 12:15:17 prd-ubuntu20.04-docker-8c-8g-47569 does not seem to be running inside a container 12:15:17 $ 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 12:15:17 $ docker top f5c4771f5ac3aa79b38317226c90b0231a899f0c2425dec690115ccf41fb3939 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:15:18 + make test 12:15:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:15:18 ? github.com/edgexfoundry/device-snmp-go [no test files] 12:15:28 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 12:15:28 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 12:15:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:15:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:15:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:15:38 ./bin/test-attribution-txt.sh [Pipeline] echo 12:15:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:15:38 $ docker stop --time=1 f5c4771f5ac3aa79b38317226c90b0231a899f0c2425dec690115ccf41fb3939 12:15:40 $ docker rm -f f5c4771f5ac3aa79b38317226c90b0231a899f0c2425dec690115ccf41fb3939 [Pipeline] // withDockerContainer [Pipeline] sh 12:15:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:15:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:15:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:15:41 + ls -al . 12:15:41 total 168 12:15:41 drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:15 . 12:15:41 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:14 .. 12:15:41 -rw-rw-r-- 1 jenkins jenkins 6 May 10 12:14 .dockerignore 12:15:41 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:14 .git 12:15:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 .github 12:15:41 -rw-rw-r-- 1 jenkins jenkins 328 May 10 12:14 .gitignore 12:15:41 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:14 .golangci.yml 12:15:41 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:14 .semver 12:15:41 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 12:14 Attribution.txt 12:15:41 -rw-rw-r-- 1 jenkins jenkins 4401 May 10 12:14 CHANGELOG.md 12:15:41 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 12:14 Dockerfile 12:15:41 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:14 GOVERNANCE.md 12:15:41 -rw-rw-r-- 1 jenkins jenkins 656 May 10 12:14 Jenkinsfile 12:15:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:14 LICENSE 12:15:41 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 12:14 Makefile 12:15:41 -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:14 OWNERS.md 12:15:41 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 12:14 README.md 12:15:41 -rw-rw-r-- 1 jenkins jenkins 5 May 10 12:14 VERSION 12:15:41 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:14 bin 12:15:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 cmd 12:15:41 -rw-r--r-- 1 jenkins jenkins 7631 May 10 12:15 coverage.out 12:15:41 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 12:14 go.mod 12:15:41 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 12:14 go.sum 12:15:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 internal 12:15:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 snap 12:15:41 -rw-rw-r-- 1 jenkins jenkins 209 May 10 12:14 version.go [Pipeline] isUnix [Pipeline] sh 12:15:41 + 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=159ad2d42081ec16fa82e71231ac3c9dc7e80342 --label arch=amd64 --label version=0.0.0 . 12:15:41 Sending build context to Docker daemon 5.362MB 12:15:41 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:15:41 Step 2/24 : FROM ${BASE} AS builder 12:15:41 ---> a2d111914780 12:15:41 Step 3/24 : ARG MAKE='make build' 12:15:41 ---> Running in 57d074e07b29 12:15:42 Removing intermediate container 57d074e07b29 12:15:42 ---> a0422444877c 12:15:42 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:15:42 ---> Running in 35df6d52fe8b 12:15:42 Removing intermediate container 35df6d52fe8b 12:15:42 ---> 0dd2e97b9c23 12:15:42 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 12:15:42 ---> Running in a76b3439adac 12:15:42 Removing intermediate container a76b3439adac 12:15:42 ---> ce5e2a780e0b 12:15:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:15:42 ---> Running in 97f380095299 12:15:43 Removing intermediate container 97f380095299 12:15:43 ---> 9d84c4c2e570 12:15:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:15:43 ---> Running in 2ef07167efee 12:15:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:15:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:15:44 OK: 224 MiB in 56 packages 12:15:44 Removing intermediate container 2ef07167efee 12:15:44 ---> 9e2765883b64 12:15:44 Step 8/24 : WORKDIR /device-snmp-go 12:15:45 ---> Running in 4da4b9116724 12:15:45 Removing intermediate container 4da4b9116724 12:15:45 ---> fa3598e6ec96 12:15:45 Step 9/24 : COPY go.mod vendor* ./ 12:15:45 ---> b67e8d870f3c 12:15:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:15:45 ---> Running in 2754621df932 12:15:46 Removing intermediate container 2754621df932 12:15:46 ---> 9f1449f461ce 12:15:46 Step 11/24 : COPY . . 12:15:46 ---> 9d35945d6b60 12:15:46 Step 12/24 : RUN ${MAKE} 12:15:46 ---> Running in b2111f34083b 12:15:46 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 12:16:13 Removing intermediate container b2111f34083b 12:16:13 ---> 5f1b60327d69 12:16:13 Step 13/24 : FROM alpine:3.14 12:16:13 3.14: Pulling from library/alpine 12:16:13 8663204ce13b: Pulling fs layer 12:16:13 8663204ce13b: Download complete 12:16:13 8663204ce13b: Pull complete 12:16:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:16:13 Status: Downloaded newer image for alpine:3.14 12:16:13 ---> e04c818066af 12:16:13 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 12:16:13 ---> Running in bd3b7accf5ae 12:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:16:13 (1/6) Installing dumb-init (1.2.5-r1) 12:16:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:16:13 (3/6) Installing libsodium (1.0.18-r0) 12:16:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:16:13 (5/6) Installing libzmq (4.3.4-r0) 12:16:13 (6/6) Installing zeromq (4.3.4-r0) 12:16:13 Executing busybox-1.33.1-r7.trigger 12:16:13 OK: 8 MiB in 20 packages 12:16:13 Removing intermediate container bd3b7accf5ae 12:16:13 ---> 54dfd0ddc88a 12:16:13 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 12:16:14 ---> c02c90ad54ea 12:16:14 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 12:16:14 ---> e529454790e7 12:16:14 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 12:16:14 ---> 325058842cb1 12:16:14 Step 18/24 : EXPOSE 59993 12:16:15 ---> Running in 4e8076ab2268 12:16:15 Removing intermediate container 4e8076ab2268 12:16:15 ---> 6288e13eb661 12:16:15 Step 19/24 : EXPOSE 161 12:16:15 ---> Running in e946329cfee5 12:16:15 Removing intermediate container e946329cfee5 12:16:15 ---> 9dd49569a5cd 12:16:15 Step 20/24 : ENTRYPOINT ["/device-snmp"] 12:16:15 ---> Running in c45e36b94199 12:16:15 Removing intermediate container c45e36b94199 12:16:15 ---> 4e91f16503b0 12:16:15 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:16:15 ---> Running in f225c67e767e 12:16:15 Removing intermediate container f225c67e767e 12:16:15 ---> 27d9a5340e9d 12:16:15 Step 22/24 : LABEL arch=amd64 12:16:15 ---> Running in 42009240971b 12:16:15 Removing intermediate container 42009240971b 12:16:15 ---> c6de509071ee 12:16:15 Step 23/24 : LABEL git_sha=159ad2d42081ec16fa82e71231ac3c9dc7e80342 12:16:15 ---> Running in abfcd853ff3b 12:16:15 Removing intermediate container abfcd853ff3b 12:16:15 ---> 2d9b31f0c096 12:16:15 Step 24/24 : LABEL version=0.0.0 12:16:15 ---> Running in 9dcad157e0c3 12:16:16 Removing intermediate container 9dcad157e0c3 12:16:16 ---> ef8216c69fd0 12:16:16 [Warning] One or more build-args [ARCH] were not consumed 12:16:16 Successfully built ef8216c69fd0 12:16:16 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 12:16:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:16:16 12:16:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:16:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:16:16 latest: Pulling from edgex-lftools-log-publisher 12:16:16 5eb5b503b376: Pulling fs layer 12:16:16 5c69ac0246d0: Pulling fs layer 12:16:16 ec43610c2a17: Pulling fs layer 12:16:16 3a2ae6a8a46f: Pulling fs layer 12:16:16 33b1e0a273af: Pulling fs layer 12:16:16 5d3b04190fa2: Pulling fs layer 12:16:16 2f39f015ded8: Pulling fs layer 12:16:16 3a2ae6a8a46f: Waiting 12:16:16 5d3b04190fa2: Waiting 12:16:16 33b1e0a273af: Waiting 12:16:16 2f39f015ded8: Waiting 12:16:16 5c69ac0246d0: Verifying Checksum 12:16:16 5c69ac0246d0: Download complete 12:16:16 3a2ae6a8a46f: Verifying Checksum 12:16:16 3a2ae6a8a46f: Download complete 12:16:16 33b1e0a273af: Verifying Checksum 12:16:16 33b1e0a273af: Download complete 12:16:16 5d3b04190fa2: Verifying Checksum 12:16:16 5d3b04190fa2: Download complete 12:16:16 ec43610c2a17: Verifying Checksum 12:16:16 ec43610c2a17: Download complete 12:16:17 5eb5b503b376: Verifying Checksum 12:16:17 5eb5b503b376: Download complete 12:16:17 2f39f015ded8: Verifying Checksum 12:16:17 2f39f015ded8: Download complete 12:16:18 5eb5b503b376: Pull complete 12:16:18 5c69ac0246d0: Pull complete 12:16:19 ec43610c2a17: Pull complete 12:16:19 3a2ae6a8a46f: Pull complete 12:16:19 33b1e0a273af: Pull complete 12:16:19 5d3b04190fa2: Pull complete 12:16:23 2f39f015ded8: Pull complete 12:16:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:16:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:16:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:16:23 prd-ubuntu20.04-docker-8c-8g-47569 does not seem to be running inside a container 12:16:23 $ 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 12:16:25 $ docker top 283bb05d9b620caa93c6171177894a35076dedc1553b1aa6fa12f416eb3e0164 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:16:25 ---> job-cost.sh 12:16:25 lf-activate-venv: SKIPPING 12:16:25 INFO: No Stack... 12:16:26 INFO: Retrieving Pricing Info for: v3-standard-8 12:16:26 INFO: Archiving Costs [Pipeline] sh 12:16:27 + cat /w/workspace/gexfoundry_device-snmp-go_PR-169/archives/cost.csv 12:16:27 + cut -d, -f6 [Pipeline] lock 12:16:27 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-169-3-stack-cost] 12:16:27 Resource [jenkins-edgexfoundry-device-snmp-go-PR-169-3-stack-cost] did not exist. Created. 12:16:27 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-169-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:16:27 + echo total: 0.2199999988079071 [Pipeline] stash 12:16:27 Stashed 1 file(s) [Pipeline] } 12:16:27 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-169-3-stack-cost] [Pipeline] // lock [Pipeline] } 12:16:27 $ docker stop --time=1 283bb05d9b620caa93c6171177894a35076dedc1553b1aa6fa12f416eb3e0164 12:16:28 $ docker rm -f 283bb05d9b620caa93c6171177894a35076dedc1553b1aa6fa12f416eb3e0164 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:25:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47724 in /w/workspace/gexfoundry_device-snmp-go_PR-169 [Pipeline] { [Pipeline] ws 12:25:02 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 12:25:03 Selected Git installation does not exist. Using Default 12:25:03 The recommended git tool is: NONE 12:25:09 using credential edgex-jenkins-ssh 12:25:09 Cloning the remote Git repository 12:25:09 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 12:25:10 > git init /w/workspace/device-snmp-go/3 # timeout=10 12:25:10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:25:10 > git --version # timeout=10 12:25:10 > git --version # 'git version 2.25.1' 12:25:10 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:11 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:25:12 Merging remotes/origin/main commit 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit 159ad2d42081ec16fa82e71231ac3c9dc7e80342 12:25:12 Merge succeeded, producing 159ad2d42081ec16fa82e71231ac3c9dc7e80342 12:25:12 Checking out Revision 159ad2d42081ec16fa82e71231ac3c9dc7e80342 (PR-169) 12:25:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:11 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:25:11 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:25:11 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:11 > 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 12:25:12 > git config core.sparsecheckout # timeout=10 12:25:12 > git checkout -f 159ad2d42081ec16fa82e71231ac3c9dc7e80342 # timeout=10 12:25:12 > git remote # timeout=10 12:25:12 > git config --get remote.origin.url # timeout=10 12:25:12 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:12 > git merge 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 12:25:12 > git rev-parse HEAD^{commit} # timeout=10 12:25:12 > git config core.sparsecheckout # timeout=10 12:25:12 > git checkout -f 159ad2d42081ec16fa82e71231ac3c9dc7e80342 # timeout=10 12:25:16 Commit message: "build(deps): go 1.17 mod tidy" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:25:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:25:17 % Total % Received % Xferd Average Speed Time Time Time Current 12:25:17 Dload Upload Total Spent Left Speed 12:25:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 12:25:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:25:18 + sudo tee /etc/docker/daemon.new 12:25:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:25:18 { 12:25:18 "registry-mirrors": [ 12:25:18 "https://nexus3.edgexfoundry.org:10001" 12:25:18 ], 12:25:18 "bip": "10.250.0.254/24", 12:25:18 "hosts": [ 12:25:18 "tcp://0.0.0.0:5555", 12:25:18 "unix:///var/run/docker.sock" 12:25:18 ], 12:25:18 "mtu": 1458, 12:25:18 "selinux-enabled": true, 12:25:18 "seccomp-profile": "/etc/docker/seccomp.json" 12:25:18 } [Pipeline] sh 12:25:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:25:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:25:37 provisioning config files... 12:25:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config121260712149341670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:25:38 ---> docker-login.sh 12:25:38 nexus3.edgexfoundry.org:10001 12:25:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:39 Configure a credential helper to remove this warning. See 12:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:39 12:25:39 Login Succeeded 12:25:39 nexus3.edgexfoundry.org:10002 12:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:39 Configure a credential helper to remove this warning. See 12:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:39 12:25:39 Login Succeeded 12:25:40 nexus3.edgexfoundry.org:10003 12:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:40 Configure a credential helper to remove this warning. See 12:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:40 12:25:40 Login Succeeded 12:25:40 nexus3.edgexfoundry.org:10004 12:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:40 Configure a credential helper to remove this warning. See 12:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:40 12:25:40 Login Succeeded 12:25:40 docker.io 12:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:41 Configure a credential helper to remove this warning. See 12:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:41 12:25:41 Login Succeeded 12:25:41 ---> docker-login.sh ends [Pipeline] } 12:25:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:25:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:42 ========================================================= 12:25:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:25:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:25:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:25:43 Sending build context to Docker daemon 2.781MB 12:25:43 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:25:43 Step 2/12 : FROM ${BASE} AS builder 12:25:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:25:43 9b3977197b4f: Pulling fs layer 12:25:43 1a89e8eeedd5: Pulling fs layer 12:25:43 94645a83ff95: Pulling fs layer 12:25:43 3f3a8bcf1eab: Pulling fs layer 12:25:43 0c92f367c5e7: Pulling fs layer 12:25:43 3096ccb668a1: Pulling fs layer 12:25:43 e8cf19c19ddd: Pulling fs layer 12:25:43 a4caa8a26152: Pulling fs layer 12:25:43 3096ccb668a1: Waiting 12:25:43 e8cf19c19ddd: Waiting 12:25:43 3f3a8bcf1eab: Waiting 12:25:43 0c92f367c5e7: Waiting 12:25:43 a4caa8a26152: Waiting 12:25:43 94645a83ff95: Verifying Checksum 12:25:43 94645a83ff95: Download complete 12:25:43 1a89e8eeedd5: Download complete 12:25:43 0c92f367c5e7: Verifying Checksum 12:25:43 0c92f367c5e7: Download complete 12:25:43 3096ccb668a1: Verifying Checksum 12:25:43 3096ccb668a1: Download complete 12:25:43 9b3977197b4f: Download complete 12:25:43 e8cf19c19ddd: Verifying Checksum 12:25:43 e8cf19c19ddd: Download complete 12:25:44 9b3977197b4f: Pull complete 12:25:45 1a89e8eeedd5: Pull complete 12:25:45 94645a83ff95: Pull complete 12:25:46 a4caa8a26152: Verifying Checksum 12:25:46 a4caa8a26152: Download complete 12:25:46 3f3a8bcf1eab: Verifying Checksum 12:25:46 3f3a8bcf1eab: Download complete 12:26:01 3f3a8bcf1eab: Pull complete 12:26:01 0c92f367c5e7: Pull complete 12:26:01 3096ccb668a1: Pull complete 12:26:01 e8cf19c19ddd: Pull complete 12:26:08 a4caa8a26152: Pull complete 12:26:08 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:26:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:26:08 ---> 725f1c02e7f9 12:26:08 Step 3/12 : ARG MAKE='make build' 12:26:10 ---> Running in 8fb837b868d6 12:26:11 Removing intermediate container 8fb837b868d6 12:26:11 ---> aa0515207432 12:26:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:26:11 ---> Running in 494f5fac6e75 12:26:11 Removing intermediate container 494f5fac6e75 12:26:11 ---> b57ae4541cf2 12:26:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:26:11 ---> Running in 3c7dd94907f4 12:26:11 Removing intermediate container 3c7dd94907f4 12:26:11 ---> 11c9c48b1094 12:26:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:26:11 ---> Running in 746d58c3d3aa 12:26:14 Removing intermediate container 746d58c3d3aa 12:26:14 ---> 36d20c68ab62 12:26:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:26:14 ---> Running in c8d076bcd392 12:26:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:26:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:26:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:26:17 (2/4) Installing libedit (20210910.3.1-r0) 12:26:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:26:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:26:17 Executing busybox-1.34.1-r3.trigger 12:26:17 OK: 224 MiB in 56 packages 12:26:19 Removing intermediate container c8d076bcd392 12:26:19 ---> cf640bddfa7b 12:26:19 Step 8/12 : WORKDIR /device-snmp-go 12:26:19 ---> Running in 26e28326eaa5 12:26:19 Removing intermediate container 26e28326eaa5 12:26:19 ---> 877661370613 12:26:19 Step 9/12 : COPY go.mod vendor* ./ 12:26:20 ---> 4fe85c5e872c 12:26:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:26:20 ---> Running in 6340f1902e6e 12:27:07 Removing intermediate container 6340f1902e6e 12:27:07 ---> b265a83a2536 12:27:07 Step 11/12 : COPY . . 12:27:08 ---> 63d4d51fd69d 12:27:08 Step 12/12 : RUN ${MAKE} 12:27:08 ---> Running in 25bb517c211d 12:27:09 noop 12:27:10 Removing intermediate container 25bb517c211d 12:27:10 ---> 5e00961ecd19 12:27:10 Successfully built 5e00961ecd19 12:27:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:27:10 + docker inspect -f . ci-base-image-arm64 12:27:10 . [Pipeline] withDockerContainer 12:27:10 prd-ubuntu20.04-docker-arm64-4c-16g-47724 does not seem to be running inside a container 12:27:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:27:12 $ docker top e9ff1884a1eff457cc84ee28104d2d4efdf5ee2acef8c8ea91bec2d8f19f8887 -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:13 + go version 12:27:13 go version go1.17.6 linux/arm64 [Pipeline] } 12:27:13 $ docker stop --time=1 e9ff1884a1eff457cc84ee28104d2d4efdf5ee2acef8c8ea91bec2d8f19f8887 12:27:15 $ docker rm -f e9ff1884a1eff457cc84ee28104d2d4efdf5ee2acef8c8ea91bec2d8f19f8887 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:27:15 + docker inspect -f . ci-base-image-arm64 12:27:15 . [Pipeline] withDockerContainer 12:27:15 prd-ubuntu20.04-docker-arm64-4c-16g-47724 does not seem to be running inside a container 12:27:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:27:17 $ docker top 8c267e0839c2a3edd05fe7c890ecdb88f813961925bf9ccdb92a6ac451a7e4bd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:27:18 + make test 12:27:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:27:20 ? github.com/edgexfoundry/device-snmp-go [no test files] 12:28:57 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 12:28:57 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 12:28:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:28:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:29:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:29:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:29:19 ./bin/test-attribution-txt.sh [Pipeline] echo 12:29:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:29:23 $ docker stop --time=1 8c267e0839c2a3edd05fe7c890ecdb88f813961925bf9ccdb92a6ac451a7e4bd 12:29:25 $ docker rm -f 8c267e0839c2a3edd05fe7c890ecdb88f813961925bf9ccdb92a6ac451a7e4bd [Pipeline] // withDockerContainer [Pipeline] sh 12:29:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:29:26 Warning: overwriting stash ‘coverage-report’ 12:29:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:29:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:29:28 + ls -al . 12:29:28 total 164 12:29:28 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:29 . 12:29:28 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:25 .. 12:29:28 -rw-rw-r-- 1 jenkins jenkins 6 May 10 12:25 .dockerignore 12:29:28 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:25 .git 12:29:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 .github 12:29:28 -rw-rw-r-- 1 jenkins jenkins 328 May 10 12:25 .gitignore 12:29:28 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:25 .golangci.yml 12:29:28 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 12:25 Attribution.txt 12:29:28 -rw-rw-r-- 1 jenkins jenkins 4401 May 10 12:25 CHANGELOG.md 12:29:28 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 12:25 Dockerfile 12:29:28 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:25 GOVERNANCE.md 12:29:28 -rw-rw-r-- 1 jenkins jenkins 656 May 10 12:25 Jenkinsfile 12:29:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:25 LICENSE 12:29:28 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 12:25 Makefile 12:29:28 -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:25 OWNERS.md 12:29:28 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 12:25 README.md 12:29:28 -rw-rw-r-- 1 jenkins jenkins 5 May 10 12:14 VERSION 12:29:28 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:25 bin 12:29:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 cmd 12:29:28 -rw-r--r-- 1 jenkins jenkins 7631 May 10 12:28 coverage.out 12:29:28 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 12:25 go.mod 12:29:28 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 12:25 go.sum 12:29:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 internal 12:29:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:25 snap 12:29:28 -rw-rw-r-- 1 jenkins jenkins 209 May 10 12:25 version.go [Pipeline] isUnix [Pipeline] sh 12:29:28 + 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=159ad2d42081ec16fa82e71231ac3c9dc7e80342 --label arch=arm64 --label version=0.0.0 . 12:29:28 Sending build context to Docker daemon 2.789MB 12:29:29 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:29:29 Step 2/24 : FROM ${BASE} AS builder 12:29:29 ---> 5e00961ecd19 12:29:29 Step 3/24 : ARG MAKE='make build' 12:29:29 ---> Running in 4e2e76fdbc35 12:29:29 Removing intermediate container 4e2e76fdbc35 12:29:29 ---> b68e5a896861 12:29:29 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:29:29 ---> Running in b84cd6e5ea3b 12:29:29 Removing intermediate container b84cd6e5ea3b 12:29:29 ---> 32ff8f79f2c4 12:29:29 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 12:29:29 ---> Running in 2f8e721b5922 12:29:30 Removing intermediate container 2f8e721b5922 12:29:30 ---> 97a6aa38b3a1 12:29:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:29:30 ---> Running in 5ef82ad6395d 12:29:32 Removing intermediate container 5ef82ad6395d 12:29:32 ---> 09e12625b6a7 12:29:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:32 ---> Running in 3f11fc60feba 12:29:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:29:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:29:35 OK: 224 MiB in 56 packages 12:29:36 Removing intermediate container 3f11fc60feba 12:29:36 ---> d9d963087644 12:29:36 Step 8/24 : WORKDIR /device-snmp-go 12:29:36 ---> Running in a48671e1a7de 12:29:36 Removing intermediate container a48671e1a7de 12:29:36 ---> 901ab3651f47 12:29:36 Step 9/24 : COPY go.mod vendor* ./ 12:29:37 ---> 6b9d17a933e7 12:29:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:29:37 ---> Running in 1ee893d80238 12:29:39 Removing intermediate container 1ee893d80238 12:29:39 ---> acb1fbb8ed3e 12:29:39 Step 11/24 : COPY . . 12:29:40 ---> 7dd8de0d26dc 12:29:40 Step 12/24 : RUN ${MAKE} 12:29:40 ---> Running in 41d32af560fe 12:29:41 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 12:32:03 Removing intermediate container 41d32af560fe 12:32:03 ---> 1b44a4745a5b 12:32:03 Step 13/24 : FROM alpine:3.14 12:32:03 3.14: Pulling from library/alpine 12:32:03 455c02918c45: Pulling fs layer 12:32:03 455c02918c45: Verifying Checksum 12:32:03 455c02918c45: Download complete 12:32:03 455c02918c45: Pull complete 12:32:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:32:03 Status: Downloaded newer image for alpine:3.14 12:32:03 ---> ac73e934f311 12:32:03 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 12:32:03 ---> Running in 51d11cafc9cf 12:32:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:32:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:32:03 (1/6) Installing dumb-init (1.2.5-r1) 12:32:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:32:03 (3/6) Installing libsodium (1.0.18-r0) 12:32:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:32:03 (5/6) Installing libzmq (4.3.4-r0) 12:32:03 (6/6) Installing zeromq (4.3.4-r0) 12:32:03 Executing busybox-1.33.1-r7.trigger 12:32:03 OK: 8 MiB in 20 packages 12:32:03 Removing intermediate container 51d11cafc9cf 12:32:03 ---> 6f83d0f87d38 12:32:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 12:32:03 ---> 360db1f12fbb 12:32:03 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 12:32:03 ---> c866ce0a29be 12:32:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 12:32:03 ---> 21f73bde9476 12:32:03 Step 18/24 : EXPOSE 59993 12:32:03 ---> Running in 3eec771e23fb 12:32:03 Removing intermediate container 3eec771e23fb 12:32:03 ---> e09190a01ceb 12:32:03 Step 19/24 : EXPOSE 161 12:32:03 ---> Running in 6501c6792d27 12:32:03 Removing intermediate container 6501c6792d27 12:32:03 ---> 25e6fee4d372 12:32:03 Step 20/24 : ENTRYPOINT ["/device-snmp"] 12:32:03 ---> Running in a4516e90876e 12:32:03 Removing intermediate container a4516e90876e 12:32:03 ---> e35904ab642e 12:32:03 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:32:03 ---> Running in 4096abf977b3 12:32:03 Removing intermediate container 4096abf977b3 12:32:03 ---> b0f636a8e3b5 12:32:03 Step 22/24 : LABEL arch=arm64 12:32:03 ---> Running in 227c06482630 12:32:03 Removing intermediate container 227c06482630 12:32:03 ---> f3686160fdcd 12:32:03 Step 23/24 : LABEL git_sha=159ad2d42081ec16fa82e71231ac3c9dc7e80342 12:32:03 ---> Running in 0356bce5ad5d 12:32:03 Removing intermediate container 0356bce5ad5d 12:32:03 ---> 3e75ddad650e 12:32:03 Step 24/24 : LABEL version=0.0.0 12:32:03 ---> Running in 5aee489c937c 12:32:03 Removing intermediate container 5aee489c937c 12:32:03 ---> e000d533d3aa 12:32:03 [Warning] One or more build-args [ARCH] were not consumed 12:32:03 Successfully built e000d533d3aa 12:32:03 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 12:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:03 12:32:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:32:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:04 arm64: Pulling from edgex-lftools-log-publisher 12:32:04 8998bd30e6a1: Pulling fs layer 12:32:04 04944245beec: Pulling fs layer 12:32:04 699f458cf7ca: Pulling fs layer 12:32:04 765212b225bb: Pulling fs layer 12:32:04 f23df028b6ca: Pulling fs layer 12:32:04 d65c8cfc05b1: Pulling fs layer 12:32:04 2437ff75d9bd: Pulling fs layer 12:32:04 765212b225bb: Waiting 12:32:04 f23df028b6ca: Waiting 12:32:04 2437ff75d9bd: Waiting 12:32:04 d65c8cfc05b1: Waiting 12:32:04 04944245beec: Verifying Checksum 12:32:04 04944245beec: Download complete 12:32:04 765212b225bb: Verifying Checksum 12:32:04 765212b225bb: Download complete 12:32:04 f23df028b6ca: Verifying Checksum 12:32:04 f23df028b6ca: Download complete 12:32:04 d65c8cfc05b1: Verifying Checksum 12:32:04 d65c8cfc05b1: Download complete 12:32:04 699f458cf7ca: Verifying Checksum 12:32:04 699f458cf7ca: Download complete 12:32:04 8998bd30e6a1: Verifying Checksum 12:32:04 8998bd30e6a1: Download complete 12:32:07 2437ff75d9bd: Verifying Checksum 12:32:07 2437ff75d9bd: Download complete 12:32:09 8998bd30e6a1: Pull complete 12:32:09 04944245beec: Pull complete 12:32:11 699f458cf7ca: Pull complete 12:32:11 765212b225bb: Pull complete 12:32:11 f23df028b6ca: Pull complete 12:32:12 d65c8cfc05b1: Pull complete 12:32:27 2437ff75d9bd: Pull complete 12:32:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:32:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:32:27 prd-ubuntu20.04-docker-arm64-4c-16g-47724 does not seem to be running inside a container 12:32:27 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:32:30 $ docker top 12a075bda19b96abfd91b08c08c912bc407b34c89539db598721eb2aa7a320aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:32:31 ---> job-cost.sh 12:32:31 lf-activate-venv: SKIPPING 12:32:31 INFO: No Stack... 12:32:31 INFO: Retrieving Pricing Info for: v3-standard-4 12:32:32 INFO: Archiving Costs [Pipeline] sh 12:32:33 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 12:32:33 + cut -d, -f6 [Pipeline] lock 12:32:33 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-169-3-stack-cost] 12:32:33 Resource [jenkins-edgexfoundry-device-snmp-go-PR-169-3-stack-cost] did not exist. Created. 12:32:33 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-169-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:32:34 /w/workspace/device-snmp-go/3@tmp/durable-c91fc7cb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:32:34 + echo total: 0.10999999940395355 [Pipeline] stash 12:32:34 Warning: overwriting stash ‘stack-cost’ 12:32:35 Stashed 1 file(s) [Pipeline] } 12:32:35 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-169-3-stack-cost] [Pipeline] // lock [Pipeline] } 12:32:35 $ docker stop --time=1 12a075bda19b96abfd91b08c08c912bc407b34c89539db598721eb2aa7a320aa 12:32:36 $ docker rm -f 12a075bda19b96abfd91b08c08c912bc407b34c89539db598721eb2aa7a320aa [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 12:32:37 provisioning config files... 12:32:37 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config1449479899607677131tmp [Pipeline] { [Pipeline] sh 12:32:37 + set +x 12:32:37 + curl -s https://codecov.io/bash 12:32:37 + bash -s -- 12:32:37 12:32:37 _____ _ 12:32:37 / ____| | | 12:32:37 | | ___ __| | ___ ___ _____ __ 12:32:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:32:37 | |___| (_) | (_| | __/ (_| (_) \ V / 12:32:37 \_____\___/ \__,_|\___|\___\___/ \_/ 12:32:37 Bash-1.0.6 12:32:37 12:32:37 12:32:37 ==> git version 2.25.1 found 12:32:37 ==> 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 12:32:37 Release-Date: 2020-01-08 12:32:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:32:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:32:37 ==> Jenkins CI detected. 12:32:37 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-169 12:32:37 project root: . 12:32:37 --> token set from env 12:32:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:32:37 ==> Running gcov in . (disable via -X gcov) 12:32:37 ==> Python coveragepy not found 12:32:37 ==> Searching for coverage reports in: 12:32:37 + . 12:32:37 -> Found 1 reports 12:32:37 ==> Detecting git/mercurial file structure 12:32:37 ==> Reading reports 12:32:37 + ./coverage.out bytes=7631 12:32:37 ==> Appending adjustments 12:32:37 https://docs.codecov.io/docs/fixing-reports 12:32:37 + Found adjustments 12:32:37 ==> Gzipping contents 12:32:37 4.0K /tmp/codecov.gLZBUU.gz 12:32:37 ==> Uploading reports 12:32:37 url: https://codecov.io 12:32:37 query: branch=PR-169&commit=159ad2d42081ec16fa82e71231ac3c9dc7e80342&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-169%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=169&job=&cmd_args= 12:32:37 -> Pinging Codecov 12:32:37 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=159ad2d42081ec16fa82e71231ac3c9dc7e80342&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-169%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=169&job=&cmd_args= 12:32:38 -> Uploading to 12:32:38 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/6C56EA5C29638FB4528AC87E60AF5AE0/159ad2d42081ec16fa82e71231ac3c9dc7e80342/cf463cc3-205d-449a-a31c-e440a2e091a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T123237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d493fb51763e6b61d37f4b3900ced8a3add6c895b6093340892c571b41a99a29 12:32:38 % Total % Received % Xferd Average Speed Time Time Time Current 12:32:38 Dload Upload Total Spent Left Speed 12:32:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7382 --:--:-- --:--:-- --:--:-- 7382 12:32:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/159ad2d42081ec16fa82e71231ac3c9dc7e80342 [Pipeline] } 12:32:38 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 12:32:38 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-169/archives ] 12:32:38 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 12:32:38 total 16 12:32:38 drwxr-xr-x 3 root root 4096 May 10 12:16 . 12:32:38 drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:16 .. 12:32:38 drwxr-xr-x 2 root root 4096 May 10 12:16 cost 12:32:38 -rw-r--r-- 1 root root 85 May 10 12:16 cost.csv 12:32:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 12:32:38 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-169/archives 12:32:38 total 16 12:32:38 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:16 . 12:32:38 drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:16 .. 12:32:38 drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:16 cost 12:32:38 -rw-r--r-- 1 jenkins jenkins 85 May 10 12:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:32:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:32:39 ---> package-listing.sh 12:32:39 ++ facter osfamily 12:32:39 ++ tr '[:upper:]' '[:lower:]' 12:32:40 + OS_FAMILY=debian 12:32:40 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-169 12:32:40 + START_PACKAGES=/tmp/packages_start.txt 12:32:40 + END_PACKAGES=/tmp/packages_end.txt 12:32:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:32:40 + PACKAGES=/tmp/packages_start.txt 12:32:40 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-169 ']' 12:32:40 + PACKAGES=/tmp/packages_end.txt 12:32:40 + case "${OS_FAMILY}" in 12:32:40 + dpkg -l 12:32:40 + grep '^ii' 12:32:40 + '[' -f /tmp/packages_start.txt ']' 12:32:40 + '[' -f /tmp/packages_end.txt ']' 12:32:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:32:40 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-169 ']' 12:32:40 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-169/archives/ 12:32:40 + 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 12:32:40 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 12:32:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:32:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:40 . [Pipeline] withDockerContainer 12:32:41 prd-ubuntu20.04-docker-8c-8g-47569 does not seem to be running inside a container 12:32:41 $ 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 12:32:41 $ docker top 35842b39a20dab58a5e87aca989daeeade7ab4c5443b22537917283a305b7e67 -eo pid,comm [Pipeline] { [Pipeline] sh 12:32:41 + touch /tmp/pre-build-complete [Pipeline] sh 12:32:41 + mkdir -p /var/log/sysstat [Pipeline] sh 12:32:42 + ls /var/log/sa-host 12:32:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:32:42 provisioning config files... 12:32:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-169@tmp/config857994517206723048tmp [Pipeline] { [Pipeline] echo 12:32:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:32:42 ---> create-netrc.sh [Pipeline] } 12:32:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:32:43 ---> python-tools-install.sh [Pipeline] echo 12:32:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:32:43 ---> sudo-logs.sh 12:32:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:32:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:32:43 ---> job-cost.sh 12:32:43 lf-activate-venv: SKIPPING 12:32:43 DEBUG: total: 0.2199999988079071 12:32:43 INFO: Retrieving Stack Cost... 12:32:43 INFO: Retrieving Pricing Info for: v3-standard-8 12:32:44 INFO: Archiving Costs [Pipeline] echo 12:32:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:32:44 ---> logs-deploy.sh 12:32:44 lf-activate-venv: SKIPPING 12:32:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-169/3 12:32:44 INFO: archiving workspace using pattern(s): 12:32:45 Archives upload complete. 12:32:45 INFO: archiving logs to Nexus