Pull request #173 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e+7a984207ad216ad191b3ac0372c82a64ff54e9ba (81f70792e88fe458f7bd2f1e290aecd973466a23) 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-ssh10111459397172640662.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18285432616621915098.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh 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-173/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-173/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14002247068089713441.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-173/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4036316317995619161.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh3233195152250027375.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-173/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-173/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1184901531108876731.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-64431 in /w/workspace/gexfoundry_device-snmp-go_PR-173 [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-173 # 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 7a984207ad216ad191b3ac0372c82a64ff54e9ba into PR head commit 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e Merge succeeded, producing 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e Checking out Revision 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e (PR-173) > 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/173/head:refs/remotes/origin/PR-173 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e # 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 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e # timeout=10 Commit message: "fix: Correctly set the versions for the service and sdk when building the binary" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:46:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:46:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:46:07 ========================================================= 00:46:07 EdgeX Global Pipelines Version Info 00:46:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:46:08 ------------------- 00:46:08 stable info: 00:46:08 ------------------- 00:46:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:46:08 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:46:08 Message: update stable to v1.0.230 00:46:09 ------------------- 00:46:09 experimental info: 00:46:09 ------------------- 00:46:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:46:09 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:46:09 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:46:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24e1acf [Pipeline] echo 00:46:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:10 provisioning config files... 00:46:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-173@tmp/config2425989798633628574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:11 ---> docker-login.sh 00:46:11 nexus3.edgexfoundry.org:10001 00:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:11 Configure a credential helper to remove this warning. See 00:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:11 00:46:11 Login Succeeded 00:46:11 nexus3.edgexfoundry.org:10002 00:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:11 Configure a credential helper to remove this warning. See 00:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:11 00:46:11 Login Succeeded 00:46:11 nexus3.edgexfoundry.org:10003 00:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:11 Configure a credential helper to remove this warning. See 00:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:11 00:46:11 Login Succeeded 00:46:11 nexus3.edgexfoundry.org:10004 00:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:11 Configure a credential helper to remove this warning. See 00:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:11 00:46:11 Login Succeeded 00:46:11 docker.io 00:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:12 Configure a credential helper to remove this warning. See 00:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:12 00:46:12 Login Succeeded 00:46:12 ---> docker-login.sh ends [Pipeline] } 00:46:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:46:13 + git rev-list -1 --merges 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e~1..24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e [Pipeline] echo 00:46:13 -----------> git rev-list -1 --merges 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e~1..24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e [false] [Pipeline] sh 00:46:13 + git log --format=format:%s -1 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e [Pipeline] echo 00:46:13 ========================================================= 00:46:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:46:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:13 + git log --format=format:%s -1 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e [Pipeline] echo 00:46:13 [semverPrep] GIT_COMMIT: 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e, Commit Message: fix: Correctly set the versions for the service and sdk when building the binary [Pipeline] echo 00:46:13 [semverPrep] This is not a build commit. [Pipeline] sh 00:46:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:46:14 + grep -v github /etc/ssh/ssh_known_hosts 00:46:14 + [ -e /tmp/ssh_known_hosts ] 00:46:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:46:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:46:14 + sudo tee -a /etc/ssh/ssh_known_hosts 00:46:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:46:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:46:14 00:46:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:46:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:46:15 latest: Pulling from edgex-devops/py-git-semver 00:46:15 1fe172e4850f: Pulling fs layer 00:46:15 caf521ccaac6: Pulling fs layer 00:46:15 3ead6fa29328: Pulling fs layer 00:46:15 5c2a1cbceb83: Pulling fs layer 00:46:15 a8d5f1318db7: Pulling fs layer 00:46:15 c427282e49a2: Pulling fs layer 00:46:15 1827001aaf11: Pulling fs layer 00:46:15 0714d37db230: Pulling fs layer 00:46:15 ac28cf19c067: Pulling fs layer 00:46:15 ca983d60f3e2: Pulling fs layer 00:46:15 9f894cec8388: Pulling fs layer 00:46:15 5c2a1cbceb83: Waiting 00:46:15 a8d5f1318db7: Waiting 00:46:15 0714d37db230: Waiting 00:46:15 ac28cf19c067: Waiting 00:46:15 c427282e49a2: Waiting 00:46:15 1827001aaf11: Waiting 00:46:15 caf521ccaac6: Verifying Checksum 00:46:15 caf521ccaac6: Download complete 00:46:15 5c2a1cbceb83: Verifying Checksum 00:46:15 5c2a1cbceb83: Download complete 00:46:15 a8d5f1318db7: Verifying Checksum 00:46:15 a8d5f1318db7: Download complete 00:46:15 c427282e49a2: Verifying Checksum 00:46:15 c427282e49a2: Download complete 00:46:15 3ead6fa29328: Verifying Checksum 00:46:15 3ead6fa29328: Download complete 00:46:15 0714d37db230: Verifying Checksum 00:46:15 0714d37db230: Download complete 00:46:15 ac28cf19c067: Download complete 00:46:15 ca983d60f3e2: Verifying Checksum 00:46:15 ca983d60f3e2: Download complete 00:46:15 9f894cec8388: Verifying Checksum 00:46:15 9f894cec8388: Download complete 00:46:15 1fe172e4850f: Verifying Checksum 00:46:15 1fe172e4850f: Download complete 00:46:15 1827001aaf11: Verifying Checksum 00:46:15 1827001aaf11: Download complete 00:46:17 1fe172e4850f: Pull complete 00:46:17 caf521ccaac6: Pull complete 00:46:17 3ead6fa29328: Pull complete 00:46:17 5c2a1cbceb83: Pull complete 00:46:17 a8d5f1318db7: Pull complete 00:46:17 c427282e49a2: Pull complete 00:46:20 1827001aaf11: Pull complete 00:46:20 0714d37db230: Pull complete 00:46:20 ac28cf19c067: Pull complete 00:46:20 ca983d60f3e2: Pull complete 00:46:20 9f894cec8388: Pull complete 00:46:20 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:46:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:46:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 00:46:20 prd-ubuntu20.04-docker-8c-8g-64431 does not seem to be running inside a container 00:46:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-173 -v /w/workspace/gexfoundry_device-snmp-go_PR-173:/w/workspace/gexfoundry_device-snmp-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-173@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-173@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:46:22 $ docker top 513f5e1a2dedcebe7cef80463137f8944c65833e5155be5f50dcd7398682a6fc -eo pid,comm 00:46:22 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:46:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:46:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:46:22 [ssh-agent] Looking for ssh-agent implementation... 00:46:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:46:22 $ docker exec 513f5e1a2dedcebe7cef80463137f8944c65833e5155be5f50dcd7398682a6fc ssh-agent 00:46:22 SSH_AUTH_SOCK=/tmp/ssh-Yo9yIHT6ARHT/agent.32 00:46:22 SSH_AGENT_PID=39 00:46:22 Running ssh-add (command line suppressed) 00:46:22 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-173@tmp/private_key_6880922663985742558.key (/w/workspace/gexfoundry_device-snmp-go_PR-173@tmp/private_key_6880922663985742558.key) 00:46:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:46:23 + git tag --points-at HEAD [Pipeline] } 00:46:23 $ docker exec --env ******** --env ******** 513f5e1a2dedcebe7cef80463137f8944c65833e5155be5f50dcd7398682a6fc ssh-agent -k 00:46:23 unset SSH_AUTH_SOCK; 00:46:23 unset SSH_AGENT_PID; 00:46:23 echo Agent pid 39 killed; 00:46:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:46:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:46:23 [ssh-agent] Looking for ssh-agent implementation... 00:46:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:46:23 $ docker exec 513f5e1a2dedcebe7cef80463137f8944c65833e5155be5f50dcd7398682a6fc ssh-agent 00:46:23 SSH_AUTH_SOCK=/tmp/ssh-K14iwNkeI8IG/agent.72 00:46:23 SSH_AGENT_PID=79 00:46:23 Running ssh-add (command line suppressed) 00:46:23 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-173@tmp/private_key_7799763134019050123.key (/w/workspace/gexfoundry_device-snmp-go_PR-173@tmp/private_key_7799763134019050123.key) 00:46:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:46:24 + git semver init 00:46:24 2022-05-24 00:46:24,386 [run_init] DEBUG init version:0.0.0 force:False 00:46:24 2022-05-24 00:46:24,387 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-173/.semver 00:46:24 2022-05-24 00:46:24,387 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-173/.semver 00:46:24 2022-05-24 00:46:24,387 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-173/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-173, universal_newlines=False, shell=None, istream=None) 00:46:25 2022-05-24 00:46:25,092 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-173/.git/info/exclude 00:46:25 2022-05-24 00:46:25,093 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-173/.semver/PR-173 with force:False 00:46:25 2022-05-24 00:46:25,093 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-173/.semver/PR-173 00:46:25 2022-05-24 00:46:25,097 [execute] INFO git cat-file --batch-check 00:46:25 2022-05-24 00:46:25,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-173/.semver, universal_newlines=False, shell=None, istream=) 00:46:25 2022-05-24 00:46:25,105 [execute] INFO git cat-file --batch 00:46:25 2022-05-24 00:46:25,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-173/.semver, universal_newlines=False, shell=None, istream=) 00:46:25 2022-05-24 00:46:25,110 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-173/.semver/PR-173 00:46:25 0.0.0 [Pipeline] } 00:46:25 $ docker exec --env ******** --env ******** 513f5e1a2dedcebe7cef80463137f8944c65833e5155be5f50dcd7398682a6fc ssh-agent -k 00:46:25 unset SSH_AUTH_SOCK; 00:46:25 unset SSH_AGENT_PID; 00:46:25 echo Agent pid 79 killed; 00:46:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:46:25 + git semver [Pipeline] } 00:46:26 $ docker stop --time=1 513f5e1a2dedcebe7cef80463137f8944c65833e5155be5f50dcd7398682a6fc 00:46:27 $ docker rm -f 513f5e1a2dedcebe7cef80463137f8944c65833e5155be5f50dcd7398682a6fc [Pipeline] // withDockerContainer [Pipeline] sh 00:46:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:46:28 Stashed 1 file(s) [Pipeline] echo 00:46:28 [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:46:28 provisioning config files... 00:46:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-173@tmp/config5855525747019673888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:29 ---> docker-login.sh 00:46:29 nexus3.edgexfoundry.org:10001 00:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:29 Configure a credential helper to remove this warning. See 00:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:29 00:46:29 Login Succeeded 00:46:29 nexus3.edgexfoundry.org:10002 00:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:29 Configure a credential helper to remove this warning. See 00:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:29 00:46:29 Login Succeeded 00:46:29 nexus3.edgexfoundry.org:10003 00:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:29 Configure a credential helper to remove this warning. See 00:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:29 00:46:29 Login Succeeded 00:46:29 nexus3.edgexfoundry.org:10004 00:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:29 Configure a credential helper to remove this warning. See 00:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:29 00:46:29 Login Succeeded 00:46:29 docker.io 00:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:30 Configure a credential helper to remove this warning. See 00:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:30 00:46:30 Login Succeeded 00:46:30 ---> docker-login.sh ends [Pipeline] } 00:46:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:30 ========================================================= 00:46:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:46:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:46:30 + 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:46:30 Sending build context to Docker daemon 5.369MB 00:46:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:46:30 Step 2/12 : FROM ${BASE} AS builder 00:46:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:46:30 59bf1c3509f3: Pulling fs layer 00:46:30 666ba61612fd: Pulling fs layer 00:46:30 8ed8ca486205: Pulling fs layer 00:46:30 4fe6c5a15a65: Pulling fs layer 00:46:30 22a0e8bec74d: Pulling fs layer 00:46:30 ca2b28591e48: Pulling fs layer 00:46:30 a51346096db8: Pulling fs layer 00:46:30 daebc70d1ce1: Pulling fs layer 00:46:30 0e18a0eac166: Pulling fs layer 00:46:30 22a0e8bec74d: Waiting 00:46:30 4fe6c5a15a65: Waiting 00:46:30 ca2b28591e48: Waiting 00:46:30 a51346096db8: Waiting 00:46:30 daebc70d1ce1: Waiting 00:46:30 0e18a0eac166: Waiting 00:46:30 8ed8ca486205: Verifying Checksum 00:46:30 8ed8ca486205: Download complete 00:46:30 666ba61612fd: Verifying Checksum 00:46:30 666ba61612fd: Download complete 00:46:30 22a0e8bec74d: Download complete 00:46:30 ca2b28591e48: Verifying Checksum 00:46:30 ca2b28591e48: Download complete 00:46:30 59bf1c3509f3: Download complete 00:46:30 a51346096db8: Download complete 00:46:30 daebc70d1ce1: Verifying Checksum 00:46:30 daebc70d1ce1: Download complete 00:46:30 59bf1c3509f3: Pull complete 00:46:31 666ba61612fd: Pull complete 00:46:31 8ed8ca486205: Pull complete 00:46:31 0e18a0eac166: Verifying Checksum 00:46:31 0e18a0eac166: Download complete 00:46:31 4fe6c5a15a65: Download complete 00:46:35 4fe6c5a15a65: Pull complete 00:46:35 22a0e8bec74d: Pull complete 00:46:35 ca2b28591e48: Pull complete 00:46:35 a51346096db8: Pull complete 00:46:35 daebc70d1ce1: Pull complete 00:46:38 0e18a0eac166: Pull complete 00:46:38 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:46:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:46:38 ---> f018257e8ee9 00:46:38 Step 3/12 : ARG MAKE='make build' 00:46:39 ---> Running in 680bf36af338 00:46:40 Removing intermediate container 680bf36af338 00:46:40 ---> 3e604bbe6ee6 00:46:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:46:40 ---> Running in 938318f3d2cf 00:46:40 Removing intermediate container 938318f3d2cf 00:46:40 ---> 032de3d50096 00:46:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:46:40 ---> Running in 2a796fd2d669 00:46:40 Removing intermediate container 2a796fd2d669 00:46:40 ---> 3cda992bdf87 00:46:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:46:40 ---> Running in c0676fe255f0 00:46:40 Removing intermediate container c0676fe255f0 00:46:40 ---> 6a2c54ef751d 00:46:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:40 ---> Running in c45f5256de4e 00:46:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:46:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:46:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:46:42 (2/4) Installing libedit (20210910.3.1-r0) 00:46:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:46:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:46:42 Executing busybox-1.34.1-r3.trigger 00:46:42 OK: 224 MiB in 56 packages 00:46:43 Removing intermediate container c45f5256de4e 00:46:43 ---> 69799e46f905 00:46:43 Step 8/12 : WORKDIR /device-snmp-go 00:46:43 ---> Running in 3f75162e7f72 00:46:43 Removing intermediate container 3f75162e7f72 00:46:43 ---> d7272aae6dc5 00:46:43 Step 9/12 : COPY go.mod vendor* ./ 00:46:43 Still waiting to schedule task 00:46:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:46:43 ---> 2f416c0c2054 00:46:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:43 ---> Running in 5c6221935f09 00:47:01 Removing intermediate container 5c6221935f09 00:47:01 ---> be8ebabd02dd 00:47:01 Step 11/12 : COPY . . 00:47:01 ---> f74efa16b41d 00:47:01 Step 12/12 : RUN ${MAKE} 00:47:01 ---> Running in 30e3ab4b0097 00:47:01 noop 00:47:01 Removing intermediate container 30e3ab4b0097 00:47:01 ---> 4600ee21b1c5 00:47:01 Successfully built 4600ee21b1c5 00:47:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:47:02 + docker inspect -f . ci-base-image-x86_64 00:47:02 . [Pipeline] withDockerContainer 00:47:02 prd-ubuntu20.04-docker-8c-8g-64431 does not seem to be running inside a container 00:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-173 -v /w/workspace/gexfoundry_device-snmp-go_PR-173:/w/workspace/gexfoundry_device-snmp-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-173@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-173@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:47:02 $ docker top 83e594e9e3349259b6982cd8a15db4ba7ba3a57a02f9324e24feaf37931e7091 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:03 + go version 00:47:03 go version go1.17.6 linux/amd64 [Pipeline] } 00:47:03 $ docker stop --time=1 83e594e9e3349259b6982cd8a15db4ba7ba3a57a02f9324e24feaf37931e7091 00:47:04 $ docker rm -f 83e594e9e3349259b6982cd8a15db4ba7ba3a57a02f9324e24feaf37931e7091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:47:05 + docker inspect -f . ci-base-image-x86_64 00:47:05 . [Pipeline] withDockerContainer 00:47:05 prd-ubuntu20.04-docker-8c-8g-64431 does not seem to be running inside a container 00:47:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-173 -v /w/workspace/gexfoundry_device-snmp-go_PR-173:/w/workspace/gexfoundry_device-snmp-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-173@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-173@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:47:05 $ docker top 9a974b8739453f4b7682805bc40030cea4dca586367d780693f4af85b347b1e8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:47:06 + make test 00:47:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:47:06 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:47:16 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:47:16 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.026s coverage: 0.0% of statements 00:47:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:47:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:47:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:47:28 ./bin/test-attribution-txt.sh [Pipeline] echo 00:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:47:28 $ docker stop --time=1 9a974b8739453f4b7682805bc40030cea4dca586367d780693f4af85b347b1e8 00:47:30 $ docker rm -f 9a974b8739453f4b7682805bc40030cea4dca586367d780693f4af85b347b1e8 [Pipeline] // withDockerContainer [Pipeline] sh 00:47:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:47:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:47:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:47:32 + ls -al . 00:47:32 total 168 00:47:32 drwxrwxr-x 9 jenkins jenkins 4096 May 24 00:47 . 00:47:32 drwxrwxr-x 4 jenkins jenkins 4096 May 24 00:46 .. 00:47:32 -rw-rw-r-- 1 jenkins jenkins 6 May 24 00:46 .dockerignore 00:47:32 drwxrwxr-x 8 jenkins jenkins 4096 May 24 00:46 .git 00:47:32 drwxrwxr-x 3 jenkins jenkins 4096 May 24 00:46 .github 00:47:32 -rw-rw-r-- 1 jenkins jenkins 328 May 24 00:46 .gitignore 00:47:32 -rw-rw-r-- 1 jenkins jenkins 41 May 24 00:46 .golangci.yml 00:47:32 drwxr-xr-x 3 jenkins jenkins 4096 May 24 00:46 .semver 00:47:32 -rw-rw-r-- 1 jenkins jenkins 8296 May 24 00:46 Attribution.txt 00:47:32 -rw-rw-r-- 1 jenkins jenkins 6948 May 24 00:46 CHANGELOG.md 00:47:32 -rw-rw-r-- 1 jenkins jenkins 1516 May 24 00:46 Dockerfile 00:47:32 -rw-rw-r-- 1 jenkins jenkins 677 May 24 00:46 GOVERNANCE.md 00:47:32 -rw-rw-r-- 1 jenkins jenkins 656 May 24 00:46 Jenkinsfile 00:47:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 00:46 LICENSE 00:47:32 -rw-rw-r-- 1 jenkins jenkins 2334 May 24 00:46 Makefile 00:47:32 -rw-rw-r-- 1 jenkins jenkins 620 May 24 00:46 OWNERS.md 00:47:32 -rw-rw-r-- 1 jenkins jenkins 9390 May 24 00:46 README.md 00:47:32 -rw-rw-r-- 1 jenkins jenkins 5 May 24 00:46 VERSION 00:47:32 drwxrwxr-x 2 jenkins jenkins 4096 May 24 00:46 bin 00:47:32 drwxrwxr-x 3 jenkins jenkins 4096 May 24 00:46 cmd 00:47:32 -rw-r--r-- 1 jenkins jenkins 7631 May 24 00:47 coverage.out 00:47:32 -rw-rw-r-- 1 jenkins jenkins 3250 May 24 00:46 go.mod 00:47:32 -rw-rw-r-- 1 jenkins jenkins 35701 May 24 00:46 go.sum 00:47:32 drwxrwxr-x 3 jenkins jenkins 4096 May 24 00:46 internal 00:47:32 drwxrwxr-x 3 jenkins jenkins 4096 May 24 00:46 snap 00:47:32 -rw-rw-r-- 1 jenkins jenkins 228 May 24 00:46 version.go [Pipeline] isUnix [Pipeline] sh 00:47:32 + 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=24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e --label arch=amd64 --label version=0.0.0 . 00:47:32 Sending build context to Docker daemon 5.378MB 00:47:32 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:47:32 Step 2/24 : FROM ${BASE} AS builder 00:47:32 ---> 4600ee21b1c5 00:47:32 Step 3/24 : ARG MAKE='make build' 00:47:32 ---> Running in 215490fefdf2 00:47:33 Removing intermediate container 215490fefdf2 00:47:33 ---> f423663d45a3 00:47:33 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:47:33 ---> Running in 2ad0c4a5b64f 00:47:33 Removing intermediate container 2ad0c4a5b64f 00:47:33 ---> 4657547af44b 00:47:33 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:47:33 ---> Running in c035a97d3e36 00:47:33 Removing intermediate container c035a97d3e36 00:47:33 ---> c6c05a7d0e10 00:47:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:47:33 ---> Running in 6dc9649bfed7 00:47:33 Removing intermediate container 6dc9649bfed7 00:47:33 ---> 6c5089d74b3c 00:47:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:47:33 ---> Running in 4ad74475e4d6 00:47:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:47:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:47:35 OK: 224 MiB in 56 packages 00:47:35 Removing intermediate container 4ad74475e4d6 00:47:35 ---> 8376a464d34c 00:47:35 Step 8/24 : WORKDIR /device-snmp-go 00:47:35 ---> Running in e53a0c3742ea 00:47:35 Removing intermediate container e53a0c3742ea 00:47:35 ---> 1b3e365e521e 00:47:35 Step 9/24 : COPY go.mod vendor* ./ 00:47:35 ---> 1c3df15e8b60 00:47:35 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:47:36 ---> Running in 55cf7ab8c305 00:47:36 Removing intermediate container 55cf7ab8c305 00:47:36 ---> ea93e5672b5d 00:47:36 Step 11/24 : COPY . . 00:47:37 ---> b9b366e64dd0 00:47:37 Step 12/24 : RUN ${MAKE} 00:47:37 ---> Running in 5db75e1f7105 00:47:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 00:47:59 Removing intermediate container 5db75e1f7105 00:47:59 ---> 1a2b399942d1 00:47:59 Step 13/24 : FROM alpine:3.14 00:47:59 3.14: Pulling from library/alpine 00:47:59 8663204ce13b: Pulling fs layer 00:47:59 8663204ce13b: Verifying Checksum 00:47:59 8663204ce13b: Download complete 00:47:59 8663204ce13b: Pull complete 00:47:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:47:59 Status: Downloaded newer image for alpine:3.14 00:47:59 ---> e04c818066af 00:47:59 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:47:59 ---> Running in ecbdf866bc20 00:47:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:47:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:47:59 (1/6) Installing dumb-init (1.2.5-r1) 00:47:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:47:59 (3/6) Installing libsodium (1.0.18-r0) 00:47:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:47:59 (5/6) Installing libzmq (4.3.4-r0) 00:47:59 (6/6) Installing zeromq (4.3.4-r0) 00:47:59 Executing busybox-1.33.1-r7.trigger 00:47:59 OK: 8 MiB in 20 packages 00:48:00 Removing intermediate container ecbdf866bc20 00:48:00 ---> fb87f02b1925 00:48:00 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:48:00 ---> 4f75476b235b 00:48:00 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:48:00 ---> 363da02b27a2 00:48:00 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:48:00 ---> e442a96cbdc1 00:48:00 Step 18/24 : EXPOSE 59993 00:48:00 ---> Running in 11dc388770ce 00:48:01 Removing intermediate container 11dc388770ce 00:48:01 ---> 5fd163a5bbc3 00:48:01 Step 19/24 : EXPOSE 161 00:48:01 ---> Running in 6c490c02ceb9 00:48:01 Removing intermediate container 6c490c02ceb9 00:48:01 ---> 0a387e17783c 00:48:01 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:48:01 ---> Running in a65f4d254d0b 00:48:01 Removing intermediate container a65f4d254d0b 00:48:01 ---> 1fcab7bd9e8e 00:48:01 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:48:01 ---> Running in 263e4ab45016 00:48:01 Removing intermediate container 263e4ab45016 00:48:01 ---> 7af4c0d15d1d 00:48:01 Step 22/24 : LABEL arch=amd64 00:48:01 ---> Running in 7d881f63766f 00:48:01 Removing intermediate container 7d881f63766f 00:48:01 ---> cbc9f0e17c3b 00:48:01 Step 23/24 : LABEL git_sha=24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e 00:48:01 ---> Running in b85e00d74e24 00:48:01 Removing intermediate container b85e00d74e24 00:48:01 ---> d300e007548d 00:48:01 Step 24/24 : LABEL version=0.0.0 00:48:01 ---> Running in ab0f8503afb6 00:48:02 Removing intermediate container ab0f8503afb6 00:48:02 ---> c378e9a1e25b 00:48:02 [Warning] One or more build-args [ARCH] were not consumed 00:48:02 Successfully built c378e9a1e25b 00:48:02 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:48:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:48:02 00:48:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:48:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:48:03 latest: Pulling from edgex-lftools-log-publisher 00:48:03 5eb5b503b376: Pulling fs layer 00:48:03 5c69ac0246d0: Pulling fs layer 00:48:03 ec43610c2a17: Pulling fs layer 00:48:03 3a2ae6a8a46f: Pulling fs layer 00:48:03 33b1e0a273af: Pulling fs layer 00:48:03 5d3b04190fa2: Pulling fs layer 00:48:03 2f39f015ded8: Pulling fs layer 00:48:03 33b1e0a273af: Waiting 00:48:03 5d3b04190fa2: Waiting 00:48:03 3a2ae6a8a46f: Waiting 00:48:03 2f39f015ded8: Waiting 00:48:03 5c69ac0246d0: Verifying Checksum 00:48:03 5c69ac0246d0: Download complete 00:48:03 3a2ae6a8a46f: Verifying Checksum 00:48:03 3a2ae6a8a46f: Download complete 00:48:03 33b1e0a273af: Verifying Checksum 00:48:03 33b1e0a273af: Download complete 00:48:03 5d3b04190fa2: Verifying Checksum 00:48:03 5d3b04190fa2: Download complete 00:48:03 ec43610c2a17: Verifying Checksum 00:48:03 ec43610c2a17: Download complete 00:48:03 5eb5b503b376: Verifying Checksum 00:48:03 5eb5b503b376: Download complete 00:48:03 2f39f015ded8: Download complete 00:48:04 5eb5b503b376: Pull complete 00:48:04 5c69ac0246d0: Pull complete 00:48:05 ec43610c2a17: Pull complete 00:48:05 3a2ae6a8a46f: Pull complete 00:48:05 33b1e0a273af: Pull complete 00:48:05 5d3b04190fa2: Pull complete 00:48:10 2f39f015ded8: Pull complete 00:48:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:48:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:48:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:48:10 prd-ubuntu20.04-docker-8c-8g-64431 does not seem to be running inside a container 00:48:10 $ 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-173 -v /w/workspace/gexfoundry_device-snmp-go_PR-173:/w/workspace/gexfoundry_device-snmp-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-173@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-173@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:48:12 $ docker top e3cdf25427329ac37197d644c874bcc29f15a85c446dff052d360b74084deb8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:13 ---> job-cost.sh 00:48:13 lf-activate-venv: SKIPPING 00:48:13 INFO: No Stack... 00:48:14 INFO: Retrieving Pricing Info for: v3-standard-8 00:48:14 INFO: Archiving Costs [Pipeline] sh 00:48:14 + cat /w/workspace/gexfoundry_device-snmp-go_PR-173/archives/cost.csv 00:48:14 + cut -d, -f6 [Pipeline] lock 00:48:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-173-1-stack-cost] 00:48:14 Resource [jenkins-edgexfoundry-device-snmp-go-PR-173-1-stack-cost] did not exist. Created. 00:48:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:48:15 + echo total: 0.2199999988079071 [Pipeline] stash 00:48:15 Stashed 1 file(s) [Pipeline] } 00:48:15 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-173-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:48:15 $ docker stop --time=1 e3cdf25427329ac37197d644c874bcc29f15a85c446dff052d360b74084deb8f 00:48:16 $ docker rm -f e3cdf25427329ac37197d644c874bcc29f15a85c446dff052d360b74084deb8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:49:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64433 in /w/workspace/gexfoundry_device-snmp-go_PR-173 [Pipeline] { [Pipeline] ws 00:49:03 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 00:49:04 Selected Git installation does not exist. Using Default 00:49:04 The recommended git tool is: NONE 00:49:11 using credential edgex-jenkins-ssh 00:49:11 Cloning the remote Git repository 00:49:11 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:49:11 > git init /w/workspace/device-snmp-go/1 # timeout=10 00:49:11 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:49:11 > git --version # timeout=10 00:49:11 > git --version # 'git version 2.25.1' 00:49:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:49:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:49:12 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:49:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:49:13 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:49:13 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:49:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:49:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:49:13 Merging remotes/origin/main commit 7a984207ad216ad191b3ac0372c82a64ff54e9ba into PR head commit 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e 00:49:14 Merge succeeded, producing 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e 00:49:14 Checking out Revision 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e (PR-173) 00:49:13 > git config core.sparsecheckout # timeout=10 00:49:13 > git checkout -f 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e # timeout=10 00:49:13 > git remote # timeout=10 00:49:13 > git config --get remote.origin.url # timeout=10 00:49:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:49:13 > git merge 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 00:49:13 > git rev-parse HEAD^{commit} # timeout=10 00:49:14 > git config core.sparsecheckout # timeout=10 00:49:14 > git checkout -f 24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e # timeout=10 00:49:18 Commit message: "fix: Correctly set the versions for the service and sdk when building the binary" 00:49:18 > git --version # timeout=10 00:49:18 > git --version # 'git version 2.25.1' 00:49:18 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:49:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:49:19 % Total % Received % Xferd Average Speed Time Time Time Current 00:49:19 Dload Upload Total Spent Left Speed 00:49:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51919 0 --:--:-- --:--:-- --:--:-- 51700 [Pipeline] sh 00:49:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:49:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:49:20 + sudo tee /etc/docker/daemon.new 00:49:20 { 00:49:20 "registry-mirrors": [ 00:49:20 "https://nexus3.edgexfoundry.org:10001" 00:49:20 ], 00:49:20 "bip": "10.250.0.254/24", 00:49:20 "hosts": [ 00:49:20 "tcp://0.0.0.0:5555", 00:49:20 "unix:///var/run/docker.sock" 00:49:20 ], 00:49:20 "mtu": 1458, 00:49:20 "selinux-enabled": true, 00:49:20 "seccomp-profile": "/etc/docker/seccomp.json" 00:49:20 } [Pipeline] sh 00:49:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:49:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:39 provisioning config files... 00:49:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2713007402107347469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:40 ---> docker-login.sh 00:49:40 nexus3.edgexfoundry.org:10001 00:49:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:41 Configure a credential helper to remove this warning. See 00:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:41 00:49:41 Login Succeeded 00:49:41 nexus3.edgexfoundry.org:10002 00:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:41 Configure a credential helper to remove this warning. See 00:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:41 00:49:41 Login Succeeded 00:49:41 nexus3.edgexfoundry.org:10003 00:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:42 Configure a credential helper to remove this warning. See 00:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:42 00:49:42 Login Succeeded 00:49:42 nexus3.edgexfoundry.org:10004 00:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:42 Configure a credential helper to remove this warning. See 00:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:42 00:49:42 Login Succeeded 00:49:42 docker.io 00:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:43 Configure a credential helper to remove this warning. See 00:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:43 00:49:43 Login Succeeded 00:49:43 ---> docker-login.sh ends [Pipeline] } 00:49:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:49:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:49:43 ========================================================= 00:49:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:49:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:49:44 + 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:49:44 Sending build context to Docker daemon 2.78MB 00:49:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:49:44 Step 2/12 : FROM ${BASE} AS builder 00:49:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:49:44 9b3977197b4f: Pulling fs layer 00:49:44 1a89e8eeedd5: Pulling fs layer 00:49:44 94645a83ff95: Pulling fs layer 00:49:44 3f3a8bcf1eab: Pulling fs layer 00:49:44 0c92f367c5e7: Pulling fs layer 00:49:44 3096ccb668a1: Pulling fs layer 00:49:44 e8cf19c19ddd: Pulling fs layer 00:49:44 a4caa8a26152: Pulling fs layer 00:49:44 3f3a8bcf1eab: Waiting 00:49:44 0c92f367c5e7: Waiting 00:49:44 3096ccb668a1: Waiting 00:49:44 e8cf19c19ddd: Waiting 00:49:44 a4caa8a26152: Waiting 00:49:44 94645a83ff95: Verifying Checksum 00:49:44 94645a83ff95: Download complete 00:49:44 1a89e8eeedd5: Verifying Checksum 00:49:44 1a89e8eeedd5: Download complete 00:49:44 0c92f367c5e7: Download complete 00:49:44 3096ccb668a1: Verifying Checksum 00:49:44 3096ccb668a1: Download complete 00:49:44 9b3977197b4f: Download complete 00:49:44 e8cf19c19ddd: Verifying Checksum 00:49:44 e8cf19c19ddd: Download complete 00:49:45 9b3977197b4f: Pull complete 00:49:46 1a89e8eeedd5: Pull complete 00:49:46 94645a83ff95: Pull complete 00:49:47 a4caa8a26152: Verifying Checksum 00:49:47 a4caa8a26152: Download complete 00:49:47 3f3a8bcf1eab: Verifying Checksum 00:49:47 3f3a8bcf1eab: Download complete 00:50:00 3f3a8bcf1eab: Pull complete 00:50:00 0c92f367c5e7: Pull complete 00:50:00 3096ccb668a1: Pull complete 00:50:00 e8cf19c19ddd: Pull complete 00:50:06 a4caa8a26152: Pull complete 00:50:06 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:50:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:50:06 ---> 725f1c02e7f9 00:50:06 Step 3/12 : ARG MAKE='make build' 00:50:07 ---> Running in d8b0147727af 00:50:08 Removing intermediate container d8b0147727af 00:50:08 ---> 7cf64f13a5d3 00:50:08 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:50:08 ---> Running in 3a5b915c7df0 00:50:08 Removing intermediate container 3a5b915c7df0 00:50:08 ---> 1a3c634ec72e 00:50:08 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:50:08 ---> Running in 83fe2e1354c8 00:50:08 Removing intermediate container 83fe2e1354c8 00:50:08 ---> 3e740c56cca9 00:50:08 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:50:09 ---> Running in 21e4e2759206 00:50:11 Removing intermediate container 21e4e2759206 00:50:11 ---> 42c02b323035 00:50:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:11 ---> Running in bc8877f601c5 00:50:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:50:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:50:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:50:15 (2/4) Installing libedit (20210910.3.1-r0) 00:50:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:50:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:50:15 Executing busybox-1.34.1-r3.trigger 00:50:15 OK: 224 MiB in 56 packages 00:50:16 Removing intermediate container bc8877f601c5 00:50:16 ---> 6e89ee9dc96b 00:50:16 Step 8/12 : WORKDIR /device-snmp-go 00:50:17 ---> Running in 63fade9ec646 00:50:17 Removing intermediate container 63fade9ec646 00:50:17 ---> fd482ae05ac8 00:50:17 Step 9/12 : COPY go.mod vendor* ./ 00:50:18 ---> 9b24feae273f 00:50:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:18 ---> Running in 057f80acb914 00:51:05 Removing intermediate container 057f80acb914 00:51:05 ---> 94089681ebe1 00:51:05 Step 11/12 : COPY . . 00:51:05 ---> 36117563ca61 00:51:05 Step 12/12 : RUN ${MAKE} 00:51:05 ---> Running in 21925940abe7 00:51:06 noop 00:51:07 Removing intermediate container 21925940abe7 00:51:07 ---> ef7cb8557591 00:51:07 Successfully built ef7cb8557591 00:51:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:51:07 + docker inspect -f . ci-base-image-arm64 00:51:07 . [Pipeline] withDockerContainer 00:51:08 prd-ubuntu20.04-docker-arm64-4c-16g-64433 does not seem to be running inside a container 00:51:08 $ 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:51:09 $ docker top 51baa2d5f67b96876e11db6b7abcaed3cfd42e7049acdbd2fc396dcf2d0b88e5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:10 + go version 00:51:10 go version go1.17.6 linux/arm64 [Pipeline] } 00:51:10 $ docker stop --time=1 51baa2d5f67b96876e11db6b7abcaed3cfd42e7049acdbd2fc396dcf2d0b88e5 00:51:12 $ docker rm -f 51baa2d5f67b96876e11db6b7abcaed3cfd42e7049acdbd2fc396dcf2d0b88e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:51:13 + docker inspect -f . ci-base-image-arm64 00:51:13 . [Pipeline] withDockerContainer 00:51:13 prd-ubuntu20.04-docker-arm64-4c-16g-64433 does not seem to be running inside a container 00:51:13 $ 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:51:14 $ docker top 37e1b39e35f141e5084774e7298d30daea80f6accb04e97c3e8053438c18ccb2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:51:15 + make test 00:51:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:51:17 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:52:39 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:52:39 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 00:52:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:52:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:53:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:53:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:53:05 ./bin/test-attribution-txt.sh [Pipeline] echo 00:53:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:53:06 $ docker stop --time=1 37e1b39e35f141e5084774e7298d30daea80f6accb04e97c3e8053438c18ccb2 00:53:08 $ docker rm -f 37e1b39e35f141e5084774e7298d30daea80f6accb04e97c3e8053438c18ccb2 [Pipeline] // withDockerContainer [Pipeline] sh 00:53:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:53:09 Warning: overwriting stash ‘coverage-report’ 00:53:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:53:10 + ls -al . 00:53:10 total 164 00:53:10 drwxrwxr-x 8 jenkins jenkins 4096 May 24 00:53 . 00:53:10 drwxrwxr-x 4 jenkins jenkins 4096 May 24 00:49 .. 00:53:10 -rw-rw-r-- 1 jenkins jenkins 6 May 24 00:49 .dockerignore 00:53:10 drwxrwxr-x 8 jenkins jenkins 4096 May 24 00:49 .git 00:53:10 drwxrwxr-x 3 jenkins jenkins 4096 May 24 00:49 .github 00:53:10 -rw-rw-r-- 1 jenkins jenkins 328 May 24 00:49 .gitignore 00:53:10 -rw-rw-r-- 1 jenkins jenkins 41 May 24 00:49 .golangci.yml 00:53:10 -rw-rw-r-- 1 jenkins jenkins 8296 May 24 00:49 Attribution.txt 00:53:10 -rw-rw-r-- 1 jenkins jenkins 6948 May 24 00:49 CHANGELOG.md 00:53:10 -rw-rw-r-- 1 jenkins jenkins 1516 May 24 00:49 Dockerfile 00:53:10 -rw-rw-r-- 1 jenkins jenkins 677 May 24 00:49 GOVERNANCE.md 00:53:10 -rw-rw-r-- 1 jenkins jenkins 656 May 24 00:49 Jenkinsfile 00:53:10 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 00:49 LICENSE 00:53:10 -rw-rw-r-- 1 jenkins jenkins 2334 May 24 00:49 Makefile 00:53:10 -rw-rw-r-- 1 jenkins jenkins 620 May 24 00:49 OWNERS.md 00:53:10 -rw-rw-r-- 1 jenkins jenkins 9390 May 24 00:49 README.md 00:53:10 -rw-rw-r-- 1 jenkins jenkins 5 May 24 00:46 VERSION 00:53:10 drwxrwxr-x 2 jenkins jenkins 4096 May 24 00:49 bin 00:53:10 drwxrwxr-x 3 jenkins jenkins 4096 May 24 00:49 cmd 00:53:10 -rw-r--r-- 1 jenkins jenkins 7631 May 24 00:52 coverage.out 00:53:10 -rw-rw-r-- 1 jenkins jenkins 3250 May 24 00:49 go.mod 00:53:10 -rw-rw-r-- 1 jenkins jenkins 35701 May 24 00:49 go.sum 00:53:10 drwxrwxr-x 3 jenkins jenkins 4096 May 24 00:49 internal 00:53:10 drwxrwxr-x 3 jenkins jenkins 4096 May 24 00:49 snap 00:53:10 -rw-rw-r-- 1 jenkins jenkins 228 May 24 00:49 version.go [Pipeline] isUnix [Pipeline] sh 00:53:11 + 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=24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e --label arch=arm64 --label version=0.0.0 . 00:53:11 Sending build context to Docker daemon 2.788MB 00:53:11 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:53:11 Step 2/24 : FROM ${BASE} AS builder 00:53:11 ---> ef7cb8557591 00:53:11 Step 3/24 : ARG MAKE='make build' 00:53:11 ---> Running in 95e2498394d6 00:53:12 Removing intermediate container 95e2498394d6 00:53:12 ---> e63a19761694 00:53:12 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:53:12 ---> Running in 082989d7f36d 00:53:12 Removing intermediate container 082989d7f36d 00:53:12 ---> 36c6d56402a7 00:53:12 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:53:12 ---> Running in 83c2d06173d7 00:53:12 Removing intermediate container 83c2d06173d7 00:53:12 ---> 5119b78348b1 00:53:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:53:12 ---> Running in d4ba13c1ba32 00:53:14 Removing intermediate container d4ba13c1ba32 00:53:14 ---> 32480f7f5af9 00:53:14 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:53:14 ---> Running in 7ece6b6f3f5d 00:53:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:53:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:53:17 OK: 224 MiB in 56 packages 00:53:17 Removing intermediate container 7ece6b6f3f5d 00:53:17 ---> 72b32aa59245 00:53:17 Step 8/24 : WORKDIR /device-snmp-go 00:53:18 ---> Running in a4dd761aa782 00:53:18 Removing intermediate container a4dd761aa782 00:53:18 ---> cf0b5ea0410f 00:53:18 Step 9/24 : COPY go.mod vendor* ./ 00:53:19 ---> 15c3e1928fd5 00:53:19 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:19 ---> Running in 0655e16c2242 00:53:21 Removing intermediate container 0655e16c2242 00:53:21 ---> 530656a2588d 00:53:21 Step 11/24 : COPY . . 00:53:21 ---> fa713ab56772 00:53:21 Step 12/24 : RUN ${MAKE} 00:53:21 ---> Running in ad2b60d3be83 00:53:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 00:55:29 Removing intermediate container ad2b60d3be83 00:55:29 ---> 306e22de64ee 00:55:29 Step 13/24 : FROM alpine:3.14 00:55:29 3.14: Pulling from library/alpine 00:55:29 455c02918c45: Pulling fs layer 00:55:29 455c02918c45: Download complete 00:55:29 455c02918c45: Pull complete 00:55:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:55:29 Status: Downloaded newer image for alpine:3.14 00:55:29 ---> ac73e934f311 00:55:29 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:55:29 ---> Running in 7f04cabcd3a5 00:55:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:55:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:55:29 (1/6) Installing dumb-init (1.2.5-r1) 00:55:29 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:55:29 (3/6) Installing libsodium (1.0.18-r0) 00:55:29 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:55:29 (5/6) Installing libzmq (4.3.4-r0) 00:55:29 (6/6) Installing zeromq (4.3.4-r0) 00:55:29 Executing busybox-1.33.1-r7.trigger 00:55:29 OK: 8 MiB in 20 packages 00:55:29 Removing intermediate container 7f04cabcd3a5 00:55:29 ---> a9c3d351ae6d 00:55:29 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:55:29 ---> 0c8c61b79567 00:55:29 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:55:29 ---> f287d8fc630e 00:55:29 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:55:29 ---> bdfb8b1a3594 00:55:29 Step 18/24 : EXPOSE 59993 00:55:29 ---> Running in 8c588c9d7527 00:55:29 Removing intermediate container 8c588c9d7527 00:55:29 ---> 806c5d9a4a8d 00:55:29 Step 19/24 : EXPOSE 161 00:55:30 ---> Running in dc3fa4a3fde8 00:55:30 Removing intermediate container dc3fa4a3fde8 00:55:30 ---> 45522f973a9f 00:55:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:55:30 ---> Running in 74b43def27fb 00:55:30 Removing intermediate container 74b43def27fb 00:55:30 ---> cc930751560a 00:55:30 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:55:30 ---> Running in ade79bb9c4eb 00:55:31 Removing intermediate container ade79bb9c4eb 00:55:31 ---> f5b979c6a282 00:55:31 Step 22/24 : LABEL arch=arm64 00:55:31 ---> Running in 5f077dda03a7 00:55:31 Removing intermediate container 5f077dda03a7 00:55:31 ---> 9b7cce963699 00:55:31 Step 23/24 : LABEL git_sha=24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e 00:55:31 ---> Running in c7aab17893a5 00:55:31 Removing intermediate container c7aab17893a5 00:55:31 ---> 12c81ad1a3c0 00:55:31 Step 24/24 : LABEL version=0.0.0 00:55:31 ---> Running in 786a90b90395 00:55:32 Removing intermediate container 786a90b90395 00:55:32 ---> e4696d6e9b19 00:55:32 [Warning] One or more build-args [ARCH] were not consumed 00:55:32 Successfully built e4696d6e9b19 00:55:32 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:55:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:33 00:55:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:55:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:33 arm64: Pulling from edgex-lftools-log-publisher 00:55:33 8998bd30e6a1: Pulling fs layer 00:55:33 04944245beec: Pulling fs layer 00:55:33 699f458cf7ca: Pulling fs layer 00:55:33 765212b225bb: Pulling fs layer 00:55:33 f23df028b6ca: Pulling fs layer 00:55:33 d65c8cfc05b1: Pulling fs layer 00:55:33 2437ff75d9bd: Pulling fs layer 00:55:33 f23df028b6ca: Waiting 00:55:33 d65c8cfc05b1: Waiting 00:55:33 2437ff75d9bd: Waiting 00:55:33 765212b225bb: Waiting 00:55:33 04944245beec: Verifying Checksum 00:55:33 04944245beec: Download complete 00:55:33 765212b225bb: Verifying Checksum 00:55:33 765212b225bb: Download complete 00:55:33 f23df028b6ca: Verifying Checksum 00:55:33 f23df028b6ca: Download complete 00:55:33 d65c8cfc05b1: Download complete 00:55:33 699f458cf7ca: Verifying Checksum 00:55:33 699f458cf7ca: Download complete 00:55:34 8998bd30e6a1: Verifying Checksum 00:55:34 8998bd30e6a1: Download complete 00:55:36 2437ff75d9bd: Verifying Checksum 00:55:36 2437ff75d9bd: Download complete 00:55:38 8998bd30e6a1: Pull complete 00:55:39 04944245beec: Pull complete 00:55:40 699f458cf7ca: Pull complete 00:55:40 765212b225bb: Pull complete 00:55:41 f23df028b6ca: Pull complete 00:55:41 d65c8cfc05b1: Pull complete 00:55:57 2437ff75d9bd: Pull complete 00:55:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:55:57 prd-ubuntu20.04-docker-arm64-4c-16g-64433 does not seem to be running inside a container 00:55:57 $ 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:55:59 $ docker top 2146eb05b2467ea54a145b2266ec0be7aaa7f26da5d2c5fc89b82c4f804d507d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:00 ---> job-cost.sh 00:56:00 lf-activate-venv: SKIPPING 00:56:00 INFO: No Stack... 00:56:01 INFO: Retrieving Pricing Info for: v3-standard-4 00:56:02 INFO: Archiving Costs [Pipeline] sh 00:56:02 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 00:56:02 + cut -d, -f6 [Pipeline] lock 00:56:02 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-173-1-stack-cost] 00:56:02 Resource [jenkins-edgexfoundry-device-snmp-go-PR-173-1-stack-cost] did not exist. Created. 00:56:02 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:03 /w/workspace/device-snmp-go/1@tmp/durable-d8492a9b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:56:04 + echo total: 0.10999999940395355 [Pipeline] stash 00:56:04 Warning: overwriting stash ‘stack-cost’ 00:56:04 Stashed 1 file(s) [Pipeline] } 00:56:04 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-173-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:56:04 $ docker stop --time=1 2146eb05b2467ea54a145b2266ec0be7aaa7f26da5d2c5fc89b82c4f804d507d 00:56:06 $ docker rm -f 2146eb05b2467ea54a145b2266ec0be7aaa7f26da5d2c5fc89b82c4f804d507d [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:56:07 provisioning config files... 00:56:07 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-173@tmp/config5972419799985257602tmp [Pipeline] { [Pipeline] sh 00:56:07 + set +x 00:56:07 + curl -s https://codecov.io/bash 00:56:07 + bash -s -- 00:56:07 00:56:07 _____ _ 00:56:07 / ____| | | 00:56:07 | | ___ __| | ___ ___ _____ __ 00:56:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:56:07 | |___| (_) | (_| | __/ (_| (_) \ V / 00:56:07 \_____\___/ \__,_|\___|\___\___/ \_/ 00:56:07 Bash-1.0.6 00:56:07 00:56:07 00:56:07 ==> git version 2.25.1 found 00:56:07 ==> 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:56:07 Release-Date: 2020-01-08 00:56:07 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:56:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:56:07 ==> Jenkins CI detected. 00:56:07 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-173 00:56:07 project root: . 00:56:07 --> token set from env 00:56:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:56:07 ==> Running gcov in . (disable via -X gcov) 00:56:07 ==> Python coveragepy not found 00:56:07 ==> Searching for coverage reports in: 00:56:07 + . 00:56:07 -> Found 1 reports 00:56:07 ==> Detecting git/mercurial file structure 00:56:07 ==> Reading reports 00:56:07 + ./coverage.out bytes=7631 00:56:07 ==> Appending adjustments 00:56:07 https://docs.codecov.io/docs/fixing-reports 00:56:07 + Found adjustments 00:56:07 ==> Gzipping contents 00:56:07 4.0K /tmp/codecov.7wKL5b.gz 00:56:07 ==> Uploading reports 00:56:07 url: https://codecov.io 00:56:07 query: branch=PR-173&commit=24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=173&job=&cmd_args= 00:56:07 -> Pinging Codecov 00:56:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-173&commit=24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=173&job=&cmd_args= 00:56:08 -> Uploading to 00:56:08 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/6C56EA5C29638FB4528AC87E60AF5AE0/24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e/5ede4ef5-a4e1-465a-b8b1-836fa73dbd8e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T005607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2a3994ec3f55c58e35eaa304160c56cfc8ee86b04115f7d5e9d491ed4316290 00:56:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:56:08 Dload Upload Total Spent Left Speed 00:56:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 6311 --:--:-- --:--:-- --:--:-- 6311 00:56:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/24e1acf8cfccee1d1e9b8b006aab6ce1de36b61e [Pipeline] } 00:56:08 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:56:10 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-173/archives ] 00:56:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-173/archives 00:56:10 total 16 00:56:10 drwxr-xr-x 3 root root 4096 May 24 00:48 . 00:56:10 drwxrwxr-x 10 jenkins jenkins 4096 May 24 00:48 .. 00:56:10 drwxr-xr-x 2 root root 4096 May 24 00:48 cost 00:56:10 -rw-r--r-- 1 root root 85 May 24 00:48 cost.csv 00:56:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-173/archives 00:56:10 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-173/archives 00:56:10 total 16 00:56:10 drwxr-xr-x 3 jenkins jenkins 4096 May 24 00:48 . 00:56:10 drwxrwxr-x 10 jenkins jenkins 4096 May 24 00:48 .. 00:56:10 drwxr-xr-x 2 jenkins jenkins 4096 May 24 00:48 cost 00:56:10 -rw-r--r-- 1 jenkins jenkins 85 May 24 00:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:56:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:56:11 ---> package-listing.sh 00:56:11 ++ tr '[:upper:]' '[:lower:]' 00:56:11 ++ facter osfamily 00:56:11 + OS_FAMILY=debian 00:56:11 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-173 00:56:11 + START_PACKAGES=/tmp/packages_start.txt 00:56:11 + END_PACKAGES=/tmp/packages_end.txt 00:56:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:56:11 + PACKAGES=/tmp/packages_start.txt 00:56:11 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-173 ']' 00:56:11 + PACKAGES=/tmp/packages_end.txt 00:56:11 + case "${OS_FAMILY}" in 00:56:11 + dpkg -l 00:56:11 + grep '^ii' 00:56:11 + '[' -f /tmp/packages_start.txt ']' 00:56:11 + '[' -f /tmp/packages_end.txt ']' 00:56:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:56:11 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-173 ']' 00:56:11 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-173/archives/ 00:56:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-173/archives/ [Pipeline] echo 00:56:11 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-173/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:56:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:56:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:12 . [Pipeline] withDockerContainer 00:56:12 prd-ubuntu20.04-docker-8c-8g-64431 does not seem to be running inside a container 00:56:12 $ 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-173/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-173 -v /w/workspace/gexfoundry_device-snmp-go_PR-173:/w/workspace/gexfoundry_device-snmp-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-173@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-173@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:56:12 $ docker top 60a1ca6770172d23b0cafdb76d59ca53c4bad451441bf2bb7a398d3073b34e1f -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:13 + touch /tmp/pre-build-complete [Pipeline] sh 00:56:13 + mkdir -p /var/log/sysstat [Pipeline] sh 00:56:13 + ls /var/log/sa-host 00:56:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:14 provisioning config files... 00:56:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-173@tmp/config2909895560382940293tmp [Pipeline] { [Pipeline] echo 00:56:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:56:14 ---> create-netrc.sh [Pipeline] } 00:56:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:56:14 ---> python-tools-install.sh [Pipeline] echo 00:56:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:56:15 ---> sudo-logs.sh 00:56:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:56:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:56:15 ---> job-cost.sh 00:56:15 lf-activate-venv: SKIPPING 00:56:15 DEBUG: total: 0.2199999988079071 00:56:15 INFO: Retrieving Stack Cost... 00:56:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:56:16 INFO: Archiving Costs [Pipeline] echo 00:56:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:56:16 ---> logs-deploy.sh 00:56:16 lf-activate-venv: SKIPPING 00:56:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-173/1 00:56:16 INFO: archiving workspace using pattern(s): 00:56:17 Archives upload complete. 00:56:17 INFO: archiving logs to Nexus