Pull request #168 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-snmp-go Obtained Jenkinsfile from c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca+73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 (beb705cf5dcc95d96560dbbe1e54b86c8b818b41) 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-ssh1151780681432995027.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-ssh3124293698995014840.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-168/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15638198648422831367.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7353597300774559860.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1586408777506134639.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-168/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-168/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12274901658981507832.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-41418’ Running on prd-ubuntu20.04-docker-8c-8g-41420 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-168 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca Merge succeeded, producing c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca Checking out Revision c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca (PR-168) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca # 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 c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca # timeout=10 Commit message: "docs: update CHANGELOG for Kamakura" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:03:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:03:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:03:44 ========================================================= 00:03:44 EdgeX Global Pipelines Version Info 00:03:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:03:44 ------------------- 00:03:44 stable info: 00:03:44 ------------------- 00:03:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:03:44 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 00:03:44 Message: update stable to v1.0.227 00:03:45 ------------------- 00:03:45 experimental info: 00:03:45 ------------------- 00:03:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:03:45 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 00:03:45 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:03:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 00:03:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 00:03:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:03:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:03:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 00:03:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c21542a [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:03:47 provisioning config files... 00:03:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config2150822844602912210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:47 ---> docker-login.sh 00:03:47 nexus3.edgexfoundry.org:10001 00:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:47 Configure a credential helper to remove this warning. See 00:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:47 00:03:47 Login Succeeded 00:03:47 nexus3.edgexfoundry.org:10002 00:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:48 Configure a credential helper to remove this warning. See 00:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:48 00:03:48 Login Succeeded 00:03:48 nexus3.edgexfoundry.org:10003 00:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:48 Configure a credential helper to remove this warning. See 00:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:48 00:03:48 Login Succeeded 00:03:48 nexus3.edgexfoundry.org:10004 00:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:48 Configure a credential helper to remove this warning. See 00:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:48 00:03:48 Login Succeeded 00:03:48 docker.io 00:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:48 Configure a credential helper to remove this warning. See 00:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:48 00:03:48 Login Succeeded 00:03:48 ---> docker-login.sh ends [Pipeline] } 00:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:03:49 + git rev-list -1 --merges c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca~1..c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca [Pipeline] echo 00:03:49 -----------> git rev-list -1 --merges c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca~1..c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca [false] [Pipeline] sh 00:03:49 + git log --format=format:%s -1 c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca [Pipeline] echo 00:03:49 ========================================================= 00:03:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:03:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:50 + git log --format=format:%s -1 c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca [Pipeline] echo 00:03:50 [semverPrep] GIT_COMMIT: c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca, Commit Message: docs: update CHANGELOG for Kamakura [Pipeline] echo 00:03:50 [semverPrep] This is not a build commit. [Pipeline] sh 00:03:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:03:50 + grep -v github /etc/ssh/ssh_known_hosts 00:03:50 + [ -e /tmp/ssh_known_hosts ] 00:03:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:03:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:03:50 + sudo tee -a /etc/ssh/ssh_known_hosts 00:03:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:03:51 00:03:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:03:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:03:51 latest: Pulling from edgex-devops/py-git-semver 00:03:51 1fe172e4850f: Pulling fs layer 00:03:51 caf521ccaac6: Pulling fs layer 00:03:51 3ead6fa29328: Pulling fs layer 00:03:51 5c2a1cbceb83: Pulling fs layer 00:03:51 a8d5f1318db7: Pulling fs layer 00:03:51 c427282e49a2: Pulling fs layer 00:03:51 1827001aaf11: Pulling fs layer 00:03:51 0714d37db230: Pulling fs layer 00:03:51 ac28cf19c067: Pulling fs layer 00:03:51 ca983d60f3e2: Pulling fs layer 00:03:51 9f894cec8388: Pulling fs layer 00:03:51 ac28cf19c067: Waiting 00:03:51 ca983d60f3e2: Waiting 00:03:51 0714d37db230: Waiting 00:03:51 5c2a1cbceb83: Waiting 00:03:51 a8d5f1318db7: Waiting 00:03:51 c427282e49a2: Waiting 00:03:51 caf521ccaac6: Verifying Checksum 00:03:51 caf521ccaac6: Download complete 00:03:51 5c2a1cbceb83: Download complete 00:03:51 a8d5f1318db7: Verifying Checksum 00:03:51 a8d5f1318db7: Download complete 00:03:51 3ead6fa29328: Verifying Checksum 00:03:51 3ead6fa29328: Download complete 00:03:51 c427282e49a2: Verifying Checksum 00:03:51 c427282e49a2: Download complete 00:03:51 0714d37db230: Verifying Checksum 00:03:51 0714d37db230: Download complete 00:03:51 ac28cf19c067: Download complete 00:03:51 ca983d60f3e2: Verifying Checksum 00:03:51 ca983d60f3e2: Download complete 00:03:51 9f894cec8388: Verifying Checksum 00:03:51 9f894cec8388: Download complete 00:03:51 1fe172e4850f: Verifying Checksum 00:03:51 1fe172e4850f: Download complete 00:03:51 1827001aaf11: Verifying Checksum 00:03:51 1827001aaf11: Download complete 00:03:53 1fe172e4850f: Pull complete 00:03:53 caf521ccaac6: Pull complete 00:03:53 3ead6fa29328: Pull complete 00:03:53 5c2a1cbceb83: Pull complete 00:03:54 a8d5f1318db7: Pull complete 00:03:54 c427282e49a2: Pull complete 00:03:56 1827001aaf11: Pull complete 00:03:56 0714d37db230: Pull complete 00:03:56 ac28cf19c067: Pull complete 00:03:56 ca983d60f3e2: Pull complete 00:03:56 9f894cec8388: Pull complete 00:03:56 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:03:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:03:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 00:03:56 prd-ubuntu20.04-docker-8c-8g-41420 does not seem to be running inside a container 00:03:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:03:58 $ docker top 3b01cb283a98d40a27775d876ac1b6edb58e89fce3ebd36774b6d7264bfa05b0 -eo pid,comm 00:03:58 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). 00:03:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:03:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:58 [ssh-agent] Looking for ssh-agent implementation... 00:03:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:58 $ docker exec 3b01cb283a98d40a27775d876ac1b6edb58e89fce3ebd36774b6d7264bfa05b0 ssh-agent 00:03:58 SSH_AUTH_SOCK=/tmp/ssh-tW7UMnejeAGD/agent.32 00:03:58 SSH_AGENT_PID=39 00:03:58 Running ssh-add (command line suppressed) 00:03:58 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_581923000967438623.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_581923000967438623.key) 00:03:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:03:59 + git tag --points-at HEAD [Pipeline] } 00:03:59 $ docker exec --env ******** --env ******** 3b01cb283a98d40a27775d876ac1b6edb58e89fce3ebd36774b6d7264bfa05b0 ssh-agent -k 00:03:59 unset SSH_AUTH_SOCK; 00:03:59 unset SSH_AGENT_PID; 00:03:59 echo Agent pid 39 killed; 00:03:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:03:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:59 [ssh-agent] Looking for ssh-agent implementation... 00:03:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:59 $ docker exec 3b01cb283a98d40a27775d876ac1b6edb58e89fce3ebd36774b6d7264bfa05b0 ssh-agent 00:03:59 SSH_AUTH_SOCK=/tmp/ssh-YveYrUb7HeRi/agent.73 00:03:59 SSH_AGENT_PID=79 00:03:59 Running ssh-add (command line suppressed) 00:03:59 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_6876652403776797802.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_6876652403776797802.key) 00:03:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:04:00 + git semver init 00:04:00 2022-05-08 00:04:00,251 [run_init] DEBUG init version:0.0.0 force:False 00:04:00 2022-05-08 00:04:00,252 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 00:04:00 2022-05-08 00:04:00,252 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 00:04:00 2022-05-08 00:04:00,252 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168, universal_newlines=False, shell=None, istream=None) 00:04:01 2022-05-08 00:04:01,060 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.git/info/exclude 00:04:01 2022-05-08 00:04:01,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 with force:False 00:04:01 2022-05-08 00:04:01,061 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 00:04:01 2022-05-08 00:04:01,065 [execute] INFO git cat-file --batch-check 00:04:01 2022-05-08 00:04:01,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 00:04:01 2022-05-08 00:04:01,072 [execute] INFO git cat-file --batch 00:04:01 2022-05-08 00:04:01,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 00:04:01 2022-05-08 00:04:01,078 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 00:04:01 0.0.0 [Pipeline] } 00:04:01 $ docker exec --env ******** --env ******** 3b01cb283a98d40a27775d876ac1b6edb58e89fce3ebd36774b6d7264bfa05b0 ssh-agent -k 00:04:01 unset SSH_AUTH_SOCK; 00:04:01 unset SSH_AGENT_PID; 00:04:01 echo Agent pid 79 killed; 00:04:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:04:01 + git semver [Pipeline] } 00:04:02 $ docker stop --time=1 3b01cb283a98d40a27775d876ac1b6edb58e89fce3ebd36774b6d7264bfa05b0 00:04:03 $ docker rm -f 3b01cb283a98d40a27775d876ac1b6edb58e89fce3ebd36774b6d7264bfa05b0 [Pipeline] // withDockerContainer [Pipeline] sh 00:04:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:04:04 Stashed 1 file(s) [Pipeline] echo 00:04:04 [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 00:04:04 provisioning config files... 00:04:04 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config3274528378614459369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:05 ---> docker-login.sh 00:04:05 nexus3.edgexfoundry.org:10001 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:05 Configure a credential helper to remove this warning. See 00:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:05 00:04:05 Login Succeeded 00:04:05 nexus3.edgexfoundry.org:10002 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:05 Configure a credential helper to remove this warning. See 00:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:05 00:04:05 Login Succeeded 00:04:05 nexus3.edgexfoundry.org:10003 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:05 Configure a credential helper to remove this warning. See 00:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:05 00:04:05 Login Succeeded 00:04:05 nexus3.edgexfoundry.org:10004 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:05 Configure a credential helper to remove this warning. See 00:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:05 00:04:05 Login Succeeded 00:04:05 docker.io 00:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:05 Configure a credential helper to remove this warning. See 00:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:05 00:04:05 Login Succeeded 00:04:05 ---> docker-login.sh ends [Pipeline] } 00:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:04:06 ========================================================= 00:04:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:04:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:04:06 + 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 . 00:04:06 Sending build context to Docker daemon 5.326MB 00:04:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:04:06 Step 2/12 : FROM ${BASE} AS builder 00:04:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:04:06 59bf1c3509f3: Pulling fs layer 00:04:06 666ba61612fd: Pulling fs layer 00:04:06 8ed8ca486205: Pulling fs layer 00:04:06 4fe6c5a15a65: Pulling fs layer 00:04:06 22a0e8bec74d: Pulling fs layer 00:04:06 ca2b28591e48: Pulling fs layer 00:04:06 a51346096db8: Pulling fs layer 00:04:06 daebc70d1ce1: Pulling fs layer 00:04:06 0e18a0eac166: Pulling fs layer 00:04:06 22a0e8bec74d: Waiting 00:04:06 ca2b28591e48: Waiting 00:04:06 a51346096db8: Waiting 00:04:06 daebc70d1ce1: Waiting 00:04:06 0e18a0eac166: Waiting 00:04:06 4fe6c5a15a65: Waiting 00:04:06 8ed8ca486205: Verifying Checksum 00:04:06 8ed8ca486205: Download complete 00:04:06 666ba61612fd: Download complete 00:04:06 22a0e8bec74d: Verifying Checksum 00:04:06 22a0e8bec74d: Download complete 00:04:06 ca2b28591e48: Verifying Checksum 00:04:06 ca2b28591e48: Download complete 00:04:06 59bf1c3509f3: Verifying Checksum 00:04:06 59bf1c3509f3: Download complete 00:04:06 a51346096db8: Verifying Checksum 00:04:06 a51346096db8: Download complete 00:04:06 daebc70d1ce1: Verifying Checksum 00:04:06 daebc70d1ce1: Download complete 00:04:06 59bf1c3509f3: Pull complete 00:04:06 666ba61612fd: Pull complete 00:04:07 8ed8ca486205: Pull complete 00:04:07 0e18a0eac166: Verifying Checksum 00:04:07 0e18a0eac166: Download complete 00:04:07 4fe6c5a15a65: Verifying Checksum 00:04:07 4fe6c5a15a65: Download complete 00:04:11 4fe6c5a15a65: Pull complete 00:04:11 22a0e8bec74d: Pull complete 00:04:11 ca2b28591e48: Pull complete 00:04:11 a51346096db8: Pull complete 00:04:11 daebc70d1ce1: Pull complete 00:04:13 0e18a0eac166: Pull complete 00:04:13 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:04:13 ---> f018257e8ee9 00:04:13 Step 3/12 : ARG MAKE='make build' 00:04:15 ---> Running in 5b7ac0d112a6 00:04:15 Removing intermediate container 5b7ac0d112a6 00:04:15 ---> 1fb7208c3680 00:04:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:04:15 ---> Running in 94eb1caa3cf6 00:04:15 Removing intermediate container 94eb1caa3cf6 00:04:15 ---> 90392ad07643 00:04:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:04:15 ---> Running in 9dd2a1ba1db3 00:04:15 Removing intermediate container 9dd2a1ba1db3 00:04:15 ---> 05fe85cffb25 00:04:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:04:15 ---> Running in e6abd493b9c3 00:04:16 Removing intermediate container e6abd493b9c3 00:04:16 ---> 3447545011c7 00:04:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:04:16 ---> Running in 9494003fa6a9 00:04:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:04:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:04:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:04:17 (2/4) Installing libedit (20210910.3.1-r0) 00:04:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:04:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:04:17 Executing busybox-1.34.1-r3.trigger 00:04:17 OK: 224 MiB in 56 packages 00:04:18 Removing intermediate container 9494003fa6a9 00:04:18 ---> 40cb3d717e0f 00:04:18 Step 8/12 : WORKDIR /device-snmp-go 00:04:18 ---> Running in 7b5b71d010c6 00:04:18 Removing intermediate container 7b5b71d010c6 00:04:18 ---> 72740d27e33d 00:04:18 Step 9/12 : COPY go.mod vendor* ./ 00:04:18 ---> 8bf4ab1e4bc7 00:04:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:18 ---> Running in 152e53a49cf4 00:04:19 Still waiting to schedule task 00:04:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:04:33 Removing intermediate container 152e53a49cf4 00:04:33 ---> ee11ff37fc93 00:04:33 Step 11/12 : COPY . . 00:04:33 ---> f617ddef1e57 00:04:33 Step 12/12 : RUN ${MAKE} 00:04:33 ---> Running in d9c9487bdb61 00:04:33 noop 00:04:33 Removing intermediate container d9c9487bdb61 00:04:33 ---> da507b24a453 00:04:33 Successfully built da507b24a453 00:04:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:04:34 + docker inspect -f . ci-base-image-x86_64 00:04:34 . [Pipeline] withDockerContainer 00:04:34 prd-ubuntu20.04-docker-8c-8g-41420 does not seem to be running inside a container 00:04:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:04:34 $ docker top 76d4a72c899dd42befe2242766d1cf7231222606cce85a3799b389efc1bd96fa -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:35 + go version 00:04:35 go version go1.17.6 linux/amd64 [Pipeline] } 00:04:35 $ docker stop --time=1 76d4a72c899dd42befe2242766d1cf7231222606cce85a3799b389efc1bd96fa 00:04:36 $ docker rm -f 76d4a72c899dd42befe2242766d1cf7231222606cce85a3799b389efc1bd96fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:04:37 + docker inspect -f . ci-base-image-x86_64 00:04:37 . [Pipeline] withDockerContainer 00:04:37 prd-ubuntu20.04-docker-8c-8g-41420 does not seem to be running inside a container 00:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:04:37 $ docker top 799499884eaa3e2930783f31581251b272a96ca96763d7cbb4155be0d59c3f26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:04:38 + make test 00:04:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:04:38 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:04:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:04:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.016s coverage: 0.0% of statements 00:04:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:04:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:04:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:04:58 ./bin/test-attribution-txt.sh [Pipeline] echo 00:04:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:04:58 $ docker stop --time=1 799499884eaa3e2930783f31581251b272a96ca96763d7cbb4155be0d59c3f26 00:05:00 $ docker rm -f 799499884eaa3e2930783f31581251b272a96ca96763d7cbb4155be0d59c3f26 [Pipeline] // withDockerContainer [Pipeline] sh 00:05:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:05:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:05:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:05:02 + ls -al . 00:05:02 total 168 00:05:02 drwxrwxr-x 9 jenkins jenkins 4096 May 8 00:04 . 00:05:02 drwxrwxr-x 4 jenkins jenkins 4096 May 8 00:03 .. 00:05:02 -rw-rw-r-- 1 jenkins jenkins 6 May 8 00:03 .dockerignore 00:05:02 drwxrwxr-x 8 jenkins jenkins 4096 May 8 00:04 .git 00:05:02 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:03 .github 00:05:02 -rw-rw-r-- 1 jenkins jenkins 328 May 8 00:03 .gitignore 00:05:02 -rw-rw-r-- 1 jenkins jenkins 41 May 8 00:03 .golangci.yml 00:05:02 drwxr-xr-x 3 jenkins jenkins 4096 May 8 00:04 .semver 00:05:02 -rw-rw-r-- 1 jenkins jenkins 8296 May 8 00:03 Attribution.txt 00:05:02 -rw-rw-r-- 1 jenkins jenkins 5532 May 8 00:03 CHANGELOG.md 00:05:02 -rw-rw-r-- 1 jenkins jenkins 1516 May 8 00:03 Dockerfile 00:05:02 -rw-rw-r-- 1 jenkins jenkins 677 May 8 00:03 GOVERNANCE.md 00:05:02 -rw-rw-r-- 1 jenkins jenkins 656 May 8 00:03 Jenkinsfile 00:05:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 00:03 LICENSE 00:05:02 -rw-rw-r-- 1 jenkins jenkins 1938 May 8 00:03 Makefile 00:05:02 -rw-rw-r-- 1 jenkins jenkins 620 May 8 00:03 OWNERS.md 00:05:02 -rw-rw-r-- 1 jenkins jenkins 9390 May 8 00:03 README.md 00:05:02 -rw-rw-r-- 1 jenkins jenkins 5 May 8 00:04 VERSION 00:05:02 drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:03 bin 00:05:02 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:03 cmd 00:05:02 -rw-r--r-- 1 jenkins jenkins 7631 May 8 00:04 coverage.out 00:05:02 -rw-rw-r-- 1 jenkins jenkins 3296 May 8 00:03 go.mod 00:05:02 -rw-rw-r-- 1 jenkins jenkins 35911 May 8 00:03 go.sum 00:05:02 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:03 internal 00:05:02 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:03 snap 00:05:02 -rw-rw-r-- 1 jenkins jenkins 209 May 8 00:03 version.go [Pipeline] isUnix [Pipeline] sh 00:05:02 + 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=c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca --label arch=amd64 --label version=0.0.0 . 00:05:02 Sending build context to Docker daemon 5.335MB 00:05:02 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:05:02 Step 2/24 : FROM ${BASE} AS builder 00:05:02 ---> da507b24a453 00:05:02 Step 3/24 : ARG MAKE='make build' 00:05:02 ---> Running in 987f7e20d385 00:05:02 Removing intermediate container 987f7e20d385 00:05:02 ---> 4b8e7ca9c3e8 00:05:02 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:05:02 ---> Running in a0fb9fbbdee7 00:05:02 Removing intermediate container a0fb9fbbdee7 00:05:02 ---> 65d516a2448c 00:05:02 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:05:02 ---> Running in 285a74957a9a 00:05:03 Removing intermediate container 285a74957a9a 00:05:03 ---> 5a2dd1a4ba42 00:05:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:05:03 ---> Running in 13bd92b0fcfc 00:05:03 Removing intermediate container 13bd92b0fcfc 00:05:03 ---> 4ce1cffff768 00:05:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:05:03 ---> Running in 38f2a26a6923 00:05:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:05:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:05:05 OK: 224 MiB in 56 packages 00:05:05 Removing intermediate container 38f2a26a6923 00:05:05 ---> 3bdab4fa9d60 00:05:05 Step 8/24 : WORKDIR /device-snmp-go 00:05:05 ---> Running in 88e24e7b2902 00:05:05 Removing intermediate container 88e24e7b2902 00:05:05 ---> 29a5e7c8533c 00:05:05 Step 9/24 : COPY go.mod vendor* ./ 00:05:05 ---> 39c0b1709c15 00:05:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:05:05 ---> Running in 9706ba36ced6 00:05:06 Removing intermediate container 9706ba36ced6 00:05:06 ---> a3b3b9ccfaea 00:05:06 Step 11/24 : COPY . . 00:05:06 ---> 73a16ec290cb 00:05:06 Step 12/24 : RUN ${MAKE} 00:05:06 ---> Running in 1fa73c06154d 00:05:06 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 00:05:28 Removing intermediate container 1fa73c06154d 00:05:28 ---> aa5afddc9ce7 00:05:28 Step 13/24 : FROM alpine:3.14 00:05:28 3.14: Pulling from library/alpine 00:05:28 8663204ce13b: Pulling fs layer 00:05:28 8663204ce13b: Verifying Checksum 00:05:28 8663204ce13b: Download complete 00:05:28 8663204ce13b: Pull complete 00:05:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:05:28 Status: Downloaded newer image for alpine:3.14 00:05:28 ---> e04c818066af 00:05:28 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:05:28 ---> Running in 67f0c2527d39 00:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:05:28 (1/6) Installing dumb-init (1.2.5-r1) 00:05:28 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:05:28 (3/6) Installing libsodium (1.0.18-r0) 00:05:28 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:05:28 (5/6) Installing libzmq (4.3.4-r0) 00:05:28 (6/6) Installing zeromq (4.3.4-r0) 00:05:28 Executing busybox-1.33.1-r7.trigger 00:05:28 OK: 8 MiB in 20 packages 00:05:28 Removing intermediate container 67f0c2527d39 00:05:28 ---> a1c6c4777f85 00:05:28 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:05:29 ---> 354b586f76d3 00:05:29 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:05:29 ---> 118877b9293f 00:05:29 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:05:29 ---> c07d38ec5cea 00:05:29 Step 18/24 : EXPOSE 59993 00:05:29 ---> Running in 9a380f629676 00:05:29 Removing intermediate container 9a380f629676 00:05:29 ---> 79048dfebf17 00:05:29 Step 19/24 : EXPOSE 161 00:05:29 ---> Running in 4fe650bc0eaf 00:05:30 Removing intermediate container 4fe650bc0eaf 00:05:30 ---> 3bb1e006546f 00:05:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:05:30 ---> Running in ecf2aa64d7b1 00:05:30 Removing intermediate container ecf2aa64d7b1 00:05:30 ---> 62c4ca16f99e 00:05:30 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:05:30 ---> Running in c2b5807f5646 00:05:30 Removing intermediate container c2b5807f5646 00:05:30 ---> ebb2d8d3b6d2 00:05:30 Step 22/24 : LABEL arch=amd64 00:05:30 ---> Running in e01e4aa0e765 00:05:30 Removing intermediate container e01e4aa0e765 00:05:30 ---> 0ed900d41b84 00:05:30 Step 23/24 : LABEL git_sha=c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca 00:05:30 ---> Running in 4ade4072cc91 00:05:30 Removing intermediate container 4ade4072cc91 00:05:30 ---> df43db15729b 00:05:30 Step 24/24 : LABEL version=0.0.0 00:05:30 ---> Running in 7b1ae3332786 00:05:30 Removing intermediate container 7b1ae3332786 00:05:30 ---> f3dbbe81aa22 00:05:30 [Warning] One or more build-args [ARCH] were not consumed 00:05:30 Successfully built f3dbbe81aa22 00:05:30 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 00:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:31 00:05:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:05:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:31 latest: Pulling from edgex-lftools-log-publisher 00:05:31 5eb5b503b376: Pulling fs layer 00:05:31 5c69ac0246d0: Pulling fs layer 00:05:31 ec43610c2a17: Pulling fs layer 00:05:31 3a2ae6a8a46f: Pulling fs layer 00:05:31 33b1e0a273af: Pulling fs layer 00:05:31 5d3b04190fa2: Pulling fs layer 00:05:31 2f39f015ded8: Pulling fs layer 00:05:31 33b1e0a273af: Waiting 00:05:31 3a2ae6a8a46f: Waiting 00:05:31 5d3b04190fa2: Waiting 00:05:31 5c69ac0246d0: Download complete 00:05:31 3a2ae6a8a46f: Verifying Checksum 00:05:31 3a2ae6a8a46f: Download complete 00:05:31 33b1e0a273af: Verifying Checksum 00:05:31 33b1e0a273af: Download complete 00:05:31 5d3b04190fa2: Verifying Checksum 00:05:31 5d3b04190fa2: Download complete 00:05:32 ec43610c2a17: Verifying Checksum 00:05:32 ec43610c2a17: Download complete 00:05:32 5eb5b503b376: Verifying Checksum 00:05:32 5eb5b503b376: Download complete 00:05:32 2f39f015ded8: Download complete 00:05:33 5eb5b503b376: Pull complete 00:05:33 5c69ac0246d0: Pull complete 00:05:34 ec43610c2a17: Pull complete 00:05:34 3a2ae6a8a46f: Pull complete 00:05:34 33b1e0a273af: Pull complete 00:05:34 5d3b04190fa2: Pull complete 00:05:38 2f39f015ded8: Pull complete 00:05:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:05:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:05:38 prd-ubuntu20.04-docker-8c-8g-41420 does not seem to be running inside a container 00:05:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:05:40 $ docker top ebd03a7df06b8e70dcd60a9e04b3b1bd9e774cdeccc4a796d9a4535114b0f78a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:41 ---> job-cost.sh 00:05:41 lf-activate-venv: SKIPPING 00:05:41 INFO: No Stack... 00:05:41 INFO: Retrieving Pricing Info for: v3-standard-8 00:05:42 INFO: Archiving Costs [Pipeline] sh 00:05:42 + cat /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/cost.csv 00:05:42 + cut -d, -f6 [Pipeline] lock 00:05:42 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-1-stack-cost] 00:05:42 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-1-stack-cost] did not exist. Created. 00:05:42 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:05:42 + echo total: 0.2199999988079071 [Pipeline] stash 00:05:42 Stashed 1 file(s) [Pipeline] } 00:05:42 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:05:43 $ docker stop --time=1 ebd03a7df06b8e70dcd60a9e04b3b1bd9e774cdeccc4a796d9a4535114b0f78a 00:05:44 $ docker rm -f ebd03a7df06b8e70dcd60a9e04b3b1bd9e774cdeccc4a796d9a4535114b0f78a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:06:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41423 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [Pipeline] { [Pipeline] ws 00:06:02 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 00:06:03 Selected Git installation does not exist. Using Default 00:06:03 The recommended git tool is: NONE 00:06:08 using credential edgex-jenkins-ssh 00:06:08 Cloning the remote Git repository 00:06:08 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:06:08 > git init /w/workspace/device-snmp-go/1 # timeout=10 00:06:09 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:06:09 > git --version # timeout=10 00:06:09 > git --version # 'git version 2.25.1' 00:06:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:06:10 Merging remotes/origin/main commit 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 into PR head commit c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca 00:06:10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:06:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:06:10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:06:10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:06:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:06:11 Merge succeeded, producing c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca 00:06:11 Checking out Revision c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca (PR-168) 00:06:10 > git config core.sparsecheckout # timeout=10 00:06:10 > git checkout -f c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca # timeout=10 00:06:10 > git remote # timeout=10 00:06:10 > git config --get remote.origin.url # timeout=10 00:06:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:10 > git merge 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 00:06:11 > git rev-parse HEAD^{commit} # timeout=10 00:06:11 > git config core.sparsecheckout # timeout=10 00:06:11 > git checkout -f c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca # timeout=10 00:06:15 Commit message: "docs: update CHANGELOG for Kamakura" 00:06:15 > git --version # timeout=10 00:06:15 > git --version # 'git version 2.25.1' 00:06:15 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:06:16 % Total % Received % Xferd Average Speed Time Time Time Current 00:06:16 Dload Upload Total Spent Left Speed 00:06:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 00:06:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:06:17 + sudo tee /etc/docker/daemon.new 00:06:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:06:17 { 00:06:17 "registry-mirrors": [ 00:06:17 "https://nexus3.edgexfoundry.org:10001" 00:06:17 ], 00:06:17 "bip": "10.250.0.254/24", 00:06:17 "hosts": [ 00:06:17 "tcp://0.0.0.0:5555", 00:06:17 "unix:///var/run/docker.sock" 00:06:17 ], 00:06:17 "mtu": 1458, 00:06:17 "selinux-enabled": true, 00:06:17 "seccomp-profile": "/etc/docker/seccomp.json" 00:06:17 } [Pipeline] sh 00:06:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:06:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:36 provisioning config files... 00:06:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2826510614062746765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:37 ---> docker-login.sh 00:06:37 nexus3.edgexfoundry.org:10001 00:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:38 Configure a credential helper to remove this warning. See 00:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:38 00:06:38 Login Succeeded 00:06:38 nexus3.edgexfoundry.org:10002 00:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:38 Configure a credential helper to remove this warning. See 00:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:38 00:06:38 Login Succeeded 00:06:38 nexus3.edgexfoundry.org:10003 00:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:39 Configure a credential helper to remove this warning. See 00:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:39 00:06:39 Login Succeeded 00:06:39 nexus3.edgexfoundry.org:10004 00:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:39 Configure a credential helper to remove this warning. See 00:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:39 00:06:39 Login Succeeded 00:06:39 docker.io 00:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:40 Configure a credential helper to remove this warning. See 00:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:40 00:06:40 Login Succeeded 00:06:40 ---> docker-login.sh ends [Pipeline] } 00:06:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:06:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:40 ========================================================= 00:06:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:06:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:06:41 + 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 . 00:06:41 Sending build context to Docker daemon 2.753MB 00:06:41 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:06:41 Step 2/12 : FROM ${BASE} AS builder 00:06:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:06:41 9b3977197b4f: Pulling fs layer 00:06:41 1a89e8eeedd5: Pulling fs layer 00:06:41 94645a83ff95: Pulling fs layer 00:06:41 3f3a8bcf1eab: Pulling fs layer 00:06:41 0c92f367c5e7: Pulling fs layer 00:06:41 3096ccb668a1: Pulling fs layer 00:06:41 e8cf19c19ddd: Pulling fs layer 00:06:41 a4caa8a26152: Pulling fs layer 00:06:41 3096ccb668a1: Waiting 00:06:41 3f3a8bcf1eab: Waiting 00:06:41 0c92f367c5e7: Waiting 00:06:41 e8cf19c19ddd: Waiting 00:06:41 a4caa8a26152: Waiting 00:06:41 94645a83ff95: Verifying Checksum 00:06:41 94645a83ff95: Download complete 00:06:41 1a89e8eeedd5: Verifying Checksum 00:06:41 1a89e8eeedd5: Download complete 00:06:41 0c92f367c5e7: Verifying Checksum 00:06:41 0c92f367c5e7: Download complete 00:06:41 3096ccb668a1: Verifying Checksum 00:06:41 3096ccb668a1: Download complete 00:06:41 9b3977197b4f: Verifying Checksum 00:06:41 9b3977197b4f: Download complete 00:06:41 e8cf19c19ddd: Download complete 00:06:42 9b3977197b4f: Pull complete 00:06:43 1a89e8eeedd5: Pull complete 00:06:43 94645a83ff95: Pull complete 00:06:43 a4caa8a26152: Verifying Checksum 00:06:43 a4caa8a26152: Download complete 00:06:44 3f3a8bcf1eab: Verifying Checksum 00:06:44 3f3a8bcf1eab: Download complete 00:06:56 3f3a8bcf1eab: Pull complete 00:06:56 0c92f367c5e7: Pull complete 00:06:56 3096ccb668a1: Pull complete 00:06:57 e8cf19c19ddd: Pull complete 00:07:03 a4caa8a26152: Pull complete 00:07:03 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:07:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:07:03 ---> 725f1c02e7f9 00:07:03 Step 3/12 : ARG MAKE='make build' 00:07:04 ---> Running in c0d320908fd3 00:07:04 Removing intermediate container c0d320908fd3 00:07:04 ---> 59750ca97e99 00:07:04 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:07:04 ---> Running in 623ad3d84580 00:07:05 Removing intermediate container 623ad3d84580 00:07:05 ---> 9cfec38226f3 00:07:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:07:05 ---> Running in 619aa219b4ee 00:07:05 Removing intermediate container 619aa219b4ee 00:07:05 ---> 098eb8470f73 00:07:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:05 ---> Running in 5b791d144c8e 00:07:08 Removing intermediate container 5b791d144c8e 00:07:08 ---> 85c0efccb9a1 00:07:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:08 ---> Running in 9f58e9fb4252 00:07:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:07:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:07:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:07:10 (2/4) Installing libedit (20210910.3.1-r0) 00:07:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:07:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:07:11 Executing busybox-1.34.1-r3.trigger 00:07:11 OK: 224 MiB in 56 packages 00:07:12 Removing intermediate container 9f58e9fb4252 00:07:12 ---> ce66c6b154a5 00:07:12 Step 8/12 : WORKDIR /device-snmp-go 00:07:12 ---> Running in 0ce4a0d9acae 00:07:12 Removing intermediate container 0ce4a0d9acae 00:07:12 ---> 4963fb020d28 00:07:12 Step 9/12 : COPY go.mod vendor* ./ 00:07:12 ---> a2a5d2be66a4 00:07:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:12 ---> Running in 7433c1d0bf65 00:08:00 Removing intermediate container 7433c1d0bf65 00:08:00 ---> ad671eaa0880 00:08:00 Step 11/12 : COPY . . 00:08:00 ---> 66e49310a96e 00:08:00 Step 12/12 : RUN ${MAKE} 00:08:00 ---> Running in c1ea642b0881 00:08:00 noop 00:08:00 Removing intermediate container c1ea642b0881 00:08:00 ---> e1afbaec5786 00:08:00 Successfully built e1afbaec5786 00:08:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:08:00 + docker inspect -f . ci-base-image-arm64 00:08:00 . [Pipeline] withDockerContainer 00:08:00 prd-ubuntu20.04-docker-arm64-4c-16g-41423 does not seem to be running inside a container 00:08:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:01 $ docker top ba3a9077c9b465d0b4e7934e0a54607d953eb7850e21094137e60142880d2771 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:02 + go version 00:08:02 go version go1.17.6 linux/arm64 [Pipeline] } 00:08:02 $ docker stop --time=1 ba3a9077c9b465d0b4e7934e0a54607d953eb7850e21094137e60142880d2771 00:08:04 $ docker rm -f ba3a9077c9b465d0b4e7934e0a54607d953eb7850e21094137e60142880d2771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:05 + docker inspect -f . ci-base-image-arm64 00:08:05 . [Pipeline] withDockerContainer 00:08:05 prd-ubuntu20.04-docker-arm64-4c-16g-41423 does not seem to be running inside a container 00:08:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:07 $ docker top 2979df71242f6bd45785a5f946b8a42fde9d1e933cc9ceb5682a7e827350495c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:08:08 + make test 00:08:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:08:09 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:09:31 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:09:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 00:09:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:09:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:09:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:09:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:09:49 ./bin/test-attribution-txt.sh [Pipeline] echo 00:09:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:09:52 $ docker stop --time=1 2979df71242f6bd45785a5f946b8a42fde9d1e933cc9ceb5682a7e827350495c 00:09:54 $ docker rm -f 2979df71242f6bd45785a5f946b8a42fde9d1e933cc9ceb5682a7e827350495c [Pipeline] // withDockerContainer [Pipeline] sh 00:09:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:09:55 Warning: overwriting stash ‘coverage-report’ 00:09:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:09:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:09:56 + ls -al . 00:09:56 total 164 00:09:56 drwxrwxr-x 8 jenkins jenkins 4096 May 8 00:09 . 00:09:56 drwxrwxr-x 4 jenkins jenkins 4096 May 8 00:06 .. 00:09:56 -rw-rw-r-- 1 jenkins jenkins 6 May 8 00:06 .dockerignore 00:09:56 drwxrwxr-x 8 jenkins jenkins 4096 May 8 00:06 .git 00:09:56 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:06 .github 00:09:56 -rw-rw-r-- 1 jenkins jenkins 328 May 8 00:06 .gitignore 00:09:56 -rw-rw-r-- 1 jenkins jenkins 41 May 8 00:06 .golangci.yml 00:09:56 -rw-rw-r-- 1 jenkins jenkins 8296 May 8 00:06 Attribution.txt 00:09:56 -rw-rw-r-- 1 jenkins jenkins 5532 May 8 00:06 CHANGELOG.md 00:09:56 -rw-rw-r-- 1 jenkins jenkins 1516 May 8 00:06 Dockerfile 00:09:56 -rw-rw-r-- 1 jenkins jenkins 677 May 8 00:06 GOVERNANCE.md 00:09:56 -rw-rw-r-- 1 jenkins jenkins 656 May 8 00:06 Jenkinsfile 00:09:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 00:06 LICENSE 00:09:56 -rw-rw-r-- 1 jenkins jenkins 1938 May 8 00:06 Makefile 00:09:56 -rw-rw-r-- 1 jenkins jenkins 620 May 8 00:06 OWNERS.md 00:09:56 -rw-rw-r-- 1 jenkins jenkins 9390 May 8 00:06 README.md 00:09:56 -rw-rw-r-- 1 jenkins jenkins 5 May 8 00:04 VERSION 00:09:56 drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:06 bin 00:09:56 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:06 cmd 00:09:56 -rw-r--r-- 1 jenkins jenkins 7631 May 8 00:09 coverage.out 00:09:56 -rw-rw-r-- 1 jenkins jenkins 3296 May 8 00:06 go.mod 00:09:56 -rw-rw-r-- 1 jenkins jenkins 35911 May 8 00:06 go.sum 00:09:56 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:06 internal 00:09:56 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:06 snap 00:09:56 -rw-rw-r-- 1 jenkins jenkins 209 May 8 00:06 version.go [Pipeline] isUnix [Pipeline] sh 00:09:57 + 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=c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca --label arch=arm64 --label version=0.0.0 . 00:09:57 Sending build context to Docker daemon 2.761MB 00:09:57 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:09:57 Step 2/24 : FROM ${BASE} AS builder 00:09:57 ---> e1afbaec5786 00:09:57 Step 3/24 : ARG MAKE='make build' 00:09:57 ---> Running in 2270a436220a 00:09:58 Removing intermediate container 2270a436220a 00:09:58 ---> 52642b73c3ad 00:09:58 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:09:58 ---> Running in 4b2edb875d55 00:09:58 Removing intermediate container 4b2edb875d55 00:09:58 ---> 7cae90c0ec9a 00:09:58 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:09:58 ---> Running in 227b33029477 00:09:58 Removing intermediate container 227b33029477 00:09:58 ---> 44d7e2e49af0 00:09:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:09:58 ---> Running in 8d6e3c15a684 00:10:00 Removing intermediate container 8d6e3c15a684 00:10:00 ---> 156eeac1f58f 00:10:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:10:00 ---> Running in 03462616dc28 00:10:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:10:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:10:03 OK: 224 MiB in 56 packages 00:10:03 Removing intermediate container 03462616dc28 00:10:03 ---> afcf2cce314d 00:10:03 Step 8/24 : WORKDIR /device-snmp-go 00:10:04 ---> Running in 0d3d15bf7023 00:10:04 Removing intermediate container 0d3d15bf7023 00:10:04 ---> 5cf903e768f6 00:10:04 Step 9/24 : COPY go.mod vendor* ./ 00:10:05 ---> 9bdb8118bf3f 00:10:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:05 ---> Running in 0d3389bf9997 00:10:07 Removing intermediate container 0d3389bf9997 00:10:07 ---> 3ef2f23fc170 00:10:07 Step 11/24 : COPY . . 00:10:07 ---> 0bc8b0a73369 00:10:07 Step 12/24 : RUN ${MAKE} 00:10:07 ---> Running in 2c985557480f 00:10:08 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 00:12:15 Removing intermediate container 2c985557480f 00:12:15 ---> 16a12a50bee1 00:12:15 Step 13/24 : FROM alpine:3.14 00:12:15 3.14: Pulling from library/alpine 00:12:15 455c02918c45: Pulling fs layer 00:12:15 455c02918c45: Verifying Checksum 00:12:15 455c02918c45: Download complete 00:12:15 455c02918c45: Pull complete 00:12:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:12:15 Status: Downloaded newer image for alpine:3.14 00:12:15 ---> ac73e934f311 00:12:15 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:12:15 ---> Running in cbc6b0f63e04 00:12:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:12:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:12:15 (1/6) Installing dumb-init (1.2.5-r1) 00:12:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:12:15 (3/6) Installing libsodium (1.0.18-r0) 00:12:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:12:15 (5/6) Installing libzmq (4.3.4-r0) 00:12:15 (6/6) Installing zeromq (4.3.4-r0) 00:12:15 Executing busybox-1.33.1-r7.trigger 00:12:15 OK: 8 MiB in 20 packages 00:12:15 Removing intermediate container cbc6b0f63e04 00:12:15 ---> 2e68cfdb2326 00:12:15 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:12:15 ---> 812c6b15d341 00:12:15 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:12:15 ---> 216ac7dfa66c 00:12:15 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:12:15 ---> 59b60c0fb1a2 00:12:15 Step 18/24 : EXPOSE 59993 00:12:15 ---> Running in d44c0574e418 00:12:15 Removing intermediate container d44c0574e418 00:12:15 ---> ba25b0be335f 00:12:15 Step 19/24 : EXPOSE 161 00:12:15 ---> Running in 3f609625d8a8 00:12:15 Removing intermediate container 3f609625d8a8 00:12:15 ---> 3c907c2e8f06 00:12:15 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:12:15 ---> Running in 69337fca9318 00:12:15 Removing intermediate container 69337fca9318 00:12:15 ---> 14cbd98bc417 00:12:15 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:12:15 ---> Running in 7f8764cedf5a 00:12:15 Removing intermediate container 7f8764cedf5a 00:12:15 ---> 183ad8178a49 00:12:15 Step 22/24 : LABEL arch=arm64 00:12:15 ---> Running in 03bee150ad8e 00:12:15 Removing intermediate container 03bee150ad8e 00:12:15 ---> 68eb5928d55e 00:12:15 Step 23/24 : LABEL git_sha=c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca 00:12:15 ---> Running in 5cc01b15ec35 00:12:15 Removing intermediate container 5cc01b15ec35 00:12:15 ---> 4cf00e09505a 00:12:15 Step 24/24 : LABEL version=0.0.0 00:12:15 ---> Running in fc96a961a72c 00:12:16 Removing intermediate container fc96a961a72c 00:12:16 ---> 94d90d8a5445 00:12:16 [Warning] One or more build-args [ARCH] were not consumed 00:12:16 Successfully built 94d90d8a5445 00:12:16 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 00:12:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:16 00:12:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:17 arm64: Pulling from edgex-lftools-log-publisher 00:12:17 8998bd30e6a1: Pulling fs layer 00:12:17 04944245beec: Pulling fs layer 00:12:17 699f458cf7ca: Pulling fs layer 00:12:17 765212b225bb: Pulling fs layer 00:12:17 f23df028b6ca: Pulling fs layer 00:12:17 d65c8cfc05b1: Pulling fs layer 00:12:17 2437ff75d9bd: Pulling fs layer 00:12:17 f23df028b6ca: Waiting 00:12:17 d65c8cfc05b1: Waiting 00:12:17 2437ff75d9bd: Waiting 00:12:17 765212b225bb: Waiting 00:12:17 04944245beec: Verifying Checksum 00:12:17 04944245beec: Download complete 00:12:17 765212b225bb: Verifying Checksum 00:12:17 765212b225bb: Download complete 00:12:17 f23df028b6ca: Download complete 00:12:17 d65c8cfc05b1: Verifying Checksum 00:12:17 d65c8cfc05b1: Download complete 00:12:17 699f458cf7ca: Verifying Checksum 00:12:17 699f458cf7ca: Download complete 00:12:18 8998bd30e6a1: Verifying Checksum 00:12:18 8998bd30e6a1: Download complete 00:12:20 2437ff75d9bd: Verifying Checksum 00:12:20 2437ff75d9bd: Download complete 00:12:22 8998bd30e6a1: Pull complete 00:12:22 04944245beec: Pull complete 00:12:24 699f458cf7ca: Pull complete 00:12:24 765212b225bb: Pull complete 00:12:25 f23df028b6ca: Pull complete 00:12:25 d65c8cfc05b1: Pull complete 00:12:40 2437ff75d9bd: Pull complete 00:12:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:12:40 prd-ubuntu20.04-docker-arm64-4c-16g-41423 does not seem to be running inside a container 00:12:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:12:43 $ docker top ea65a3cf2e9d857f00419f294479333f3139cca4043a366aad7a4a8499f0bc66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:44 ---> job-cost.sh 00:12:44 lf-activate-venv: SKIPPING 00:12:44 INFO: No Stack... 00:12:45 INFO: Retrieving Pricing Info for: v3-standard-4 00:12:46 INFO: Archiving Costs [Pipeline] sh 00:12:46 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 00:12:46 + cut -d, -f6 [Pipeline] lock 00:12:46 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-1-stack-cost] 00:12:46 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-1-stack-cost] did not exist. Created. 00:12:46 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:47 /w/workspace/device-snmp-go/1@tmp/durable-742524aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:12:48 + echo total: 0.10999999940395355 [Pipeline] stash 00:12:48 Warning: overwriting stash ‘stack-cost’ 00:12:48 Stashed 1 file(s) [Pipeline] } 00:12:48 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:12:48 $ docker stop --time=1 ea65a3cf2e9d857f00419f294479333f3139cca4043a366aad7a4a8499f0bc66 00:12:50 $ docker rm -f ea65a3cf2e9d857f00419f294479333f3139cca4043a366aad7a4a8499f0bc66 [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 00:12:51 provisioning config files... 00:12:51 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config1818267435783435820tmp [Pipeline] { [Pipeline] sh 00:12:51 + set +x 00:12:51 + curl -s https://codecov.io/bash 00:12:51 + bash -s -- 00:12:51 00:12:51 _____ _ 00:12:51 / ____| | | 00:12:51 | | ___ __| | ___ ___ _____ __ 00:12:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:12:51 | |___| (_) | (_| | __/ (_| (_) \ V / 00:12:51 \_____\___/ \__,_|\___|\___\___/ \_/ 00:12:51 Bash-1.0.6 00:12:51 00:12:51 00:12:51 ==> git version 2.25.1 found 00:12:51 ==> 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 00:12:51 Release-Date: 2020-01-08 00:12:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:12:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:12:51 ==> Jenkins CI detected. 00:12:51 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-168 00:12:51 project root: . 00:12:51 --> token set from env 00:12:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:12:51 ==> Running gcov in . (disable via -X gcov) 00:12:51 ==> Python coveragepy not found 00:12:51 ==> Searching for coverage reports in: 00:12:51 + . 00:12:51 -> Found 1 reports 00:12:51 ==> Detecting git/mercurial file structure 00:12:51 ==> Reading reports 00:12:51 + ./coverage.out bytes=7631 00:12:51 ==> Appending adjustments 00:12:51 https://docs.codecov.io/docs/fixing-reports 00:12:51 + Found adjustments 00:12:51 ==> Gzipping contents 00:12:51 4.0K /tmp/codecov.G8SPHQ.gz 00:12:51 ==> Uploading reports 00:12:51 url: https://codecov.io 00:12:51 query: branch=PR-168&commit=c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 00:12:51 -> Pinging Codecov 00:12:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-168&commit=c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 00:12:52 -> Uploading to 00:12:52 https://storage.googleapis.com/codecov/v4/raw/2022-05-08/6C56EA5C29638FB4528AC87E60AF5AE0/c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca/40eeab32-288f-4a4a-b573-f1b7c17f9074.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220508T001251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f11b473be84a8ac4386076965ee644bf02a9d601add3ef7fe52983ce24f1f03f 00:12:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:12:52 Dload Upload Total Spent Left Speed 00:12:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6702 --:--:-- --:--:-- --:--:-- 6702 00:12:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c21542ab65b92aa1fa5a7b44d3ea00085a4a60ca [Pipeline] } 00:12:52 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 00:12:54 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-168/archives ] 00:12:54 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:12:54 total 16 00:12:54 drwxr-xr-x 3 root root 4096 May 8 00:05 . 00:12:54 drwxrwxr-x 10 jenkins jenkins 4096 May 8 00:05 .. 00:12:54 drwxr-xr-x 2 root root 4096 May 8 00:05 cost 00:12:54 -rw-r--r-- 1 root root 85 May 8 00:05 cost.csv 00:12:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:12:54 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:12:54 total 16 00:12:54 drwxr-xr-x 3 jenkins jenkins 4096 May 8 00:05 . 00:12:54 drwxrwxr-x 10 jenkins jenkins 4096 May 8 00:05 .. 00:12:54 drwxr-xr-x 2 jenkins jenkins 4096 May 8 00:05 cost 00:12:54 -rw-r--r-- 1 jenkins jenkins 85 May 8 00:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:12:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:12:55 ---> package-listing.sh 00:12:55 ++ facter osfamily 00:12:55 ++ tr '[:upper:]' '[:lower:]' 00:12:55 + OS_FAMILY=debian 00:12:55 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-168 00:12:55 + START_PACKAGES=/tmp/packages_start.txt 00:12:55 + END_PACKAGES=/tmp/packages_end.txt 00:12:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:12:55 + PACKAGES=/tmp/packages_start.txt 00:12:55 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 00:12:55 + PACKAGES=/tmp/packages_end.txt 00:12:55 + case "${OS_FAMILY}" in 00:12:55 + dpkg -l 00:12:55 + grep '^ii' 00:12:55 + '[' -f /tmp/packages_start.txt ']' 00:12:55 + '[' -f /tmp/packages_end.txt ']' 00:12:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:12:55 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 00:12:55 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ 00:12:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ [Pipeline] echo 00:12:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:12:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:12:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:56 . [Pipeline] withDockerContainer 00:12:56 prd-ubuntu20.04-docker-8c-8g-41420 does not seem to be running inside a container 00:12:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:12:56 $ docker top ec278d776bed0443ba2da44ce4d42026e2d19edbd8c6e95d2f78312333eb4770 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:57 + touch /tmp/pre-build-complete [Pipeline] sh 00:12:57 + mkdir -p /var/log/sysstat [Pipeline] sh 00:12:57 + ls /var/log/sa-host 00:12:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:58 provisioning config files... 00:12:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config156795084940736023tmp [Pipeline] { [Pipeline] echo 00:12:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:12:58 ---> create-netrc.sh [Pipeline] } 00:12:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:12:58 ---> python-tools-install.sh [Pipeline] echo 00:12:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:12:59 ---> sudo-logs.sh 00:12:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:12:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:12:59 ---> job-cost.sh 00:12:59 lf-activate-venv: SKIPPING 00:12:59 DEBUG: total: 0.2199999988079071 00:12:59 INFO: Retrieving Stack Cost... 00:12:59 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:00 INFO: Archiving Costs [Pipeline] echo 00:13:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:00 ---> logs-deploy.sh 00:13:00 lf-activate-venv: SKIPPING 00:13:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-168/1 00:13:00 INFO: archiving workspace using pattern(s): 00:13:01 Archives upload complete. 00:13:01 INFO: archiving logs to Nexus