Pull request #164 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec4e2bb25b85e98e951cb70b75cd43993a27e76d+a672eeb6ec92b4d90420405cd1acfac3e3196a2e (5334b69525edcd2d4d64eb9c815b4e4a6f6272b7) 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-ssh17157288738033671981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8964449833977587906.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-164/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-164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6339893880932486887.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-164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17553567619777104487.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13137388436604729476.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-164/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-164/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18022687872445064771.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34418 in /w/workspace/gexfoundry_device-snmp-go_PR-164 [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-164 # 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 a672eeb6ec92b4d90420405cd1acfac3e3196a2e into PR head commit ec4e2bb25b85e98e951cb70b75cd43993a27e76d Merge succeeded, producing ec4e2bb25b85e98e951cb70b75cd43993a27e76d Checking out Revision ec4e2bb25b85e98e951cb70b75cd43993a27e76d (PR-164) > 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/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec4e2bb25b85e98e951cb70b75cd43993a27e76d # 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 a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec4e2bb25b85e98e951cb70b75cd43993a27e76d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:08:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:08:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:08:59 ========================================================= 05:08:59 EdgeX Global Pipelines Version Info 05:08:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:08:59 ------------------- 05:08:59 stable info: 05:08:59 ------------------- 05:08:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:08:59 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:08:59 Message: update stable to v1.0.227 05:09:00 ------------------- 05:09:00 experimental info: 05:09:00 ------------------- 05:09:00 Commited By: **** collab-it+edgex@linuxfoundation.org 05:09:00 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:09:00 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:09:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:09:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:09:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:09:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:09:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:09:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:09:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec4e2bb25b85e98e951cb70b75cd43993a27e76d [Pipeline] echo 05:09:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec4e2bb [Pipeline] echo 05:09:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:02 provisioning config files... 05:09:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/config5648579538304465811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:02 ---> docker-login.sh 05:09:02 nexus3.edgexfoundry.org:10001 05:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:03 Configure a credential helper to remove this warning. See 05:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:03 05:09:03 Login Succeeded 05:09:03 nexus3.edgexfoundry.org:10002 05:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:03 Configure a credential helper to remove this warning. See 05:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:03 05:09:03 Login Succeeded 05:09:03 nexus3.edgexfoundry.org:10003 05:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:03 Configure a credential helper to remove this warning. See 05:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:03 05:09:03 Login Succeeded 05:09:03 nexus3.edgexfoundry.org:10004 05:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:03 Configure a credential helper to remove this warning. See 05:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:03 05:09:03 Login Succeeded 05:09:03 docker.io 05:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:03 Configure a credential helper to remove this warning. See 05:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:03 05:09:03 Login Succeeded 05:09:03 ---> docker-login.sh ends [Pipeline] } 05:09:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:09:04 + git rev-list -1 --merges ec4e2bb25b85e98e951cb70b75cd43993a27e76d~1..ec4e2bb25b85e98e951cb70b75cd43993a27e76d [Pipeline] echo 05:09:04 -----------> git rev-list -1 --merges ec4e2bb25b85e98e951cb70b75cd43993a27e76d~1..ec4e2bb25b85e98e951cb70b75cd43993a27e76d ec4e2bb25b85e98e951cb70b75cd43993a27e76d [false] [Pipeline] sh 05:09:04 + git log --format=format:%s -1 ec4e2bb25b85e98e951cb70b75cd43993a27e76d [Pipeline] echo 05:09:04 ========================================================= 05:09:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:09:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:05 + git log --format=format:%s -1 ec4e2bb25b85e98e951cb70b75cd43993a27e76d [Pipeline] echo 05:09:05 [semverPrep] GIT_COMMIT: ec4e2bb25b85e98e951cb70b75cd43993a27e76d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:09:05 [semverPrep] This is not a build commit. [Pipeline] sh 05:09:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:09:05 + grep -v github /etc/ssh/ssh_known_hosts 05:09:05 + [ -e /tmp/ssh_known_hosts ] 05:09:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:09:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:09:05 + sudo tee -a /etc/ssh/ssh_known_hosts 05:09:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:09:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:06 05:09:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:09:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:06 latest: Pulling from edgex-devops/py-git-semver 05:09:06 1fe172e4850f: Pulling fs layer 05:09:06 caf521ccaac6: Pulling fs layer 05:09:06 3ead6fa29328: Pulling fs layer 05:09:06 5c2a1cbceb83: Pulling fs layer 05:09:06 a8d5f1318db7: Pulling fs layer 05:09:06 c427282e49a2: Pulling fs layer 05:09:06 1827001aaf11: Pulling fs layer 05:09:06 0714d37db230: Pulling fs layer 05:09:06 ac28cf19c067: Pulling fs layer 05:09:06 ca983d60f3e2: Pulling fs layer 05:09:06 9f894cec8388: Pulling fs layer 05:09:06 0714d37db230: Waiting 05:09:06 9f894cec8388: Waiting 05:09:06 ac28cf19c067: Waiting 05:09:06 a8d5f1318db7: Waiting 05:09:06 c427282e49a2: Waiting 05:09:06 1827001aaf11: Waiting 05:09:06 ca983d60f3e2: Waiting 05:09:06 5c2a1cbceb83: Waiting 05:09:06 caf521ccaac6: Download complete 05:09:06 5c2a1cbceb83: Verifying Checksum 05:09:06 5c2a1cbceb83: Download complete 05:09:06 a8d5f1318db7: Verifying Checksum 05:09:06 a8d5f1318db7: Download complete 05:09:06 3ead6fa29328: Verifying Checksum 05:09:06 3ead6fa29328: Download complete 05:09:06 c427282e49a2: Download complete 05:09:06 0714d37db230: Verifying Checksum 05:09:06 0714d37db230: Download complete 05:09:06 ac28cf19c067: Verifying Checksum 05:09:06 ac28cf19c067: Download complete 05:09:06 ca983d60f3e2: Verifying Checksum 05:09:06 ca983d60f3e2: Download complete 05:09:06 9f894cec8388: Verifying Checksum 05:09:06 9f894cec8388: Download complete 05:09:06 1fe172e4850f: Verifying Checksum 05:09:06 1fe172e4850f: Download complete 05:09:07 1827001aaf11: Download complete 05:09:08 1fe172e4850f: Pull complete 05:09:08 caf521ccaac6: Pull complete 05:09:08 3ead6fa29328: Pull complete 05:09:09 5c2a1cbceb83: Pull complete 05:09:09 a8d5f1318db7: Pull complete 05:09:09 c427282e49a2: Pull complete 05:09:11 1827001aaf11: Pull complete 05:09:11 0714d37db230: Pull complete 05:09:11 ac28cf19c067: Pull complete 05:09:11 ca983d60f3e2: Pull complete 05:09:11 9f894cec8388: Pull complete 05:09:11 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:09:11 prd-ubuntu20.04-docker-8c-8g-34418 does not seem to be running inside a container 05:09:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 05:09:13 $ docker top e0667becaa7e7760c7215b14227d636903c29d42caed15ac4138b0302d76fc43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:13 [ssh-agent] Looking for ssh-agent implementation... 05:09:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:13 $ docker exec e0667becaa7e7760c7215b14227d636903c29d42caed15ac4138b0302d76fc43 ssh-agent 05:09:13 SSH_AUTH_SOCK=/tmp/ssh-IvDxS3FeZzx9/agent.33 05:09:13 SSH_AGENT_PID=39 05:09:13 Running ssh-add (command line suppressed) 05:09:14 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/private_key_354383218389185337.key (/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/private_key_354383218389185337.key) 05:09:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:14 + git tag --points-at HEAD [Pipeline] } 05:09:14 $ docker exec --env ******** --env ******** e0667becaa7e7760c7215b14227d636903c29d42caed15ac4138b0302d76fc43 ssh-agent -k 05:09:14 unset SSH_AUTH_SOCK; 05:09:14 unset SSH_AGENT_PID; 05:09:14 echo Agent pid 39 killed; 05:09:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:09:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:14 [ssh-agent] Looking for ssh-agent implementation... 05:09:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:14 $ docker exec e0667becaa7e7760c7215b14227d636903c29d42caed15ac4138b0302d76fc43 ssh-agent 05:09:14 SSH_AUTH_SOCK=/tmp/ssh-HVDalGjspbcd/agent.73 05:09:14 SSH_AGENT_PID=79 05:09:14 Running ssh-add (command line suppressed) 05:09:15 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/private_key_440925591988168460.key (/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/private_key_440925591988168460.key) 05:09:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:15 + git semver init 05:09:15 2022-05-02 05:09:15,655 [run_init] DEBUG init version:0.0.0 force:False 05:09:15 2022-05-02 05:09:15,656 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver 05:09:15 2022-05-02 05:09:15,656 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-164/.semver 05:09:15 2022-05-02 05:09:15,656 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-164, universal_newlines=False, shell=None, istream=None) 05:09:16 2022-05-02 05:09:16,426 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-164/.git/info/exclude 05:09:16 2022-05-02 05:09:16,426 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver/PR-164 with force:False 05:09:16 2022-05-02 05:09:16,426 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver/PR-164 05:09:16 2022-05-02 05:09:16,431 [execute] INFO git cat-file --batch-check 05:09:16 2022-05-02 05:09:16,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver, universal_newlines=False, shell=None, istream=) 05:09:16 2022-05-02 05:09:16,438 [execute] INFO git cat-file --batch 05:09:16 2022-05-02 05:09:16,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver, universal_newlines=False, shell=None, istream=) 05:09:16 2022-05-02 05:09:16,445 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-164/.semver/PR-164 05:09:16 0.0.0 [Pipeline] } 05:09:16 $ docker exec --env ******** --env ******** e0667becaa7e7760c7215b14227d636903c29d42caed15ac4138b0302d76fc43 ssh-agent -k 05:09:16 unset SSH_AUTH_SOCK; 05:09:16 unset SSH_AGENT_PID; 05:09:16 echo Agent pid 79 killed; 05:09:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:17 + git semver [Pipeline] } 05:09:17 $ docker stop --time=1 e0667becaa7e7760c7215b14227d636903c29d42caed15ac4138b0302d76fc43 05:09:18 $ docker rm -f e0667becaa7e7760c7215b14227d636903c29d42caed15ac4138b0302d76fc43 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:09:19 Stashed 1 file(s) [Pipeline] echo 05:09:19 [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 05:09:20 provisioning config files... 05:09:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/config811297296484984027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:20 ---> docker-login.sh 05:09:20 nexus3.edgexfoundry.org:10001 05:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:20 Configure a credential helper to remove this warning. See 05:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:20 05:09:20 Login Succeeded 05:09:20 nexus3.edgexfoundry.org:10002 05:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:20 Configure a credential helper to remove this warning. See 05:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:20 05:09:20 Login Succeeded 05:09:20 nexus3.edgexfoundry.org:10003 05:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:20 Configure a credential helper to remove this warning. See 05:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:20 05:09:20 Login Succeeded 05:09:20 nexus3.edgexfoundry.org:10004 05:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:21 Configure a credential helper to remove this warning. See 05:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:21 05:09:21 Login Succeeded 05:09:21 docker.io 05:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:21 Configure a credential helper to remove this warning. See 05:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:21 05:09:21 Login Succeeded 05:09:21 ---> docker-login.sh ends [Pipeline] } 05:09:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:21 ========================================================= 05:09:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:09:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:09:22 + 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 . 05:09:22 Sending build context to Docker daemon 5.314MB 05:09:22 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:09:22 Step 2/12 : FROM ${BASE} AS builder 05:09:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:09:22 59bf1c3509f3: Pulling fs layer 05:09:22 666ba61612fd: Pulling fs layer 05:09:22 8ed8ca486205: Pulling fs layer 05:09:22 4fe6c5a15a65: Pulling fs layer 05:09:22 22a0e8bec74d: Pulling fs layer 05:09:22 ca2b28591e48: Pulling fs layer 05:09:22 a51346096db8: Pulling fs layer 05:09:22 daebc70d1ce1: Pulling fs layer 05:09:22 0e18a0eac166: Pulling fs layer 05:09:22 a51346096db8: Waiting 05:09:22 daebc70d1ce1: Waiting 05:09:22 22a0e8bec74d: Waiting 05:09:22 0e18a0eac166: Waiting 05:09:22 ca2b28591e48: Waiting 05:09:22 4fe6c5a15a65: Waiting 05:09:22 8ed8ca486205: Verifying Checksum 05:09:22 8ed8ca486205: Download complete 05:09:22 666ba61612fd: Verifying Checksum 05:09:22 666ba61612fd: Download complete 05:09:22 22a0e8bec74d: Download complete 05:09:22 ca2b28591e48: Verifying Checksum 05:09:22 ca2b28591e48: Download complete 05:09:22 59bf1c3509f3: Download complete 05:09:22 a51346096db8: Verifying Checksum 05:09:22 a51346096db8: Download complete 05:09:22 daebc70d1ce1: Verifying Checksum 05:09:22 daebc70d1ce1: Download complete 05:09:22 59bf1c3509f3: Pull complete 05:09:22 666ba61612fd: Pull complete 05:09:22 8ed8ca486205: Pull complete 05:09:22 0e18a0eac166: Verifying Checksum 05:09:22 0e18a0eac166: Download complete 05:09:23 4fe6c5a15a65: Verifying Checksum 05:09:23 4fe6c5a15a65: Download complete 05:09:27 4fe6c5a15a65: Pull complete 05:09:27 22a0e8bec74d: Pull complete 05:09:27 ca2b28591e48: Pull complete 05:09:27 a51346096db8: Pull complete 05:09:27 daebc70d1ce1: Pull complete 05:09:30 0e18a0eac166: Pull complete 05:09:30 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:09:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:09:30 ---> f018257e8ee9 05:09:30 Step 3/12 : ARG MAKE='make build' 05:09:32 ---> Running in e08ec597e92e 05:09:32 Removing intermediate container e08ec597e92e 05:09:32 ---> a54b3fdd8534 05:09:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:09:32 ---> Running in b8b47c3c0ddb 05:09:32 Removing intermediate container b8b47c3c0ddb 05:09:32 ---> af798a8f55d1 05:09:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:09:32 ---> Running in 6e1725cf2303 05:09:33 Removing intermediate container 6e1725cf2303 05:09:33 ---> d59b7bc3ced5 05:09:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:33 ---> Running in fc5f70b54c9a 05:09:34 Removing intermediate container fc5f70b54c9a 05:09:34 ---> b2f300bcf3df 05:09:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:34 ---> Running in cb7748b062c2 05:09:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:09:35 Still waiting to schedule task 05:09:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:09:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:09:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:09:36 (2/4) Installing libedit (20210910.3.1-r0) 05:09:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:09:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:09:36 Executing busybox-1.34.1-r3.trigger 05:09:36 OK: 224 MiB in 56 packages 05:09:36 Removing intermediate container cb7748b062c2 05:09:36 ---> b3489b48847d 05:09:36 Step 8/12 : WORKDIR /device-snmp-go 05:09:36 ---> Running in d95a1dc12a05 05:09:36 Removing intermediate container d95a1dc12a05 05:09:36 ---> c6b1eb027111 05:09:36 Step 9/12 : COPY go.mod vendor* ./ 05:09:37 ---> 0033616ee251 05:09:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:37 ---> Running in 7103cdb1ae5c 05:09:59 Removing intermediate container 7103cdb1ae5c 05:09:59 ---> 89f7d5cb972c 05:09:59 Step 11/12 : COPY . . 05:09:59 ---> fbfe18ff46f7 05:09:59 Step 12/12 : RUN ${MAKE} 05:09:59 ---> Running in 87d1aff61177 05:09:59 noop 05:09:59 Removing intermediate container 87d1aff61177 05:09:59 ---> f7cab29f303a 05:09:59 Successfully built f7cab29f303a 05:09:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:09:59 + docker inspect -f . ci-base-image-x86_64 05:09:59 . [Pipeline] withDockerContainer 05:09:59 prd-ubuntu20.04-docker-8c-8g-34418 does not seem to be running inside a container 05:09:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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 ******** ci-base-image-x86_64 cat 05:09:59 $ docker top 7c01e5a5d12d5bffdbdd37bcf0914f370f25f6c292ed6ca8792d0a388d55b0ee -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:00 + go version 05:10:00 go version go1.17.6 linux/amd64 [Pipeline] } 05:10:00 $ docker stop --time=1 7c01e5a5d12d5bffdbdd37bcf0914f370f25f6c292ed6ca8792d0a388d55b0ee 05:10:01 $ docker rm -f 7c01e5a5d12d5bffdbdd37bcf0914f370f25f6c292ed6ca8792d0a388d55b0ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:02 + docker inspect -f . ci-base-image-x86_64 05:10:02 . [Pipeline] withDockerContainer 05:10:02 prd-ubuntu20.04-docker-8c-8g-34418 does not seem to be running inside a container 05:10:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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 ******** ci-base-image-x86_64 cat 05:10:02 $ docker top 894648784f1b2a2fac0fb44a2e1484c6cb97acc4d124890934fffa7689c689a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:10:03 + make test 05:10:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:03 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:13 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:10:13 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 05:10:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:10:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:23 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:24 $ docker stop --time=1 894648784f1b2a2fac0fb44a2e1484c6cb97acc4d124890934fffa7689c689a7 05:10:25 $ docker rm -f 894648784f1b2a2fac0fb44a2e1484c6cb97acc4d124890934fffa7689c689a7 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:10:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:27 + ls -al . 05:10:27 total 188 05:10:27 drwxrwxr-x 9 jenkins jenkins 4096 May 2 05:10 . 05:10:27 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:08 .. 05:10:27 -rw-rw-r-- 1 jenkins jenkins 6 May 2 05:08 .dockerignore 05:10:27 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:09 .git 05:10:27 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:08 .github 05:10:27 -rw-rw-r-- 1 jenkins jenkins 328 May 2 05:08 .gitignore 05:10:27 -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:08 .golangci.yml 05:10:27 drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:09 .semver 05:10:27 -rw-rw-r-- 1 jenkins jenkins 8296 May 2 05:08 Attribution.txt 05:10:27 -rw-rw-r-- 1 jenkins jenkins 4401 May 2 05:08 CHANGELOG.md 05:10:27 -rw-rw-r-- 1 jenkins jenkins 1516 May 2 05:08 Dockerfile 05:10:27 -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:08 GOVERNANCE.md 05:10:27 -rw-rw-r-- 1 jenkins jenkins 656 May 2 05:08 Jenkinsfile 05:10:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:08 LICENSE 05:10:27 -rw-rw-r-- 1 jenkins jenkins 1938 May 2 05:08 Makefile 05:10:27 -rw-rw-r-- 1 jenkins jenkins 620 May 2 05:08 OWNERS.md 05:10:27 -rw-rw-r-- 1 jenkins jenkins 9074 May 2 05:08 README.md 05:10:27 -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:09 VERSION 05:10:27 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:08 bin 05:10:27 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:08 cmd 05:10:27 -rw-r--r-- 1 jenkins jenkins 7631 May 2 05:10 coverage.out 05:10:27 -rw-rw-r-- 1 jenkins jenkins 3296 May 2 05:08 go.mod 05:10:27 -rw-rw-r-- 1 jenkins jenkins 54349 May 2 05:08 go.sum 05:10:27 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:08 internal 05:10:27 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:08 snap 05:10:27 -rw-rw-r-- 1 jenkins jenkins 209 May 2 05:08 version.go [Pipeline] isUnix [Pipeline] sh 05:10:28 + 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=ec4e2bb25b85e98e951cb70b75cd43993a27e76d --label arch=amd64 --label version=0.0.0 . 05:10:28 Sending build context to Docker daemon 5.322MB 05:10:28 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:10:28 Step 2/24 : FROM ${BASE} AS builder 05:10:28 ---> f7cab29f303a 05:10:28 Step 3/24 : ARG MAKE='make build' 05:10:28 ---> Running in 16fd8ac9ec64 05:10:28 Removing intermediate container 16fd8ac9ec64 05:10:28 ---> e31e65b6e894 05:10:28 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:10:28 ---> Running in 50b7a0758fd4 05:10:28 Removing intermediate container 50b7a0758fd4 05:10:28 ---> 9ae2c0835fc1 05:10:28 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:10:28 ---> Running in bea142001fe1 05:10:28 Removing intermediate container bea142001fe1 05:10:28 ---> 964f04b35d8e 05:10:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:28 ---> Running in 1dc110018489 05:10:29 Removing intermediate container 1dc110018489 05:10:29 ---> 6bb86c1e5856 05:10:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:29 ---> Running in 887b4c131e73 05:10:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:10:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:10:30 OK: 224 MiB in 56 packages 05:10:31 Removing intermediate container 887b4c131e73 05:10:31 ---> 704c9dc0fb2e 05:10:31 Step 8/24 : WORKDIR /device-snmp-go 05:10:31 ---> Running in 2b645dce7b6b 05:10:31 Removing intermediate container 2b645dce7b6b 05:10:31 ---> ff09e01d707f 05:10:31 Step 9/24 : COPY go.mod vendor* ./ 05:10:31 ---> 8f7b663db784 05:10:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:31 ---> Running in a08e4548fabf 05:10:32 Removing intermediate container a08e4548fabf 05:10:32 ---> da25108501b3 05:10:32 Step 11/24 : COPY . . 05:10:32 ---> b41fcd777fad 05:10:32 Step 12/24 : RUN ${MAKE} 05:10:32 ---> Running in fc88882685f2 05:10:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:10:54 Removing intermediate container fc88882685f2 05:10:54 ---> 92603171b6ce 05:10:54 Step 13/24 : FROM alpine:3.14 05:10:54 3.14: Pulling from library/alpine 05:10:54 8663204ce13b: Pulling fs layer 05:10:54 8663204ce13b: Verifying Checksum 05:10:54 8663204ce13b: Download complete 05:10:54 8663204ce13b: Pull complete 05:10:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:10:54 Status: Downloaded newer image for alpine:3.14 05:10:54 ---> e04c818066af 05:10:54 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:10:54 ---> Running in 977cafa59b66 05:10:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:10:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:10:54 (1/6) Installing dumb-init (1.2.5-r1) 05:10:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:10:54 (3/6) Installing libsodium (1.0.18-r0) 05:10:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:10:54 (5/6) Installing libzmq (4.3.4-r0) 05:10:54 (6/6) Installing zeromq (4.3.4-r0) 05:10:54 Executing busybox-1.33.1-r7.trigger 05:10:54 OK: 8 MiB in 20 packages 05:10:54 Removing intermediate container 977cafa59b66 05:10:54 ---> 7048bc717889 05:10:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:10:55 ---> 70e42cdaf752 05:10:55 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:10:55 ---> 9fcf620519a7 05:10:55 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:10:55 ---> 9471813c2548 05:10:55 Step 18/24 : EXPOSE 59993 05:10:55 ---> Running in 993222d03397 05:10:55 Removing intermediate container 993222d03397 05:10:55 ---> 462ccf9fbb51 05:10:55 Step 19/24 : EXPOSE 161 05:10:55 ---> Running in 9c9a2711daa3 05:10:56 Removing intermediate container 9c9a2711daa3 05:10:56 ---> b6791d02fbe5 05:10:56 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:10:56 ---> Running in 70b68ff5f323 05:10:56 Removing intermediate container 70b68ff5f323 05:10:56 ---> 5884012fcd53 05:10:56 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:10:56 ---> Running in ed8c3bc6e979 05:10:56 Removing intermediate container ed8c3bc6e979 05:10:56 ---> 8f12b1d5afc8 05:10:56 Step 22/24 : LABEL arch=amd64 05:10:56 ---> Running in 2516b8f6f4ef 05:10:56 Removing intermediate container 2516b8f6f4ef 05:10:56 ---> ab072697ac77 05:10:56 Step 23/24 : LABEL git_sha=ec4e2bb25b85e98e951cb70b75cd43993a27e76d 05:10:56 ---> Running in b4b17d36f371 05:10:56 Removing intermediate container b4b17d36f371 05:10:56 ---> db3c2b60f812 05:10:56 Step 24/24 : LABEL version=0.0.0 05:10:56 ---> Running in 248b88b5d7a5 05:10:56 Removing intermediate container 248b88b5d7a5 05:10:56 ---> cd19c4da91b3 05:10:56 [Warning] One or more build-args [ARCH] were not consumed 05:10:56 Successfully built cd19c4da91b3 05:10:56 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 05:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:57 05:10:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:10:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:57 latest: Pulling from edgex-lftools-log-publisher 05:10:57 5eb5b503b376: Pulling fs layer 05:10:57 5c69ac0246d0: Pulling fs layer 05:10:57 ec43610c2a17: Pulling fs layer 05:10:57 3a2ae6a8a46f: Pulling fs layer 05:10:57 33b1e0a273af: Pulling fs layer 05:10:57 5d3b04190fa2: Pulling fs layer 05:10:57 2f39f015ded8: Pulling fs layer 05:10:57 33b1e0a273af: Waiting 05:10:57 5d3b04190fa2: Waiting 05:10:57 2f39f015ded8: Waiting 05:10:57 3a2ae6a8a46f: Waiting 05:10:57 5c69ac0246d0: Download complete 05:10:57 3a2ae6a8a46f: Verifying Checksum 05:10:57 3a2ae6a8a46f: Download complete 05:10:57 ec43610c2a17: Verifying Checksum 05:10:57 ec43610c2a17: Download complete 05:10:57 33b1e0a273af: Verifying Checksum 05:10:57 33b1e0a273af: Download complete 05:10:57 5d3b04190fa2: Verifying Checksum 05:10:57 5d3b04190fa2: Download complete 05:10:58 5eb5b503b376: Download complete 05:10:58 2f39f015ded8: Download complete 05:10:59 5eb5b503b376: Pull complete 05:10:59 5c69ac0246d0: Pull complete 05:11:00 ec43610c2a17: Pull complete 05:11:00 3a2ae6a8a46f: Pull complete 05:11:00 33b1e0a273af: Pull complete 05:11:00 5d3b04190fa2: Pull complete 05:11:04 2f39f015ded8: Pull complete 05:11:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:11:04 prd-ubuntu20.04-docker-8c-8g-34418 does not seem to be running inside a container 05:11:04 $ 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-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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-lftools-log-publisher:latest cat 05:11:06 $ docker top ee61fb1c0aeeb922e8fa4f1f785d71d43761e3c192f19871ce959009a1832828 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:07 ---> job-cost.sh 05:11:07 lf-activate-venv: SKIPPING 05:11:07 INFO: No Stack... 05:11:07 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:08 INFO: Archiving Costs [Pipeline] sh 05:11:08 + cat /w/workspace/gexfoundry_device-snmp-go_PR-164/archives/cost.csv 05:11:08 + cut -d, -f6 [Pipeline] lock 05:11:08 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-164-1-stack-cost] 05:11:08 Resource [jenkins-edgexfoundry-device-snmp-go-PR-164-1-stack-cost] did not exist. Created. 05:11:08 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:09 + echo total: 0.2199999988079071 [Pipeline] stash 05:11:09 Stashed 1 file(s) [Pipeline] } 05:11:09 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:09 $ docker stop --time=1 ee61fb1c0aeeb922e8fa4f1f785d71d43761e3c192f19871ce959009a1832828 05:11:10 $ docker rm -f ee61fb1c0aeeb922e8fa4f1f785d71d43761e3c192f19871ce959009a1832828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:14:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34458 in /w/workspace/gexfoundry_device-snmp-go_PR-164 [Pipeline] { [Pipeline] ws 05:14:54 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:14:55 Selected Git installation does not exist. Using Default 05:14:55 The recommended git tool is: NONE 05:15:03 using credential edgex-jenkins-ssh 05:15:03 Cloning the remote Git repository 05:15:03 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:15:03 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:15:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:15:04 > git --version # timeout=10 05:15:04 > git --version # 'git version 2.25.1' 05:15:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:15:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:15:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:15:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:15:05 Merging remotes/origin/main commit a672eeb6ec92b4d90420405cd1acfac3e3196a2e into PR head commit ec4e2bb25b85e98e951cb70b75cd43993a27e76d 05:15:06 Merge succeeded, producing ec4e2bb25b85e98e951cb70b75cd43993a27e76d 05:15:06 Checking out Revision ec4e2bb25b85e98e951cb70b75cd43993a27e76d (PR-164) 05:15:06 > git config core.sparsecheckout # timeout=10 05:15:06 > git checkout -f ec4e2bb25b85e98e951cb70b75cd43993a27e76d # timeout=10 05:15:06 > git remote # timeout=10 05:15:06 > git config --get remote.origin.url # timeout=10 05:15:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:06 > git merge a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 05:15:06 > git rev-parse HEAD^{commit} # timeout=10 05:15:06 > git config core.sparsecheckout # timeout=10 05:15:06 > git checkout -f ec4e2bb25b85e98e951cb70b75cd43993a27e76d # timeout=10 05:15:10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:15:10 > git --version # timeout=10 05:15:10 > git --version # 'git version 2.25.1' 05:15:10 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:15:16 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:16 Dload Upload Total Spent Left Speed 05:15:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 05:15:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:15:17 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 05:15:17 05:15:17 { 05:15:17 "registry-mirrors": [ 05:15:17 "https://nexus3.edgexfoundry.org:10001" 05:15:17 ], 05:15:17 "bip": "10.250.0.254/24", 05:15:17 "hosts": [ 05:15:17 "tcp://0.0.0.0:5555", 05:15:17 "unix:///var/run/docker.sock" 05:15:17 ], 05:15:17 "mtu": 1458, 05:15:17 "selinux-enabled": true, 05:15:17 "seccomp-profile": "/etc/docker/seccomp.json" 05:15:17 } [Pipeline] sh 05:15:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:15:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:37 provisioning config files... 05:15:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3880023450755006526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:37 ---> docker-login.sh 05:15:37 nexus3.edgexfoundry.org:10001 05:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:38 Configure a credential helper to remove this warning. See 05:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:38 05:15:38 Login Succeeded 05:15:38 nexus3.edgexfoundry.org:10002 05:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:39 Configure a credential helper to remove this warning. See 05:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:39 05:15:39 Login Succeeded 05:15:39 nexus3.edgexfoundry.org:10003 05:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:39 Configure a credential helper to remove this warning. See 05:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:39 05:15:39 Login Succeeded 05:15:39 nexus3.edgexfoundry.org:10004 05:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:40 Configure a credential helper to remove this warning. See 05:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:40 05:15:40 Login Succeeded 05:15:40 docker.io 05:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:41 Configure a credential helper to remove this warning. See 05:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:41 05:15:41 Login Succeeded 05:15:41 ---> docker-login.sh ends [Pipeline] } 05:15:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:41 ========================================================= 05:15:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:15:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:15:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:15:42 Sending build context to Docker daemon 2.749MB 05:15:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:15:42 Step 2/12 : FROM ${BASE} AS builder 05:15:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:42 9b3977197b4f: Pulling fs layer 05:15:42 1a89e8eeedd5: Pulling fs layer 05:15:42 94645a83ff95: Pulling fs layer 05:15:42 3f3a8bcf1eab: Pulling fs layer 05:15:42 0c92f367c5e7: Pulling fs layer 05:15:42 3096ccb668a1: Pulling fs layer 05:15:42 e8cf19c19ddd: Pulling fs layer 05:15:42 a4caa8a26152: Pulling fs layer 05:15:42 3f3a8bcf1eab: Waiting 05:15:42 0c92f367c5e7: Waiting 05:15:42 3096ccb668a1: Waiting 05:15:42 e8cf19c19ddd: Waiting 05:15:42 a4caa8a26152: Waiting 05:15:42 94645a83ff95: Verifying Checksum 05:15:42 94645a83ff95: Download complete 05:15:42 1a89e8eeedd5: Verifying Checksum 05:15:42 1a89e8eeedd5: Download complete 05:15:42 0c92f367c5e7: Verifying Checksum 05:15:42 0c92f367c5e7: Download complete 05:15:43 3096ccb668a1: Verifying Checksum 05:15:43 3096ccb668a1: Download complete 05:15:43 9b3977197b4f: Verifying Checksum 05:15:43 9b3977197b4f: Download complete 05:15:43 e8cf19c19ddd: Verifying Checksum 05:15:43 e8cf19c19ddd: Download complete 05:15:43 9b3977197b4f: Pull complete 05:15:44 1a89e8eeedd5: Pull complete 05:15:44 94645a83ff95: Pull complete 05:15:45 a4caa8a26152: Download complete 05:15:45 3f3a8bcf1eab: Download complete 05:16:00 3f3a8bcf1eab: Pull complete 05:16:00 0c92f367c5e7: Pull complete 05:16:00 3096ccb668a1: Pull complete 05:16:00 e8cf19c19ddd: Pull complete 05:16:07 a4caa8a26152: Pull complete 05:16:07 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:16:07 ---> 725f1c02e7f9 05:16:07 Step 3/12 : ARG MAKE='make build' 05:16:08 ---> Running in 95dfb0080e30 05:16:08 Removing intermediate container 95dfb0080e30 05:16:08 ---> 8fbc4d31651d 05:16:08 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:16:08 ---> Running in b7f5ad99b977 05:16:09 Removing intermediate container b7f5ad99b977 05:16:09 ---> 11de4a2324da 05:16:09 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:16:09 ---> Running in b9b5c7b78dfb 05:16:09 Removing intermediate container b9b5c7b78dfb 05:16:09 ---> 27c3ef2cd3da 05:16:09 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:09 ---> Running in 458b38b2d0d4 05:16:11 Removing intermediate container 458b38b2d0d4 05:16:11 ---> 41a4ed2e351e 05:16:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:16:11 ---> Running in 61105cb43a90 05:16:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:16:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:16:14 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:16:14 (2/4) Installing libedit (20210910.3.1-r0) 05:16:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:16:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:16:15 Executing busybox-1.34.1-r3.trigger 05:16:15 OK: 224 MiB in 56 packages 05:16:16 Removing intermediate container 61105cb43a90 05:16:16 ---> 78ebad1c0894 05:16:16 Step 8/12 : WORKDIR /device-snmp-go 05:16:16 ---> Running in f70bfc8c8a02 05:16:16 Removing intermediate container f70bfc8c8a02 05:16:16 ---> ebcc42089e49 05:16:16 Step 9/12 : COPY go.mod vendor* ./ 05:16:17 ---> a54945b1fe81 05:16:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:17 ---> Running in 1aeb0d078996 05:17:14 Removing intermediate container 1aeb0d078996 05:17:14 ---> 9fbd7c449a09 05:17:14 Step 11/12 : COPY . . 05:17:14 ---> 49316eb1ea44 05:17:14 Step 12/12 : RUN ${MAKE} 05:17:14 ---> Running in b603bd75fb93 05:17:14 noop 05:17:14 Removing intermediate container b603bd75fb93 05:17:14 ---> a13f7f6cb507 05:17:14 Successfully built a13f7f6cb507 05:17:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:17:14 + docker inspect -f . ci-base-image-arm64 05:17:14 . [Pipeline] withDockerContainer 05:17:14 prd-ubuntu20.04-docker-arm64-4c-16g-34458 does not seem to be running inside a container 05:17:15 $ 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 ******** ci-base-image-arm64 cat 05:17:16 $ docker top 53274b88d4bdcdb8c66aabe695f0447d714ad69add9a07b4b8aca4db008a7696 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:17 + go version 05:17:17 go version go1.17.6 linux/arm64 [Pipeline] } 05:17:17 $ docker stop --time=1 53274b88d4bdcdb8c66aabe695f0447d714ad69add9a07b4b8aca4db008a7696 05:17:19 $ docker rm -f 53274b88d4bdcdb8c66aabe695f0447d714ad69add9a07b4b8aca4db008a7696 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:19 + docker inspect -f . ci-base-image-arm64 05:17:19 . [Pipeline] withDockerContainer 05:17:20 prd-ubuntu20.04-docker-arm64-4c-16g-34458 does not seem to be running inside a container 05:17:20 $ 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 ******** ci-base-image-arm64 cat 05:17:21 $ docker top e607d163aef2d5618d1a8c3b4ca729cbef5b5ae153f0705a63f62c95f145e3b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:17:22 + make test 05:17:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:17:24 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:19:01 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:19:01 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.060s coverage: 0.0% of statements 05:19:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:19:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:19:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:23 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:24 $ docker stop --time=1 e607d163aef2d5618d1a8c3b4ca729cbef5b5ae153f0705a63f62c95f145e3b9 05:19:26 $ docker rm -f e607d163aef2d5618d1a8c3b4ca729cbef5b5ae153f0705a63f62c95f145e3b9 [Pipeline] // withDockerContainer [Pipeline] sh 05:19:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:27 Warning: overwriting stash ‘coverage-report’ 05:19:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:29 + ls -al . 05:19:29 total 184 05:19:29 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:19 . 05:19:29 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:15 .. 05:19:29 -rw-rw-r-- 1 jenkins jenkins 6 May 2 05:15 .dockerignore 05:19:29 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:15 .git 05:19:29 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 .github 05:19:29 -rw-rw-r-- 1 jenkins jenkins 328 May 2 05:15 .gitignore 05:19:29 -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:15 .golangci.yml 05:19:29 -rw-rw-r-- 1 jenkins jenkins 8296 May 2 05:15 Attribution.txt 05:19:29 -rw-rw-r-- 1 jenkins jenkins 4401 May 2 05:15 CHANGELOG.md 05:19:29 -rw-rw-r-- 1 jenkins jenkins 1516 May 2 05:15 Dockerfile 05:19:29 -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:15 GOVERNANCE.md 05:19:29 -rw-rw-r-- 1 jenkins jenkins 656 May 2 05:15 Jenkinsfile 05:19:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:15 LICENSE 05:19:29 -rw-rw-r-- 1 jenkins jenkins 1938 May 2 05:15 Makefile 05:19:29 -rw-rw-r-- 1 jenkins jenkins 620 May 2 05:15 OWNERS.md 05:19:29 -rw-rw-r-- 1 jenkins jenkins 9074 May 2 05:15 README.md 05:19:29 -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:09 VERSION 05:19:29 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:15 bin 05:19:29 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 cmd 05:19:29 -rw-r--r-- 1 jenkins jenkins 7631 May 2 05:18 coverage.out 05:19:29 -rw-rw-r-- 1 jenkins jenkins 3296 May 2 05:15 go.mod 05:19:29 -rw-rw-r-- 1 jenkins jenkins 54349 May 2 05:15 go.sum 05:19:29 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 internal 05:19:29 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 snap 05:19:29 -rw-rw-r-- 1 jenkins jenkins 209 May 2 05:15 version.go [Pipeline] isUnix [Pipeline] sh 05:19:29 + 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=ec4e2bb25b85e98e951cb70b75cd43993a27e76d --label arch=arm64 --label version=0.0.0 . 05:19:30 Sending build context to Docker daemon 2.757MB 05:19:30 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:19:30 Step 2/24 : FROM ${BASE} AS builder 05:19:30 ---> a13f7f6cb507 05:19:30 Step 3/24 : ARG MAKE='make build' 05:19:30 ---> Running in 31c5dc6dc61b 05:19:30 Removing intermediate container 31c5dc6dc61b 05:19:30 ---> b6a043376cc6 05:19:30 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:19:30 ---> Running in 03a9a8ea8cb2 05:19:31 Removing intermediate container 03a9a8ea8cb2 05:19:31 ---> 770046d021ad 05:19:31 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:19:31 ---> Running in 8710c720e294 05:19:31 Removing intermediate container 8710c720e294 05:19:31 ---> e785678343d2 05:19:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:31 ---> Running in 904dd3199206 05:19:33 Removing intermediate container 904dd3199206 05:19:33 ---> 861f2a96463a 05:19:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:19:33 ---> Running in f4474269bde3 05:19:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:19:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:19:36 OK: 224 MiB in 56 packages 05:19:36 Removing intermediate container f4474269bde3 05:19:36 ---> 33089d4845ee 05:19:36 Step 8/24 : WORKDIR /device-snmp-go 05:19:37 ---> Running in 460d15ac113b 05:19:37 Removing intermediate container 460d15ac113b 05:19:37 ---> fbf94126f8f9 05:19:37 Step 9/24 : COPY go.mod vendor* ./ 05:19:38 ---> fe00104b0e91 05:19:38 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:38 ---> Running in 72756cde02a5 05:19:40 Removing intermediate container 72756cde02a5 05:19:40 ---> f0188821532f 05:19:40 Step 11/24 : COPY . . 05:19:41 ---> fdb8e8ec38b9 05:19:41 Step 12/24 : RUN ${MAKE} 05:19:41 ---> Running in 5679cb90c17a 05:19:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:22:04 Removing intermediate container 5679cb90c17a 05:22:04 ---> f7ce856c440d 05:22:04 Step 13/24 : FROM alpine:3.14 05:22:04 3.14: Pulling from library/alpine 05:22:04 455c02918c45: Pulling fs layer 05:22:04 455c02918c45: Download complete 05:22:04 455c02918c45: Pull complete 05:22:04 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:22:04 Status: Downloaded newer image for alpine:3.14 05:22:04 ---> ac73e934f311 05:22:04 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:22:04 ---> Running in e46dfb9d12fe 05:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:22:04 (1/6) Installing dumb-init (1.2.5-r1) 05:22:04 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:22:04 (3/6) Installing libsodium (1.0.18-r0) 05:22:04 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:22:04 (5/6) Installing libzmq (4.3.4-r0) 05:22:04 (6/6) Installing zeromq (4.3.4-r0) 05:22:04 Executing busybox-1.33.1-r7.trigger 05:22:04 OK: 8 MiB in 20 packages 05:22:04 Removing intermediate container e46dfb9d12fe 05:22:04 ---> 4399ed39f9ce 05:22:04 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:22:04 ---> 0747a5352cf8 05:22:04 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:22:04 ---> a00c13d1ea3a 05:22:04 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:22:04 ---> 387462d2c1f9 05:22:04 Step 18/24 : EXPOSE 59993 05:22:04 ---> Running in f0ad9734f0c0 05:22:04 Removing intermediate container f0ad9734f0c0 05:22:04 ---> e11b9308ff9d 05:22:04 Step 19/24 : EXPOSE 161 05:22:04 ---> Running in 45fa8b40b897 05:22:04 Removing intermediate container 45fa8b40b897 05:22:04 ---> 02c31dba0781 05:22:04 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:22:04 ---> Running in 33d3ab077d52 05:22:04 Removing intermediate container 33d3ab077d52 05:22:04 ---> 9be7e59574b0 05:22:04 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:22:04 ---> Running in 1e024225ee6e 05:22:04 Removing intermediate container 1e024225ee6e 05:22:04 ---> fb31da9c42d9 05:22:04 Step 22/24 : LABEL arch=arm64 05:22:04 ---> Running in c80cbdc3529e 05:22:05 Removing intermediate container c80cbdc3529e 05:22:05 ---> 55ab6bd6598b 05:22:05 Step 23/24 : LABEL git_sha=ec4e2bb25b85e98e951cb70b75cd43993a27e76d 05:22:05 ---> Running in 5f76be53c39e 05:22:05 Removing intermediate container 5f76be53c39e 05:22:05 ---> 78939d823363 05:22:05 Step 24/24 : LABEL version=0.0.0 05:22:05 ---> Running in 94f6eaaf9cfc 05:22:05 Removing intermediate container 94f6eaaf9cfc 05:22:05 ---> b4d5602c394a 05:22:05 [Warning] One or more build-args [ARCH] were not consumed 05:22:05 Successfully built b4d5602c394a 05:22:05 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 05:22:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:06 05:22:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:22:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:07 arm64: Pulling from edgex-lftools-log-publisher 05:22:07 8998bd30e6a1: Pulling fs layer 05:22:07 04944245beec: Pulling fs layer 05:22:07 699f458cf7ca: Pulling fs layer 05:22:07 765212b225bb: Pulling fs layer 05:22:07 f23df028b6ca: Pulling fs layer 05:22:07 d65c8cfc05b1: Pulling fs layer 05:22:07 2437ff75d9bd: Pulling fs layer 05:22:07 765212b225bb: Waiting 05:22:07 d65c8cfc05b1: Waiting 05:22:07 2437ff75d9bd: Waiting 05:22:07 04944245beec: Verifying Checksum 05:22:07 04944245beec: Download complete 05:22:07 765212b225bb: Verifying Checksum 05:22:07 765212b225bb: Download complete 05:22:07 f23df028b6ca: Download complete 05:22:07 d65c8cfc05b1: Verifying Checksum 05:22:07 d65c8cfc05b1: Download complete 05:22:07 699f458cf7ca: Verifying Checksum 05:22:07 699f458cf7ca: Download complete 05:22:07 8998bd30e6a1: Download complete 05:22:10 2437ff75d9bd: Verifying Checksum 05:22:10 2437ff75d9bd: Download complete 05:22:11 8998bd30e6a1: Pull complete 05:22:12 04944245beec: Pull complete 05:22:13 699f458cf7ca: Pull complete 05:22:13 765212b225bb: Pull complete 05:22:14 f23df028b6ca: Pull complete 05:22:15 d65c8cfc05b1: Pull complete 05:22:30 2437ff75d9bd: Pull complete 05:22:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:22:30 prd-ubuntu20.04-docker-arm64-4c-16g-34458 does not seem to be running inside a container 05:22:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:22:33 $ docker top 0527de30a7fc4928e823676b4247617b85e34a56d00b41df24fd6aad8f9d96f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:34 ---> job-cost.sh 05:22:34 lf-activate-venv: SKIPPING 05:22:34 INFO: No Stack... 05:22:35 INFO: Retrieving Pricing Info for: v3-standard-4 05:22:36 INFO: Archiving Costs [Pipeline] sh 05:22:37 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:22:37 + cut -d, -f6 [Pipeline] lock 05:22:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-164-1-stack-cost] 05:22:37 Resource [jenkins-edgexfoundry-device-snmp-go-PR-164-1-stack-cost] did not exist. Created. 05:22:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:38 /w/workspace/device-snmp-go/1@tmp/durable-0342d7f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:22:38 + echo total: 0.10999999940395355 [Pipeline] stash 05:22:38 Warning: overwriting stash ‘stack-cost’ 05:22:38 Stashed 1 file(s) [Pipeline] } 05:22:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:22:38 $ docker stop --time=1 0527de30a7fc4928e823676b4247617b85e34a56d00b41df24fd6aad8f9d96f5 05:22:40 $ docker rm -f 0527de30a7fc4928e823676b4247617b85e34a56d00b41df24fd6aad8f9d96f5 [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 05:22:41 provisioning config files... 05:22:41 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/config793600559215657891tmp [Pipeline] { [Pipeline] sh 05:22:41 + set +x 05:22:41 + curl -s https://codecov.io/bash 05:22:41 + bash -s -- 05:22:41 05:22:41 _____ _ 05:22:41 / ____| | | 05:22:41 | | ___ __| | ___ ___ _____ __ 05:22:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:22:41 | |___| (_) | (_| | __/ (_| (_) \ V / 05:22:41 \_____\___/ \__,_|\___|\___\___/ \_/ 05:22:41 Bash-1.0.6 05:22:41 05:22:41 05:22:41 ==> git version 2.25.1 found 05:22:41 ==> 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 05:22:41 Release-Date: 2020-01-08 05:22:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:22:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:22:41 ==> Jenkins CI detected. 05:22:41 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-164 05:22:41 project root: . 05:22:41 --> token set from env 05:22:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:22:41 ==> Running gcov in . (disable via -X gcov) 05:22:41 ==> Python coveragepy not found 05:22:41 ==> Searching for coverage reports in: 05:22:41 + . 05:22:41 -> Found 1 reports 05:22:41 ==> Detecting git/mercurial file structure 05:22:41 ==> Reading reports 05:22:41 + ./coverage.out bytes=7631 05:22:41 ==> Appending adjustments 05:22:41 https://docs.codecov.io/docs/fixing-reports 05:22:42 + Found adjustments 05:22:42 ==> Gzipping contents 05:22:42 4.0K /tmp/codecov.DGiLym.gz 05:22:42 ==> Uploading reports 05:22:42 url: https://codecov.io 05:22:42 query: branch=PR-164&commit=ec4e2bb25b85e98e951cb70b75cd43993a27e76d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=164&job=&cmd_args= 05:22:42 -> Pinging Codecov 05:22:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-164&commit=ec4e2bb25b85e98e951cb70b75cd43993a27e76d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=164&job=&cmd_args= 05:22:42 -> Uploading to 05:22:42 https://storage.googleapis.com/codecov/v4/raw/2022-05-02/6C56EA5C29638FB4528AC87E60AF5AE0/ec4e2bb25b85e98e951cb70b75cd43993a27e76d/cb2e9d9d-59f7-4c50-8308-340e2e485b3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T052242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21f4c95b640af46bb16fe19955b8f9c87846d46d1e63f595cf2132c1c3f82aab 05:22:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:42 Dload Upload Total Spent Left Speed 05:22:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6731 --:--:-- --:--:-- --:--:-- 6702 100 1602 0 0 100 1602 0 6731 --:--:-- --:--:-- --:--:-- 6702 05:22:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/ec4e2bb25b85e98e951cb70b75cd43993a27e76d [Pipeline] } 05:22:42 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 05:22:44 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-164/archives ] 05:22:44 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-164/archives 05:22:44 total 16 05:22:44 drwxr-xr-x 3 root root 4096 May 2 05:11 . 05:22:44 drwxrwxr-x 10 jenkins jenkins 4096 May 2 05:11 .. 05:22:44 drwxr-xr-x 2 root root 4096 May 2 05:11 cost 05:22:44 -rw-r--r-- 1 root root 85 May 2 05:11 cost.csv 05:22:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-164/archives 05:22:44 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-164/archives 05:22:44 total 16 05:22:44 drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:11 . 05:22:44 drwxrwxr-x 10 jenkins jenkins 4096 May 2 05:11 .. 05:22:44 drwxr-xr-x 2 jenkins jenkins 4096 May 2 05:11 cost 05:22:44 -rw-r--r-- 1 jenkins jenkins 85 May 2 05:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:22:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:22:45 ---> package-listing.sh 05:22:45 ++ facter osfamily 05:22:45 ++ tr '[:upper:]' '[:lower:]' 05:22:45 + OS_FAMILY=debian 05:22:45 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-164 05:22:45 + START_PACKAGES=/tmp/packages_start.txt 05:22:45 + END_PACKAGES=/tmp/packages_end.txt 05:22:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:22:45 + PACKAGES=/tmp/packages_start.txt 05:22:45 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-164 ']' 05:22:45 + PACKAGES=/tmp/packages_end.txt 05:22:45 + case "${OS_FAMILY}" in 05:22:45 + dpkg -l 05:22:45 + grep '^ii' 05:22:45 + '[' -f /tmp/packages_start.txt ']' 05:22:45 + '[' -f /tmp/packages_end.txt ']' 05:22:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:22:45 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-164 ']' 05:22:45 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-164/archives/ 05:22:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-164/archives/ [Pipeline] echo 05:22:45 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:22:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:46 . [Pipeline] withDockerContainer 05:22:46 prd-ubuntu20.04-docker-8c-8g-34418 does not seem to be running inside a container 05:22:46 $ 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-164/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-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:22:47 $ docker top eafd2cb96881aea67c6bef2ec0f10fd95022b8721a2740dac9e9d35afd363bfd -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:47 + touch /tmp/pre-build-complete [Pipeline] sh 05:22:47 + mkdir -p /var/log/sysstat [Pipeline] sh 05:22:48 + ls /var/log/sa-host 05:22:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:48 provisioning config files... 05:22:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/config2705366231974946661tmp [Pipeline] { [Pipeline] echo 05:22:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:22:48 ---> create-netrc.sh [Pipeline] } 05:22:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:22:49 ---> python-tools-install.sh [Pipeline] echo 05:22:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:22:49 ---> sudo-logs.sh 05:22:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:22:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:22:49 ---> job-cost.sh 05:22:49 lf-activate-venv: SKIPPING 05:22:49 DEBUG: total: 0.2199999988079071 05:22:49 INFO: Retrieving Stack Cost... 05:22:50 INFO: Retrieving Pricing Info for: v3-standard-8 05:22:50 INFO: Archiving Costs [Pipeline] echo 05:22:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:22:51 ---> logs-deploy.sh 05:22:51 lf-activate-venv: SKIPPING 05:22:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-164/1 05:22:51 INFO: archiving workspace using pattern(s): 05:22:52 Archives upload complete. 05:22:52 INFO: archiving logs to Nexus