Pull request #171 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-snmp-go Obtained Jenkinsfile from dda3a94081ee346b6065b5f24458c081e4ce801a+397e2e5fd123a0613be6f16d07ee51abe899caab (4a38c52520295928ae6dca9f75460d79592ddc0d) 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-ssh5643161071410450356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13490876205390635153.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-171/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-171/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11058751478952458595.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-171/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5139732082810674279.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14090768213565113753.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-171/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-171/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1375987687987958796.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63394 in /w/workspace/gexfoundry_device-snmp-go_PR-171 [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-171 # 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 397e2e5fd123a0613be6f16d07ee51abe899caab into PR head commit dda3a94081ee346b6065b5f24458c081e4ce801a Merge succeeded, producing dda3a94081ee346b6065b5f24458c081e4ce801a Checking out Revision dda3a94081ee346b6065b5f24458c081e4ce801a (PR-171) > 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/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dda3a94081ee346b6065b5f24458c081e4ce801a # 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 397e2e5fd123a0613be6f16d07ee51abe899caab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dda3a94081ee346b6065b5f24458c081e4ce801a # timeout=10 Commit message: "docs: CHANGELOG fixup" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:39:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:39:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:39:57 ========================================================= 14:39:57 EdgeX Global Pipelines Version Info 14:39:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:39:58 ------------------- 14:39:58 stable info: 14:39:58 ------------------- 14:39:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:39:58 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:39:58 Message: update stable to v1.0.230 14:39:58 ------------------- 14:39:58 experimental info: 14:39:58 ------------------- 14:39:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:39:58 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:39:58 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:39:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo 14:40:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo 14:40:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo 14:40:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dda3a94081ee346b6065b5f24458c081e4ce801a [Pipeline] echo 14:40:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dda3a94 [Pipeline] echo 14:40:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:40:00 provisioning config files... 14:40:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp/config7740745609504872003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:40:00 ---> docker-login.sh 14:40:00 nexus3.edgexfoundry.org:10001 14:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:01 Configure a credential helper to remove this warning. See 14:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:01 14:40:01 Login Succeeded 14:40:01 nexus3.edgexfoundry.org:10002 14:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:01 Configure a credential helper to remove this warning. See 14:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:01 14:40:01 Login Succeeded 14:40:01 nexus3.edgexfoundry.org:10003 14:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:01 Configure a credential helper to remove this warning. See 14:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:01 14:40:01 Login Succeeded 14:40:01 nexus3.edgexfoundry.org:10004 14:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:01 Configure a credential helper to remove this warning. See 14:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:01 14:40:01 Login Succeeded 14:40:01 docker.io 14:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:01 Configure a credential helper to remove this warning. See 14:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:01 14:40:01 Login Succeeded 14:40:01 ---> docker-login.sh ends [Pipeline] } 14:40:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:40:02 + git rev-list -1 --merges dda3a94081ee346b6065b5f24458c081e4ce801a~1..dda3a94081ee346b6065b5f24458c081e4ce801a [Pipeline] echo 14:40:02 -----------> git rev-list -1 --merges dda3a94081ee346b6065b5f24458c081e4ce801a~1..dda3a94081ee346b6065b5f24458c081e4ce801a dda3a94081ee346b6065b5f24458c081e4ce801a [false] [Pipeline] sh 14:40:02 + git log --format=format:%s -1 dda3a94081ee346b6065b5f24458c081e4ce801a [Pipeline] echo 14:40:02 ========================================================= 14:40:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:40:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:40:03 + git log --format=format:%s -1 dda3a94081ee346b6065b5f24458c081e4ce801a [Pipeline] echo 14:40:03 [semverPrep] GIT_COMMIT: dda3a94081ee346b6065b5f24458c081e4ce801a, Commit Message: docs: CHANGELOG fixup [Pipeline] echo 14:40:03 [semverPrep] This is not a build commit. [Pipeline] sh 14:40:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:40:03 + grep -v github /etc/ssh/ssh_known_hosts 14:40:03 + [ -e /tmp/ssh_known_hosts ] 14:40:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:40:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:40:03 + sudo tee -a /etc/ssh/ssh_known_hosts 14:40:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:40:04 14:40:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:40:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:40:04 latest: Pulling from edgex-devops/py-git-semver 14:40:04 1fe172e4850f: Pulling fs layer 14:40:04 caf521ccaac6: Pulling fs layer 14:40:04 3ead6fa29328: Pulling fs layer 14:40:04 5c2a1cbceb83: Pulling fs layer 14:40:04 a8d5f1318db7: Pulling fs layer 14:40:04 c427282e49a2: Pulling fs layer 14:40:04 1827001aaf11: Pulling fs layer 14:40:04 0714d37db230: Pulling fs layer 14:40:04 ac28cf19c067: Pulling fs layer 14:40:04 ca983d60f3e2: Pulling fs layer 14:40:04 9f894cec8388: Pulling fs layer 14:40:04 5c2a1cbceb83: Waiting 14:40:04 a8d5f1318db7: Waiting 14:40:04 c427282e49a2: Waiting 14:40:04 1827001aaf11: Waiting 14:40:04 0714d37db230: Waiting 14:40:04 ac28cf19c067: Waiting 14:40:04 ca983d60f3e2: Waiting 14:40:04 9f894cec8388: Waiting 14:40:04 caf521ccaac6: Download complete 14:40:04 5c2a1cbceb83: Download complete 14:40:05 a8d5f1318db7: Verifying Checksum 14:40:05 a8d5f1318db7: Download complete 14:40:05 3ead6fa29328: Verifying Checksum 14:40:05 3ead6fa29328: Download complete 14:40:05 c427282e49a2: Verifying Checksum 14:40:05 c427282e49a2: Download complete 14:40:05 0714d37db230: Verifying Checksum 14:40:05 0714d37db230: Download complete 14:40:05 ac28cf19c067: Download complete 14:40:05 ca983d60f3e2: Download complete 14:40:05 9f894cec8388: Download complete 14:40:05 1fe172e4850f: Download complete 14:40:05 1827001aaf11: Verifying Checksum 14:40:05 1827001aaf11: Download complete 14:40:06 1fe172e4850f: Pull complete 14:40:06 caf521ccaac6: Pull complete 14:40:07 3ead6fa29328: Pull complete 14:40:07 5c2a1cbceb83: Pull complete 14:40:07 a8d5f1318db7: Pull complete 14:40:07 c427282e49a2: Pull complete 14:40:10 1827001aaf11: Pull complete 14:40:10 0714d37db230: Pull complete 14:40:10 ac28cf19c067: Pull complete 14:40:10 ca983d60f3e2: Pull complete 14:40:10 9f894cec8388: Pull complete 14:40:10 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 14:40:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:40:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 14:40:10 prd-ubuntu20.04-docker-8c-8g-63394 does not seem to be running inside a container 14:40:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-171 -v /w/workspace/gexfoundry_device-snmp-go_PR-171:/w/workspace/gexfoundry_device-snmp-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-171@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-171@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-devops/py-git-semver:latest cat 14:40:11 $ docker top 5857a3108ea9fb704c951555a26593c40a0a001cbe19a63bc57316e05d0e6592 -eo pid,comm 14:40:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:40:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:40:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:40:11 [ssh-agent] Looking for ssh-agent implementation... 14:40:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:40:12 $ docker exec 5857a3108ea9fb704c951555a26593c40a0a001cbe19a63bc57316e05d0e6592 ssh-agent 14:40:12 SSH_AUTH_SOCK=/tmp/ssh-sbefPAVopA4Y/agent.34 14:40:12 SSH_AGENT_PID=40 14:40:12 Running ssh-add (command line suppressed) 14:40:12 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-171@tmp/private_key_7676957598210014991.key (/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp/private_key_7676957598210014991.key) 14:40:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:40:12 + git tag --points-at HEAD [Pipeline] } 14:40:12 $ docker exec --env ******** --env ******** 5857a3108ea9fb704c951555a26593c40a0a001cbe19a63bc57316e05d0e6592 ssh-agent -k 14:40:12 unset SSH_AUTH_SOCK; 14:40:12 unset SSH_AGENT_PID; 14:40:12 echo Agent pid 40 killed; 14:40:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:40:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:40:12 [ssh-agent] Looking for ssh-agent implementation... 14:40:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:40:13 $ docker exec 5857a3108ea9fb704c951555a26593c40a0a001cbe19a63bc57316e05d0e6592 ssh-agent 14:40:13 SSH_AUTH_SOCK=/tmp/ssh-BSu26ETTKzzI/agent.75 14:40:13 SSH_AGENT_PID=81 14:40:13 Running ssh-add (command line suppressed) 14:40:13 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-171@tmp/private_key_8482493914716681144.key (/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp/private_key_8482493914716681144.key) 14:40:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:40:13 + git semver init 14:40:14 2022-05-12 14:40:13,999 [run_init] DEBUG init version:0.0.0 force:False 14:40:14 2022-05-12 14:40:14,000 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-171/.semver 14:40:14 2022-05-12 14:40:14,000 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-171/.semver 14:40:14 2022-05-12 14:40:14,001 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-171/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-171, universal_newlines=False, shell=None, istream=None) 14:40:14 2022-05-12 14:40:14,801 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-171/.git/info/exclude 14:40:14 2022-05-12 14:40:14,802 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-171/.semver/PR-171 with force:False 14:40:14 2022-05-12 14:40:14,802 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-171/.semver/PR-171 14:40:14 2022-05-12 14:40:14,807 [execute] INFO git cat-file --batch-check 14:40:14 2022-05-12 14:40:14,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-171/.semver, universal_newlines=False, shell=None, istream=) 14:40:14 2022-05-12 14:40:14,815 [execute] INFO git cat-file --batch 14:40:14 2022-05-12 14:40:14,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-171/.semver, universal_newlines=False, shell=None, istream=) 14:40:14 2022-05-12 14:40:14,823 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-171/.semver/PR-171 14:40:14 0.0.0 [Pipeline] } 14:40:14 $ docker exec --env ******** --env ******** 5857a3108ea9fb704c951555a26593c40a0a001cbe19a63bc57316e05d0e6592 ssh-agent -k 14:40:15 unset SSH_AUTH_SOCK; 14:40:15 unset SSH_AGENT_PID; 14:40:15 echo Agent pid 81 killed; 14:40:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:40:15 + git semver [Pipeline] } 14:40:15 $ docker stop --time=1 5857a3108ea9fb704c951555a26593c40a0a001cbe19a63bc57316e05d0e6592 14:40:17 $ docker rm -f 5857a3108ea9fb704c951555a26593c40a0a001cbe19a63bc57316e05d0e6592 [Pipeline] // withDockerContainer [Pipeline] sh 14:40:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:40:17 Stashed 1 file(s) [Pipeline] echo 14:40:17 [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 14:40:18 provisioning config files... 14:40:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp/config566488896407633594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:40:18 ---> docker-login.sh 14:40:18 nexus3.edgexfoundry.org:10001 14:40:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:18 Configure a credential helper to remove this warning. See 14:40:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:18 14:40:18 Login Succeeded 14:40:18 nexus3.edgexfoundry.org:10002 14:40:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:19 Configure a credential helper to remove this warning. See 14:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:19 14:40:19 Login Succeeded 14:40:19 nexus3.edgexfoundry.org:10003 14:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:19 Configure a credential helper to remove this warning. See 14:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:19 14:40:19 Login Succeeded 14:40:19 nexus3.edgexfoundry.org:10004 14:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:19 Configure a credential helper to remove this warning. See 14:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:19 14:40:19 Login Succeeded 14:40:19 docker.io 14:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:19 Configure a credential helper to remove this warning. See 14:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:19 14:40:19 Login Succeeded 14:40:19 ---> docker-login.sh ends [Pipeline] } 14:40:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:40:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:40:19 ========================================================= 14:40:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:40:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:40:20 + 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 . 14:40:20 Sending build context to Docker daemon 5.356MB 14:40:20 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:40:20 Step 2/12 : FROM ${BASE} AS builder 14:40:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:40:20 59bf1c3509f3: Pulling fs layer 14:40:20 666ba61612fd: Pulling fs layer 14:40:20 8ed8ca486205: Pulling fs layer 14:40:20 4fe6c5a15a65: Pulling fs layer 14:40:20 22a0e8bec74d: Pulling fs layer 14:40:20 ca2b28591e48: Pulling fs layer 14:40:20 a51346096db8: Pulling fs layer 14:40:20 daebc70d1ce1: Pulling fs layer 14:40:20 0e18a0eac166: Pulling fs layer 14:40:20 ca2b28591e48: Waiting 14:40:20 a51346096db8: Waiting 14:40:20 4fe6c5a15a65: Waiting 14:40:20 22a0e8bec74d: Waiting 14:40:20 0e18a0eac166: Waiting 14:40:20 daebc70d1ce1: Waiting 14:40:20 8ed8ca486205: Download complete 14:40:20 666ba61612fd: Download complete 14:40:20 22a0e8bec74d: Verifying Checksum 14:40:20 22a0e8bec74d: Download complete 14:40:20 ca2b28591e48: Verifying Checksum 14:40:20 ca2b28591e48: Download complete 14:40:20 59bf1c3509f3: Verifying Checksum 14:40:20 59bf1c3509f3: Download complete 14:40:20 a51346096db8: Verifying Checksum 14:40:20 a51346096db8: Download complete 14:40:20 daebc70d1ce1: Verifying Checksum 14:40:20 daebc70d1ce1: Download complete 14:40:20 59bf1c3509f3: Pull complete 14:40:20 666ba61612fd: Pull complete 14:40:20 8ed8ca486205: Pull complete 14:40:21 0e18a0eac166: Verifying Checksum 14:40:21 0e18a0eac166: Download complete 14:40:21 4fe6c5a15a65: Verifying Checksum 14:40:21 4fe6c5a15a65: Download complete 14:40:25 4fe6c5a15a65: Pull complete 14:40:25 22a0e8bec74d: Pull complete 14:40:25 ca2b28591e48: Pull complete 14:40:25 a51346096db8: Pull complete 14:40:25 daebc70d1ce1: Pull complete 14:40:28 0e18a0eac166: Pull complete 14:40:28 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:40:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:40:28 ---> f018257e8ee9 14:40:28 Step 3/12 : ARG MAKE='make build' 14:40:29 ---> Running in 65b342d3b44c 14:40:29 Removing intermediate container 65b342d3b44c 14:40:29 ---> 75bb2c89f7b9 14:40:29 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:40:29 ---> Running in 91893e18e80d 14:40:29 Removing intermediate container 91893e18e80d 14:40:29 ---> 8b1e6afe7e26 14:40:29 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:40:29 ---> Running in 8e004029f3ad 14:40:29 Removing intermediate container 8e004029f3ad 14:40:29 ---> 46193bf07c72 14:40:29 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:40:29 ---> Running in 304439d6c498 14:40:30 Removing intermediate container 304439d6c498 14:40:30 ---> ca2af3893213 14:40:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:40:30 ---> Running in 49c3a79323ee 14:40:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:40:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:40:32 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:40:32 (2/4) Installing libedit (20210910.3.1-r0) 14:40:32 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:40:32 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:40:32 Executing busybox-1.34.1-r3.trigger 14:40:32 OK: 224 MiB in 56 packages 14:40:32 Removing intermediate container 49c3a79323ee 14:40:32 ---> 2810e6e7c979 14:40:32 Step 8/12 : WORKDIR /device-snmp-go 14:40:32 ---> Running in a9307e80414e 14:40:33 Removing intermediate container a9307e80414e 14:40:33 ---> a5041d6cddf1 14:40:33 Step 9/12 : COPY go.mod vendor* ./ 14:40:33 Still waiting to schedule task 14:40:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:40:33 ---> b0e5b283ec5f 14:40:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:40:33 ---> Running in 5249e3290e7a 14:40:51 Removing intermediate container 5249e3290e7a 14:40:51 ---> 041a906dafe1 14:40:51 Step 11/12 : COPY . . 14:40:51 ---> 790770bcbbfa 14:40:51 Step 12/12 : RUN ${MAKE} 14:40:51 ---> Running in 2a826a7cd150 14:40:51 noop 14:40:52 Removing intermediate container 2a826a7cd150 14:40:52 ---> df53c420aff6 14:40:52 Successfully built df53c420aff6 14:40:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:40:52 + docker inspect -f . ci-base-image-x86_64 14:40:52 . [Pipeline] withDockerContainer 14:40:52 prd-ubuntu20.04-docker-8c-8g-63394 does not seem to be running inside a container 14:40:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-171 -v /w/workspace/gexfoundry_device-snmp-go_PR-171:/w/workspace/gexfoundry_device-snmp-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-171@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:40:53 $ docker top be22d871067d2db34ea29cef288f6c746b8682fbe34126ed99371e18386e2eec -eo pid,comm [Pipeline] { [Pipeline] sh 14:40:53 + go version 14:40:53 go version go1.17.6 linux/amd64 [Pipeline] } 14:40:53 $ docker stop --time=1 be22d871067d2db34ea29cef288f6c746b8682fbe34126ed99371e18386e2eec 14:40:54 $ docker rm -f be22d871067d2db34ea29cef288f6c746b8682fbe34126ed99371e18386e2eec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:40:55 + docker inspect -f . ci-base-image-x86_64 14:40:55 . [Pipeline] withDockerContainer 14:40:55 prd-ubuntu20.04-docker-8c-8g-63394 does not seem to be running inside a container 14:40:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-171 -v /w/workspace/gexfoundry_device-snmp-go_PR-171:/w/workspace/gexfoundry_device-snmp-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-171@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:40:56 $ docker top e8bfded3169e836fc10fb975e50a2fa22ce80d7b602b2400c9491cc3d50c9515 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:40:56 + make test 14:40:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:40:56 ? github.com/edgexfoundry/device-snmp-go [no test files] 14:41:08 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 14:41:08 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 14:41:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:41:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:41:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:41:19 ./bin/test-attribution-txt.sh [Pipeline] echo 14:41:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:41:20 $ docker stop --time=1 e8bfded3169e836fc10fb975e50a2fa22ce80d7b602b2400c9491cc3d50c9515 14:41:22 $ docker rm -f e8bfded3169e836fc10fb975e50a2fa22ce80d7b602b2400c9491cc3d50c9515 [Pipeline] // withDockerContainer [Pipeline] sh 14:41:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:41:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:41:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:41:23 + ls -al . 14:41:23 total 168 14:41:23 drwxrwxr-x 9 jenkins jenkins 4096 May 12 14:41 . 14:41:23 drwxrwxr-x 4 jenkins jenkins 4096 May 12 14:39 .. 14:41:23 -rw-rw-r-- 1 jenkins jenkins 6 May 12 14:39 .dockerignore 14:41:23 drwxrwxr-x 8 jenkins jenkins 4096 May 12 14:40 .git 14:41:23 drwxrwxr-x 3 jenkins jenkins 4096 May 12 14:39 .github 14:41:23 -rw-rw-r-- 1 jenkins jenkins 328 May 12 14:39 .gitignore 14:41:23 -rw-rw-r-- 1 jenkins jenkins 41 May 12 14:39 .golangci.yml 14:41:23 drwxr-xr-x 3 jenkins jenkins 4096 May 12 14:40 .semver 14:41:23 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 14:39 Attribution.txt 14:41:23 -rw-rw-r-- 1 jenkins jenkins 6948 May 12 14:39 CHANGELOG.md 14:41:23 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 14:39 Dockerfile 14:41:23 -rw-rw-r-- 1 jenkins jenkins 677 May 12 14:39 GOVERNANCE.md 14:41:23 -rw-rw-r-- 1 jenkins jenkins 656 May 12 14:39 Jenkinsfile 14:41:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 14:39 LICENSE 14:41:23 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 14:39 Makefile 14:41:23 -rw-rw-r-- 1 jenkins jenkins 620 May 12 14:39 OWNERS.md 14:41:23 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 14:39 README.md 14:41:23 -rw-rw-r-- 1 jenkins jenkins 5 May 12 14:40 VERSION 14:41:23 drwxrwxr-x 2 jenkins jenkins 4096 May 12 14:39 bin 14:41:23 drwxrwxr-x 3 jenkins jenkins 4096 May 12 14:39 cmd 14:41:23 -rw-r--r-- 1 jenkins jenkins 7631 May 12 14:41 coverage.out 14:41:23 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 14:39 go.mod 14:41:23 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 14:39 go.sum 14:41:23 drwxrwxr-x 3 jenkins jenkins 4096 May 12 14:39 internal 14:41:23 drwxrwxr-x 3 jenkins jenkins 4096 May 12 14:39 snap 14:41:23 -rw-rw-r-- 1 jenkins jenkins 209 May 12 14:39 version.go [Pipeline] isUnix [Pipeline] sh 14:41:24 + 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=dda3a94081ee346b6065b5f24458c081e4ce801a --label arch=amd64 --label version=0.0.0 . 14:41:24 Sending build context to Docker daemon 5.364MB 14:41:24 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 14:41:24 Step 2/24 : FROM ${BASE} AS builder 14:41:24 ---> df53c420aff6 14:41:24 Step 3/24 : ARG MAKE='make build' 14:41:24 ---> Running in dd8293e58833 14:41:24 Removing intermediate container dd8293e58833 14:41:24 ---> 5fa38e235d96 14:41:24 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:41:24 ---> Running in 5ed893a58447 14:41:24 Removing intermediate container 5ed893a58447 14:41:24 ---> d4fdb67b2e9b 14:41:24 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 14:41:24 ---> Running in 4377245c987f 14:41:24 Removing intermediate container 4377245c987f 14:41:24 ---> a110480f4a51 14:41:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:41:24 ---> Running in 3ae0a2eb3007 14:41:25 Removing intermediate container 3ae0a2eb3007 14:41:25 ---> d14232508918 14:41:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:41:25 ---> Running in 2bf7720a4da6 14:41:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:41:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:41:27 OK: 224 MiB in 56 packages 14:41:27 Removing intermediate container 2bf7720a4da6 14:41:27 ---> 30038b80cbfd 14:41:27 Step 8/24 : WORKDIR /device-snmp-go 14:41:27 ---> Running in 3f4b36f4380e 14:41:27 Removing intermediate container 3f4b36f4380e 14:41:27 ---> 9c95dc40e63a 14:41:27 Step 9/24 : COPY go.mod vendor* ./ 14:41:27 ---> 8a66c52c9ac8 14:41:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:41:27 ---> Running in d0f1deb9b5ce 14:41:28 Removing intermediate container d0f1deb9b5ce 14:41:28 ---> 3b47c1626eb4 14:41:28 Step 11/24 : COPY . . 14:41:28 ---> 22736991d00a 14:41:28 Step 12/24 : RUN ${MAKE} 14:41:28 ---> Running in 47682a90a075 14:41:29 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 14:41:51 Removing intermediate container 47682a90a075 14:41:51 ---> b7446240f01b 14:41:51 Step 13/24 : FROM alpine:3.14 14:41:51 3.14: Pulling from library/alpine 14:41:51 8663204ce13b: Pulling fs layer 14:41:51 8663204ce13b: Verifying Checksum 14:41:51 8663204ce13b: Download complete 14:41:51 8663204ce13b: Pull complete 14:41:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:41:51 Status: Downloaded newer image for alpine:3.14 14:41:51 ---> e04c818066af 14:41:51 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 14:41:51 ---> Running in abe089d4813b 14:41:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:41:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:41:52 (1/6) Installing dumb-init (1.2.5-r1) 14:41:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:41:52 (3/6) Installing libsodium (1.0.18-r0) 14:41:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:41:52 (5/6) Installing libzmq (4.3.4-r0) 14:41:52 (6/6) Installing zeromq (4.3.4-r0) 14:41:52 Executing busybox-1.33.1-r7.trigger 14:41:52 OK: 8 MiB in 20 packages 14:41:52 Removing intermediate container abe089d4813b 14:41:52 ---> c882aecb1052 14:41:52 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 14:41:53 ---> f421c5202b8c 14:41:53 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 14:41:53 ---> 9039166bb636 14:41:53 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 14:41:53 ---> db07e553b995 14:41:53 Step 18/24 : EXPOSE 59993 14:41:53 ---> Running in c077359c00ec 14:41:53 Removing intermediate container c077359c00ec 14:41:53 ---> 11f74b18a668 14:41:53 Step 19/24 : EXPOSE 161 14:41:53 ---> Running in 6c4a647c46f4 14:41:53 Removing intermediate container 6c4a647c46f4 14:41:53 ---> fa33a41bd48e 14:41:53 Step 20/24 : ENTRYPOINT ["/device-snmp"] 14:41:53 ---> Running in 7078977b0321 14:41:54 Removing intermediate container 7078977b0321 14:41:54 ---> 5d7a0fdb391b 14:41:54 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:41:54 ---> Running in 5f58633a3547 14:41:54 Removing intermediate container 5f58633a3547 14:41:54 ---> 9b173ce79be5 14:41:54 Step 22/24 : LABEL arch=amd64 14:41:54 ---> Running in 1658a7020af3 14:41:54 Removing intermediate container 1658a7020af3 14:41:54 ---> 0ed8d09487f4 14:41:54 Step 23/24 : LABEL git_sha=dda3a94081ee346b6065b5f24458c081e4ce801a 14:41:54 ---> Running in 6ab56e28c02a 14:41:54 Removing intermediate container 6ab56e28c02a 14:41:54 ---> 35b50ca0d3e1 14:41:54 Step 24/24 : LABEL version=0.0.0 14:41:54 ---> Running in 0a0d01cd0508 14:41:54 Removing intermediate container 0a0d01cd0508 14:41:54 ---> bddaee335fb2 14:41:54 [Warning] One or more build-args [ARCH] were not consumed 14:41:54 Successfully built bddaee335fb2 14:41:54 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 14:41:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:41:55 14:41:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:41:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:41:55 latest: Pulling from edgex-lftools-log-publisher 14:41:55 5eb5b503b376: Pulling fs layer 14:41:55 5c69ac0246d0: Pulling fs layer 14:41:55 ec43610c2a17: Pulling fs layer 14:41:55 3a2ae6a8a46f: Pulling fs layer 14:41:55 33b1e0a273af: Pulling fs layer 14:41:55 5d3b04190fa2: Pulling fs layer 14:41:55 2f39f015ded8: Pulling fs layer 14:41:55 3a2ae6a8a46f: Waiting 14:41:55 33b1e0a273af: Waiting 14:41:55 5d3b04190fa2: Waiting 14:41:55 2f39f015ded8: Waiting 14:41:55 5c69ac0246d0: Verifying Checksum 14:41:55 5c69ac0246d0: Download complete 14:41:55 3a2ae6a8a46f: Verifying Checksum 14:41:55 3a2ae6a8a46f: Download complete 14:41:55 33b1e0a273af: Verifying Checksum 14:41:55 33b1e0a273af: Download complete 14:41:55 ec43610c2a17: Verifying Checksum 14:41:55 ec43610c2a17: Download complete 14:41:55 5d3b04190fa2: Verifying Checksum 14:41:55 5d3b04190fa2: Download complete 14:41:55 5eb5b503b376: Download complete 14:41:56 2f39f015ded8: Download complete 14:41:57 5eb5b503b376: Pull complete 14:41:57 5c69ac0246d0: Pull complete 14:41:57 ec43610c2a17: Pull complete 14:41:57 3a2ae6a8a46f: Pull complete 14:41:58 33b1e0a273af: Pull complete 14:41:58 5d3b04190fa2: Pull complete 14:42:03 2f39f015ded8: Pull complete 14:42:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:42:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:42:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:42:03 prd-ubuntu20.04-docker-8c-8g-63394 does not seem to be running inside a container 14:42:03 $ 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-171 -v /w/workspace/gexfoundry_device-snmp-go_PR-171:/w/workspace/gexfoundry_device-snmp-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-171@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:42:05 $ docker top 4c54ed69d6910dd1ac32d8aa9d0a373b058b9f622e43872945b2f9aec10bf799 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:05 ---> job-cost.sh 14:42:05 lf-activate-venv: SKIPPING 14:42:05 INFO: No Stack... 14:42:06 INFO: Retrieving Pricing Info for: v3-standard-8 14:42:06 INFO: Archiving Costs [Pipeline] sh 14:42:07 + cat /w/workspace/gexfoundry_device-snmp-go_PR-171/archives/cost.csv 14:42:07 + cut -d, -f6 [Pipeline] lock 14:42:07 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-171-1-stack-cost] 14:42:07 Resource [jenkins-edgexfoundry-device-snmp-go-PR-171-1-stack-cost] did not exist. Created. 14:42:07 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:42:07 + echo total: 0.2199999988079071 [Pipeline] stash 14:42:07 Stashed 1 file(s) [Pipeline] } 14:42:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-171-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:42:07 $ docker stop --time=1 4c54ed69d6910dd1ac32d8aa9d0a373b058b9f622e43872945b2f9aec10bf799 14:42:08 $ docker rm -f 4c54ed69d6910dd1ac32d8aa9d0a373b058b9f622e43872945b2f9aec10bf799 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:42:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63396 in /w/workspace/gexfoundry_device-snmp-go_PR-171 [Pipeline] { [Pipeline] ws 14:42:09 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 14:42:09 Selected Git installation does not exist. Using Default 14:42:09 The recommended git tool is: NONE 14:42:16 using credential edgex-jenkins-ssh 14:42:16 Cloning the remote Git repository 14:42:16 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 14:42:16 > git init /w/workspace/device-snmp-go/1 # timeout=10 14:42:16 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 14:42:16 > git --version # timeout=10 14:42:16 > git --version # 'git version 2.25.1' 14:42:16 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:42:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 14:42:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:42:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 14:42:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 14:42:17 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:42:18 Merging remotes/origin/main commit 397e2e5fd123a0613be6f16d07ee51abe899caab into PR head commit dda3a94081ee346b6065b5f24458c081e4ce801a 14:42:18 Merge succeeded, producing dda3a94081ee346b6065b5f24458c081e4ce801a 14:42:18 Checking out Revision dda3a94081ee346b6065b5f24458c081e4ce801a (PR-171) 14:42:18 > git config core.sparsecheckout # timeout=10 14:42:18 > git checkout -f dda3a94081ee346b6065b5f24458c081e4ce801a # timeout=10 14:42:18 > git remote # timeout=10 14:42:18 > git config --get remote.origin.url # timeout=10 14:42:18 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:18 > git merge 397e2e5fd123a0613be6f16d07ee51abe899caab # timeout=10 14:42:18 > git rev-parse HEAD^{commit} # timeout=10 14:42:18 > git config core.sparsecheckout # timeout=10 14:42:18 > git checkout -f dda3a94081ee346b6065b5f24458c081e4ce801a # timeout=10 14:42:22 Commit message: "docs: CHANGELOG fixup" 14:42:22 > git --version # timeout=10 14:42:22 > git --version # 'git version 2.25.1' 14:42:22 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:42:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:42:23 % Total % Received % Xferd Average Speed Time Time Time Current 14:42:23 Dload Upload Total Spent Left Speed 14:42:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 91100 100 11843 100 11843 0 0 91100 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh 14:42:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:42:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:42:24 + sudo tee /etc/docker/daemon.new 14:42:24 { 14:42:24 "registry-mirrors": [ 14:42:24 "https://nexus3.edgexfoundry.org:10001" 14:42:24 ], 14:42:24 "bip": "10.250.0.254/24", 14:42:24 "hosts": [ 14:42:24 "tcp://0.0.0.0:5555", 14:42:24 "unix:///var/run/docker.sock" 14:42:24 ], 14:42:24 "mtu": 1458, 14:42:24 "selinux-enabled": true, 14:42:24 "seccomp-profile": "/etc/docker/seccomp.json" 14:42:24 } [Pipeline] sh 14:42:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:42:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:42:43 provisioning config files... 14:42:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8094389600558105652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:44 ---> docker-login.sh 14:42:44 nexus3.edgexfoundry.org:10001 14:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:45 Configure a credential helper to remove this warning. See 14:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:45 14:42:45 Login Succeeded 14:42:45 nexus3.edgexfoundry.org:10002 14:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:45 Configure a credential helper to remove this warning. See 14:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:45 14:42:45 Login Succeeded 14:42:45 nexus3.edgexfoundry.org:10003 14:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:46 Configure a credential helper to remove this warning. See 14:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:46 14:42:46 Login Succeeded 14:42:46 nexus3.edgexfoundry.org:10004 14:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:46 Configure a credential helper to remove this warning. See 14:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:46 14:42:46 Login Succeeded 14:42:46 docker.io 14:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:47 Configure a credential helper to remove this warning. See 14:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:47 14:42:47 Login Succeeded 14:42:47 ---> docker-login.sh ends [Pipeline] } 14:42:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:42:48 ========================================================= 14:42:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:42:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:42:48 + 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 . 14:42:48 Sending build context to Docker daemon 2.77MB 14:42:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:42:48 Step 2/12 : FROM ${BASE} AS builder 14:42:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:42:49 9b3977197b4f: Pulling fs layer 14:42:49 1a89e8eeedd5: Pulling fs layer 14:42:49 94645a83ff95: Pulling fs layer 14:42:49 3f3a8bcf1eab: Pulling fs layer 14:42:49 0c92f367c5e7: Pulling fs layer 14:42:49 3096ccb668a1: Pulling fs layer 14:42:49 e8cf19c19ddd: Pulling fs layer 14:42:49 a4caa8a26152: Pulling fs layer 14:42:49 3f3a8bcf1eab: Waiting 14:42:49 0c92f367c5e7: Waiting 14:42:49 e8cf19c19ddd: Waiting 14:42:49 3096ccb668a1: Waiting 14:42:49 a4caa8a26152: Waiting 14:42:49 94645a83ff95: Verifying Checksum 14:42:49 94645a83ff95: Download complete 14:42:49 1a89e8eeedd5: Download complete 14:42:49 0c92f367c5e7: Verifying Checksum 14:42:49 0c92f367c5e7: Download complete 14:42:49 3096ccb668a1: Verifying Checksum 14:42:49 3096ccb668a1: Download complete 14:42:49 9b3977197b4f: Download complete 14:42:49 e8cf19c19ddd: Verifying Checksum 14:42:49 e8cf19c19ddd: Download complete 14:42:50 9b3977197b4f: Pull complete 14:42:50 1a89e8eeedd5: Pull complete 14:42:50 94645a83ff95: Pull complete 14:42:51 a4caa8a26152: Verifying Checksum 14:42:51 a4caa8a26152: Download complete 14:42:51 3f3a8bcf1eab: Verifying Checksum 14:42:51 3f3a8bcf1eab: Download complete 14:43:04 3f3a8bcf1eab: Pull complete 14:43:04 0c92f367c5e7: Pull complete 14:43:04 3096ccb668a1: Pull complete 14:43:04 e8cf19c19ddd: Pull complete 14:43:11 a4caa8a26152: Pull complete 14:43:11 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:43:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:43:11 ---> 725f1c02e7f9 14:43:11 Step 3/12 : ARG MAKE='make build' 14:43:11 ---> Running in f5a85f70e6a1 14:43:11 Removing intermediate container f5a85f70e6a1 14:43:11 ---> 2ef1ff89680f 14:43:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:43:11 ---> Running in e68d3a75041a 14:43:11 Removing intermediate container e68d3a75041a 14:43:11 ---> 2b125c63ea58 14:43:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:43:12 ---> Running in 718c947c9dc0 14:43:12 Removing intermediate container 718c947c9dc0 14:43:12 ---> 5327a81d2c98 14:43:12 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:12 ---> Running in 0f9efa9f8a55 14:43:14 Removing intermediate container 0f9efa9f8a55 14:43:14 ---> 541cf816a3b3 14:43:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:43:14 ---> Running in 647a55b1def0 14:43:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:43:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:43:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:43:17 (2/4) Installing libedit (20210910.3.1-r0) 14:43:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:43:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:43:17 Executing busybox-1.34.1-r3.trigger 14:43:17 OK: 224 MiB in 56 packages 14:43:18 Removing intermediate container 647a55b1def0 14:43:18 ---> 55aaf342ae60 14:43:18 Step 8/12 : WORKDIR /device-snmp-go 14:43:18 ---> Running in 28b13489528e 14:43:18 Removing intermediate container 28b13489528e 14:43:18 ---> ea241289a3ce 14:43:18 Step 9/12 : COPY go.mod vendor* ./ 14:43:19 ---> 63d7dd52c020 14:43:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:43:19 ---> Running in 19dd1c2920f3 14:44:06 Removing intermediate container 19dd1c2920f3 14:44:06 ---> fa6570b15f4f 14:44:06 Step 11/12 : COPY . . 14:44:06 ---> 4af69dd654ae 14:44:06 Step 12/12 : RUN ${MAKE} 14:44:06 ---> Running in d855d4c19728 14:44:06 noop 14:44:06 Removing intermediate container d855d4c19728 14:44:06 ---> 1c775b25b824 14:44:06 Successfully built 1c775b25b824 14:44:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:44:06 + docker inspect -f . ci-base-image-arm64 14:44:06 . [Pipeline] withDockerContainer 14:44:07 prd-ubuntu20.04-docker-arm64-4c-16g-63396 does not seem to be running inside a container 14:44:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:44:08 $ docker top ba8d72281e8e02f4b643a9a44ffdeb35ad61db23caa7784cbc255376aaa6b54b -eo pid,comm [Pipeline] { [Pipeline] sh 14:44:09 + go version 14:44:09 go version go1.17.6 linux/arm64 [Pipeline] } 14:44:09 $ docker stop --time=1 ba8d72281e8e02f4b643a9a44ffdeb35ad61db23caa7784cbc255376aaa6b54b 14:44:11 $ docker rm -f ba8d72281e8e02f4b643a9a44ffdeb35ad61db23caa7784cbc255376aaa6b54b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:44:11 + docker inspect -f . ci-base-image-arm64 14:44:11 . [Pipeline] withDockerContainer 14:44:12 prd-ubuntu20.04-docker-arm64-4c-16g-63396 does not seem to be running inside a container 14:44:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:44:13 $ docker top 5c907b703269959c47a4b6b62933acd5382cbb1b9842124ab228e847652b0ccc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:44:14 + make test 14:44:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:44:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 14:45:37 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 14:45:37 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 14:45:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:45:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:45:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:45:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:45:56 ./bin/test-attribution-txt.sh [Pipeline] echo 14:45:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:45:58 $ docker stop --time=1 5c907b703269959c47a4b6b62933acd5382cbb1b9842124ab228e847652b0ccc 14:46:00 $ docker rm -f 5c907b703269959c47a4b6b62933acd5382cbb1b9842124ab228e847652b0ccc [Pipeline] // withDockerContainer [Pipeline] sh 14:46:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:46:01 Warning: overwriting stash ‘coverage-report’ 14:46:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:46:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:46:02 + ls -al . 14:46:02 total 164 14:46:02 drwxrwxr-x 8 jenkins jenkins 4096 May 12 14:45 . 14:46:02 drwxrwxr-x 4 jenkins jenkins 4096 May 12 14:42 .. 14:46:02 -rw-rw-r-- 1 jenkins jenkins 6 May 12 14:42 .dockerignore 14:46:02 drwxrwxr-x 8 jenkins jenkins 4096 May 12 14:42 .git 14:46:02 drwxrwxr-x 3 jenkins jenkins 4096 May 12 14:42 .github 14:46:02 -rw-rw-r-- 1 jenkins jenkins 328 May 12 14:42 .gitignore 14:46:02 -rw-rw-r-- 1 jenkins jenkins 41 May 12 14:42 .golangci.yml 14:46:02 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 14:42 Attribution.txt 14:46:02 -rw-rw-r-- 1 jenkins jenkins 6948 May 12 14:42 CHANGELOG.md 14:46:02 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 14:42 Dockerfile 14:46:02 -rw-rw-r-- 1 jenkins jenkins 677 May 12 14:42 GOVERNANCE.md 14:46:02 -rw-rw-r-- 1 jenkins jenkins 656 May 12 14:42 Jenkinsfile 14:46:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 14:42 LICENSE 14:46:02 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 14:42 Makefile 14:46:02 -rw-rw-r-- 1 jenkins jenkins 620 May 12 14:42 OWNERS.md 14:46:02 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 14:42 README.md 14:46:02 -rw-rw-r-- 1 jenkins jenkins 5 May 12 14:40 VERSION 14:46:02 drwxrwxr-x 2 jenkins jenkins 4096 May 12 14:42 bin 14:46:02 drwxrwxr-x 3 jenkins jenkins 4096 May 12 14:42 cmd 14:46:02 -rw-r--r-- 1 jenkins jenkins 7631 May 12 14:45 coverage.out 14:46:02 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 14:42 go.mod 14:46:02 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 14:42 go.sum 14:46:02 drwxrwxr-x 3 jenkins jenkins 4096 May 12 14:42 internal 14:46:02 drwxrwxr-x 3 jenkins jenkins 4096 May 12 14:42 snap 14:46:02 -rw-rw-r-- 1 jenkins jenkins 209 May 12 14:42 version.go [Pipeline] isUnix [Pipeline] sh 14:46:02 + 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=dda3a94081ee346b6065b5f24458c081e4ce801a --label arch=arm64 --label version=0.0.0 . 14:46:03 Sending build context to Docker daemon 2.779MB 14:46:03 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 14:46:03 Step 2/24 : FROM ${BASE} AS builder 14:46:03 ---> 1c775b25b824 14:46:03 Step 3/24 : ARG MAKE='make build' 14:46:03 ---> Running in 907429360d0e 14:46:03 Removing intermediate container 907429360d0e 14:46:03 ---> 534d383f1fde 14:46:03 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:46:03 ---> Running in cac08da878fb 14:46:03 Removing intermediate container cac08da878fb 14:46:03 ---> e85431d65331 14:46:03 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 14:46:04 ---> Running in 45134e208ada 14:46:04 Removing intermediate container 45134e208ada 14:46:04 ---> bae7677e7e58 14:46:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:46:04 ---> Running in a1e9a8887b3f 14:46:06 Removing intermediate container a1e9a8887b3f 14:46:06 ---> 0af026b37de7 14:46:06 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:46:06 ---> Running in c6e8bf1cfe12 14:46:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:46:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:46:09 OK: 224 MiB in 56 packages 14:46:09 Removing intermediate container c6e8bf1cfe12 14:46:09 ---> 51f1586688c4 14:46:09 Step 8/24 : WORKDIR /device-snmp-go 14:46:09 ---> Running in 6a9d3d7d572a 14:46:10 Removing intermediate container 6a9d3d7d572a 14:46:10 ---> fcb046c709c8 14:46:10 Step 9/24 : COPY go.mod vendor* ./ 14:46:10 ---> 58fc089516ea 14:46:10 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:46:10 ---> Running in 51c31a4c150c 14:46:12 Removing intermediate container 51c31a4c150c 14:46:12 ---> 80e21973d776 14:46:12 Step 11/24 : COPY . . 14:46:13 ---> bd1352d48b8d 14:46:13 Step 12/24 : RUN ${MAKE} 14:46:13 ---> Running in 0959701d083c 14:46:14 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 14:48:21 Removing intermediate container 0959701d083c 14:48:21 ---> 61521dca0ea1 14:48:21 Step 13/24 : FROM alpine:3.14 14:48:21 3.14: Pulling from library/alpine 14:48:21 455c02918c45: Pulling fs layer 14:48:21 455c02918c45: Download complete 14:48:21 455c02918c45: Pull complete 14:48:21 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:48:21 Status: Downloaded newer image for alpine:3.14 14:48:21 ---> ac73e934f311 14:48:21 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 14:48:21 ---> Running in 2f4f29e68c1f 14:48:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:48:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:48:21 (1/6) Installing dumb-init (1.2.5-r1) 14:48:21 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:48:21 (3/6) Installing libsodium (1.0.18-r0) 14:48:21 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:48:21 (5/6) Installing libzmq (4.3.4-r0) 14:48:21 (6/6) Installing zeromq (4.3.4-r0) 14:48:21 Executing busybox-1.33.1-r7.trigger 14:48:21 OK: 8 MiB in 20 packages 14:48:22 Removing intermediate container 2f4f29e68c1f 14:48:22 ---> 8284af9191fa 14:48:22 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 14:48:24 ---> 66bd14ecbb73 14:48:24 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 14:48:24 ---> b1f4920bd209 14:48:24 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 14:48:25 ---> b1917dcafe68 14:48:25 Step 18/24 : EXPOSE 59993 14:48:25 ---> Running in 58165a9b8fef 14:48:26 Removing intermediate container 58165a9b8fef 14:48:26 ---> 7096fe2e48a6 14:48:26 Step 19/24 : EXPOSE 161 14:48:26 ---> Running in 45c63220b5ef 14:48:26 Removing intermediate container 45c63220b5ef 14:48:26 ---> bfe3dcc1a177 14:48:26 Step 20/24 : ENTRYPOINT ["/device-snmp"] 14:48:26 ---> Running in f6225c83de95 14:48:26 Removing intermediate container f6225c83de95 14:48:26 ---> e0a976e3e628 14:48:26 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:48:26 ---> Running in e0328237e63d 14:48:27 Removing intermediate container e0328237e63d 14:48:27 ---> e14bc0ee2a3e 14:48:27 Step 22/24 : LABEL arch=arm64 14:48:27 ---> Running in 33135d812cd0 14:48:27 Removing intermediate container 33135d812cd0 14:48:27 ---> a82d587aaef7 14:48:27 Step 23/24 : LABEL git_sha=dda3a94081ee346b6065b5f24458c081e4ce801a 14:48:27 ---> Running in 8f4d439b7182 14:48:28 Removing intermediate container 8f4d439b7182 14:48:28 ---> 6719dfcad8c7 14:48:28 Step 24/24 : LABEL version=0.0.0 14:48:28 ---> Running in c30fd40ccfdc 14:48:28 Removing intermediate container c30fd40ccfdc 14:48:28 ---> 8652c85d2406 14:48:28 [Warning] One or more build-args [ARCH] were not consumed 14:48:28 Successfully built 8652c85d2406 14:48:28 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 14:48:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:48:28 14:48:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:48:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:48:29 arm64: Pulling from edgex-lftools-log-publisher 14:48:29 8998bd30e6a1: Pulling fs layer 14:48:29 04944245beec: Pulling fs layer 14:48:29 699f458cf7ca: Pulling fs layer 14:48:29 765212b225bb: Pulling fs layer 14:48:29 f23df028b6ca: Pulling fs layer 14:48:29 d65c8cfc05b1: Pulling fs layer 14:48:29 2437ff75d9bd: Pulling fs layer 14:48:29 d65c8cfc05b1: Waiting 14:48:29 2437ff75d9bd: Waiting 14:48:29 765212b225bb: Waiting 14:48:29 f23df028b6ca: Waiting 14:48:29 04944245beec: Verifying Checksum 14:48:29 04944245beec: Download complete 14:48:29 765212b225bb: Verifying Checksum 14:48:29 765212b225bb: Download complete 14:48:29 f23df028b6ca: Verifying Checksum 14:48:29 f23df028b6ca: Download complete 14:48:29 d65c8cfc05b1: Verifying Checksum 14:48:29 d65c8cfc05b1: Download complete 14:48:29 699f458cf7ca: Verifying Checksum 14:48:30 8998bd30e6a1: Verifying Checksum 14:48:30 8998bd30e6a1: Download complete 14:48:32 2437ff75d9bd: Verifying Checksum 14:48:32 2437ff75d9bd: Download complete 14:48:34 8998bd30e6a1: Pull complete 14:48:35 04944245beec: Pull complete 14:48:36 699f458cf7ca: Pull complete 14:48:36 765212b225bb: Pull complete 14:48:37 f23df028b6ca: Pull complete 14:48:38 d65c8cfc05b1: Pull complete 14:48:53 2437ff75d9bd: Pull complete 14:48:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:48:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:48:53 prd-ubuntu20.04-docker-arm64-4c-16g-63396 does not seem to be running inside a container 14:48:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:48:56 $ docker top 4772e50e6bff2b25f5f65c24355c488b9c551e6e21d8b816b6ba6a2948dea6a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:48:57 ---> job-cost.sh 14:48:57 lf-activate-venv: SKIPPING 14:48:57 INFO: No Stack... 14:48:58 INFO: Retrieving Pricing Info for: v3-standard-4 14:48:59 INFO: Archiving Costs [Pipeline] sh 14:48:59 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 14:48:59 + cut -d, -f6 [Pipeline] lock 14:48:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-171-1-stack-cost] 14:48:59 Resource [jenkins-edgexfoundry-device-snmp-go-PR-171-1-stack-cost] did not exist. Created. 14:48:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:49:00 /w/workspace/device-snmp-go/1@tmp/durable-db3069c2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:49:01 + echo total: 0.10999999940395355 [Pipeline] stash 14:49:01 Warning: overwriting stash ‘stack-cost’ 14:49:01 Stashed 1 file(s) [Pipeline] } 14:49:01 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-171-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:49:01 $ docker stop --time=1 4772e50e6bff2b25f5f65c24355c488b9c551e6e21d8b816b6ba6a2948dea6a6 14:49:03 $ docker rm -f 4772e50e6bff2b25f5f65c24355c488b9c551e6e21d8b816b6ba6a2948dea6a6 [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 14:49:04 provisioning config files... 14:49:04 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp/config6399754233714810124tmp [Pipeline] { [Pipeline] sh 14:49:04 + set +x 14:49:04 + curl -s https://codecov.io/bash 14:49:04 + bash -s -- 14:49:04 14:49:04 _____ _ 14:49:04 / ____| | | 14:49:04 | | ___ __| | ___ ___ _____ __ 14:49:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:49:04 | |___| (_) | (_| | __/ (_| (_) \ V / 14:49:04 \_____\___/ \__,_|\___|\___\___/ \_/ 14:49:04 Bash-1.0.6 14:49:04 14:49:04 14:49:04 ==> git version 2.25.1 found 14:49:04 ==> 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 14:49:04 Release-Date: 2020-01-08 14:49:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:49:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:49:04 ==> Jenkins CI detected. 14:49:04 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-171 14:49:04 project root: . 14:49:04 --> token set from env 14:49:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:49:04 ==> Running gcov in . (disable via -X gcov) 14:49:04 ==> Python coveragepy not found 14:49:04 ==> Searching for coverage reports in: 14:49:04 + . 14:49:04 -> Found 1 reports 14:49:04 ==> Detecting git/mercurial file structure 14:49:04 ==> Reading reports 14:49:04 + ./coverage.out bytes=7631 14:49:04 ==> Appending adjustments 14:49:04 https://docs.codecov.io/docs/fixing-reports 14:49:04 + Found adjustments 14:49:04 ==> Gzipping contents 14:49:04 4.0K /tmp/codecov.Byn1H8.gz 14:49:04 ==> Uploading reports 14:49:04 url: https://codecov.io 14:49:04 query: branch=PR-171&commit=dda3a94081ee346b6065b5f24458c081e4ce801a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=171&job=&cmd_args= 14:49:04 -> Pinging Codecov 14:49:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-171&commit=dda3a94081ee346b6065b5f24458c081e4ce801a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=171&job=&cmd_args= 14:49:04 -> Uploading to 14:49:04 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/6C56EA5C29638FB4528AC87E60AF5AE0/dda3a94081ee346b6065b5f24458c081e4ce801a/4796e107-4027-4ce8-9584-f5d5c2571b38.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T144904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=527df5e63b8afaca185640b2ea5b1be9e1eabd32b175adb1d8d1a4dbf7abb31e 14:49:04 % Total % Received % Xferd Average Speed Time Time Time Current 14:49:04 Dload Upload Total Spent Left Speed 14:49:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6022 --:--:-- --:--:-- --:--:-- 6022 14:49:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/dda3a94081ee346b6065b5f24458c081e4ce801a [Pipeline] } 14:49:05 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 14:49:06 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-171/archives ] 14:49:06 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-171/archives 14:49:06 total 16 14:49:06 drwxr-xr-x 3 root root 4096 May 12 14:42 . 14:49:06 drwxrwxr-x 10 jenkins jenkins 4096 May 12 14:42 .. 14:49:06 drwxr-xr-x 2 root root 4096 May 12 14:42 cost 14:49:06 -rw-r--r-- 1 root root 85 May 12 14:42 cost.csv 14:49:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-171/archives 14:49:06 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-171/archives 14:49:06 total 16 14:49:06 drwxr-xr-x 3 jenkins jenkins 4096 May 12 14:42 . 14:49:06 drwxrwxr-x 10 jenkins jenkins 4096 May 12 14:42 .. 14:49:06 drwxr-xr-x 2 jenkins jenkins 4096 May 12 14:42 cost 14:49:06 -rw-r--r-- 1 jenkins jenkins 85 May 12 14:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:49:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:49:08 ---> package-listing.sh 14:49:08 ++ facter osfamily 14:49:08 ++ tr '[:upper:]' '[:lower:]' 14:49:08 + OS_FAMILY=debian 14:49:08 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-171 14:49:08 + START_PACKAGES=/tmp/packages_start.txt 14:49:08 + END_PACKAGES=/tmp/packages_end.txt 14:49:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:49:08 + PACKAGES=/tmp/packages_start.txt 14:49:08 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-171 ']' 14:49:08 + PACKAGES=/tmp/packages_end.txt 14:49:08 + case "${OS_FAMILY}" in 14:49:08 + dpkg -l 14:49:08 + grep '^ii' 14:49:08 + '[' -f /tmp/packages_start.txt ']' 14:49:08 + '[' -f /tmp/packages_end.txt ']' 14:49:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:49:08 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-171 ']' 14:49:08 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-171/archives/ 14:49:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-171/archives/ [Pipeline] echo 14:49:08 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:49:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:49:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:49:09 . [Pipeline] withDockerContainer 14:49:09 prd-ubuntu20.04-docker-8c-8g-63394 does not seem to be running inside a container 14:49:09 $ 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-171/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-171 -v /w/workspace/gexfoundry_device-snmp-go_PR-171:/w/workspace/gexfoundry_device-snmp-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-171@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-171@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:latest cat 14:49:09 $ docker top 94764ba0d36665c2192b0a922cec639673d4cca0d52dcdf57b1dc509d0783858 -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:10 + touch /tmp/pre-build-complete [Pipeline] sh 14:49:10 + mkdir -p /var/log/sysstat [Pipeline] sh 14:49:10 + ls /var/log/sa-host 14:49:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:11 provisioning config files... 14:49:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-171@tmp/config2951078471731245356tmp [Pipeline] { [Pipeline] echo 14:49:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:49:11 ---> create-netrc.sh [Pipeline] } 14:49:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:49:11 ---> python-tools-install.sh [Pipeline] echo 14:49:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:49:12 ---> sudo-logs.sh 14:49:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:49:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:49:12 ---> job-cost.sh 14:49:12 lf-activate-venv: SKIPPING 14:49:12 DEBUG: total: 0.2199999988079071 14:49:12 INFO: Retrieving Stack Cost... 14:49:12 INFO: Retrieving Pricing Info for: v3-standard-8 14:49:13 INFO: Archiving Costs [Pipeline] echo 14:49:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:49:13 ---> logs-deploy.sh 14:49:13 lf-activate-venv: SKIPPING 14:49:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-171/1 14:49:13 INFO: archiving workspace using pattern(s): 14:49:14 Archives upload complete. 14:49:14 INFO: archiving logs to Nexus