Pull request #310 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 69a8c872b3a7cf1cabf53534f7001234cc26736d+1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 (b4c31500ea6c317ba450578000ba29dd71b80887) 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-ssh5949728659989712900.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12956726851779400586.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-310/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-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12255882403191941941.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-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17544623497931091324.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh11236997371703191323.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-310/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-310/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2939011220313181661.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16468 in /w/workspace/gexfoundry_device-snmp-go_PR-310 [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-310 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 into PR head commit 69a8c872b3a7cf1cabf53534f7001234cc26736d > 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/310/head:refs/remotes/origin/PR-310 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 69a8c872b3a7cf1cabf53534f7001234cc26736d # timeout=10 Merge succeeded, producing 69a8c872b3a7cf1cabf53534f7001234cc26736d Checking out Revision 69a8c872b3a7cf1cabf53534f7001234cc26736d (PR-310) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:44 ========================================================= 05:58:44 EdgeX Global Pipelines Version Info 05:58:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 69a8c872b3a7cf1cabf53534f7001234cc26736d # timeout=10 05:58:45 ------------------- 05:58:45 stable info: 05:58:45 ------------------- 05:58:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:45 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:58:45 Message: update stable to v1.0.249 05:58:45 ------------------- 05:58:45 experimental info: 05:58:45 ------------------- 05:58:45 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:45 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:58:45 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-310 [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-310 [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-310 [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69a8c872b3a7cf1cabf53534f7001234cc26736d [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 69a8c87 [Pipeline] echo 05:58:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:47 provisioning config files... 05:58:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp/config4770697327564616103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:48 ---> docker-login.sh 05:58:48 nexus3.edgexfoundry.org:10001 05:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:48 Configure a credential helper to remove this warning. See 05:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:48 05:58:48 Login Succeeded 05:58:48 nexus3.edgexfoundry.org:10002 05:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:48 Configure a credential helper to remove this warning. See 05:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:48 05:58:48 Login Succeeded 05:58:48 nexus3.edgexfoundry.org:10003 05:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:48 Configure a credential helper to remove this warning. See 05:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:48 05:58:48 Login Succeeded 05:58:48 nexus3.edgexfoundry.org:10004 05:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:48 Configure a credential helper to remove this warning. See 05:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:48 05:58:48 Login Succeeded 05:58:48 docker.io 05:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:49 Configure a credential helper to remove this warning. See 05:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:49 05:58:49 Login Succeeded 05:58:49 ---> docker-login.sh ends [Pipeline] } 05:58:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:49 + git rev-list -1 --merges 69a8c872b3a7cf1cabf53534f7001234cc26736d~1..69a8c872b3a7cf1cabf53534f7001234cc26736d [Pipeline] echo 05:58:49 -----------> git rev-list -1 --merges 69a8c872b3a7cf1cabf53534f7001234cc26736d~1..69a8c872b3a7cf1cabf53534f7001234cc26736d 69a8c872b3a7cf1cabf53534f7001234cc26736d [false] [Pipeline] sh 05:58:50 + git log --format=format:%s -1 69a8c872b3a7cf1cabf53534f7001234cc26736d [Pipeline] echo 05:58:50 ========================================================= 05:58:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:50 + git log --format=format:%s -1 69a8c872b3a7cf1cabf53534f7001234cc26736d [Pipeline] echo 05:58:50 [semverPrep] GIT_COMMIT: 69a8c872b3a7cf1cabf53534f7001234cc26736d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:58:50 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:51 + grep -v github /etc/ssh/ssh_known_hosts 05:58:51 + [ -e /tmp/ssh_known_hosts ] 05:58:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:51 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:51 sudo tee -a /etc/ssh/ssh_known_hosts 05:58:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:51 05:58:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:51 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:51 b85a868b505f: Pulling fs layer 05:58:51 e2be974225ed: Pulling fs layer 05:58:51 339a4e72a1f5: Pulling fs layer 05:58:51 988bab9f4d93: Pulling fs layer 05:58:51 1469e6f7b9e6: Pulling fs layer 05:58:51 eaf3925da568: Pulling fs layer 05:58:51 bab4dde63d76: Pulling fs layer 05:58:51 bde34c3a00c8: Pulling fs layer 05:58:51 b352a97aabf1: Pulling fs layer 05:58:51 4872d77fe225: Pulling fs layer 05:58:51 5851b861e8e6: Pulling fs layer 05:58:51 988bab9f4d93: Waiting 05:58:51 1469e6f7b9e6: Waiting 05:58:51 eaf3925da568: Waiting 05:58:51 bab4dde63d76: Waiting 05:58:51 bde34c3a00c8: Waiting 05:58:51 b352a97aabf1: Waiting 05:58:51 4872d77fe225: Waiting 05:58:51 5851b861e8e6: Waiting 05:58:51 e2be974225ed: Download complete 05:58:51 988bab9f4d93: Verifying Checksum 05:58:51 988bab9f4d93: Download complete 05:58:51 1469e6f7b9e6: Verifying Checksum 05:58:51 1469e6f7b9e6: Download complete 05:58:52 eaf3925da568: Download complete 05:58:52 339a4e72a1f5: Verifying Checksum 05:58:52 339a4e72a1f5: Download complete 05:58:52 bde34c3a00c8: Verifying Checksum 05:58:52 bde34c3a00c8: Download complete 05:58:52 b352a97aabf1: Download complete 05:58:52 4872d77fe225: Verifying Checksum 05:58:52 4872d77fe225: Download complete 05:58:52 5851b861e8e6: Verifying Checksum 05:58:52 b85a868b505f: Verifying Checksum 05:58:52 b85a868b505f: Download complete 05:58:52 bab4dde63d76: Verifying Checksum 05:58:52 bab4dde63d76: Download complete 05:58:53 b85a868b505f: Pull complete 05:58:53 e2be974225ed: Pull complete 05:58:54 339a4e72a1f5: Pull complete 05:58:54 988bab9f4d93: Pull complete 05:58:54 1469e6f7b9e6: Pull complete 05:58:54 eaf3925da568: Pull complete 05:58:56 bab4dde63d76: Pull complete 05:58:56 bde34c3a00c8: Pull complete 05:58:56 b352a97aabf1: Pull complete 05:58:56 4872d77fe225: Pull complete 05:58:56 5851b861e8e6: Pull complete 05:58:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:56 prd-ubuntu20.04-docker-8c-8g-16468 does not seem to be running inside a container 05:58:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-310 -v /w/workspace/gexfoundry_device-snmp-go_PR-310:/w/workspace/gexfoundry_device-snmp-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:58 $ docker top 239a83560fa420b9b11cfabd97c8aaf9ed58effa7c47ace78e2808919830b219 -eo pid,comm 05:58:58 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). 05:58:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:58 [ssh-agent] Looking for ssh-agent implementation... 05:58:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:58 $ docker exec 239a83560fa420b9b11cfabd97c8aaf9ed58effa7c47ace78e2808919830b219 ssh-agent 05:58:58 SSH_AUTH_SOCK=/tmp/ssh-G5h8O3K4MXcc/agent.32 05:58:58 SSH_AGENT_PID=38 05:58:58 Running ssh-add (command line suppressed) 05:58:58 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-310@tmp/private_key_654912559100037619.key (/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp/private_key_654912559100037619.key) 05:58:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:59 + git tag --points-at HEAD [Pipeline] } 05:58:59 $ docker exec --env ******** --env ******** 239a83560fa420b9b11cfabd97c8aaf9ed58effa7c47ace78e2808919830b219 ssh-agent -k 05:58:59 unset SSH_AUTH_SOCK; 05:58:59 unset SSH_AGENT_PID; 05:58:59 echo Agent pid 38 killed; 05:58:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:59 [ssh-agent] Looking for ssh-agent implementation... 05:58:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:59 $ docker exec 239a83560fa420b9b11cfabd97c8aaf9ed58effa7c47ace78e2808919830b219 ssh-agent 05:58:59 SSH_AUTH_SOCK=/tmp/ssh-m3KllRnDwV9y/agent.70 05:58:59 SSH_AGENT_PID=76 05:58:59 Running ssh-add (command line suppressed) 05:58:59 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-310@tmp/private_key_17383230213927485186.key (/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp/private_key_17383230213927485186.key) 05:58:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:00 + git semver init 05:59:00 2023-05-23 05:59:00,322 [run_init] DEBUG init version:0.0.0 force:False 05:59:00 2023-05-23 05:59:00,323 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-310/.semver 05:59:00 2023-05-23 05:59:00,324 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-310/.semver 05:59:00 2023-05-23 05:59:00,324 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-310/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-310, universal_newlines=False, shell=None, istream=None) 05:59:01 2023-05-23 05:59:01,031 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-310/.git/info/exclude 05:59:01 2023-05-23 05:59:01,031 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-310/.semver/PR-310 with force:False 05:59:01 2023-05-23 05:59:01,031 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-310/.semver/PR-310 05:59:01 2023-05-23 05:59:01,033 [execute] INFO git cat-file --batch-check 05:59:01 2023-05-23 05:59:01,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-310/.semver, universal_newlines=False, shell=None, istream=) 05:59:01 2023-05-23 05:59:01,039 [execute] INFO git cat-file --batch 05:59:01 2023-05-23 05:59:01,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-310/.semver, universal_newlines=False, shell=None, istream=) 05:59:01 2023-05-23 05:59:01,046 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-310/.semver/PR-310 05:59:01 0.0.0 [Pipeline] } 05:59:01 $ docker exec --env ******** --env ******** 239a83560fa420b9b11cfabd97c8aaf9ed58effa7c47ace78e2808919830b219 ssh-agent -k 05:59:01 unset SSH_AUTH_SOCK; 05:59:01 unset SSH_AGENT_PID; 05:59:01 echo Agent pid 76 killed; 05:59:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:01 + git semver [Pipeline] } 05:59:02 $ docker stop --time=1 239a83560fa420b9b11cfabd97c8aaf9ed58effa7c47ace78e2808919830b219 05:59:03 $ docker rm -f --volumes 239a83560fa420b9b11cfabd97c8aaf9ed58effa7c47ace78e2808919830b219 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:04 Stashed 1 file(s) [Pipeline] echo 05:59:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:04 provisioning config files... 05:59:04 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp/config2648275161421750217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:05 ---> docker-login.sh 05:59:05 nexus3.edgexfoundry.org:10001 05:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:05 Configure a credential helper to remove this warning. See 05:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:05 05:59:05 Login Succeeded 05:59:05 nexus3.edgexfoundry.org:10002 05:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:05 Configure a credential helper to remove this warning. See 05:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:05 05:59:05 Login Succeeded 05:59:05 nexus3.edgexfoundry.org:10003 05:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:05 Configure a credential helper to remove this warning. See 05:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:05 05:59:05 Login Succeeded 05:59:05 nexus3.edgexfoundry.org:10004 05:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:05 Configure a credential helper to remove this warning. See 05:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:05 05:59:05 Login Succeeded 05:59:05 docker.io 05:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:05 Configure a credential helper to remove this warning. See 05:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:05 05:59:05 Login Succeeded 05:59:05 ---> docker-login.sh ends [Pipeline] } 05:59:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:06 ========================================================= 05:59:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:59:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:06 + 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 . 05:59:06 Sending build context to Docker daemon 5.845MB 05:59:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:59:06 Step 2/12 : FROM ${BASE} AS builder 05:59:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:06 f56be85fc22e: Pulling fs layer 05:59:06 85791d961cd3: Pulling fs layer 05:59:06 d694b5ae8c79: Pulling fs layer 05:59:06 9f32a84ed3da: Pulling fs layer 05:59:06 4d19c01a9841: Pulling fs layer 05:59:06 9325e15d5711: Pulling fs layer 05:59:06 556b6ee489ea: Pulling fs layer 05:59:06 c5a4b2cf53e6: Pulling fs layer 05:59:06 4d19c01a9841: Waiting 05:59:06 9f32a84ed3da: Waiting 05:59:06 9325e15d5711: Waiting 05:59:06 556b6ee489ea: Waiting 05:59:06 c5a4b2cf53e6: Waiting 05:59:06 85791d961cd3: Download complete 05:59:06 9f32a84ed3da: Verifying Checksum 05:59:06 9f32a84ed3da: Download complete 05:59:06 4d19c01a9841: Verifying Checksum 05:59:06 4d19c01a9841: Download complete 05:59:06 f56be85fc22e: Download complete 05:59:06 9325e15d5711: Verifying Checksum 05:59:06 9325e15d5711: Download complete 05:59:06 f56be85fc22e: Pull complete 05:59:07 85791d961cd3: Pull complete 05:59:07 d694b5ae8c79: Verifying Checksum 05:59:07 d694b5ae8c79: Download complete 05:59:07 c5a4b2cf53e6: Verifying Checksum 05:59:07 c5a4b2cf53e6: Download complete 05:59:07 556b6ee489ea: Verifying Checksum 05:59:07 556b6ee489ea: Download complete 05:59:10 d694b5ae8c79: Pull complete 05:59:11 9f32a84ed3da: Pull complete 05:59:11 4d19c01a9841: Pull complete 05:59:11 9325e15d5711: Pull complete 05:59:13 556b6ee489ea: Pull complete 05:59:14 c5a4b2cf53e6: Pull complete 05:59:14 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:59:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:59:14 ---> c4be618373d6 05:59:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:59:16 ---> Running in c5cef747286d 05:59:16 Removing intermediate container c5cef747286d 05:59:16 ---> f71bf5c8c0f0 05:59:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:16 ---> Running in 4c36b75b5f47 05:59:17 Removing intermediate container 4c36b75b5f47 05:59:17 ---> 5d7aa32e721a 05:59:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:59:17 ---> Running in 409e6be19952 05:59:17 Removing intermediate container 409e6be19952 05:59:17 ---> 5ffc6df99246 05:59:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:59:17 ---> Running in 21f26d93c432 05:59:17 Removing intermediate container 21f26d93c432 05:59:17 ---> cfc8d399ee03 05:59:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:59:17 ---> Running in b43c31d1522d 05:59:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:17 (1/4) Installing openssh-keygen (9.1_p1-r3) 05:59:18 (2/4) Installing libedit (20221030.3.1-r0) 05:59:18 (3/4) Installing openssh-client-common (9.1_p1-r3) 05:59:18 (4/4) Installing openssh-client-default (9.1_p1-r3) 05:59:18 Executing busybox-1.35.0-r29.trigger 05:59:18 OK: 269 MiB in 57 packages 05:59:18 Removing intermediate container b43c31d1522d 05:59:18 ---> 8f921cc950f8 05:59:18 Step 8/12 : WORKDIR /device-snmp-go 05:59:18 ---> Running in 2ddadfa3aa20 05:59:18 Removing intermediate container 2ddadfa3aa20 05:59:18 ---> 50d49b65cedc 05:59:18 Step 9/12 : COPY go.mod vendor* ./ 05:59:18 ---> dc72a51d78c4 05:59:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:18 ---> Running in d685a44b1696 05:59:19 Still waiting to schedule task 05:59:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:00:05 Removing intermediate container d685a44b1696 06:00:05 ---> 6a2f420c943c 06:00:05 Step 11/12 : COPY . . 06:00:05 ---> 461ee37cb519 06:00:05 Step 12/12 : RUN ${MAKE} 06:00:05 ---> Running in 8a0281a1a0a4 06:00:05 noop 06:00:05 Removing intermediate container 8a0281a1a0a4 06:00:05 ---> e25893ef8b05 06:00:05 Successfully built e25893ef8b05 06:00:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:05 + docker inspect -f . ci-base-image-x86_64 06:00:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:05 prd-ubuntu20.04-docker-8c-8g-16468 does not seem to be running inside a container 06:00:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-310 -v /w/workspace/gexfoundry_device-snmp-go_PR-310:/w/workspace/gexfoundry_device-snmp-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:06 $ docker top 6938c0b662d1a70bf74315b91460b7e6b5307e7bbfab7811f8abbd304791b197 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:06 + go version 06:00:06 go version go1.20.2 linux/amd64 [Pipeline] } 06:00:06 $ docker stop --time=1 6938c0b662d1a70bf74315b91460b7e6b5307e7bbfab7811f8abbd304791b197 06:00:08 $ docker rm -f --volumes 6938c0b662d1a70bf74315b91460b7e6b5307e7bbfab7811f8abbd304791b197 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:08 + docker inspect -f . ci-base-image-x86_64 06:00:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:08 prd-ubuntu20.04-docker-8c-8g-16468 does not seem to be running inside a container 06:00:08 $ 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-310 -v /w/workspace/gexfoundry_device-snmp-go_PR-310:/w/workspace/gexfoundry_device-snmp-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:00:09 $ docker top c6b5ded64a657b75e071b37d0f62f00a3c285a18816d0ac69886ffb62895592b -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-310 [Pipeline] fileExists [Pipeline] sh 06:00:09 + make test 06:00:09 go test ./... -coverprofile=coverage.out 06:00:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:00:24 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:00:24 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 06:00:30 go vet ./... 06:00:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:33 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:00:33 $ docker stop --time=1 c6b5ded64a657b75e071b37d0f62f00a3c285a18816d0ac69886ffb62895592b 06:00:36 $ docker rm -f --volumes c6b5ded64a657b75e071b37d0f62f00a3c285a18816d0ac69886ffb62895592b [Pipeline] // withDockerContainer [Pipeline] sh 06:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:00:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:37 + ls -al . 06:00:37 total 172 06:00:37 drwxrwxr-x 9 jenkins jenkins 4096 May 23 06:00 . 06:00:37 drwxrwxr-x 4 jenkins jenkins 4096 May 23 05:58 .. 06:00:37 -rw-rw-r-- 1 jenkins jenkins 6 May 23 05:58 .dockerignore 06:00:37 drwxrwxr-x 8 jenkins jenkins 4096 May 23 05:59 .git 06:00:37 drwxrwxr-x 3 jenkins jenkins 4096 May 23 05:58 .github 06:00:37 -rw-rw-r-- 1 jenkins jenkins 328 May 23 05:58 .gitignore 06:00:37 -rw-rw-r-- 1 jenkins jenkins 41 May 23 05:58 .golangci.yml 06:00:37 drwxr-xr-x 3 jenkins jenkins 4096 May 23 05:59 .semver 06:00:37 -rw-rw-r-- 1 jenkins jenkins 9056 May 23 05:58 Attribution.txt 06:00:37 -rw-rw-r-- 1 jenkins jenkins 8355 May 23 05:58 CHANGELOG.md 06:00:37 -rw-rw-r-- 1 jenkins jenkins 1423 May 23 05:58 Dockerfile 06:00:37 -rw-rw-r-- 1 jenkins jenkins 677 May 23 05:58 GOVERNANCE.md 06:00:37 -rw-rw-r-- 1 jenkins jenkins 656 May 23 05:58 Jenkinsfile 06:00:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 05:58 LICENSE 06:00:37 -rw-rw-r-- 1 jenkins jenkins 2114 May 23 05:58 Makefile 06:00:37 -rw-rw-r-- 1 jenkins jenkins 620 May 23 05:58 OWNERS.md 06:00:37 -rw-rw-r-- 1 jenkins jenkins 10054 May 23 05:58 README.md 06:00:37 -rw-rw-r-- 1 jenkins jenkins 5 May 23 05:59 VERSION 06:00:37 drwxrwxr-x 2 jenkins jenkins 4096 May 23 05:58 bin 06:00:37 drwxrwxr-x 3 jenkins jenkins 4096 May 23 05:58 cmd 06:00:37 -rw-r--r-- 1 jenkins jenkins 8837 May 23 06:00 coverage.out 06:00:37 -rw-rw-r-- 1 jenkins jenkins 3283 May 23 05:58 go.mod 06:00:37 -rw-rw-r-- 1 jenkins jenkins 31326 May 23 05:58 go.sum 06:00:37 drwxrwxr-x 3 jenkins jenkins 4096 May 23 05:58 internal 06:00:37 drwxrwxr-x 4 jenkins jenkins 4096 May 23 05:58 snap 06:00:37 -rw-rw-r-- 1 jenkins jenkins 228 May 23 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:38 + 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=69a8c872b3a7cf1cabf53534f7001234cc26736d --label arch=amd64 --label version=0.0.0 . 06:00:38 Sending build context to Docker daemon 5.855MB 06:00:38 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:00:38 Step 2/24 : FROM ${BASE} AS builder 06:00:38 ---> e25893ef8b05 06:00:38 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:00:38 ---> Running in 9c7676b679a0 06:00:38 Removing intermediate container 9c7676b679a0 06:00:38 ---> e9a5e7afbbc0 06:00:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:38 ---> Running in 51b4fb90a650 06:00:38 Removing intermediate container 51b4fb90a650 06:00:38 ---> 05c15abfe6f1 06:00:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:00:38 ---> Running in 006d6bf14a9e 06:00:38 Removing intermediate container 006d6bf14a9e 06:00:38 ---> 1654db975f34 06:00:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:00:38 ---> Running in 528a7996a5ad 06:00:38 Removing intermediate container 528a7996a5ad 06:00:38 ---> 648f32f1339f 06:00:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:00:38 ---> Running in 1f2251f07fbb 06:00:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:39 OK: 269 MiB in 57 packages 06:00:39 Removing intermediate container 1f2251f07fbb 06:00:39 ---> 123d0b8e3989 06:00:39 Step 8/24 : WORKDIR /device-snmp-go 06:00:39 ---> Running in a8b239e5ef05 06:00:39 Removing intermediate container a8b239e5ef05 06:00:39 ---> b016c4c26bde 06:00:39 Step 9/24 : COPY go.mod vendor* ./ 06:00:40 ---> 8397758c32a3 06:00:40 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:40 ---> Running in 517982d0625b 06:00:41 Removing intermediate container 517982d0625b 06:00:41 ---> c7d7e2f63722 06:00:41 Step 11/24 : COPY . . 06:00:41 ---> 57f042f421d0 06:00:41 Step 12/24 : RUN ${MAKE} 06:00:41 ---> Running in 8f8f5d462e59 06:00:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:00:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16469 in /w/workspace/gexfoundry_device-snmp-go_PR-310 [Pipeline] { [Pipeline] ws 06:00:55 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:00:55 Selected Git installation does not exist. Using Default 06:00:55 The recommended git tool is: NONE 06:00:59 Removing intermediate container 8f8f5d462e59 06:00:59 ---> 8e3ae613e411 06:00:59 Step 13/24 : FROM alpine:3.17 06:01:00 3.17: Pulling from library/alpine 06:01:00 f56be85fc22e: Already exists 06:01:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:01:00 Status: Downloaded newer image for alpine:3.17 06:01:00 ---> 9ed4aefc74f6 06:01:00 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:01:00 using credential edgex-jenkins-ssh 06:01:00 Cloning the remote Git repository 06:01:00 ---> Running in eafc22b01975 06:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:01 (1/1) Installing dumb-init (1.2.5-r2) 06:01:01 Executing busybox-1.35.0-r29.trigger 06:01:01 OK: 7 MiB in 16 packages 06:01:01 Removing intermediate container eafc22b01975 06:01:01 ---> 70d63aff0d50 06:01:01 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:01:00 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:01:00 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:01:00 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:01:00 > git --version # timeout=10 06:01:00 > git --version # 'git version 2.25.1' 06:01:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:01 ---> 0adeea5ef696 06:01:01 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:01:01 ---> f42f9a3ef0ad 06:01:01 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:01:02 ---> 57c1de0732b7 06:01:02 Step 18/24 : EXPOSE 59993 06:01:02 ---> Running in 27200c595113 06:01:02 Removing intermediate container 27200c595113 06:01:02 ---> 1642b3573323 06:01:02 Step 19/24 : EXPOSE 161 06:01:02 ---> Running in b1ba3fb7e57a 06:01:02 Removing intermediate container b1ba3fb7e57a 06:01:02 ---> 7f3d765dffee 06:01:02 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:01:02 ---> Running in 3c6abd7f551d 06:01:02 Removing intermediate container 3c6abd7f551d 06:01:02 ---> 7ebcafc46af1 06:01:02 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:01:02 ---> Running in 22d6c58386b7 06:01:02 Removing intermediate container 22d6c58386b7 06:01:02 ---> d1916d3c55e5 06:01:02 Step 22/24 : LABEL arch=amd64 06:01:02 ---> Running in 2f26743b3415 06:01:02 Removing intermediate container 2f26743b3415 06:01:02 ---> dc394502ac83 06:01:02 Step 23/24 : LABEL git_sha=69a8c872b3a7cf1cabf53534f7001234cc26736d 06:01:02 ---> Running in 058e806b1136 06:01:01 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:01:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:02 Removing intermediate container 058e806b1136 06:01:02 ---> 5e643ab0195b 06:01:02 Step 24/24 : LABEL version=0.0.0 06:01:02 ---> Running in 3f54cb093db2 06:01:02 Removing intermediate container 3f54cb093db2 06:01:02 ---> 709b85dd492a 06:01:02 [Warning] One or more build-args [ARCH] were not consumed 06:01:02 Successfully built 709b85dd492a 06:01:02 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] } 06:01:03 Merging remotes/origin/main commit 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 into PR head commit 69a8c872b3a7cf1cabf53534f7001234cc26736d [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:03 Merge succeeded, producing 69a8c872b3a7cf1cabf53534f7001234cc26736d 06:01:03 Checking out Revision 69a8c872b3a7cf1cabf53534f7001234cc26736d (PR-310) 06:01:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:03 06:01:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:04 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:01:02 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:01:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:01:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/310/head:refs/remotes/origin/PR-310 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:01:03 > git config core.sparsecheckout # timeout=10 06:01:03 > git checkout -f 69a8c872b3a7cf1cabf53534f7001234cc26736d # timeout=10 06:01:03 > git remote # timeout=10 06:01:03 > git config --get remote.origin.url # timeout=10 06:01:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:03 > git merge 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 # timeout=10 06:01:03 > git rev-parse HEAD^{commit} # timeout=10 06:01:03 > git config core.sparsecheckout # timeout=10 06:01:03 > git checkout -f 69a8c872b3a7cf1cabf53534f7001234cc26736d # timeout=10 06:01:04 > git --version # timeout=10 06:01:04 > git --version # 'git version 2.25.1' 06:01:04 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:01:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:04 latest: Pulling from edgex-lftools-log-publisher 06:01:04 5eb5b503b376: Pulling fs layer 06:01:04 5c69ac0246d0: Pulling fs layer 06:01:04 ec43610c2a17: Pulling fs layer 06:01:04 3a2ae6a8a46f: Pulling fs layer 06:01:04 33b1e0a273af: Pulling fs layer 06:01:04 5d3b04190fa2: Pulling fs layer 06:01:04 2f39f015ded8: Pulling fs layer 06:01:04 33b1e0a273af: Waiting 06:01:04 5d3b04190fa2: Waiting 06:01:04 2f39f015ded8: Waiting 06:01:04 3a2ae6a8a46f: Waiting 06:01:04 5c69ac0246d0: Verifying Checksum 06:01:04 5c69ac0246d0: Download complete 06:01:04 3a2ae6a8a46f: Download complete 06:01:04 33b1e0a273af: Verifying Checksum 06:01:04 33b1e0a273af: Download complete 06:01:04 ec43610c2a17: Download complete 06:01:04 5d3b04190fa2: Verifying Checksum 06:01:04 5eb5b503b376: Verifying Checksum 06:01:04 5eb5b503b376: Download complete 06:01:05 2f39f015ded8: Download complete 06:01:05 5eb5b503b376: Pull complete 06:01:05 5c69ac0246d0: Pull complete 06:01:06 ec43610c2a17: Pull complete 06:01:06 3a2ae6a8a46f: Pull complete 06:01:06 33b1e0a273af: Pull complete 06:01:06 5d3b04190fa2: Pull complete 06:01:06 06:01:06 GitHub has been notified of this commit’s build result 06:01:06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:01:07 % Total % Received % Xferd Average Speed Time Time Time Current 06:01:07 Dload Upload Total Spent Left Speed 06:01:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 06:01:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:01:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:01:08 + sudo tee /etc/docker/daemon.new 06:01:08 { 06:01:08 "registry-mirrors": [ 06:01:08 "https://nexus3.edgexfoundry.org:10001" 06:01:08 ], 06:01:08 "bip": "10.250.0.254/24", 06:01:08 "hosts": [ 06:01:08 "tcp://0.0.0.0:5555", 06:01:08 "unix:///var/run/docker.sock" 06:01:08 ], 06:01:08 "mtu": 1458, 06:01:08 "selinux-enabled": true, 06:01:08 "seccomp-profile": "/etc/docker/seccomp.json" 06:01:08 } [Pipeline] sh 06:01:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:01:09 + sudo service docker restart 06:01:10 2f39f015ded8: Pull complete 06:01:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:11 prd-ubuntu20.04-docker-8c-8g-16468 does not seem to be running inside a container 06:01:11 $ 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-310 -v /w/workspace/gexfoundry_device-snmp-go_PR-310:/w/workspace/gexfoundry_device-snmp-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:01:13 $ docker top f054e6331ce05506e9ecb000bb0af42b587c29410616d66546d0048f249665c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:13 ---> job-cost.sh 06:01:13 lf-activate-venv: SKIPPING 06:01:13 INFO: No Stack... 06:01:13 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:14 INFO: Archiving Costs [Pipeline] sh 06:01:14 + cat /w/workspace/gexfoundry_device-snmp-go_PR-310/archives/cost.csv 06:01:14 + cut -d, -f6 [Pipeline] lock 06:01:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-310-1-stack-cost] 06:01:14 Resource [jenkins-edgexfoundry-device-snmp-go-PR-310-1-stack-cost] did not exist. Created. 06:01:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-310-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:14 + echo total: 0.2199999988079071 [Pipeline] stash 06:01:15 Stashed 1 file(s) [Pipeline] } 06:01:15 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-310-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:15 $ docker stop --time=1 f054e6331ce05506e9ecb000bb0af42b587c29410616d66546d0048f249665c7 06:01:16 $ docker rm -f --volumes f054e6331ce05506e9ecb000bb0af42b587c29410616d66546d0048f249665c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:27 provisioning config files... 06:01:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8005393412026265421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:27 ---> docker-login.sh 06:01:27 nexus3.edgexfoundry.org:10001 06:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:28 Configure a credential helper to remove this warning. See 06:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:28 06:01:28 Login Succeeded 06:01:28 nexus3.edgexfoundry.org:10002 06:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:28 Configure a credential helper to remove this warning. See 06:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:28 06:01:28 Login Succeeded 06:01:28 nexus3.edgexfoundry.org:10003 06:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:29 Configure a credential helper to remove this warning. See 06:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:29 06:01:29 Login Succeeded 06:01:29 nexus3.edgexfoundry.org:10004 06:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:29 Configure a credential helper to remove this warning. See 06:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:29 06:01:29 Login Succeeded 06:01:29 docker.io 06:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:30 Configure a credential helper to remove this warning. See 06:01:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:30 06:01:30 Login Succeeded 06:01:30 ---> docker-login.sh ends [Pipeline] } 06:01:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:30 ========================================================= 06:01:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:01:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:31 + 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:01:31 Sending build context to Docker daemon 3.03MB 06:01:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:01:31 Step 2/12 : FROM ${BASE} AS builder 06:01:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:31 c41833b44d91: Pulling fs layer 06:01:31 ed15518f5707: Pulling fs layer 06:01:31 feae8fd75edb: Pulling fs layer 06:01:31 242c74f7c9fa: Pulling fs layer 06:01:31 3cdef696dda3: Pulling fs layer 06:01:31 2ced38df9373: Pulling fs layer 06:01:31 58f1dce35555: Pulling fs layer 06:01:31 2ced38df9373: Waiting 06:01:31 3cdef696dda3: Waiting 06:01:31 242c74f7c9fa: Waiting 06:01:31 58f1dce35555: Waiting 06:01:31 ed15518f5707: Verifying Checksum 06:01:31 ed15518f5707: Download complete 06:01:31 242c74f7c9fa: Download complete 06:01:31 3cdef696dda3: Verifying Checksum 06:01:31 3cdef696dda3: Download complete 06:01:31 c41833b44d91: Download complete 06:01:32 c41833b44d91: Pull complete 06:01:33 58f1dce35555: Verifying Checksum 06:01:33 58f1dce35555: Download complete 06:01:33 ed15518f5707: Pull complete 06:01:34 feae8fd75edb: Verifying Checksum 06:01:34 feae8fd75edb: Download complete 06:01:34 2ced38df9373: Verifying Checksum 06:01:34 2ced38df9373: Download complete 06:01:46 feae8fd75edb: Pull complete 06:01:46 242c74f7c9fa: Pull complete 06:01:46 3cdef696dda3: Pull complete 06:01:52 2ced38df9373: Pull complete 06:01:54 58f1dce35555: Pull complete 06:01:54 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:01:55 ---> fadd8f120f05 06:01:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:01:57 ---> Running in bd0050ab7869 06:01:57 Removing intermediate container bd0050ab7869 06:01:57 ---> c512dfae48bf 06:01:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:57 ---> Running in 1d6b8cf657ff 06:01:57 Removing intermediate container 1d6b8cf657ff 06:01:57 ---> ceaab948bf50 06:01:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:01:57 ---> Running in 8a070bb857a3 06:01:57 Removing intermediate container 8a070bb857a3 06:01:57 ---> 4d4d420a10c1 06:01:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:01:57 ---> Running in 1a6544086dd4 06:01:58 Removing intermediate container 1a6544086dd4 06:01:58 ---> b22508a5e1c3 06:01:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:01:58 ---> Running in 18a4c93d2ccd 06:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:02:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:02:01 (1/4) Installing openssh-keygen (9.1_p1-r3) 06:02:01 (2/4) Installing libedit (20221030.3.1-r0) 06:02:01 (3/4) Installing openssh-client-common (9.1_p1-r3) 06:02:01 (4/4) Installing openssh-client-default (9.1_p1-r3) 06:02:01 Executing busybox-1.35.0-r29.trigger 06:02:01 OK: 268 MiB in 57 packages 06:02:02 Removing intermediate container 18a4c93d2ccd 06:02:02 ---> 5829caec8af1 06:02:02 Step 8/12 : WORKDIR /device-snmp-go 06:02:02 ---> Running in b3408563f246 06:02:02 Removing intermediate container b3408563f246 06:02:02 ---> 181ef88286c8 06:02:02 Step 9/12 : COPY go.mod vendor* ./ 06:02:02 ---> a4fd850d3732 06:02:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:03 ---> Running in f1b1595596a4 06:03:11 Removing intermediate container f1b1595596a4 06:03:11 ---> 6c98da4004e8 06:03:11 Step 11/12 : COPY . . 06:03:11 ---> 038c725ea766 06:03:11 Step 12/12 : RUN ${MAKE} 06:03:11 ---> Running in b72b4d1e28aa 06:03:11 noop 06:03:11 Removing intermediate container b72b4d1e28aa 06:03:11 ---> fbffc77ea8fc 06:03:11 Successfully built fbffc77ea8fc 06:03:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:11 + docker inspect -f . ci-base-image-arm64 06:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:11 prd-ubuntu20.04-docker-arm64-4c-16g-16469 does not seem to be running inside a container 06:03:11 $ 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 ******** ci-base-image-arm64 cat 06:03:13 $ docker top a64cd7a9e892852e51f475e99a1bea85b09f439154a7f9ce64980d11891c6c33 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:14 + go version 06:03:14 go version go1.20.2 linux/arm64 [Pipeline] } 06:03:14 $ docker stop --time=1 a64cd7a9e892852e51f475e99a1bea85b09f439154a7f9ce64980d11891c6c33 06:03:15 $ docker rm -f --volumes a64cd7a9e892852e51f475e99a1bea85b09f439154a7f9ce64980d11891c6c33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:16 + docker inspect -f . ci-base-image-arm64 06:03:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:16 prd-ubuntu20.04-docker-arm64-4c-16g-16469 does not seem to be running inside a container 06:03:16 $ 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 ******** ci-base-image-arm64 cat 06:03:18 $ docker top 9d1f1bf4d93dfd8efe200e7084b00a60d33fa20921c7d2995f16ff712adb9c67 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:19 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:03:19 + make test 06:03:19 go test ./... -coverprofile=coverage.out 06:03:52 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:05:43 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:05:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 06:05:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:05:43 go vet ./... 06:06:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:06:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:06:15 ./bin/test-attribution-txt.sh [Pipeline] echo 06:06:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:06:16 $ docker stop --time=1 9d1f1bf4d93dfd8efe200e7084b00a60d33fa20921c7d2995f16ff712adb9c67 06:06:18 $ docker rm -f --volumes 9d1f1bf4d93dfd8efe200e7084b00a60d33fa20921c7d2995f16ff712adb9c67 [Pipeline] // withDockerContainer [Pipeline] sh 06:06:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:06:19 Warning: overwriting stash ‘coverage-report’ 06:06:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:06:20 + ls -al . 06:06:20 total 168 06:06:20 drwxrwxr-x 8 jenkins jenkins 4096 May 23 06:03 . 06:06:20 drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:01 .. 06:06:20 -rw-rw-r-- 1 jenkins jenkins 6 May 23 06:01 .dockerignore 06:06:20 drwxrwxr-x 8 jenkins jenkins 4096 May 23 06:01 .git 06:06:20 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:01 .github 06:06:20 -rw-rw-r-- 1 jenkins jenkins 328 May 23 06:01 .gitignore 06:06:20 -rw-rw-r-- 1 jenkins jenkins 41 May 23 06:01 .golangci.yml 06:06:20 -rw-rw-r-- 1 jenkins jenkins 9056 May 23 06:01 Attribution.txt 06:06:20 -rw-rw-r-- 1 jenkins jenkins 8355 May 23 06:01 CHANGELOG.md 06:06:20 -rw-rw-r-- 1 jenkins jenkins 1423 May 23 06:01 Dockerfile 06:06:20 -rw-rw-r-- 1 jenkins jenkins 677 May 23 06:01 GOVERNANCE.md 06:06:20 -rw-rw-r-- 1 jenkins jenkins 656 May 23 06:01 Jenkinsfile 06:06:20 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 06:01 LICENSE 06:06:20 -rw-rw-r-- 1 jenkins jenkins 2114 May 23 06:01 Makefile 06:06:20 -rw-rw-r-- 1 jenkins jenkins 620 May 23 06:01 OWNERS.md 06:06:20 -rw-rw-r-- 1 jenkins jenkins 10054 May 23 06:01 README.md 06:06:20 -rw-rw-r-- 1 jenkins jenkins 5 May 23 05:59 VERSION 06:06:20 drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:01 bin 06:06:20 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:01 cmd 06:06:20 -rw-r--r-- 1 jenkins jenkins 8837 May 23 06:05 coverage.out 06:06:20 -rw-rw-r-- 1 jenkins jenkins 3283 May 23 06:01 go.mod 06:06:20 -rw-rw-r-- 1 jenkins jenkins 31326 May 23 06:01 go.sum 06:06:20 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:01 internal 06:06:20 drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:01 snap 06:06:20 -rw-rw-r-- 1 jenkins jenkins 228 May 23 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:21 + 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=69a8c872b3a7cf1cabf53534f7001234cc26736d --label arch=arm64 --label version=0.0.0 . 06:06:22 Sending build context to Docker daemon 3.039MB 06:06:22 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:06:22 Step 2/24 : FROM ${BASE} AS builder 06:06:22 ---> fbffc77ea8fc 06:06:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:06:22 ---> Running in d6901dae0938 06:06:23 Removing intermediate container d6901dae0938 06:06:23 ---> 440341422a02 06:06:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:23 ---> Running in e97331ef3f01 06:06:23 Removing intermediate container e97331ef3f01 06:06:23 ---> ea66db4918e1 06:06:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:06:23 ---> Running in 899038c1e809 06:06:23 Removing intermediate container 899038c1e809 06:06:23 ---> 8b7228097604 06:06:23 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:06:23 ---> Running in 4e4040517a1e 06:06:25 Removing intermediate container 4e4040517a1e 06:06:25 ---> a02e4557aa3c 06:06:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:06:25 ---> Running in dba9c059f17a 06:06:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:06:27 OK: 268 MiB in 57 packages 06:06:30 Removing intermediate container dba9c059f17a 06:06:30 ---> d12f21654756 06:06:30 Step 8/24 : WORKDIR /device-snmp-go 06:06:30 ---> Running in bd2da2f79ea4 06:06:30 Removing intermediate container bd2da2f79ea4 06:06:30 ---> 8305fa8f1cfe 06:06:30 Step 9/24 : COPY go.mod vendor* ./ 06:06:30 ---> c1c165bfc343 06:06:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:30 ---> Running in d365dd3cf40e 06:06:33 Removing intermediate container d365dd3cf40e 06:06:33 ---> 0f7060bff694 06:06:33 Step 11/24 : COPY . . 06:06:33 ---> 9fb1805d147b 06:06:33 Step 12/24 : RUN ${MAKE} 06:06:33 ---> Running in 11eae60eb703 06:06:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:08:56 Removing intermediate container 11eae60eb703 06:08:56 ---> 34d9e23e5c92 06:08:56 Step 13/24 : FROM alpine:3.17 06:08:56 3.17: Pulling from library/alpine 06:08:56 c41833b44d91: Already exists 06:08:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:08:56 Status: Downloaded newer image for alpine:3.17 06:08:56 ---> 51e60588ff2c 06:08:56 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:08:56 ---> Running in ac463961b1a0 06:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:08:56 (1/1) Installing dumb-init (1.2.5-r2) 06:08:56 Executing busybox-1.35.0-r29.trigger 06:08:56 OK: 8 MiB in 16 packages 06:08:56 Removing intermediate container ac463961b1a0 06:08:56 ---> a6a10034db6b 06:08:56 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:08:56 ---> ed021de4eded 06:08:56 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:08:56 ---> 18537c3d20d1 06:08:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:08:56 ---> 2c32a2cb2918 06:08:56 Step 18/24 : EXPOSE 59993 06:08:56 ---> Running in 13742e85e72c 06:08:56 Removing intermediate container 13742e85e72c 06:08:56 ---> d564974d36fe 06:08:56 Step 19/24 : EXPOSE 161 06:08:56 ---> Running in 2f520cb1f585 06:08:56 Removing intermediate container 2f520cb1f585 06:08:56 ---> 2d3985388fca 06:08:56 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:08:56 ---> Running in c0b031d5027f 06:08:56 Removing intermediate container c0b031d5027f 06:08:56 ---> 939a508b8dd5 06:08:56 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:08:56 ---> Running in bdd6e79d4d5c 06:08:56 Removing intermediate container bdd6e79d4d5c 06:08:56 ---> 8ca033a7dd33 06:08:56 Step 22/24 : LABEL arch=arm64 06:08:56 ---> Running in 5e60e515e125 06:08:56 Removing intermediate container 5e60e515e125 06:08:56 ---> b3ada02a9576 06:08:56 Step 23/24 : LABEL git_sha=69a8c872b3a7cf1cabf53534f7001234cc26736d 06:08:56 ---> Running in c4043a239d89 06:08:56 Removing intermediate container c4043a239d89 06:08:56 ---> 60ca62df128c 06:08:56 Step 24/24 : LABEL version=0.0.0 06:08:56 ---> Running in d6fa63df6926 06:08:56 Removing intermediate container d6fa63df6926 06:08:56 ---> 29f101680c06 06:08:56 [Warning] One or more build-args [ARCH] were not consumed 06:08:56 Successfully built 29f101680c06 06:08:56 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 06:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:57 06:08:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:57 arm64: Pulling from edgex-lftools-log-publisher 06:08:57 8998bd30e6a1: Pulling fs layer 06:08:57 04944245beec: Pulling fs layer 06:08:57 699f458cf7ca: Pulling fs layer 06:08:57 765212b225bb: Pulling fs layer 06:08:57 f23df028b6ca: Pulling fs layer 06:08:57 d65c8cfc05b1: Pulling fs layer 06:08:57 2437ff75d9bd: Pulling fs layer 06:08:57 f23df028b6ca: Waiting 06:08:57 d65c8cfc05b1: Waiting 06:08:57 2437ff75d9bd: Waiting 06:08:57 765212b225bb: Waiting 06:08:58 04944245beec: Verifying Checksum 06:08:58 04944245beec: Download complete 06:08:58 765212b225bb: Verifying Checksum 06:08:58 765212b225bb: Download complete 06:08:58 f23df028b6ca: Verifying Checksum 06:08:58 f23df028b6ca: Download complete 06:08:58 d65c8cfc05b1: Verifying Checksum 06:08:58 d65c8cfc05b1: Download complete 06:08:58 699f458cf7ca: Verifying Checksum 06:08:58 8998bd30e6a1: Verifying Checksum 06:08:58 8998bd30e6a1: Download complete 06:09:01 2437ff75d9bd: Verifying Checksum 06:09:01 2437ff75d9bd: Download complete 06:09:02 8998bd30e6a1: Pull complete 06:09:03 04944245beec: Pull complete 06:09:04 699f458cf7ca: Pull complete 06:09:04 765212b225bb: Pull complete 06:09:05 f23df028b6ca: Pull complete 06:09:05 d65c8cfc05b1: Pull complete 06:09:20 2437ff75d9bd: Pull complete 06:09:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:23 prd-ubuntu20.04-docker-arm64-4c-16g-16469 does not seem to be running inside a container 06:09:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:09:25 $ docker top a95f4e305d2c407a4fe5dbd44cf83545e14a0387df84c22e591080f423e94ce4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:26 ---> job-cost.sh 06:09:26 lf-activate-venv: SKIPPING 06:09:26 INFO: No Stack... 06:09:26 INFO: Retrieving Pricing Info for: v3-standard-4 06:09:27 INFO: Archiving Costs [Pipeline] sh 06:09:28 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 06:09:28 + cut -d, -f6 [Pipeline] lock 06:09:28 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-310-1-stack-cost] 06:09:28 Resource [jenkins-edgexfoundry-device-snmp-go-PR-310-1-stack-cost] did not exist. Created. 06:09:28 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-310-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:09:29 /w/workspace/device-snmp-go/1@tmp/durable-a885564c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:09:30 + echo total: 0.10999999940395355 [Pipeline] stash 06:09:30 Warning: overwriting stash ‘stack-cost’ 06:09:30 Stashed 1 file(s) [Pipeline] } 06:09:30 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-310-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:09:30 $ docker stop --time=1 a95f4e305d2c407a4fe5dbd44cf83545e14a0387df84c22e591080f423e94ce4 06:09:31 $ docker rm -f --volumes a95f4e305d2c407a4fe5dbd44cf83545e14a0387df84c22e591080f423e94ce4 [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 06:09:32 provisioning config files... 06:09:32 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp/config17343450927170423303tmp [Pipeline] { [Pipeline] sh 06:09:33 + set +x 06:09:33 + curl -s https://codecov.io/bash 06:09:33 + bash -s -- 06:09:33 06:09:33 _____ _ 06:09:33 / ____| | | 06:09:33 | | ___ __| | ___ ___ _____ __ 06:09:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:09:33 | |___| (_) | (_| | __/ (_| (_) \ V / 06:09:33 \_____\___/ \__,_|\___|\___\___/ \_/ 06:09:33 Bash-1.0.6 06:09:33 06:09:33 06:09:33 ==> git version 2.25.1 found 06:09:33 ==> 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 06:09:33 Release-Date: 2020-01-08 06:09:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:09:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:09:33 ==> Jenkins CI detected. 06:09:33 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-310 06:09:33 project root: . 06:09:33 --> token set from env 06:09:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:09:33 ==> Running gcov in . (disable via -X gcov) 06:09:33 ==> Python coveragepy not found 06:09:33 ==> Searching for coverage reports in: 06:09:33 + . 06:09:33 -> Found 1 reports 06:09:33 ==> Detecting git/mercurial file structure 06:09:33 ==> Reading reports 06:09:33 + ./coverage.out bytes=8837 06:09:33 ==> Appending adjustments 06:09:33 https://docs.codecov.io/docs/fixing-reports 06:09:33 + Found adjustments 06:09:33 ==> Gzipping contents 06:09:33 4.0K /tmp/codecov.7gIqzg.gz 06:09:33 ==> Uploading reports 06:09:33 url: https://codecov.io 06:09:33 query: branch=PR-310&commit=69a8c872b3a7cf1cabf53534f7001234cc26736d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-310%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=310&job=&cmd_args= 06:09:33 -> Pinging Codecov 06:09:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-310&commit=69a8c872b3a7cf1cabf53534f7001234cc26736d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-310%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=310&job=&cmd_args= 06:09:33 -> Uploading to 06:09:33 https://storage.googleapis.com/codecov/v4/raw/2023-05-23/6C56EA5C29638FB4528AC87E60AF5AE0/69a8c872b3a7cf1cabf53534f7001234cc26736d/16f79386-f413-4dde-8eb0-e44321a70f66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T060933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eda1f3c1cc83eeb8400b4be8d0144d88870c6848836ee21a56b857e409d35425 06:09:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:33 Dload Upload Total Spent Left Speed 06:09:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7160 --:--:-- --:--:-- --:--:-- 7160 06:09:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/69a8c872b3a7cf1cabf53534f7001234cc26736d [Pipeline] } 06:09:33 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 06:09:35 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-310/archives ] 06:09:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-310/archives 06:09:35 total 16 06:09:35 drwxr-xr-x 3 root root 4096 May 23 06:01 . 06:09:35 drwxrwxr-x 10 jenkins jenkins 4096 May 23 06:01 .. 06:09:35 drwxr-xr-x 2 root root 4096 May 23 06:01 cost 06:09:35 -rw-r--r-- 1 root root 86 May 23 06:01 cost.csv 06:09:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-310/archives 06:09:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-310/archives 06:09:35 total 16 06:09:35 drwxr-xr-x 3 jenkins jenkins 4096 May 23 06:01 . 06:09:35 drwxrwxr-x 10 jenkins jenkins 4096 May 23 06:01 .. 06:09:35 drwxr-xr-x 2 jenkins jenkins 4096 May 23 06:01 cost 06:09:35 -rw-r--r-- 1 jenkins jenkins 86 May 23 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:09:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:09:36 ---> package-listing.sh 06:09:36 ++ facter osfamily 06:09:36 ++ tr '[:upper:]' '[:lower:]' 06:09:36 + OS_FAMILY=debian 06:09:36 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-310 06:09:36 + START_PACKAGES=/tmp/packages_start.txt 06:09:36 + END_PACKAGES=/tmp/packages_end.txt 06:09:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:09:36 + PACKAGES=/tmp/packages_start.txt 06:09:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-310 ']' 06:09:36 + PACKAGES=/tmp/packages_end.txt 06:09:36 + case "${OS_FAMILY}" in 06:09:36 + dpkg -l 06:09:36 + grep '^ii' 06:09:36 + '[' -f /tmp/packages_start.txt ']' 06:09:36 + '[' -f /tmp/packages_end.txt ']' 06:09:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:09:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-310 ']' 06:09:36 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-310/archives/ 06:09:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-310/archives/ [Pipeline] echo 06:09:36 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-310/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:09:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:09:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:37 prd-ubuntu20.04-docker-8c-8g-16468 does not seem to be running inside a container 06:09:37 $ 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-310/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-310 -v /w/workspace/gexfoundry_device-snmp-go_PR-310:/w/workspace/gexfoundry_device-snmp-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:09:38 $ docker top 003b72bd07fba1a3a2403e314f2ed5d33841e7b0dabb8fcbb3f424ff0a7855c2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:09:38 + mkdir -p /var/log/sysstat [Pipeline] sh 06:09:39 + ls /var/log/sa-host 06:09:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:39 provisioning config files... 06:09:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-310@tmp/config11029953547161890257tmp [Pipeline] { [Pipeline] echo 06:09:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:09:39 ---> create-netrc.sh [Pipeline] } 06:09:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:09:40 ---> python-tools-install.sh [Pipeline] echo 06:09:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:09:40 ---> sudo-logs.sh 06:09:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:09:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:09:40 ---> job-cost.sh 06:09:40 lf-activate-venv: SKIPPING 06:09:40 DEBUG: total: 0.2199999988079071 06:09:40 INFO: Retrieving Stack Cost... 06:09:41 INFO: Retrieving Pricing Info for: v3-standard-8 06:09:41 INFO: Archiving Costs [Pipeline] echo 06:09:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:09:42 ---> logs-deploy.sh 06:09:42 lf-activate-venv: SKIPPING 06:09:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-310/1 06:09:42 INFO: archiving workspace using pattern(s): 06:09:43 Archives upload complete. 06:09:43 INFO: archiving logs to Nexus