Pull request #316 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 105b0e7e199b2b49b6b925fd70e6138af3da39fa+9a9cfe769be8313ba8a21d40637564934ad0b980 (5813a07cb126e60c9e89c27f04452062d3a6b29f) 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-ssh1661704221093601685.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-ssh864104150883768115.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11154936088517931469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17651278228255673481.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh4913170149453963006.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3072190682074639307.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-4511 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 105b0e7e199b2b49b6b925fd70e6138af3da39fa Merge succeeded, producing 105b0e7e199b2b49b6b925fd70e6138af3da39fa Checking out Revision 105b0e7e199b2b49b6b925fd70e6138af3da39fa (PR-316) > git config core.sparsecheckout # timeout=10 > git checkout -f 105b0e7e199b2b49b6b925fd70e6138af3da39fa # 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 105b0e7e199b2b49b6b925fd70e6138af3da39fa # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:50:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:50:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:50:14 ========================================================= 06:50:14 EdgeX Global Pipelines Version Info 06:50:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:50:14 ------------------- 06:50:14 stable info: 06:50:14 ------------------- 06:50:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:50:14 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:50:14 Message: update stable to v1.0.253 06:50:15 ------------------- 06:50:15 experimental info: 06:50:15 ------------------- 06:50:15 Commited By: **** collab-it+edgex@linuxfoundation.org 06:50:15 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:50:15 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:50:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:50:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:50:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:50:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:50:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:50:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:50:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-316 [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-316 [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-316 [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 105b0e7e199b2b49b6b925fd70e6138af3da39fa [Pipeline] echo 06:50:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 105b0e7 [Pipeline] echo 06:50:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:50:17 provisioning config files... 06:50:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/config11698427346338374053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:50:17 ---> docker-login.sh 06:50:17 nexus3.edgexfoundry.org:10001 06:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:17 Configure a credential helper to remove this warning. See 06:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:17 06:50:17 Login Succeeded 06:50:17 nexus3.edgexfoundry.org:10002 06:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:18 Configure a credential helper to remove this warning. See 06:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:18 06:50:18 Login Succeeded 06:50:18 nexus3.edgexfoundry.org:10003 06:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:18 Configure a credential helper to remove this warning. See 06:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:18 06:50:18 Login Succeeded 06:50:18 nexus3.edgexfoundry.org:10004 06:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:18 Configure a credential helper to remove this warning. See 06:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:18 06:50:18 Login Succeeded 06:50:18 docker.io 06:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:18 Configure a credential helper to remove this warning. See 06:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:18 06:50:18 Login Succeeded 06:50:18 ---> docker-login.sh ends [Pipeline] } 06:50:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:50:18 + git rev-list -1 --merges 105b0e7e199b2b49b6b925fd70e6138af3da39fa~1..105b0e7e199b2b49b6b925fd70e6138af3da39fa [Pipeline] echo 06:50:19 -----------> git rev-list -1 --merges 105b0e7e199b2b49b6b925fd70e6138af3da39fa~1..105b0e7e199b2b49b6b925fd70e6138af3da39fa 105b0e7e199b2b49b6b925fd70e6138af3da39fa [false] [Pipeline] sh 06:50:19 + git log --format=format:%s -1 105b0e7e199b2b49b6b925fd70e6138af3da39fa [Pipeline] echo 06:50:19 ========================================================= 06:50:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:50:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:19 + git log --format=format:%s -1 105b0e7e199b2b49b6b925fd70e6138af3da39fa [Pipeline] echo 06:50:19 [semverPrep] GIT_COMMIT: 105b0e7e199b2b49b6b925fd70e6138af3da39fa, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 06:50:19 [semverPrep] This is not a build commit. [Pipeline] sh 06:50:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:50:20 + grep -v github /etc/ssh/ssh_known_hosts 06:50:20 + [ -e /tmp/ssh_known_hosts ] 06:50:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:50:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:50:20 + sudo tee -a /etc/ssh/ssh_known_hosts 06:50:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:50:20 06:50:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:50:21 0.1.4: Pulling from edgex-devops/py-git-semver 06:50:21 b85a868b505f: Pulling fs layer 06:50:21 e2be974225ed: Pulling fs layer 06:50:21 339a4e72a1f5: Pulling fs layer 06:50:21 988bab9f4d93: Pulling fs layer 06:50:21 1469e6f7b9e6: Pulling fs layer 06:50:21 eaf3925da568: Pulling fs layer 06:50:21 bab4dde63d76: Pulling fs layer 06:50:21 bde34c3a00c8: Pulling fs layer 06:50:21 b352a97aabf1: Pulling fs layer 06:50:21 4872d77fe225: Pulling fs layer 06:50:21 5851b861e8e6: Pulling fs layer 06:50:21 bde34c3a00c8: Waiting 06:50:21 b352a97aabf1: Waiting 06:50:21 4872d77fe225: Waiting 06:50:21 5851b861e8e6: Waiting 06:50:21 988bab9f4d93: Waiting 06:50:21 1469e6f7b9e6: Waiting 06:50:21 bab4dde63d76: Waiting 06:50:21 e2be974225ed: Download complete 06:50:21 988bab9f4d93: Verifying Checksum 06:50:21 988bab9f4d93: Download complete 06:50:21 1469e6f7b9e6: Verifying Checksum 06:50:21 1469e6f7b9e6: Download complete 06:50:21 eaf3925da568: Verifying Checksum 06:50:21 eaf3925da568: Download complete 06:50:21 339a4e72a1f5: Verifying Checksum 06:50:21 339a4e72a1f5: Download complete 06:50:21 bde34c3a00c8: Verifying Checksum 06:50:21 bde34c3a00c8: Download complete 06:50:21 b352a97aabf1: Download complete 06:50:21 4872d77fe225: Download complete 06:50:21 5851b861e8e6: Download complete 06:50:21 b85a868b505f: Verifying Checksum 06:50:21 b85a868b505f: Download complete 06:50:21 bab4dde63d76: Verifying Checksum 06:50:21 bab4dde63d76: Download complete 06:50:22 b85a868b505f: Pull complete 06:50:22 e2be974225ed: Pull complete 06:50:23 339a4e72a1f5: Pull complete 06:50:23 988bab9f4d93: Pull complete 06:50:23 1469e6f7b9e6: Pull complete 06:50:23 eaf3925da568: Pull complete 06:50:25 bab4dde63d76: Pull complete 06:50:25 bde34c3a00c8: Pull complete 06:50:25 b352a97aabf1: Pull complete 06:50:25 4872d77fe225: Pull complete 06:50:25 5851b861e8e6: Pull complete 06:50:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:50:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:50:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:50:25 prd-ubuntu20.04-docker-8c-8g-4511 does not seem to be running inside a container 06:50:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:50:29 $ docker top 6a5568f387dc7709129e77ef2387f6c7da6e3b86c90c6a23456beef98f94ff1b -eo pid,comm 06:50:29 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). 06:50:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:50:29 [ssh-agent] Looking for ssh-agent implementation... 06:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:50:29 $ docker exec 6a5568f387dc7709129e77ef2387f6c7da6e3b86c90c6a23456beef98f94ff1b ssh-agent 06:50:29 SSH_AUTH_SOCK=/tmp/ssh-JyEcp599maSb/agent.31 06:50:29 SSH_AGENT_PID=37 06:50:29 Running ssh-add (command line suppressed) 06:50:29 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/private_key_5379407787853211382.key (/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/private_key_5379407787853211382.key) 06:50:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:50:30 + git tag --points-at HEAD [Pipeline] } 06:50:30 $ docker exec --env ******** --env ******** 6a5568f387dc7709129e77ef2387f6c7da6e3b86c90c6a23456beef98f94ff1b ssh-agent -k 06:50:30 unset SSH_AUTH_SOCK; 06:50:30 unset SSH_AGENT_PID; 06:50:30 echo Agent pid 37 killed; 06:50:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:50:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:50:30 [ssh-agent] Looking for ssh-agent implementation... 06:50:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:50:30 $ docker exec 6a5568f387dc7709129e77ef2387f6c7da6e3b86c90c6a23456beef98f94ff1b ssh-agent 06:50:30 SSH_AUTH_SOCK=/tmp/ssh-2H1FoFKvK8mm/agent.69 06:50:30 SSH_AGENT_PID=75 06:50:30 Running ssh-add (command line suppressed) 06:50:30 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/private_key_11262250677161062289.key (/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/private_key_11262250677161062289.key) 06:50:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:50:31 + git semver init 06:50:31 2023-08-25 06:50:31,187 [run_init] DEBUG init version:0.0.0 force:False 06:50:31 2023-08-25 06:50:31,188 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver 06:50:31 2023-08-25 06:50:31,188 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-316/.semver 06:50:31 2023-08-25 06:50:31,189 [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) 06:50:32 2023-08-25 06:50:31,942 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-316/.git/info/exclude 06:50:32 2023-08-25 06:50:31,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver/PR-316 with force:False 06:50:32 2023-08-25 06:50:31,943 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver/PR-316 06:50:32 2023-08-25 06:50:31,948 [execute] INFO git cat-file --batch-check 06:50:32 2023-08-25 06:50:31,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) 06:50:32 2023-08-25 06:50:31,956 [execute] INFO git cat-file --batch 06:50:32 2023-08-25 06:50:31,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) 06:50:32 2023-08-25 06:50:31,962 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-316/.semver/PR-316 06:50:32 0.0.0 [Pipeline] } 06:50:32 $ docker exec --env ******** --env ******** 6a5568f387dc7709129e77ef2387f6c7da6e3b86c90c6a23456beef98f94ff1b ssh-agent -k 06:50:32 unset SSH_AUTH_SOCK; 06:50:32 unset SSH_AGENT_PID; 06:50:32 echo Agent pid 75 killed; 06:50:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:50:32 + git semver [Pipeline] } 06:50:33 $ docker stop --time=1 6a5568f387dc7709129e77ef2387f6c7da6e3b86c90c6a23456beef98f94ff1b 06:50:34 $ docker rm -f --volumes 6a5568f387dc7709129e77ef2387f6c7da6e3b86c90c6a23456beef98f94ff1b [Pipeline] // withDockerContainer [Pipeline] sh 06:50:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:50:35 Stashed 1 file(s) [Pipeline] echo 06:50:35 [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 06:50:35 provisioning config files... 06:50:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/config5649184382811042110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:50:36 ---> docker-login.sh 06:50:36 nexus3.edgexfoundry.org:10001 06:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:36 Configure a credential helper to remove this warning. See 06:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:36 06:50:36 Login Succeeded 06:50:36 nexus3.edgexfoundry.org:10002 06:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:36 Configure a credential helper to remove this warning. See 06:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:36 06:50:36 Login Succeeded 06:50:36 nexus3.edgexfoundry.org:10003 06:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:36 Configure a credential helper to remove this warning. See 06:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:36 06:50:36 Login Succeeded 06:50:36 nexus3.edgexfoundry.org:10004 06:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:36 Configure a credential helper to remove this warning. See 06:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:36 06:50:36 Login Succeeded 06:50:36 docker.io 06:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:36 Configure a credential helper to remove this warning. See 06:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:36 06:50:36 Login Succeeded 06:50:36 ---> docker-login.sh ends [Pipeline] } 06:50:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:50:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:50:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:50:36 ========================================================= 06:50:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:50:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:37 + 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 . 06:50:37 Sending build context to Docker daemon 5.791MB 06:50:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:50:37 Step 2/12 : FROM ${BASE} AS builder 06:50:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:50:37 4db1b89c0bd1: Pulling fs layer 06:50:37 6911f1a30b25: Pulling fs layer 06:50:37 e194b8c5c2a9: Pulling fs layer 06:50:37 6863d3e3a2b1: Pulling fs layer 06:50:37 ec0bb842ea78: Pulling fs layer 06:50:37 40a00589a448: Pulling fs layer 06:50:37 6c08303d61cc: Pulling fs layer 06:50:37 798269fcf238: Pulling fs layer 06:50:37 6863d3e3a2b1: Waiting 06:50:37 ec0bb842ea78: Waiting 06:50:37 40a00589a448: Waiting 06:50:37 6c08303d61cc: Waiting 06:50:37 798269fcf238: Waiting 06:50:37 6911f1a30b25: Download complete 06:50:37 6863d3e3a2b1: Verifying Checksum 06:50:37 6863d3e3a2b1: Download complete 06:50:37 ec0bb842ea78: Verifying Checksum 06:50:37 ec0bb842ea78: Download complete 06:50:37 4db1b89c0bd1: Verifying Checksum 06:50:37 4db1b89c0bd1: Download complete 06:50:37 40a00589a448: Verifying Checksum 06:50:37 40a00589a448: Download complete 06:50:37 4db1b89c0bd1: Pull complete 06:50:37 6911f1a30b25: Pull complete 06:50:38 798269fcf238: Verifying Checksum 06:50:38 798269fcf238: Download complete 06:50:38 e194b8c5c2a9: Verifying Checksum 06:50:38 e194b8c5c2a9: Download complete 06:50:38 6c08303d61cc: Verifying Checksum 06:50:38 6c08303d61cc: Download complete 06:50:41 e194b8c5c2a9: Pull complete 06:50:41 6863d3e3a2b1: Pull complete 06:50:41 ec0bb842ea78: Pull complete 06:50:41 40a00589a448: Pull complete 06:50:44 6c08303d61cc: Pull complete 06:50:44 798269fcf238: Pull complete 06:50:44 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 06:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:50:44 ---> ec979cd7f677 06:50:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:50:50 Still waiting to schedule task 06:50:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:50:52 ---> Running in 5784eff2ca35 06:50:52 Removing intermediate container 5784eff2ca35 06:50:52 ---> f49465a74829 06:50:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:50:52 ---> Running in e2c9676c0ebe 06:50:52 Removing intermediate container e2c9676c0ebe 06:50:52 ---> 56227b7a0a46 06:50:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:50:52 ---> Running in a13f13651c26 06:50:52 Removing intermediate container a13f13651c26 06:50:52 ---> c7a68407b83c 06:50:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:50:52 ---> Running in 4a4f3a558a70 06:50:52 Removing intermediate container 4a4f3a558a70 06:50:52 ---> 5f1e04cb145e 06:50:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:50:53 ---> Running in dde66914e6ac 06:50:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:50:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:50:53 (1/4) Installing openssh-keygen (9.1_p1-r4) 06:50:53 (2/4) Installing libedit (20221030.3.1-r0) 06:50:53 (3/4) Installing openssh-client-common (9.1_p1-r4) 06:50:53 (4/4) Installing openssh-client-default (9.1_p1-r4) 06:50:53 Executing busybox-1.35.0-r29.trigger 06:50:53 OK: 269 MiB in 57 packages 06:50:55 Removing intermediate container dde66914e6ac 06:50:55 ---> a7563ee6a092 06:50:55 Step 8/12 : WORKDIR /device-snmp-go 06:50:55 ---> Running in dcf042a42352 06:50:55 Removing intermediate container dcf042a42352 06:50:55 ---> 5d509cb8bf17 06:50:55 Step 9/12 : COPY go.mod vendor* ./ 06:50:55 ---> f985d554dfad 06:50:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:50:55 ---> Running in 3e2895153b8f 06:51:27 Removing intermediate container 3e2895153b8f 06:51:27 ---> a0fdd563e972 06:51:27 Step 11/12 : COPY . . 06:51:27 ---> 69423a45facc 06:51:27 Step 12/12 : RUN ${MAKE} 06:51:27 ---> Running in 1d5807d3adaf 06:51:27 noop 06:51:27 Removing intermediate container 1d5807d3adaf 06:51:27 ---> 148d62c991be 06:51:27 Successfully built 148d62c991be 06:51:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:28 + docker inspect -f . ci-base-image-x86_64 06:51:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:51:28 prd-ubuntu20.04-docker-8c-8g-4511 does not seem to be running inside a container 06:51:28 $ 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 ******** ci-base-image-x86_64 cat 06:51:28 $ docker top d6387bf23a98432f8ce0abfadbdc3fab2e7ce75a07019a1f50136e53657d6017 -eo pid,comm [Pipeline] { [Pipeline] sh 06:51:29 + go version 06:51:29 go version go1.20.6 linux/amd64 [Pipeline] } 06:51:29 $ docker stop --time=1 d6387bf23a98432f8ce0abfadbdc3fab2e7ce75a07019a1f50136e53657d6017 06:51:30 $ docker rm -f --volumes d6387bf23a98432f8ce0abfadbdc3fab2e7ce75a07019a1f50136e53657d6017 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:31 + docker inspect -f . ci-base-image-x86_64 06:51:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:51:31 prd-ubuntu20.04-docker-8c-8g-4511 does not seem to be running inside a container 06:51:31 $ 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 ******** ci-base-image-x86_64 cat 06:51:31 $ docker top aab9fc912ea43e86d622bd9f300c1294c879d8256ee0b28d37f3324b2157ae12 -eo pid,comm [Pipeline] { [Pipeline] sh 06:51:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-316 [Pipeline] fileExists [Pipeline] sh 06:51:32 + make test 06:51:32 go test ./... -coverprofile=coverage.out 06:51:36 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:51:46 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:51:46 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 06:51:53 go vet ./... 06:51:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:51:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:51:56 ./bin/test-attribution-txt.sh [Pipeline] echo 06:51:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:51:56 $ docker stop --time=1 aab9fc912ea43e86d622bd9f300c1294c879d8256ee0b28d37f3324b2157ae12 06:51:59 $ docker rm -f --volumes aab9fc912ea43e86d622bd9f300c1294c879d8256ee0b28d37f3324b2157ae12 [Pipeline] // withDockerContainer [Pipeline] sh 06:51:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:51:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:52:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:52:00 + ls -al . 06:52:00 total 176 06:52:00 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 06:51 . 06:52:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:50 .. 06:52:00 -rw-rw-r-- 1 jenkins jenkins 6 Aug 25 06:50 .dockerignore 06:52:00 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 06:50 .git 06:52:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:50 .github 06:52:00 -rw-rw-r-- 1 jenkins jenkins 328 Aug 25 06:50 .gitignore 06:52:00 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 06:50 .golangci.yml 06:52:00 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 06:50 .semver 06:52:00 -rw-rw-r-- 1 jenkins jenkins 10134 Aug 25 06:50 Attribution.txt 06:52:00 -rw-rw-r-- 1 jenkins jenkins 10534 Aug 25 06:50 CHANGELOG.md 06:52:00 -rw-rw-r-- 1 jenkins jenkins 1423 Aug 25 06:50 Dockerfile 06:52:00 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 06:50 GOVERNANCE.md 06:52:00 -rw-rw-r-- 1 jenkins jenkins 656 Aug 25 06:50 Jenkinsfile 06:52:00 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 06:50 LICENSE 06:52:00 -rw-rw-r-- 1 jenkins jenkins 2240 Aug 25 06:50 Makefile 06:52:00 -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 06:50 OWNERS.md 06:52:00 -rw-rw-r-- 1 jenkins jenkins 10559 Aug 25 06:50 README.md 06:52:00 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 06:50 VERSION 06:52:00 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 06:50 bin 06:52:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:50 cmd 06:52:00 -rw-r--r-- 1 jenkins jenkins 8837 Aug 25 06:51 coverage.out 06:52:00 -rw-rw-r-- 1 jenkins jenkins 3710 Aug 25 06:50 go.mod 06:52:00 -rw-rw-r-- 1 jenkins jenkins 33759 Aug 25 06:50 go.sum 06:52:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:50 internal 06:52:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:50 snap 06:52:00 -rw-rw-r-- 1 jenkins jenkins 228 Aug 25 06:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:01 + 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=105b0e7e199b2b49b6b925fd70e6138af3da39fa --label arch=amd64 --label version=0.0.0 . 06:52:01 Sending build context to Docker daemon 5.801MB 06:52:01 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:52:01 Step 2/24 : FROM ${BASE} AS builder 06:52:01 ---> 148d62c991be 06:52:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:52:01 ---> Running in 78479c37c496 06:52:01 Removing intermediate container 78479c37c496 06:52:01 ---> d891ad32cb64 06:52:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:52:01 ---> Running in 65e419e2a02d 06:52:01 Removing intermediate container 65e419e2a02d 06:52:01 ---> 21abf00995f6 06:52:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:52:01 ---> Running in 45c1cd789a17 06:52:01 Removing intermediate container 45c1cd789a17 06:52:01 ---> e0b839aa71c9 06:52:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:52:01 ---> Running in f94bc7dfa504 06:52:01 Removing intermediate container f94bc7dfa504 06:52:01 ---> dd772396aeb6 06:52:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:52:01 ---> Running in d1d0e02f62cb 06:52:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:52:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:52:02 OK: 269 MiB in 57 packages 06:52:02 Removing intermediate container d1d0e02f62cb 06:52:02 ---> 30853d9a4e38 06:52:02 Step 8/24 : WORKDIR /device-snmp-go 06:52:02 ---> Running in 9d9703b60990 06:52:02 Removing intermediate container 9d9703b60990 06:52:02 ---> 5c4be3bae2c6 06:52:02 Step 9/24 : COPY go.mod vendor* ./ 06:52:02 ---> 83f4937004ed 06:52:02 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:52:02 ---> Running in 98b0d2f93995 06:52:03 Removing intermediate container 98b0d2f93995 06:52:03 ---> 65bce812375d 06:52:03 Step 11/24 : COPY . . 06:52:03 ---> 636c571e47e6 06:52:03 Step 12/24 : RUN ${MAKE} 06:52:03 ---> Running in 0e95869b92f4 06:52:04 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 06:52:26 Removing intermediate container 0e95869b92f4 06:52:26 ---> e0dfd4a0f729 06:52:26 Step 13/24 : FROM alpine:3.17 06:52:26 3.17: Pulling from library/alpine 06:52:26 9398808236ff: Pulling fs layer 06:52:26 9398808236ff: Verifying Checksum 06:52:26 9398808236ff: Download complete 06:52:26 9398808236ff: Pull complete 06:52:26 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 06:52:26 Status: Downloaded newer image for alpine:3.17 06:52:26 ---> 1e0b8b5322fc 06:52:26 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:52:26 ---> Running in 08da4c5ba12c 06:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:52:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:52:26 (1/1) Installing dumb-init (1.2.5-r2) 06:52:26 Executing busybox-1.35.0-r29.trigger 06:52:26 OK: 7 MiB in 16 packages 06:52:26 Removing intermediate container 08da4c5ba12c 06:52:26 ---> 4e5ceca7d7df 06:52:26 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:52:26 ---> e72b574d2119 06:52:26 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:52:26 ---> 871cdb8ce9da 06:52:26 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:52:26 ---> 5e31dbd74260 06:52:26 Step 18/24 : EXPOSE 59993 06:52:26 ---> Running in cb7d49cfe2d3 06:52:26 Removing intermediate container cb7d49cfe2d3 06:52:26 ---> 01b00b64a0a0 06:52:26 Step 19/24 : EXPOSE 161 06:52:26 ---> Running in ea9d4e4a3f2f 06:52:26 Removing intermediate container ea9d4e4a3f2f 06:52:26 ---> b3c654522c81 06:52:26 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:52:26 ---> Running in 98e17d9c8d8e 06:52:26 Removing intermediate container 98e17d9c8d8e 06:52:26 ---> eb9f73ef8ad6 06:52:26 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:52:26 ---> Running in 2b4ffcf49141 06:52:26 Removing intermediate container 2b4ffcf49141 06:52:26 ---> e6f48ce65a58 06:52:26 Step 22/24 : LABEL arch=amd64 06:52:26 ---> Running in 590d96a335db 06:52:26 Removing intermediate container 590d96a335db 06:52:26 ---> 8814e7627edd 06:52:26 Step 23/24 : LABEL git_sha=105b0e7e199b2b49b6b925fd70e6138af3da39fa 06:52:26 ---> Running in 33c73f4657d4 06:52:26 Removing intermediate container 33c73f4657d4 06:52:26 ---> dba041ae3700 06:52:26 Step 24/24 : LABEL version=0.0.0 06:52:26 ---> Running in c87765356b35 06:52:26 Removing intermediate container c87765356b35 06:52:26 ---> 47491c36a673 06:52:26 [Warning] One or more build-args [ARCH] were not consumed 06:52:26 Successfully built 47491c36a673 06:52:26 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 06:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:27 06:52:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:27 latest: Pulling from edgex-lftools-log-publisher 06:52:27 5eb5b503b376: Pulling fs layer 06:52:27 5c69ac0246d0: Pulling fs layer 06:52:27 ec43610c2a17: Pulling fs layer 06:52:27 3a2ae6a8a46f: Pulling fs layer 06:52:27 33b1e0a273af: Pulling fs layer 06:52:27 5d3b04190fa2: Pulling fs layer 06:52:27 2f39f015ded8: Pulling fs layer 06:52:27 3a2ae6a8a46f: Waiting 06:52:27 33b1e0a273af: Waiting 06:52:27 5d3b04190fa2: Waiting 06:52:27 5c69ac0246d0: Download complete 06:52:27 3a2ae6a8a46f: Verifying Checksum 06:52:27 3a2ae6a8a46f: Download complete 06:52:27 33b1e0a273af: Verifying Checksum 06:52:27 33b1e0a273af: Download complete 06:52:27 5d3b04190fa2: Verifying Checksum 06:52:27 5d3b04190fa2: Download complete 06:52:27 ec43610c2a17: Verifying Checksum 06:52:27 ec43610c2a17: Download complete 06:52:27 5eb5b503b376: Verifying Checksum 06:52:27 5eb5b503b376: Download complete 06:52:28 2f39f015ded8: Download complete 06:52:28 5eb5b503b376: Pull complete 06:52:28 5c69ac0246d0: Pull complete 06:52:29 ec43610c2a17: Pull complete 06:52:29 3a2ae6a8a46f: Pull complete 06:52:29 33b1e0a273af: Pull complete 06:52:29 5d3b04190fa2: Pull complete 06:52:33 2f39f015ded8: Pull complete 06:52:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:52:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:34 prd-ubuntu20.04-docker-8c-8g-4511 does not seem to be running inside a container 06:52:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:52:37 $ docker top 3e8bf03b8cabc6e98bafb91667003b51a14bc0f06163fce31f1482b7e5f6fb61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:38 ---> job-cost.sh 06:52:38 lf-activate-venv: SKIPPING 06:52:38 INFO: No Stack... 06:52:38 INFO: Retrieving Pricing Info for: v3-standard-8 06:52:38 INFO: Archiving Costs [Pipeline] sh 06:52:38 + cat /w/workspace/gexfoundry_device-snmp-go_PR-316/archives/cost.csv 06:52:38 + cut -d, -f6 [Pipeline] lock 06:52:39 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-316-1-stack-cost] 06:52:39 Resource [jenkins-edgexfoundry-device-snmp-go-PR-316-1-stack-cost] did not exist. Created. 06:52:39 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:52:39 + echo total: 0.2199999988079071 [Pipeline] stash 06:52:39 Stashed 1 file(s) [Pipeline] } 06:52:39 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:52:39 $ docker stop --time=1 3e8bf03b8cabc6e98bafb91667003b51a14bc0f06163fce31f1482b7e5f6fb61 06:52:40 $ docker rm -f --volumes 3e8bf03b8cabc6e98bafb91667003b51a14bc0f06163fce31f1482b7e5f6fb61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:54:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4512 in /w/workspace/gexfoundry_device-snmp-go_PR-316 [Pipeline] { [Pipeline] ws 06:54:49 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:54:49 Selected Git installation does not exist. Using Default 06:54:49 The recommended git tool is: NONE 06:54:55 using credential edgex-jenkins-ssh 06:54:55 Cloning the remote Git repository 06:54:55 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:54:55 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:54:55 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:54:55 > git --version # timeout=10 06:54:55 > git --version # 'git version 2.25.1' 06:54:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:57 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:54:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:54:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:54:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:58 > 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 06:54:58 Merging remotes/origin/main commit 9a9cfe769be8313ba8a21d40637564934ad0b980 into PR head commit 105b0e7e199b2b49b6b925fd70e6138af3da39fa 06:54:58 Merge succeeded, producing 105b0e7e199b2b49b6b925fd70e6138af3da39fa 06:54:58 Checking out Revision 105b0e7e199b2b49b6b925fd70e6138af3da39fa (PR-316) 06:54:58 > git config core.sparsecheckout # timeout=10 06:54:58 > git checkout -f 105b0e7e199b2b49b6b925fd70e6138af3da39fa # timeout=10 06:54:58 > git remote # timeout=10 06:54:58 > git config --get remote.origin.url # timeout=10 06:54:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:58 > git merge 9a9cfe769be8313ba8a21d40637564934ad0b980 # timeout=10 06:54:58 > git rev-parse HEAD^{commit} # timeout=10 06:54:58 > git config core.sparsecheckout # timeout=10 06:54:59 > git checkout -f 105b0e7e199b2b49b6b925fd70e6138af3da39fa # timeout=10 06:55:02 Commit message: "build: move SDK to v3.1.0-dev.16" 06:55:02 > git --version # timeout=10 06:55:02 > git --version # 'git version 2.25.1' 06:55:02 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:55:03 % Total % Received % Xferd Average Speed Time Time Time Current 06:55:03 Dload Upload Total Spent Left Speed 06:55:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 06:55:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:55:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:55:04 + sudo tee /etc/docker/daemon.new 06:55:04 { 06:55:04 "registry-mirrors": [ 06:55:04 "https://nexus3.edgexfoundry.org:10001" 06:55:04 ], 06:55:04 "bip": "10.250.0.254/24", 06:55:04 "hosts": [ 06:55:04 "tcp://0.0.0.0:5555", 06:55:04 "unix:///var/run/docker.sock" 06:55:04 ], 06:55:04 "mtu": 1458, 06:55:04 "selinux-enabled": true, 06:55:04 "seccomp-profile": "/etc/docker/seccomp.json" 06:55:04 } [Pipeline] sh 06:55:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:55:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:55:23 provisioning config files... 06:55:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config12081717694470150508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:24 ---> docker-login.sh 06:55:24 nexus3.edgexfoundry.org:10001 06:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:24 Configure a credential helper to remove this warning. See 06:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:24 06:55:24 Login Succeeded 06:55:24 nexus3.edgexfoundry.org:10002 06:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:25 Configure a credential helper to remove this warning. See 06:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:25 06:55:25 Login Succeeded 06:55:25 nexus3.edgexfoundry.org:10003 06:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:25 Configure a credential helper to remove this warning. See 06:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:25 06:55:25 Login Succeeded 06:55:25 nexus3.edgexfoundry.org:10004 06:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:25 Configure a credential helper to remove this warning. See 06:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:25 06:55:25 Login Succeeded 06:55:25 docker.io 06:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:26 Configure a credential helper to remove this warning. See 06:55:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:26 06:55:26 Login Succeeded 06:55:26 ---> docker-login.sh ends [Pipeline] } 06:55:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:55:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:55:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:55:26 ========================================================= 06:55:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:55:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:27 + 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 . 06:55:27 Sending build context to Docker daemon 2.993MB 06:55:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:55:27 Step 2/12 : FROM ${BASE} AS builder 06:55:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:55:27 edb6bdbacee9: Pulling fs layer 06:55:27 5f9638ab2659: Pulling fs layer 06:55:27 8d51d6327a98: Pulling fs layer 06:55:27 8b374f2dd631: Pulling fs layer 06:55:27 ec14aa9079de: Pulling fs layer 06:55:27 2f466654f4bb: Pulling fs layer 06:55:27 554e91adad29: Pulling fs layer 06:55:27 8b374f2dd631: Waiting 06:55:27 ec14aa9079de: Waiting 06:55:27 2f466654f4bb: Waiting 06:55:27 554e91adad29: Waiting 06:55:27 5f9638ab2659: Download complete 06:55:27 8b374f2dd631: Verifying Checksum 06:55:27 8b374f2dd631: Download complete 06:55:27 ec14aa9079de: Verifying Checksum 06:55:27 ec14aa9079de: Download complete 06:55:27 edb6bdbacee9: Download complete 06:55:28 edb6bdbacee9: Pull complete 06:55:29 554e91adad29: Verifying Checksum 06:55:29 554e91adad29: Download complete 06:55:29 5f9638ab2659: Pull complete 06:55:30 2f466654f4bb: Verifying Checksum 06:55:30 2f466654f4bb: Download complete 06:55:30 8d51d6327a98: Verifying Checksum 06:55:30 8d51d6327a98: Download complete 06:55:43 8d51d6327a98: Pull complete 06:55:43 8b374f2dd631: Pull complete 06:55:43 ec14aa9079de: Pull complete 06:55:48 2f466654f4bb: Pull complete 06:55:51 554e91adad29: Pull complete 06:55:51 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 06:55:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:55:51 ---> 1e15ea492957 06:55:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:55:53 ---> Running in 95716f80782e 06:55:53 Removing intermediate container 95716f80782e 06:55:53 ---> 11c12063cbd9 06:55:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:55:53 ---> Running in 55a178152fe4 06:55:54 Removing intermediate container 55a178152fe4 06:55:54 ---> 1fdb7a2b9f7e 06:55:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:55:54 ---> Running in 0c011eed8e8f 06:55:54 Removing intermediate container 0c011eed8e8f 06:55:54 ---> 88159eb8fd74 06:55:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:55:54 ---> Running in f1f380c3bfa0 06:55:54 Removing intermediate container f1f380c3bfa0 06:55:54 ---> 11265edb61c7 06:55:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:55:54 ---> Running in 6cae5655f19f 06:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:55:57 (1/4) Installing openssh-keygen (9.1_p1-r4) 06:55:57 (2/4) Installing libedit (20221030.3.1-r0) 06:55:57 (3/4) Installing openssh-client-common (9.1_p1-r4) 06:55:57 (4/4) Installing openssh-client-default (9.1_p1-r4) 06:55:57 Executing busybox-1.35.0-r29.trigger 06:55:57 OK: 268 MiB in 57 packages 06:55:58 Removing intermediate container 6cae5655f19f 06:55:58 ---> fd73f2f931f5 06:55:58 Step 8/12 : WORKDIR /device-snmp-go 06:55:58 ---> Running in d27222d420b4 06:55:58 Removing intermediate container d27222d420b4 06:55:58 ---> 6e7b0ff3bbac 06:55:58 Step 9/12 : COPY go.mod vendor* ./ 06:56:01 ---> 26d351b6faa1 06:56:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:56:01 ---> Running in 51b3f7ca7ccd 06:57:09 Removing intermediate container 51b3f7ca7ccd 06:57:09 ---> 40c7c71f0083 06:57:09 Step 11/12 : COPY . . 06:57:09 ---> 8881e8d8b055 06:57:09 Step 12/12 : RUN ${MAKE} 06:57:09 ---> Running in 056c6a8b7c21 06:57:09 noop 06:57:09 Removing intermediate container 056c6a8b7c21 06:57:09 ---> e94210360cfa 06:57:09 Successfully built e94210360cfa 06:57:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:10 + docker inspect -f . ci-base-image-arm64 06:57:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:10 prd-ubuntu20.04-docker-arm64-4c-16g-4512 does not seem to be running inside a container 06:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:11 $ docker top 35c80b24dba2b84664921ea06040cae55266784a3fb532cf064c33768e4423c3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:12 + go version 06:57:12 go version go1.20.6 linux/arm64 [Pipeline] } 06:57:12 $ docker stop --time=1 35c80b24dba2b84664921ea06040cae55266784a3fb532cf064c33768e4423c3 06:57:14 $ docker rm -f --volumes 35c80b24dba2b84664921ea06040cae55266784a3fb532cf064c33768e4423c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:15 + docker inspect -f . ci-base-image-arm64 06:57:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:15 prd-ubuntu20.04-docker-arm64-4c-16g-4512 does not seem to be running inside a container 06:57:15 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:16 $ docker top af6b3c0dd75defa22a04ceafcff36ff64a859e24c453be2f201694961b1f21c0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:17 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:57:17 + make test 06:57:17 go test ./... -coverprofile=coverage.out 06:57:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:59:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:59:42 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 06:59:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:59:43 go vet ./... 07:00:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:00:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:00:11 ./bin/test-attribution-txt.sh [Pipeline] echo 07:00:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:00:11 $ docker stop --time=1 af6b3c0dd75defa22a04ceafcff36ff64a859e24c453be2f201694961b1f21c0 07:00:13 $ docker rm -f --volumes af6b3c0dd75defa22a04ceafcff36ff64a859e24c453be2f201694961b1f21c0 [Pipeline] // withDockerContainer [Pipeline] sh 07:00:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:00:14 Warning: overwriting stash ‘coverage-report’ 07:00:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:00:22 + ls -al . 07:00:22 total 172 07:00:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 06:57 . 07:00:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:54 .. 07:00:22 -rw-rw-r-- 1 jenkins jenkins 6 Aug 25 06:54 .dockerignore 07:00:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 06:54 .git 07:00:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:54 .github 07:00:22 -rw-rw-r-- 1 jenkins jenkins 328 Aug 25 06:54 .gitignore 07:00:22 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 06:54 .golangci.yml 07:00:22 -rw-rw-r-- 1 jenkins jenkins 10134 Aug 25 06:54 Attribution.txt 07:00:22 -rw-rw-r-- 1 jenkins jenkins 10534 Aug 25 06:54 CHANGELOG.md 07:00:22 -rw-rw-r-- 1 jenkins jenkins 1423 Aug 25 06:54 Dockerfile 07:00:22 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 06:54 GOVERNANCE.md 07:00:22 -rw-rw-r-- 1 jenkins jenkins 656 Aug 25 06:54 Jenkinsfile 07:00:22 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 06:54 LICENSE 07:00:22 -rw-rw-r-- 1 jenkins jenkins 2240 Aug 25 06:54 Makefile 07:00:22 -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 06:54 OWNERS.md 07:00:22 -rw-rw-r-- 1 jenkins jenkins 10559 Aug 25 06:54 README.md 07:00:22 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 06:50 VERSION 07:00:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 06:54 bin 07:00:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:54 cmd 07:00:22 -rw-r--r-- 1 jenkins jenkins 8837 Aug 25 06:59 coverage.out 07:00:22 -rw-rw-r-- 1 jenkins jenkins 3710 Aug 25 06:54 go.mod 07:00:22 -rw-rw-r-- 1 jenkins jenkins 33759 Aug 25 06:54 go.sum 07:00:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:54 internal 07:00:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:54 snap 07:00:22 -rw-rw-r-- 1 jenkins jenkins 228 Aug 25 06:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:23 + 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=105b0e7e199b2b49b6b925fd70e6138af3da39fa --label arch=arm64 --label version=0.0.0 . 07:00:23 Sending build context to Docker daemon 3.003MB 07:00:23 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:00:23 Step 2/24 : FROM ${BASE} AS builder 07:00:23 ---> e94210360cfa 07:00:23 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:00:23 ---> Running in f2d1cf2db1e8 07:00:23 Removing intermediate container f2d1cf2db1e8 07:00:23 ---> d09eb93fc20c 07:00:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:00:24 ---> Running in 32d665c9cd51 07:00:24 Removing intermediate container 32d665c9cd51 07:00:24 ---> f433adc0c9d8 07:00:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:00:24 ---> Running in bf5201d977b5 07:00:24 Removing intermediate container bf5201d977b5 07:00:24 ---> 50e0e45d5d43 07:00:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:00:24 ---> Running in 557ca1bfdaf6 07:00:24 Removing intermediate container 557ca1bfdaf6 07:00:24 ---> 7f91c408b926 07:00:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:00:25 ---> Running in d22ecf9ee4a5 07:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:00:29 OK: 268 MiB in 57 packages 07:00:29 Removing intermediate container d22ecf9ee4a5 07:00:29 ---> ef29b1a947e8 07:00:29 Step 8/24 : WORKDIR /device-snmp-go 07:00:30 ---> Running in 0ecd7a1a86bc 07:00:30 Removing intermediate container 0ecd7a1a86bc 07:00:30 ---> c292404533fc 07:00:30 Step 9/24 : COPY go.mod vendor* ./ 07:00:30 ---> 585fa6521dfc 07:00:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:00:30 ---> Running in 6fa96524fd41 07:00:32 Removing intermediate container 6fa96524fd41 07:00:32 ---> e5c82963dcd8 07:00:32 Step 11/24 : COPY . . 07:00:33 ---> 76a9847bec47 07:00:33 Step 12/24 : RUN ${MAKE} 07:00:33 ---> Running in bbe456e6cb19 07:00: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:02:41 Removing intermediate container bbe456e6cb19 07:02:41 ---> c9115c2a2a53 07:02:41 Step 13/24 : FROM alpine:3.17 07:02:41 3.17: Pulling from library/alpine 07:02:41 4060ece20d7a: Pulling fs layer 07:02:41 4060ece20d7a: Verifying Checksum 07:02:41 4060ece20d7a: Download complete 07:02:42 4060ece20d7a: Pull complete 07:02:42 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:02:42 Status: Downloaded newer image for alpine:3.17 07:02:42 ---> 8650cd65339b 07:02:42 Step 14/24 : RUN apk add --update --no-cache dumb-init 07:02:42 ---> Running in f7abbd6d71fe 07:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:02:45 (1/1) Installing dumb-init (1.2.5-r2) 07:02:45 Executing busybox-1.35.0-r29.trigger 07:02:45 OK: 8 MiB in 16 packages 07:02:46 Removing intermediate container f7abbd6d71fe 07:02:46 ---> ecbfee6ef93c 07:02:46 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:02:47 ---> d33d0f2be6bb 07:02:47 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:02:47 ---> d36ebedece47 07:02:47 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:02:48 ---> 221a960e7c3f 07:02:48 Step 18/24 : EXPOSE 59993 07:02:48 ---> Running in 3f2ec6c7337e 07:02:48 Removing intermediate container 3f2ec6c7337e 07:02:48 ---> fd8d7e2544af 07:02:48 Step 19/24 : EXPOSE 161 07:02:48 ---> Running in 848565655ffb 07:02:48 Removing intermediate container 848565655ffb 07:02:48 ---> f6766571ea58 07:02:48 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:02:48 ---> Running in 2021101a59b3 07:02:49 Removing intermediate container 2021101a59b3 07:02:49 ---> 2390c5127830 07:02:49 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:02:49 ---> Running in 9ae3f3ffc749 07:02:49 Removing intermediate container 9ae3f3ffc749 07:02:49 ---> 316534172bdc 07:02:49 Step 22/24 : LABEL arch=arm64 07:02:49 ---> Running in bee540bd8946 07:02:49 Removing intermediate container bee540bd8946 07:02:49 ---> acf65772e450 07:02:49 Step 23/24 : LABEL git_sha=105b0e7e199b2b49b6b925fd70e6138af3da39fa 07:02:49 ---> Running in b62ccfa7e177 07:02:50 Removing intermediate container b62ccfa7e177 07:02:50 ---> 0e354605b880 07:02:50 Step 24/24 : LABEL version=0.0.0 07:02:50 ---> Running in ec8099974acd 07:02:50 Removing intermediate container ec8099974acd 07:02:50 ---> afb1181426d0 07:02:50 [Warning] One or more build-args [ARCH] were not consumed 07:02:50 Successfully built afb1181426d0 07:02:50 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:02:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:02:51 07:02:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:02:51 arm64: Pulling from edgex-lftools-log-publisher 07:02:51 8998bd30e6a1: Pulling fs layer 07:02:51 04944245beec: Pulling fs layer 07:02:51 699f458cf7ca: Pulling fs layer 07:02:51 765212b225bb: Pulling fs layer 07:02:51 f23df028b6ca: Pulling fs layer 07:02:51 d65c8cfc05b1: Pulling fs layer 07:02:51 2437ff75d9bd: Pulling fs layer 07:02:51 f23df028b6ca: Waiting 07:02:51 d65c8cfc05b1: Waiting 07:02:51 2437ff75d9bd: Waiting 07:02:51 765212b225bb: Waiting 07:02:52 04944245beec: Verifying Checksum 07:02:52 04944245beec: Download complete 07:02:52 765212b225bb: Verifying Checksum 07:02:52 765212b225bb: Download complete 07:02:52 f23df028b6ca: Verifying Checksum 07:02:52 f23df028b6ca: Download complete 07:02:52 d65c8cfc05b1: Verifying Checksum 07:02:52 d65c8cfc05b1: Download complete 07:02:52 699f458cf7ca: Verifying Checksum 07:02:52 699f458cf7ca: Download complete 07:02:52 8998bd30e6a1: Verifying Checksum 07:02:52 8998bd30e6a1: Download complete 07:02:55 2437ff75d9bd: Verifying Checksum 07:02:55 2437ff75d9bd: Download complete 07:02:56 8998bd30e6a1: Pull complete 07:02:56 04944245beec: Pull complete 07:02:58 699f458cf7ca: Pull complete 07:02:58 765212b225bb: Pull complete 07:02:58 f23df028b6ca: Pull complete 07:02:58 d65c8cfc05b1: Pull complete 07:03:13 2437ff75d9bd: Pull complete 07:03:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:03:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:03:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:03:14 prd-ubuntu20.04-docker-arm64-4c-16g-4512 does not seem to be running inside a container 07:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:03:16 $ docker top c717d32558958d6d1df562c2669e8212d58bcf98224b262a43bb2f5a97ef0bb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:03:17 ---> job-cost.sh 07:03:17 lf-activate-venv: SKIPPING 07:03:17 INFO: No Stack... 07:03:17 INFO: Retrieving Pricing Info for: v3-standard-4 07:03:18 INFO: Archiving Costs [Pipeline] sh 07:03:18 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 07:03:18 + cut -d, -f6 [Pipeline] lock 07:03:19 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-316-1-stack-cost] 07:03:19 Resource [jenkins-edgexfoundry-device-snmp-go-PR-316-1-stack-cost] did not exist. Created. 07:03:19 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:03:19 /w/workspace/device-snmp-go/1@tmp/durable-fd0d9d86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:03:19 + echo total: 0.10999999940395355 [Pipeline] stash 07:03:19 Warning: overwriting stash ‘stack-cost’ 07:03:19 Stashed 1 file(s) [Pipeline] } 07:03:19 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:03:20 $ docker stop --time=1 c717d32558958d6d1df562c2669e8212d58bcf98224b262a43bb2f5a97ef0bb9 07:03:21 $ docker rm -f --volumes c717d32558958d6d1df562c2669e8212d58bcf98224b262a43bb2f5a97ef0bb9 [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:03:22 provisioning config files... 07:03:22 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/config3346726056010357683tmp [Pipeline] { [Pipeline] sh 07:03:22 + set +x 07:03:22 + bash -s -- 07:03:22 + curl -s https://codecov.io/bash 07:03:22 07:03:22 _____ _ 07:03:22 / ____| | | 07:03:22 | | ___ __| | ___ ___ _____ __ 07:03:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:03:22 | |___| (_) | (_| | __/ (_| (_) \ V / 07:03:22 \_____\___/ \__,_|\___|\___\___/ \_/ 07:03:22 Bash-1.0.6 07:03:22 07:03:22 07:03:22 ==> git version 2.25.1 found 07:03:22 ==> 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:03:22 Release-Date: 2020-01-08 07:03:22 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:03:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:03:22 ==> Jenkins CI detected. 07:03:22 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-316 07:03:22 project root: . 07:03:22 --> token set from env 07:03:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:03:22 ==> Running gcov in . (disable via -X gcov) 07:03:22 ==> Python coveragepy not found 07:03:22 ==> Searching for coverage reports in: 07:03:22 + . 07:03:22 -> Found 1 reports 07:03:22 ==> Detecting git/mercurial file structure 07:03:22 ==> Reading reports 07:03:22 + ./coverage.out bytes=8837 07:03:22 ==> Appending adjustments 07:03:22 https://docs.codecov.io/docs/fixing-reports 07:03:23 + Found adjustments 07:03:23 ==> Gzipping contents 07:03:23 4.0K /tmp/codecov.Sp4WHu.gz 07:03:23 ==> Uploading reports 07:03:23 url: https://codecov.io 07:03:23 query: branch=PR-316&commit=105b0e7e199b2b49b6b925fd70e6138af3da39fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=316&job=&cmd_args= 07:03:23 -> Pinging Codecov 07:03:23 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=105b0e7e199b2b49b6b925fd70e6138af3da39fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=316&job=&cmd_args= 07:03:23 -> Uploading to 07:03:23 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/6C56EA5C29638FB4528AC87E60AF5AE0/105b0e7e199b2b49b6b925fd70e6138af3da39fa/77866b46-b3eb-425f-b637-71776e95ce5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T070323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=006c85d2732867363826c4ed7d5411763717033b6264640e671d7e38d74d2d92 07:03:23 % Total % Received % Xferd Average Speed Time Time Time Current 07:03:23 Dload Upload Total Spent Left Speed 07:03:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 9218 --:--:-- --:--:-- --:--:-- 9218 07:03:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/105b0e7e199b2b49b6b925fd70e6138af3da39fa [Pipeline] } 07:03:23 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:03:25 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-316/archives ] 07:03:25 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-316/archives 07:03:25 total 16 07:03:25 drwxr-xr-x 3 root root 4096 Aug 25 06:52 . 07:03:25 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 06:52 .. 07:03:25 drwxr-xr-x 2 root root 4096 Aug 25 06:52 cost 07:03:25 -rw-r--r-- 1 root root 86 Aug 25 06:52 cost.csv 07:03:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-316/archives 07:03:25 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-316/archives 07:03:25 total 16 07:03:25 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 06:52 . 07:03:25 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 06:52 .. 07:03:25 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 06:52 cost 07:03:25 -rw-r--r-- 1 jenkins jenkins 86 Aug 25 06:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:03:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:03:26 ---> package-listing.sh 07:03:26 ++ facter osfamily 07:03:26 ++ tr '[:upper:]' '[:lower:]' 07:03:26 + OS_FAMILY=debian 07:03:26 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-316 07:03:26 + START_PACKAGES=/tmp/packages_start.txt 07:03:26 + END_PACKAGES=/tmp/packages_end.txt 07:03:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:03:26 + PACKAGES=/tmp/packages_start.txt 07:03:26 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-316 ']' 07:03:26 + PACKAGES=/tmp/packages_end.txt 07:03:26 + case "${OS_FAMILY}" in 07:03:26 + dpkg -l 07:03:26 + grep '^ii' 07:03:26 + '[' -f /tmp/packages_start.txt ']' 07:03:26 + '[' -f /tmp/packages_end.txt ']' 07:03:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:03:26 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-316 ']' 07:03:26 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-316/archives/ 07:03:26 + 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:03:26 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:03:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:03:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:03:27 prd-ubuntu20.04-docker-8c-8g-4511 does not seem to be running inside a container 07:03:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:03:28 $ docker top cc0976c762be4eb18c3a938646dabceb0473dac4716b7abc980917eb117b6a55 -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:28 + touch /tmp/pre-build-complete [Pipeline] sh 07:03:28 + mkdir -p /var/log/sysstat [Pipeline] sh 07:03:29 + ls /var/log/sa-host 07:03:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:03:29 provisioning config files... 07:03:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-316@tmp/config4717471790650677419tmp [Pipeline] { [Pipeline] echo 07:03:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:03:29 ---> create-netrc.sh [Pipeline] } 07:03:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:03:30 ---> python-tools-install.sh [Pipeline] echo 07:03:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:03:30 ---> sudo-logs.sh 07:03:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:03:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:03:30 ---> job-cost.sh 07:03:30 lf-activate-venv: SKIPPING 07:03:30 DEBUG: total: 0.2199999988079071 07:03:30 INFO: Retrieving Stack Cost... 07:03:31 INFO: Retrieving Pricing Info for: v3-standard-8 07:03:31 INFO: Archiving Costs [Pipeline] echo 07:03:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:03:32 ---> logs-deploy.sh 07:03:32 lf-activate-venv: SKIPPING 07:03:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-316/1 07:03:32 INFO: archiving workspace using pattern(s): 07:03:32 Archives upload complete. 07:03:33 INFO: archiving logs to Nexus