Pull request #316 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 2353c51f3738781a5906a2a5dde3afc75ddfc5fe+9a9cfe769be8313ba8a21d40637564934ad0b980 (429362910bc22952aea3ccecbb57b5a9f7383ac4) 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-ssh1491741113339108361.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3174586247424615245.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10857054746848142613.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh12133376767356861819.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6055611042207608691.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4528 in /w/workspace/gexfoundry_device-snmp-go_PR-316 [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-316 # 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 > 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/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9a9cfe769be8313ba8a21d40637564934ad0b980 into PR head commit 2353c51f3738781a5906a2a5dde3afc75ddfc5fe Merge succeeded, producing 2353c51f3738781a5906a2a5dde3afc75ddfc5fe Checking out Revision 2353c51f3738781a5906a2a5dde3afc75ddfc5fe (PR-316) > git config core.sparsecheckout # timeout=10 > git checkout -f 2353c51f3738781a5906a2a5dde3afc75ddfc5fe # 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 9a9cfe769be8313ba8a21d40637564934ad0b980 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2353c51f3738781a5906a2a5dde3afc75ddfc5fe # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:38:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:38:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:38:47 ========================================================= 07:38:47 EdgeX Global Pipelines Version Info 07:38:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:38:47 ------------------- 07:38:47 stable info: 07:38:47 ------------------- 07:38:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:38:47 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:38:47 Message: update stable to v1.0.253 > git rev-list --no-walk 105b0e7e199b2b49b6b925fd70e6138af3da39fa # timeout=10 07:38:48 ------------------- 07:38:48 experimental info: 07:38:48 ------------------- 07:38:48 Commited By: **** collab-it+edgex@linuxfoundation.org 07:38:48 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:38:48 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-316 [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-316 [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-316 [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2353c51f3738781a5906a2a5dde3afc75ddfc5fe [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2353c51 [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:49 provisioning config files... 07:38:49 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/config7313466840275872833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:49 ---> docker-login.sh 07:38:49 nexus3.edgexfoundry.org:10001 07:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:49 Configure a credential helper to remove this warning. See 07:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:49 07:38:49 Login Succeeded 07:38:49 nexus3.edgexfoundry.org:10002 07:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:49 Configure a credential helper to remove this warning. See 07:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:49 07:38:49 Login Succeeded 07:38:49 nexus3.edgexfoundry.org:10003 07:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:49 Configure a credential helper to remove this warning. See 07:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:49 07:38:49 Login Succeeded 07:38:49 nexus3.edgexfoundry.org:10004 07:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:50 Configure a credential helper to remove this warning. See 07:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:50 07:38:50 Login Succeeded 07:38:50 docker.io 07:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:50 Configure a credential helper to remove this warning. See 07:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:50 07:38:50 Login Succeeded 07:38:50 ---> docker-login.sh ends [Pipeline] } 07:38:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:38:50 + git rev-list -1 --merges 2353c51f3738781a5906a2a5dde3afc75ddfc5fe~1..2353c51f3738781a5906a2a5dde3afc75ddfc5fe [Pipeline] echo 07:38:50 -----------> git rev-list -1 --merges 2353c51f3738781a5906a2a5dde3afc75ddfc5fe~1..2353c51f3738781a5906a2a5dde3afc75ddfc5fe 2353c51f3738781a5906a2a5dde3afc75ddfc5fe [false] [Pipeline] sh 07:38:51 + git log --format=format:%s -1 2353c51f3738781a5906a2a5dde3afc75ddfc5fe [Pipeline] echo 07:38:51 ========================================================= 07:38:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:38:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:51 + git log --format=format:%s -1 2353c51f3738781a5906a2a5dde3afc75ddfc5fe [Pipeline] echo 07:38:51 [semverPrep] GIT_COMMIT: 2353c51f3738781a5906a2a5dde3afc75ddfc5fe, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 07:38:51 [semverPrep] This is not a build commit. [Pipeline] sh 07:38:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:38:51 + grep -v github /etc/ssh/ssh_known_hosts 07:38:51 + [ -e /tmp/ssh_known_hosts ] 07:38:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:38:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:38:51 + sudo tee -a /etc/ssh/ssh_known_hosts 07:38:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:52 07:38:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:52 0.1.4: Pulling from edgex-devops/py-git-semver 07:38:52 b85a868b505f: Pulling fs layer 07:38:52 e2be974225ed: Pulling fs layer 07:38:52 339a4e72a1f5: Pulling fs layer 07:38:52 988bab9f4d93: Pulling fs layer 07:38:52 1469e6f7b9e6: Pulling fs layer 07:38:52 eaf3925da568: Pulling fs layer 07:38:52 bab4dde63d76: Pulling fs layer 07:38:52 bde34c3a00c8: Pulling fs layer 07:38:52 b352a97aabf1: Pulling fs layer 07:38:52 4872d77fe225: Pulling fs layer 07:38:52 5851b861e8e6: Pulling fs layer 07:38:52 bab4dde63d76: Waiting 07:38:52 eaf3925da568: Waiting 07:38:52 1469e6f7b9e6: Waiting 07:38:52 988bab9f4d93: Waiting 07:38:52 5851b861e8e6: Waiting 07:38:52 b352a97aabf1: Waiting 07:38:52 4872d77fe225: Waiting 07:38:52 bde34c3a00c8: Waiting 07:38:52 e2be974225ed: Verifying Checksum 07:38:52 e2be974225ed: Download complete 07:38:52 988bab9f4d93: Download complete 07:38:52 1469e6f7b9e6: Verifying Checksum 07:38:52 1469e6f7b9e6: Download complete 07:38:52 339a4e72a1f5: Verifying Checksum 07:38:52 339a4e72a1f5: Download complete 07:38:52 eaf3925da568: Download complete 07:38:52 bde34c3a00c8: Verifying Checksum 07:38:52 bde34c3a00c8: Download complete 07:38:52 b352a97aabf1: Download complete 07:38:52 4872d77fe225: Verifying Checksum 07:38:52 4872d77fe225: Download complete 07:38:52 5851b861e8e6: Verifying Checksum 07:38:52 5851b861e8e6: Download complete 07:38:52 b85a868b505f: Download complete 07:38:53 bab4dde63d76: Verifying Checksum 07:38:53 bab4dde63d76: Download complete 07:38:53 b85a868b505f: Pull complete 07:38:53 e2be974225ed: Pull complete 07:38:54 339a4e72a1f5: Pull complete 07:38:54 988bab9f4d93: Pull complete 07:38:54 1469e6f7b9e6: Pull complete 07:38:54 eaf3925da568: Pull complete 07:38:56 bab4dde63d76: Pull complete 07:38:56 bde34c3a00c8: Pull complete 07:38:56 b352a97aabf1: Pull complete 07:38:56 4872d77fe225: Pull complete 07:38:56 5851b861e8e6: Pull complete 07:38:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:57 prd-ubuntu20.04-docker-8c-8g-4528 does not seem to be running inside a container 07:38:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-316 -v /w/workspace/gexfoundry_device-snmp-go_PR-316:/w/workspace/gexfoundry_device-snmp-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:39:00 $ docker top f88cb9fa7aeba6344d834d202c12f9d3e44c4b17ac10dc4310b71d131fbc8083 -eo pid,comm 07:39:00 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). 07:39:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:39:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:39:00 [ssh-agent] Looking for ssh-agent implementation... 07:39:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:39:00 $ docker exec f88cb9fa7aeba6344d834d202c12f9d3e44c4b17ac10dc4310b71d131fbc8083 ssh-agent 07:39:00 SSH_AUTH_SOCK=/tmp/ssh-vWo34wnpI1I9/agent.32 07:39:00 SSH_AGENT_PID=38 07:39:00 Running ssh-add (command line suppressed) 07:39:00 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/private_key_16098156310116150992.key (/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/private_key_16098156310116150992.key) 07:39:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:39:01 + git tag --points-at HEAD [Pipeline] } 07:39:01 $ docker exec --env ******** --env ******** f88cb9fa7aeba6344d834d202c12f9d3e44c4b17ac10dc4310b71d131fbc8083 ssh-agent -k 07:39:01 unset SSH_AUTH_SOCK; 07:39:01 unset SSH_AGENT_PID; 07:39:01 echo Agent pid 38 killed; 07:39:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:39:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:39:01 [ssh-agent] Looking for ssh-agent implementation... 07:39:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:39:01 $ docker exec f88cb9fa7aeba6344d834d202c12f9d3e44c4b17ac10dc4310b71d131fbc8083 ssh-agent 07:39:01 SSH_AUTH_SOCK=/tmp/ssh-4sdUN8GCxSG7/agent.71 07:39:01 SSH_AGENT_PID=77 07:39:01 Running ssh-add (command line suppressed) 07:39:01 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/private_key_5868732660437984582.key (/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/private_key_5868732660437984582.key) 07:39:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:39:01 + git semver init 07:39:02 2023-08-25 07:39:02,176 [run_init] DEBUG init version:0.0.0 force:False 07:39:02 2023-08-25 07:39:02,177 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver 07:39:02 2023-08-25 07:39:02,178 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-316/.semver 07:39:02 2023-08-25 07:39:02,178 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-316, universal_newlines=False, shell=None, istream=None) 07:39:03 2023-08-25 07:39:03,051 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-316/.git/info/exclude 07:39:03 2023-08-25 07:39:03,052 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver/PR-316 with force:False 07:39:03 2023-08-25 07:39:03,052 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver/PR-316 07:39:03 2023-08-25 07:39:03,056 [execute] INFO git cat-file --batch-check 07:39:03 2023-08-25 07:39:03,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) 07:39:03 2023-08-25 07:39:03,061 [execute] INFO git cat-file --batch 07:39:03 2023-08-25 07:39:03,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) 07:39:03 2023-08-25 07:39:03,066 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-316/.semver/PR-316 07:39:03 0.0.0 [Pipeline] } 07:39:03 $ docker exec --env ******** --env ******** f88cb9fa7aeba6344d834d202c12f9d3e44c4b17ac10dc4310b71d131fbc8083 ssh-agent -k 07:39:03 unset SSH_AUTH_SOCK; 07:39:03 unset SSH_AGENT_PID; 07:39:03 echo Agent pid 77 killed; 07:39:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:39:03 + git semver [Pipeline] } 07:39:03 $ docker stop --time=1 f88cb9fa7aeba6344d834d202c12f9d3e44c4b17ac10dc4310b71d131fbc8083 07:39:05 $ docker rm -f --volumes f88cb9fa7aeba6344d834d202c12f9d3e44c4b17ac10dc4310b71d131fbc8083 [Pipeline] // withDockerContainer [Pipeline] sh 07:39:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:39:05 Stashed 1 file(s) [Pipeline] echo 07:39:05 [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 07:39:05 provisioning config files... 07:39:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/config2589531096020051483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:06 ---> docker-login.sh 07:39:06 nexus3.edgexfoundry.org:10001 07:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:06 Configure a credential helper to remove this warning. See 07:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:06 07:39:06 Login Succeeded 07:39:06 nexus3.edgexfoundry.org:10002 07:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:06 Configure a credential helper to remove this warning. See 07:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:06 07:39:06 Login Succeeded 07:39:06 nexus3.edgexfoundry.org:10003 07:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:06 Configure a credential helper to remove this warning. See 07:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:06 07:39:06 Login Succeeded 07:39:06 nexus3.edgexfoundry.org:10004 07:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:06 Configure a credential helper to remove this warning. See 07:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:06 07:39:06 Login Succeeded 07:39:06 docker.io 07:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:06 Configure a credential helper to remove this warning. See 07:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:06 07:39:06 Login Succeeded 07:39:06 ---> docker-login.sh ends [Pipeline] } 07:39:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:39:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:06 ========================================================= 07:39:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:39:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:39:07 Sending build context to Docker daemon 5.789MB 07:39:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:39:07 Step 2/12 : FROM ${BASE} AS builder 07:39:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:39:07 4db1b89c0bd1: Pulling fs layer 07:39:07 6911f1a30b25: Pulling fs layer 07:39:07 e194b8c5c2a9: Pulling fs layer 07:39:07 6863d3e3a2b1: Pulling fs layer 07:39:07 ec0bb842ea78: Pulling fs layer 07:39:07 40a00589a448: Pulling fs layer 07:39:07 6c08303d61cc: Pulling fs layer 07:39:07 798269fcf238: Pulling fs layer 07:39:07 40a00589a448: Waiting 07:39:07 6c08303d61cc: Waiting 07:39:07 798269fcf238: Waiting 07:39:07 6863d3e3a2b1: Waiting 07:39:07 ec0bb842ea78: Waiting 07:39:07 6911f1a30b25: Verifying Checksum 07:39:07 6911f1a30b25: Download complete 07:39:07 6863d3e3a2b1: Download complete 07:39:07 ec0bb842ea78: Verifying Checksum 07:39:07 ec0bb842ea78: Download complete 07:39:07 4db1b89c0bd1: Verifying Checksum 07:39:07 4db1b89c0bd1: Download complete 07:39:07 40a00589a448: Verifying Checksum 07:39:07 40a00589a448: Download complete 07:39:07 4db1b89c0bd1: Pull complete 07:39:07 6911f1a30b25: Pull complete 07:39:07 e194b8c5c2a9: Verifying Checksum 07:39:07 e194b8c5c2a9: Download complete 07:39:07 798269fcf238: Verifying Checksum 07:39:07 798269fcf238: Download complete 07:39:08 6c08303d61cc: Verifying Checksum 07:39:08 6c08303d61cc: Download complete 07:39:11 e194b8c5c2a9: Pull complete 07:39:11 6863d3e3a2b1: Pull complete 07:39:11 ec0bb842ea78: Pull complete 07:39:11 40a00589a448: Pull complete 07:39:14 6c08303d61cc: Pull complete 07:39:15 798269fcf238: Pull complete 07:39:15 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:39:15 ---> ec979cd7f677 07:39:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:39:20 Still waiting to schedule task 07:39:20 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:39:21 ---> Running in da30be34ff54 07:39:21 Removing intermediate container da30be34ff54 07:39:21 ---> 1c330d09f7c5 07:39:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:21 ---> Running in 68c0cf1541e7 07:39:21 Removing intermediate container 68c0cf1541e7 07:39:21 ---> bf8ec0479a51 07:39:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:39:21 ---> Running in d09742eafa51 07:39:21 Removing intermediate container d09742eafa51 07:39:21 ---> 3abdabaf3a84 07:39:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:39:21 ---> Running in 3fb10e3b3c0f 07:39:21 Removing intermediate container 3fb10e3b3c0f 07:39:21 ---> ac67606964d5 07:39:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:21 ---> Running in d45712bdea4a 07:39:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:39:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:39:22 (1/4) Installing openssh-keygen (9.1_p1-r4) 07:39:22 (2/4) Installing libedit (20221030.3.1-r0) 07:39:22 (3/4) Installing openssh-client-common (9.1_p1-r4) 07:39:22 (4/4) Installing openssh-client-default (9.1_p1-r4) 07:39:22 Executing busybox-1.35.0-r29.trigger 07:39:22 OK: 269 MiB in 57 packages 07:39:23 Removing intermediate container d45712bdea4a 07:39:23 ---> 8616482912be 07:39:23 Step 8/12 : WORKDIR /device-snmp-go 07:39:23 ---> Running in d5b05b9906f0 07:39:23 Removing intermediate container d5b05b9906f0 07:39:23 ---> 6299b45f5a3b 07:39:23 Step 9/12 : COPY go.mod vendor* ./ 07:39:23 ---> 27c815763c14 07:39:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:23 ---> Running in 356e9f001ac2 07:39:55 Removing intermediate container 356e9f001ac2 07:39:55 ---> ec598b94962e 07:39:55 Step 11/12 : COPY . . 07:39:55 ---> 0788e395f02d 07:39:55 Step 12/12 : RUN ${MAKE} 07:39:55 ---> Running in a2dcc80d9979 07:39:55 noop 07:39:55 Removing intermediate container a2dcc80d9979 07:39:55 ---> 8eebc0c123d7 07:39:55 Successfully built 8eebc0c123d7 07:39:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:55 + docker inspect -f . ci-base-image-x86_64 07:39:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:55 prd-ubuntu20.04-docker-8c-8g-4528 does not seem to be running inside a container 07:39:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-316 -v /w/workspace/gexfoundry_device-snmp-go_PR-316:/w/workspace/gexfoundry_device-snmp-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:39:56 $ docker top 71533be585c5506ee384fb9baf6899b2c9b5fdf812bb76f5b1ce4343c99c0190 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:56 + go version 07:39:56 go version go1.20.6 linux/amd64 [Pipeline] } 07:39:56 $ docker stop --time=1 71533be585c5506ee384fb9baf6899b2c9b5fdf812bb76f5b1ce4343c99c0190 07:39:57 $ docker rm -f --volumes 71533be585c5506ee384fb9baf6899b2c9b5fdf812bb76f5b1ce4343c99c0190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:58 + docker inspect -f . ci-base-image-x86_64 07:39:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:58 prd-ubuntu20.04-docker-8c-8g-4528 does not seem to be running inside a container 07:39:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-316 -v /w/workspace/gexfoundry_device-snmp-go_PR-316:/w/workspace/gexfoundry_device-snmp-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:39:58 $ docker top 869b933630f042d9ea3399ad4bfdd5156931dce1c0357b9c6a83f0bd3f88b006 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-316 [Pipeline] fileExists [Pipeline] sh 07:39:59 + make test 07:39:59 go test ./... -coverprofile=coverage.out 07:40:04 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:40:14 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:40:14 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 07:40:21 go vet ./... 07:40:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:40:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:40:25 ./bin/test-attribution-txt.sh [Pipeline] echo 07:40:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:40:25 $ docker stop --time=1 869b933630f042d9ea3399ad4bfdd5156931dce1c0357b9c6a83f0bd3f88b006 07:40:29 $ docker rm -f --volumes 869b933630f042d9ea3399ad4bfdd5156931dce1c0357b9c6a83f0bd3f88b006 [Pipeline] // withDockerContainer [Pipeline] sh 07:40:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:40:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:40:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:40:30 + ls -al . 07:40:30 total 176 07:40:30 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 07:39 . 07:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:38 .. 07:40:30 -rw-rw-r-- 1 jenkins jenkins 6 Aug 25 07:38 .dockerignore 07:40:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:39 .git 07:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:38 .github 07:40:30 -rw-rw-r-- 1 jenkins jenkins 328 Aug 25 07:38 .gitignore 07:40:30 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:38 .golangci.yml 07:40:30 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:39 .semver 07:40:30 -rw-rw-r-- 1 jenkins jenkins 10025 Aug 25 07:38 Attribution.txt 07:40:30 -rw-rw-r-- 1 jenkins jenkins 10534 Aug 25 07:38 CHANGELOG.md 07:40:30 -rw-rw-r-- 1 jenkins jenkins 1423 Aug 25 07:38 Dockerfile 07:40:30 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:38 GOVERNANCE.md 07:40:30 -rw-rw-r-- 1 jenkins jenkins 656 Aug 25 07:38 Jenkinsfile 07:40:30 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:38 LICENSE 07:40:30 -rw-rw-r-- 1 jenkins jenkins 2240 Aug 25 07:38 Makefile 07:40:30 -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 07:38 OWNERS.md 07:40:30 -rw-rw-r-- 1 jenkins jenkins 10559 Aug 25 07:38 README.md 07:40:30 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:39 VERSION 07:40:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:38 bin 07:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:38 cmd 07:40:30 -rw-r--r-- 1 jenkins jenkins 8837 Aug 25 07:40 coverage.out 07:40:30 -rw-rw-r-- 1 jenkins jenkins 3710 Aug 25 07:38 go.mod 07:40:30 -rw-rw-r-- 1 jenkins jenkins 33759 Aug 25 07:38 go.sum 07:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:38 internal 07:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:38 snap 07:40:30 -rw-rw-r-- 1 jenkins jenkins 228 Aug 25 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:30 + 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=2353c51f3738781a5906a2a5dde3afc75ddfc5fe --label arch=amd64 --label version=0.0.0 . 07:40:30 Sending build context to Docker daemon 5.799MB 07:40:30 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:40:30 Step 2/24 : FROM ${BASE} AS builder 07:40:30 ---> 8eebc0c123d7 07:40:30 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:40:31 ---> Running in f696c119afe5 07:40:31 Removing intermediate container f696c119afe5 07:40:31 ---> 77cf60b706d8 07:40:31 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:40:31 ---> Running in fc9c80fdeaf6 07:40:31 Removing intermediate container fc9c80fdeaf6 07:40:31 ---> c9aa52d8d6cf 07:40:31 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:40:31 ---> Running in 2ab1c73f40c7 07:40:31 Removing intermediate container 2ab1c73f40c7 07:40:31 ---> 490a7e9b0809 07:40:31 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:40:31 ---> Running in b856f0db7849 07:40:31 Removing intermediate container b856f0db7849 07:40:31 ---> 53fb00c4ad5c 07:40:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:40:31 ---> Running in f6f11fead52d 07:40:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:40:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:40:32 OK: 269 MiB in 57 packages 07:40:32 Removing intermediate container f6f11fead52d 07:40:32 ---> 0ef7d539e9f6 07:40:32 Step 8/24 : WORKDIR /device-snmp-go 07:40:32 ---> Running in ce45dc730b15 07:40:32 Removing intermediate container ce45dc730b15 07:40:32 ---> 1be1db52ae58 07:40:32 Step 9/24 : COPY go.mod vendor* ./ 07:40:32 ---> 6005164950b2 07:40:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:32 ---> Running in b2c4dcec1f51 07:40:33 Removing intermediate container b2c4dcec1f51 07:40:33 ---> 811ea71b2910 07:40:33 Step 11/24 : COPY . . 07:40:33 ---> f18a0ed0649f 07:40:33 Step 12/24 : RUN ${MAKE} 07:40:33 ---> Running in b1daf2f1309e 07:40:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 07:40:56 Removing intermediate container b1daf2f1309e 07:40:56 ---> 33d1fcaeef96 07:40:56 Step 13/24 : FROM alpine:3.17 07:40:56 3.17: Pulling from library/alpine 07:40:56 9398808236ff: Pulling fs layer 07:40:56 9398808236ff: Verifying Checksum 07:40:56 9398808236ff: Download complete 07:40:56 9398808236ff: Pull complete 07:40:56 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:40:56 Status: Downloaded newer image for alpine:3.17 07:40:56 ---> 1e0b8b5322fc 07:40:56 Step 14/24 : RUN apk add --update --no-cache dumb-init 07:40:56 ---> Running in f1f10cdefce9 07:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:40:56 (1/1) Installing dumb-init (1.2.5-r2) 07:40:56 Executing busybox-1.35.0-r29.trigger 07:40:56 OK: 7 MiB in 16 packages 07:40:56 Removing intermediate container f1f10cdefce9 07:40:56 ---> 4fe035eb03ad 07:40:56 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:40:57 ---> bc54a813057d 07:40:57 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:40:57 ---> fa93ad8e11d3 07:40:57 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:40:57 ---> 1421f56918a7 07:40:57 Step 18/24 : EXPOSE 59993 07:40:57 ---> Running in 307d15f5d20b 07:40:57 Removing intermediate container 307d15f5d20b 07:40:57 ---> 27fe2195f6df 07:40:57 Step 19/24 : EXPOSE 161 07:40:57 ---> Running in 744db95edfc4 07:40:57 Removing intermediate container 744db95edfc4 07:40:57 ---> 3b97bc8c4ac6 07:40:57 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:40:57 ---> Running in 09e8c7361d21 07:40:57 Removing intermediate container 09e8c7361d21 07:40:57 ---> 8ecd8a49da20 07:40:57 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:40:57 ---> Running in 4fd3a8372fc1 07:40:57 Removing intermediate container 4fd3a8372fc1 07:40:57 ---> 1841a8515d71 07:40:57 Step 22/24 : LABEL arch=amd64 07:40:57 ---> Running in 339b265df297 07:40:57 Removing intermediate container 339b265df297 07:40:57 ---> 2d694b8ccd4c 07:40:57 Step 23/24 : LABEL git_sha=2353c51f3738781a5906a2a5dde3afc75ddfc5fe 07:40:57 ---> Running in 891d77c8f3fe 07:40:57 Removing intermediate container 891d77c8f3fe 07:40:57 ---> b9a935bc2352 07:40:57 Step 24/24 : LABEL version=0.0.0 07:40:57 ---> Running in 82202bbf0761 07:40:57 Removing intermediate container 82202bbf0761 07:40:57 ---> 07be0e4e554a 07:40:57 [Warning] One or more build-args [ARCH] were not consumed 07:40:57 Successfully built 07be0e4e554a 07:40:57 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 07:40:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:58 07:40:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:58 latest: Pulling from edgex-lftools-log-publisher 07:40:58 5eb5b503b376: Pulling fs layer 07:40:58 5c69ac0246d0: Pulling fs layer 07:40:58 ec43610c2a17: Pulling fs layer 07:40:58 3a2ae6a8a46f: Pulling fs layer 07:40:58 33b1e0a273af: Pulling fs layer 07:40:58 5d3b04190fa2: Pulling fs layer 07:40:58 2f39f015ded8: Pulling fs layer 07:40:58 3a2ae6a8a46f: Waiting 07:40:58 33b1e0a273af: Waiting 07:40:58 5d3b04190fa2: Waiting 07:40:58 2f39f015ded8: Waiting 07:40:58 5c69ac0246d0: Download complete 07:40:58 3a2ae6a8a46f: Verifying Checksum 07:40:58 3a2ae6a8a46f: Download complete 07:40:58 33b1e0a273af: Verifying Checksum 07:40:58 33b1e0a273af: Download complete 07:40:58 ec43610c2a17: Verifying Checksum 07:40:58 ec43610c2a17: Download complete 07:40:58 5d3b04190fa2: Download complete 07:40:59 5eb5b503b376: Verifying Checksum 07:40:59 5eb5b503b376: Download complete 07:40:59 2f39f015ded8: Download complete 07:41:00 5eb5b503b376: Pull complete 07:41:00 5c69ac0246d0: Pull complete 07:41:00 ec43610c2a17: Pull complete 07:41:00 3a2ae6a8a46f: Pull complete 07:41:00 33b1e0a273af: Pull complete 07:41:01 5d3b04190fa2: Pull complete 07:41:05 2f39f015ded8: Pull complete 07:41:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:41:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:41:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:05 prd-ubuntu20.04-docker-8c-8g-4528 does not seem to be running inside a container 07:41:05 $ 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-316 -v /w/workspace/gexfoundry_device-snmp-go_PR-316:/w/workspace/gexfoundry_device-snmp-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:41:10 $ docker top f398cb211e7379dda104482d9d7ce948a92fad4b2a5a2124b68c974fd9ef7fe9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:11 ---> job-cost.sh 07:41:11 lf-activate-venv: SKIPPING 07:41:11 INFO: No Stack... 07:41:11 INFO: Retrieving Pricing Info for: v3-standard-8 07:41:12 INFO: Archiving Costs [Pipeline] sh 07:41:12 + cat /w/workspace/gexfoundry_device-snmp-go_PR-316/archives/cost.csv 07:41:12 + cut -d, -f6 [Pipeline] lock 07:41:12 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-316-2-stack-cost] 07:41:12 Resource [jenkins-edgexfoundry-device-snmp-go-PR-316-2-stack-cost] did not exist. Created. 07:41:12 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-316-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:41:12 + echo total: 0.2199999988079071 [Pipeline] stash 07:41:12 Stashed 1 file(s) [Pipeline] } 07:41:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-316-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:41:12 $ docker stop --time=1 f398cb211e7379dda104482d9d7ce948a92fad4b2a5a2124b68c974fd9ef7fe9 07:41:13 $ docker rm -f --volumes f398cb211e7379dda104482d9d7ce948a92fad4b2a5a2124b68c974fd9ef7fe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:41:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4530 in /w/workspace/gexfoundry_device-snmp-go_PR-316 [Pipeline] { [Pipeline] ws 07:41:44 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 07:41:44 Selected Git installation does not exist. Using Default 07:41:44 The recommended git tool is: NONE 07:41:50 using credential edgex-jenkins-ssh 07:41:50 Cloning the remote Git repository 07:41:50 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:41:51 > git init /w/workspace/device-snmp-go/2 # timeout=10 07:41:51 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:41:51 > git --version # timeout=10 07:41:51 > git --version # 'git version 2.25.1' 07:41:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:41:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:54 Merging remotes/origin/main commit 9a9cfe769be8313ba8a21d40637564934ad0b980 into PR head commit 2353c51f3738781a5906a2a5dde3afc75ddfc5fe 07:41:54 Merge succeeded, producing 2353c51f3738781a5906a2a5dde3afc75ddfc5fe 07:41:54 Checking out Revision 2353c51f3738781a5906a2a5dde3afc75ddfc5fe (PR-316) 07:41:53 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:41:53 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:41:53 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:41:54 > git config core.sparsecheckout # timeout=10 07:41:54 > git checkout -f 2353c51f3738781a5906a2a5dde3afc75ddfc5fe # timeout=10 07:41:54 > git remote # timeout=10 07:41:54 > git config --get remote.origin.url # timeout=10 07:41:54 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:54 > git merge 9a9cfe769be8313ba8a21d40637564934ad0b980 # timeout=10 07:41:54 > git rev-parse HEAD^{commit} # timeout=10 07:41:54 > git config core.sparsecheckout # timeout=10 07:41:54 > git checkout -f 2353c51f3738781a5906a2a5dde3afc75ddfc5fe # timeout=10 07:41:58 Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:41:59 % Total % Received % Xferd Average Speed Time Time Time Current 07:41:59 Dload Upload Total Spent Left Speed 07:41:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67110 0 --:--:-- --:--:-- --:--:-- 67110 [Pipeline] sh 07:41:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:42:00 + sudo tee /etc/docker/daemon.new 07:42:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:42:00 { 07:42:00 "registry-mirrors": [ 07:42:00 "https://nexus3.edgexfoundry.org:10001" 07:42:00 ], 07:42:00 "bip": "10.250.0.254/24", 07:42:00 "hosts": [ 07:42:00 "tcp://0.0.0.0:5555", 07:42:00 "unix:///var/run/docker.sock" 07:42:00 ], 07:42:00 "mtu": 1458, 07:42:00 "selinux-enabled": true, 07:42:00 "seccomp-profile": "/etc/docker/seccomp.json" 07:42:00 } [Pipeline] sh 07:42:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:42:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:42:19 provisioning config files... 07:42:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config950027790549976078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:42:19 ---> docker-login.sh 07:42:19 nexus3.edgexfoundry.org:10001 07:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:42:20 Configure a credential helper to remove this warning. See 07:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:42:20 07:42:20 Login Succeeded 07:42:20 nexus3.edgexfoundry.org:10002 07:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:42:20 Configure a credential helper to remove this warning. See 07:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:42:20 07:42:20 Login Succeeded 07:42:20 nexus3.edgexfoundry.org:10003 07:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:42:21 Configure a credential helper to remove this warning. See 07:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:42:21 07:42:21 Login Succeeded 07:42:21 nexus3.edgexfoundry.org:10004 07:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:42:21 Configure a credential helper to remove this warning. See 07:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:42:21 07:42:21 Login Succeeded 07:42:21 docker.io 07:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:42:22 Configure a credential helper to remove this warning. See 07:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:42:22 07:42:22 Login Succeeded 07:42:22 ---> docker-login.sh ends [Pipeline] } 07:42:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:42:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:42:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:42:22 ========================================================= 07:42:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:42:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:42:23 Sending build context to Docker daemon 2.993MB 07:42:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:42:23 Step 2/12 : FROM ${BASE} AS builder 07:42:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:42:23 edb6bdbacee9: Pulling fs layer 07:42:23 5f9638ab2659: Pulling fs layer 07:42:23 8d51d6327a98: Pulling fs layer 07:42:23 8b374f2dd631: Pulling fs layer 07:42:23 ec14aa9079de: Pulling fs layer 07:42:23 2f466654f4bb: Pulling fs layer 07:42:23 554e91adad29: Pulling fs layer 07:42:23 ec14aa9079de: Waiting 07:42:23 2f466654f4bb: Waiting 07:42:23 8b374f2dd631: Waiting 07:42:23 554e91adad29: Waiting 07:42:23 5f9638ab2659: Verifying Checksum 07:42:23 5f9638ab2659: Download complete 07:42:23 8b374f2dd631: Verifying Checksum 07:42:23 8b374f2dd631: Download complete 07:42:23 ec14aa9079de: Verifying Checksum 07:42:23 ec14aa9079de: Download complete 07:42:23 edb6bdbacee9: Verifying Checksum 07:42:23 edb6bdbacee9: Download complete 07:42:24 edb6bdbacee9: Pull complete 07:42:25 554e91adad29: Verifying Checksum 07:42:25 554e91adad29: Download complete 07:42:25 5f9638ab2659: Pull complete 07:42:26 8d51d6327a98: Verifying Checksum 07:42:26 8d51d6327a98: Download complete 07:42:26 2f466654f4bb: Verifying Checksum 07:42:26 2f466654f4bb: Download complete 07:42:38 8d51d6327a98: Pull complete 07:42:38 8b374f2dd631: Pull complete 07:42:38 ec14aa9079de: Pull complete 07:42:45 2f466654f4bb: Pull complete 07:42:46 554e91adad29: Pull complete 07:42:46 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:42:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:42:46 ---> 1e15ea492957 07:42:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:42:49 ---> Running in fe69078970c2 07:42:49 Removing intermediate container fe69078970c2 07:42:49 ---> 5d143d47e3d4 07:42:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:42:49 ---> Running in d16503ec2055 07:42:49 Removing intermediate container d16503ec2055 07:42:49 ---> 4f52fc1839df 07:42:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:42:49 ---> Running in cf97ef356cd6 07:42:50 Removing intermediate container cf97ef356cd6 07:42:50 ---> 5b30f94432d2 07:42:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:42:50 ---> Running in 260f07529549 07:42:50 Removing intermediate container 260f07529549 07:42:50 ---> 6c4cdd509811 07:42:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:42:50 ---> Running in a5988d21987e 07:42:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:42:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:42:54 (1/4) Installing openssh-keygen (9.1_p1-r4) 07:42:54 (2/4) Installing libedit (20221030.3.1-r0) 07:42:54 (3/4) Installing openssh-client-common (9.1_p1-r4) 07:42:54 (4/4) Installing openssh-client-default (9.1_p1-r4) 07:42:54 Executing busybox-1.35.0-r29.trigger 07:42:54 OK: 268 MiB in 57 packages 07:42:55 Removing intermediate container a5988d21987e 07:42:55 ---> 226ad9729c87 07:42:55 Step 8/12 : WORKDIR /device-snmp-go 07:42:55 ---> Running in b47b7338176c 07:42:55 Removing intermediate container b47b7338176c 07:42:55 ---> 680fd3aec9ba 07:42:55 Step 9/12 : COPY go.mod vendor* ./ 07:42:56 ---> fb77586cc125 07:42:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:56 ---> Running in e83221993c57 07:44:04 Removing intermediate container e83221993c57 07:44:04 ---> cc5319fd8f5b 07:44:04 Step 11/12 : COPY . . 07:44:04 ---> d51bb85a8946 07:44:04 Step 12/12 : RUN ${MAKE} 07:44:04 ---> Running in 12f1cf7ed286 07:44:04 noop 07:44:04 Removing intermediate container 12f1cf7ed286 07:44:04 ---> ba84bbdf6b57 07:44:04 Successfully built ba84bbdf6b57 07:44:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:04 + docker inspect -f . ci-base-image-arm64 07:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:44:04 prd-ubuntu20.04-docker-arm64-4c-16g-4530 does not seem to be running inside a container 07:44:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:44:06 $ docker top b910cd896e461797357356a168f458ba5154843db2b5b7acaeb1ab786da9aa02 -eo pid,comm [Pipeline] { [Pipeline] sh 07:44:07 + go version 07:44:07 go version go1.20.6 linux/arm64 [Pipeline] } 07:44:07 $ docker stop --time=1 b910cd896e461797357356a168f458ba5154843db2b5b7acaeb1ab786da9aa02 07:44:08 $ docker rm -f --volumes b910cd896e461797357356a168f458ba5154843db2b5b7acaeb1ab786da9aa02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:09 + docker inspect -f . ci-base-image-arm64 07:44:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:44:09 prd-ubuntu20.04-docker-arm64-4c-16g-4530 does not seem to be running inside a container 07:44:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:44:10 $ docker top 3faa969c138fa4d36646b35e51d093c6bbbd5564b09b22a86c48be58c0f3167d -eo pid,comm [Pipeline] { [Pipeline] sh 07:44:11 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 07:44:12 + make test 07:44:12 go test ./... -coverprofile=coverage.out 07:44:51 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:47:28 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:47:28 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 07:47:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:47:28 go vet ./... 07:47:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:47:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:47:54 ./bin/test-attribution-txt.sh [Pipeline] echo 07:47:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:47:54 $ docker stop --time=1 3faa969c138fa4d36646b35e51d093c6bbbd5564b09b22a86c48be58c0f3167d 07:47:56 $ docker rm -f --volumes 3faa969c138fa4d36646b35e51d093c6bbbd5564b09b22a86c48be58c0f3167d [Pipeline] // withDockerContainer [Pipeline] sh 07:47:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:47:58 Warning: overwriting stash ‘coverage-report’ 07:47:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:47:59 + ls -al . 07:47:59 total 172 07:47:59 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:44 . 07:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:41 .. 07:47:59 -rw-rw-r-- 1 jenkins jenkins 6 Aug 25 07:41 .dockerignore 07:47:59 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:41 .git 07:47:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:41 .github 07:47:59 -rw-rw-r-- 1 jenkins jenkins 328 Aug 25 07:41 .gitignore 07:47:59 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:41 .golangci.yml 07:47:59 -rw-rw-r-- 1 jenkins jenkins 10025 Aug 25 07:41 Attribution.txt 07:47:59 -rw-rw-r-- 1 jenkins jenkins 10534 Aug 25 07:41 CHANGELOG.md 07:47:59 -rw-rw-r-- 1 jenkins jenkins 1423 Aug 25 07:41 Dockerfile 07:47:59 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:41 GOVERNANCE.md 07:47:59 -rw-rw-r-- 1 jenkins jenkins 656 Aug 25 07:41 Jenkinsfile 07:47:59 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:41 LICENSE 07:47:59 -rw-rw-r-- 1 jenkins jenkins 2240 Aug 25 07:41 Makefile 07:47:59 -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 07:41 OWNERS.md 07:47:59 -rw-rw-r-- 1 jenkins jenkins 10559 Aug 25 07:41 README.md 07:47:59 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:39 VERSION 07:47:59 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:41 bin 07:47:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:41 cmd 07:47:59 -rw-r--r-- 1 jenkins jenkins 8837 Aug 25 07:47 coverage.out 07:47:59 -rw-rw-r-- 1 jenkins jenkins 3710 Aug 25 07:41 go.mod 07:47:59 -rw-rw-r-- 1 jenkins jenkins 33759 Aug 25 07:41 go.sum 07:47:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:41 internal 07:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:41 snap 07:47:59 -rw-rw-r-- 1 jenkins jenkins 228 Aug 25 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:59 + 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=2353c51f3738781a5906a2a5dde3afc75ddfc5fe --label arch=arm64 --label version=0.0.0 . 07:48:00 Sending build context to Docker daemon 3.003MB 07:48:00 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:48:00 Step 2/24 : FROM ${BASE} AS builder 07:48:00 ---> ba84bbdf6b57 07:48:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:48:00 ---> Running in dd39e15e6f42 07:48:00 Removing intermediate container dd39e15e6f42 07:48:00 ---> 6eea7b95462a 07:48:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:00 ---> Running in 5f33553c2ee0 07:48:00 Removing intermediate container 5f33553c2ee0 07:48:00 ---> 49be49400e6f 07:48:00 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:48:01 ---> Running in 05279b533da8 07:48:01 Removing intermediate container 05279b533da8 07:48:01 ---> 29f85b1520dc 07:48:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:48:01 ---> Running in 71675596eb38 07:48:01 Removing intermediate container 71675596eb38 07:48:01 ---> fa089158c864 07:48:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:01 ---> Running in 1df5855405e6 07:48:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:48:04 OK: 268 MiB in 57 packages 07:48:05 Removing intermediate container 1df5855405e6 07:48:05 ---> 8afe9354c63b 07:48:05 Step 8/24 : WORKDIR /device-snmp-go 07:48:05 ---> Running in 8b3fac1d3e65 07:48:06 Removing intermediate container 8b3fac1d3e65 07:48:06 ---> 618ec1244880 07:48:06 Step 9/24 : COPY go.mod vendor* ./ 07:48:06 ---> 674766e93bc2 07:48:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:06 ---> Running in 89f01bfd2264 07:48:09 Removing intermediate container 89f01bfd2264 07:48:09 ---> 0314bee1677d 07:48:09 Step 11/24 : COPY . . 07:48:09 ---> 8310d93c3429 07:48:09 Step 12/24 : RUN ${MAKE} 07:48:09 ---> Running in 5aa15b752a2b 07:48:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 07:50:49 Removing intermediate container 5aa15b752a2b 07:50:49 ---> 7ac5e1b53b9c 07:50:49 Step 13/24 : FROM alpine:3.17 07:50:49 3.17: Pulling from library/alpine 07:50:49 4060ece20d7a: Pulling fs layer 07:50:49 4060ece20d7a: Verifying Checksum 07:50:49 4060ece20d7a: Download complete 07:50:49 4060ece20d7a: Pull complete 07:50:49 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:50:49 Status: Downloaded newer image for alpine:3.17 07:50:49 ---> 8650cd65339b 07:50:49 Step 14/24 : RUN apk add --update --no-cache dumb-init 07:50:49 ---> Running in 2d9b283ddda4 07:50:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:50:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:50:49 (1/1) Installing dumb-init (1.2.5-r2) 07:50:49 Executing busybox-1.35.0-r29.trigger 07:50:49 OK: 8 MiB in 16 packages 07:50:49 Removing intermediate container 2d9b283ddda4 07:50:49 ---> 887181eee697 07:50:49 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:50:49 ---> a88da6ccc738 07:50:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:50:49 ---> 70325a2c1fc0 07:50:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:50:50 ---> 1046fd1f79ee 07:50:50 Step 18/24 : EXPOSE 59993 07:50:50 ---> Running in a4ea1ab1a938 07:50:50 Removing intermediate container a4ea1ab1a938 07:50:50 ---> 2f424dcc17db 07:50:50 Step 19/24 : EXPOSE 161 07:50:50 ---> Running in 42715179f993 07:50:50 Removing intermediate container 42715179f993 07:50:50 ---> 56a87af8e193 07:50:50 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:50:50 ---> Running in dbe11b3dfd20 07:50:51 Removing intermediate container dbe11b3dfd20 07:50:51 ---> 57485a005c52 07:50:51 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:50:51 ---> Running in 2bcd3d7cffe8 07:50:51 Removing intermediate container 2bcd3d7cffe8 07:50:51 ---> 8add2decdb8c 07:50:51 Step 22/24 : LABEL arch=arm64 07:50:51 ---> Running in 0112c86f4311 07:50:52 Removing intermediate container 0112c86f4311 07:50:52 ---> c9228958d153 07:50:52 Step 23/24 : LABEL git_sha=2353c51f3738781a5906a2a5dde3afc75ddfc5fe 07:50:52 ---> Running in 9a73e5921c65 07:50:52 Removing intermediate container 9a73e5921c65 07:50:52 ---> e60d99390be0 07:50:52 Step 24/24 : LABEL version=0.0.0 07:50:52 ---> Running in 050a0d3cf28c 07:50:52 Removing intermediate container 050a0d3cf28c 07:50:52 ---> a7a86b25929f 07:50:52 [Warning] One or more build-args [ARCH] were not consumed 07:50:52 Successfully built a7a86b25929f 07:50:52 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 07:50:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:50:52 07:50:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:50:53 arm64: Pulling from edgex-lftools-log-publisher 07:50:53 8998bd30e6a1: Pulling fs layer 07:50:53 04944245beec: Pulling fs layer 07:50:53 699f458cf7ca: Pulling fs layer 07:50:53 765212b225bb: Pulling fs layer 07:50:53 f23df028b6ca: Pulling fs layer 07:50:53 d65c8cfc05b1: Pulling fs layer 07:50:53 2437ff75d9bd: Pulling fs layer 07:50:53 f23df028b6ca: Waiting 07:50:53 d65c8cfc05b1: Waiting 07:50:53 2437ff75d9bd: Waiting 07:50:53 765212b225bb: Waiting 07:50:53 04944245beec: Verifying Checksum 07:50:53 04944245beec: Download complete 07:50:53 765212b225bb: Verifying Checksum 07:50:53 765212b225bb: Download complete 07:50:53 f23df028b6ca: Verifying Checksum 07:50:53 f23df028b6ca: Download complete 07:50:53 d65c8cfc05b1: Verifying Checksum 07:50:53 d65c8cfc05b1: Download complete 07:50:53 699f458cf7ca: Verifying Checksum 07:50:53 699f458cf7ca: Download complete 07:50:54 8998bd30e6a1: Verifying Checksum 07:50:54 8998bd30e6a1: Download complete 07:50:56 2437ff75d9bd: Verifying Checksum 07:50:56 2437ff75d9bd: Download complete 07:50:58 8998bd30e6a1: Pull complete 07:50:58 04944245beec: Pull complete 07:51:00 699f458cf7ca: Pull complete 07:51:02 765212b225bb: Pull complete 07:51:02 f23df028b6ca: Pull complete 07:51:03 d65c8cfc05b1: Pull complete 07:51:18 2437ff75d9bd: Pull complete 07:51:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:51:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:51:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:18 prd-ubuntu20.04-docker-arm64-4c-16g-4530 does not seem to be running inside a container 07:51:18 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:51:21 $ docker top d40558e00cbdf0702ad001041209ceb261992340a05a58a34a9901016b76dcb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:22 ---> job-cost.sh 07:51:22 lf-activate-venv: SKIPPING 07:51:22 INFO: No Stack... 07:51:22 INFO: Retrieving Pricing Info for: v3-standard-4 07:51:23 INFO: Archiving Costs [Pipeline] sh 07:51:23 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 07:51:23 + cut -d, -f6 [Pipeline] lock 07:51:24 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-316-2-stack-cost] 07:51:24 Resource [jenkins-edgexfoundry-device-snmp-go-PR-316-2-stack-cost] did not exist. Created. 07:51:24 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-316-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:51:24 /w/workspace/device-snmp-go/2@tmp/durable-9e361bf8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:51:25 + echo total: 0.10999999940395355 [Pipeline] stash 07:51:25 Warning: overwriting stash ‘stack-cost’ 07:51:25 Stashed 1 file(s) [Pipeline] } 07:51:25 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-316-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:51:25 $ docker stop --time=1 d40558e00cbdf0702ad001041209ceb261992340a05a58a34a9901016b76dcb8 07:51:26 $ docker rm -f --volumes d40558e00cbdf0702ad001041209ceb261992340a05a58a34a9901016b76dcb8 [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 07:51:27 provisioning config files... 07:51:27 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/config8110890533029578251tmp [Pipeline] { [Pipeline] sh 07:51:27 + set +x 07:51:27 + curl -s https://codecov.io/bash 07:51:27 + bash -s -- 07:51:27 07:51:27 _____ _ 07:51:27 / ____| | | 07:51:27 | | ___ __| | ___ ___ _____ __ 07:51:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:51:27 | |___| (_) | (_| | __/ (_| (_) \ V / 07:51:27 \_____\___/ \__,_|\___|\___\___/ \_/ 07:51:27 Bash-1.0.6 07:51:27 07:51:27 07:51:27 ==> git version 2.25.1 found 07:51:27 ==> 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 07:51:27 Release-Date: 2020-01-08 07:51:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:51:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:51:27 ==> Jenkins CI detected. 07:51:27 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-316 07:51:27 project root: . 07:51:27 --> token set from env 07:51:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:51:27 ==> Running gcov in . (disable via -X gcov) 07:51:27 ==> Python coveragepy not found 07:51:27 ==> Searching for coverage reports in: 07:51:27 + . 07:51:27 -> Found 1 reports 07:51:27 ==> Detecting git/mercurial file structure 07:51:27 ==> Reading reports 07:51:27 + ./coverage.out bytes=8837 07:51:27 ==> Appending adjustments 07:51:27 https://docs.codecov.io/docs/fixing-reports 07:51:27 + Found adjustments 07:51:27 ==> Gzipping contents 07:51:27 4.0K /tmp/codecov.81Pzn4.gz 07:51:27 ==> Uploading reports 07:51:27 url: https://codecov.io 07:51:27 query: branch=PR-316&commit=2353c51f3738781a5906a2a5dde3afc75ddfc5fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-316%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=316&job=&cmd_args= 07:51:27 -> Pinging Codecov 07:51:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-316&commit=2353c51f3738781a5906a2a5dde3afc75ddfc5fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-316%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=316&job=&cmd_args= 07:51:27 -> Uploading to 07:51:27 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/6C56EA5C29638FB4528AC87E60AF5AE0/2353c51f3738781a5906a2a5dde3afc75ddfc5fe/95de0734-9ffc-4a3e-b558-b2ac5b2937bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T075127Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fce47cd3ced4056eeb786345c0c0a5d03c84f5de2433b9f8f188edf99c9be56b 07:51:27 % Total % Received % Xferd Average Speed Time Time Time Current 07:51:27 Dload Upload Total Spent Left Speed 07:51:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7711 --:--:-- --:--:-- --:--:-- 7711 07:51:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/2353c51f3738781a5906a2a5dde3afc75ddfc5fe [Pipeline] } 07:51:27 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 07:51:28 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-316/archives ] 07:51:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-316/archives 07:51:28 total 16 07:51:28 drwxr-xr-x 3 root root 4096 Aug 25 07:41 . 07:51:28 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:41 .. 07:51:28 drwxr-xr-x 2 root root 4096 Aug 25 07:41 cost 07:51:28 -rw-r--r-- 1 root root 86 Aug 25 07:41 cost.csv 07:51:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-316/archives 07:51:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-316/archives 07:51:28 total 16 07:51:28 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:41 . 07:51:28 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:41 .. 07:51:28 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:41 cost 07:51:28 -rw-r--r-- 1 jenkins jenkins 86 Aug 25 07:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:51:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:51:29 ---> package-listing.sh 07:51:29 ++ facter osfamily 07:51:29 ++ tr '[:upper:]' '[:lower:]' 07:51:29 + OS_FAMILY=debian 07:51:29 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-316 07:51:29 + START_PACKAGES=/tmp/packages_start.txt 07:51:29 + END_PACKAGES=/tmp/packages_end.txt 07:51:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:51:29 + PACKAGES=/tmp/packages_start.txt 07:51:29 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-316 ']' 07:51:29 + PACKAGES=/tmp/packages_end.txt 07:51:29 + case "${OS_FAMILY}" in 07:51:29 + dpkg -l 07:51:29 + grep '^ii' 07:51:29 + '[' -f /tmp/packages_start.txt ']' 07:51:29 + '[' -f /tmp/packages_end.txt ']' 07:51:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:51:29 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-316 ']' 07:51:29 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-316/archives/ 07:51:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-316/archives/ [Pipeline] echo 07:51:29 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-316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:51:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:51:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:30 prd-ubuntu20.04-docker-8c-8g-4528 does not seem to be running inside a container 07:51:30 $ 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-316/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-316 -v /w/workspace/gexfoundry_device-snmp-go_PR-316:/w/workspace/gexfoundry_device-snmp-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:51:30 $ docker top 694b40e34153ba9c7f66baf82ff949b2e2f7c3d8522adc61046d7616fd5d6084 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:31 + touch /tmp/pre-build-complete [Pipeline] sh 07:51:31 + mkdir -p /var/log/sysstat [Pipeline] sh 07:51:31 + ls /var/log/sa-host 07:51:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:31 provisioning config files... 07:51:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/config17900410806645978899tmp [Pipeline] { [Pipeline] echo 07:51:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:51:32 ---> create-netrc.sh [Pipeline] } 07:51:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:51:32 ---> python-tools-install.sh [Pipeline] echo 07:51:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:51:32 ---> sudo-logs.sh 07:51:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:51:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:51:33 ---> job-cost.sh 07:51:33 lf-activate-venv: SKIPPING 07:51:33 DEBUG: total: 0.2199999988079071 07:51:33 INFO: Retrieving Stack Cost... 07:51:33 INFO: Retrieving Pricing Info for: v3-standard-8 07:51:33 INFO: Archiving Costs [Pipeline] echo 07:51:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:51:34 ---> logs-deploy.sh 07:51:34 lf-activate-venv: SKIPPING 07:51:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-316/2 07:51:34 INFO: archiving workspace using pattern(s): 07:51:35 Archives upload complete. 07:51:35 INFO: archiving logs to Nexus