Pull request #307 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6933870aac077d9b947a125754d89ec0dc63ac63+785293254a1924c41af634214641cbf6fd758ce7 (80e8f5232a117101924b6c1a8ab44cfff874a5a5) 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-ssh17112631842334196453.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-ssh1347137340062798825.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-307/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-307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17704393860577131741.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-307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10031744586049855468.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-ssh14126852714871585137.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-307/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-307/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7319537393774475624.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15537 in /w/workspace/gexfoundry_device-snmp-go_PR-307 [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-307 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Merging remotes/origin/main commit 785293254a1924c41af634214641cbf6fd758ce7 into PR head commit 6933870aac077d9b947a125754d89ec0dc63ac63 Merge succeeded, producing 6933870aac077d9b947a125754d89ec0dc63ac63 Checking out Revision 6933870aac077d9b947a125754d89ec0dc63ac63 (PR-307) Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/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] { 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/307/head:refs/remotes/origin/PR-307 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6933870aac077d9b947a125754d89ec0dc63ac63 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 785293254a1924c41af634214641cbf6fd758ce7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6933870aac077d9b947a125754d89ec0dc63ac63 # timeout=10 [Pipeline] timeout 09:54:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:54:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:54:20 ========================================================= 09:54:20 EdgeX Global Pipelines Version Info 09:54:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:54:21 ------------------- 09:54:21 stable info: 09:54:21 ------------------- 09:54:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:54:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:54:21 Message: update stable to v1.0.249 09:54:21 ------------------- 09:54:21 experimental info: 09:54:21 ------------------- 09:54:21 Commited By: **** collab-it+edgex@linuxfoundation.org 09:54:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:54:21 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:54:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-307 [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-307 [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-307 [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6933870aac077d9b947a125754d89ec0dc63ac63 [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6933870 [Pipeline] echo 09:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:23 provisioning config files... 09:54:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/config13894468279432211089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:24 ---> docker-login.sh 09:54:24 nexus3.edgexfoundry.org:10001 09:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:24 Configure a credential helper to remove this warning. See 09:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:24 09:54:24 Login Succeeded 09:54:24 nexus3.edgexfoundry.org:10002 09:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:24 Configure a credential helper to remove this warning. See 09:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:24 09:54:24 Login Succeeded 09:54:24 nexus3.edgexfoundry.org:10003 09:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:24 Configure a credential helper to remove this warning. See 09:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:24 09:54:24 Login Succeeded 09:54:24 nexus3.edgexfoundry.org:10004 09:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:24 Configure a credential helper to remove this warning. See 09:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:24 09:54:24 Login Succeeded 09:54:24 docker.io 09:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:24 Configure a credential helper to remove this warning. See 09:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:24 09:54:24 Login Succeeded 09:54:24 ---> docker-login.sh ends [Pipeline] } 09:54:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:54:25 + git rev-list -1 --merges 6933870aac077d9b947a125754d89ec0dc63ac63~1..6933870aac077d9b947a125754d89ec0dc63ac63 [Pipeline] echo 09:54:25 -----------> git rev-list -1 --merges 6933870aac077d9b947a125754d89ec0dc63ac63~1..6933870aac077d9b947a125754d89ec0dc63ac63 6933870aac077d9b947a125754d89ec0dc63ac63 [false] [Pipeline] sh 09:54:25 + git log --format=format:%s -1 6933870aac077d9b947a125754d89ec0dc63ac63 [Pipeline] echo 09:54:25 ========================================================= 09:54:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:54:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:54:26 + git log --format=format:%s -1 6933870aac077d9b947a125754d89ec0dc63ac63 [Pipeline] echo 09:54:26 [semverPrep] GIT_COMMIT: 6933870aac077d9b947a125754d89ec0dc63ac63, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo 09:54:26 [semverPrep] This is not a build commit. [Pipeline] sh 09:54:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:26 + grep -v github /etc/ssh/ssh_known_hosts 09:54:26 + [ -e /tmp/ssh_known_hosts ] 09:54:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:54:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 09:54:26 sudo tee -a /etc/ssh/ssh_known_hosts 09:54:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:27 09:54:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:27 0.1.4: Pulling from edgex-devops/py-git-semver 09:54:27 b85a868b505f: Pulling fs layer 09:54:27 e2be974225ed: Pulling fs layer 09:54:27 339a4e72a1f5: Pulling fs layer 09:54:27 988bab9f4d93: Pulling fs layer 09:54:27 1469e6f7b9e6: Pulling fs layer 09:54:27 eaf3925da568: Pulling fs layer 09:54:27 bab4dde63d76: Pulling fs layer 09:54:27 bde34c3a00c8: Pulling fs layer 09:54:27 b352a97aabf1: Pulling fs layer 09:54:27 4872d77fe225: Pulling fs layer 09:54:27 5851b861e8e6: Pulling fs layer 09:54:27 988bab9f4d93: Waiting 09:54:27 eaf3925da568: Waiting 09:54:27 1469e6f7b9e6: Waiting 09:54:27 bab4dde63d76: Waiting 09:54:27 bde34c3a00c8: Waiting 09:54:27 b352a97aabf1: Waiting 09:54:27 5851b861e8e6: Waiting 09:54:27 4872d77fe225: Waiting 09:54:27 e2be974225ed: Verifying Checksum 09:54:27 e2be974225ed: Download complete 09:54:27 988bab9f4d93: Verifying Checksum 09:54:27 988bab9f4d93: Download complete 09:54:27 1469e6f7b9e6: Verifying Checksum 09:54:27 1469e6f7b9e6: Download complete 09:54:27 339a4e72a1f5: Verifying Checksum 09:54:27 339a4e72a1f5: Download complete 09:54:28 eaf3925da568: Verifying Checksum 09:54:28 eaf3925da568: Download complete 09:54:28 bde34c3a00c8: Verifying Checksum 09:54:28 bde34c3a00c8: Download complete 09:54:28 b352a97aabf1: Download complete 09:54:28 4872d77fe225: Verifying Checksum 09:54:28 4872d77fe225: Download complete 09:54:28 5851b861e8e6: Download complete 09:54:28 b85a868b505f: Verifying Checksum 09:54:28 b85a868b505f: Download complete 09:54:28 bab4dde63d76: Verifying Checksum 09:54:28 bab4dde63d76: Download complete 09:54:29 b85a868b505f: Pull complete 09:54:29 e2be974225ed: Pull complete 09:54:30 339a4e72a1f5: Pull complete 09:54:30 988bab9f4d93: Pull complete 09:54:30 1469e6f7b9e6: Pull complete 09:54:30 eaf3925da568: Pull complete 09:54:33 bab4dde63d76: Pull complete 09:54:33 bde34c3a00c8: Pull complete 09:54:33 b352a97aabf1: Pull complete 09:54:33 4872d77fe225: Pull complete 09:54:33 5851b861e8e6: Pull complete 09:54:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:54:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:34 prd-ubuntu20.04-docker-8c-8g-15537 does not seem to be running inside a container 09:54:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-307 -v /w/workspace/gexfoundry_device-snmp-go_PR-307:/w/workspace/gexfoundry_device-snmp-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-307@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 09:54:39 $ docker top b0e93d62e16140d04622ba8ecb7eb01bf9bf832fb6db2003ef6f71ad7d731a9c -eo pid,comm 09:54:40 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). 09:54:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:54:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:40 [ssh-agent] Looking for ssh-agent implementation... 09:54:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:40 $ docker exec b0e93d62e16140d04622ba8ecb7eb01bf9bf832fb6db2003ef6f71ad7d731a9c ssh-agent 09:54:40 SSH_AUTH_SOCK=/tmp/ssh-8oezV4KeF28W/agent.32 09:54:40 SSH_AGENT_PID=38 09:54:40 Running ssh-add (command line suppressed) 09:54:40 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/private_key_9723165366129746460.key (/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/private_key_9723165366129746460.key) 09:54:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:40 + git tag --points-at HEAD [Pipeline] } 09:54:40 $ docker exec --env ******** --env ******** b0e93d62e16140d04622ba8ecb7eb01bf9bf832fb6db2003ef6f71ad7d731a9c ssh-agent -k 09:54:40 unset SSH_AUTH_SOCK; 09:54:40 unset SSH_AGENT_PID; 09:54:40 echo Agent pid 38 killed; 09:54:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:54:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:41 [ssh-agent] Looking for ssh-agent implementation... 09:54:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:41 $ docker exec b0e93d62e16140d04622ba8ecb7eb01bf9bf832fb6db2003ef6f71ad7d731a9c ssh-agent 09:54:41 SSH_AUTH_SOCK=/tmp/ssh-Kh0Jv90XfVAO/agent.70 09:54:41 SSH_AGENT_PID=76 09:54:41 Running ssh-add (command line suppressed) 09:54:41 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/private_key_579552904971783819.key (/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/private_key_579552904971783819.key) 09:54:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:41 + git semver init 09:54:41 2023-05-16 09:54:41,949 [run_init] DEBUG init version:0.0.0 force:False 09:54:41 2023-05-16 09:54:41,950 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver 09:54:41 2023-05-16 09:54:41,951 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-307/.semver 09:54:41 2023-05-16 09:54:41,951 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-307, universal_newlines=False, shell=None, istream=None) 09:54:42 2023-05-16 09:54:42,793 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-307/.git/info/exclude 09:54:42 2023-05-16 09:54:42,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver/PR-307 with force:False 09:54:42 2023-05-16 09:54:42,794 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver/PR-307 09:54:42 2023-05-16 09:54:42,799 [execute] INFO git cat-file --batch-check 09:54:42 2023-05-16 09:54:42,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver, universal_newlines=False, shell=None, istream=) 09:54:42 2023-05-16 09:54:42,804 [execute] INFO git cat-file --batch 09:54:42 2023-05-16 09:54:42,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver, universal_newlines=False, shell=None, istream=) 09:54:42 2023-05-16 09:54:42,808 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-307/.semver/PR-307 09:54:42 0.0.0 [Pipeline] } 09:54:42 $ docker exec --env ******** --env ******** b0e93d62e16140d04622ba8ecb7eb01bf9bf832fb6db2003ef6f71ad7d731a9c ssh-agent -k 09:54:43 unset SSH_AUTH_SOCK; 09:54:43 unset SSH_AGENT_PID; 09:54:43 echo Agent pid 76 killed; 09:54:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:43 + git semver [Pipeline] } 09:54:43 $ docker stop --time=1 b0e93d62e16140d04622ba8ecb7eb01bf9bf832fb6db2003ef6f71ad7d731a9c 09:54:45 $ docker rm -f --volumes b0e93d62e16140d04622ba8ecb7eb01bf9bf832fb6db2003ef6f71ad7d731a9c [Pipeline] // withDockerContainer [Pipeline] sh 09:54:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:54:46 Stashed 1 file(s) [Pipeline] echo 09:54:46 [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 09:54:47 provisioning config files... 09:54:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/config1367404759289021434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:47 ---> docker-login.sh 09:54:47 nexus3.edgexfoundry.org:10001 09:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:47 Configure a credential helper to remove this warning. See 09:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:47 09:54:47 Login Succeeded 09:54:47 nexus3.edgexfoundry.org:10002 09:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:47 Configure a credential helper to remove this warning. See 09:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:47 09:54:47 Login Succeeded 09:54:47 nexus3.edgexfoundry.org:10003 09:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:47 Configure a credential helper to remove this warning. See 09:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:47 09:54:47 Login Succeeded 09:54:47 nexus3.edgexfoundry.org:10004 09:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:47 Configure a credential helper to remove this warning. See 09:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:47 09:54:47 Login Succeeded 09:54:47 docker.io 09:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:47 Configure a credential helper to remove this warning. See 09:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:47 09:54:47 Login Succeeded 09:54:47 ---> docker-login.sh ends [Pipeline] } 09:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:54:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:54:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:54:48 ========================================================= 09:54:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:54:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:48 + 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 . 09:54:48 Sending build context to Docker daemon 5.842MB 09:54:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:54:48 Step 2/12 : FROM ${BASE} AS builder 09:54:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:54:48 f56be85fc22e: Pulling fs layer 09:54:48 85791d961cd3: Pulling fs layer 09:54:48 d694b5ae8c79: Pulling fs layer 09:54:48 9f32a84ed3da: Pulling fs layer 09:54:48 4d19c01a9841: Pulling fs layer 09:54:48 9325e15d5711: Pulling fs layer 09:54:48 556b6ee489ea: Pulling fs layer 09:54:48 c5a4b2cf53e6: Pulling fs layer 09:54:48 4d19c01a9841: Waiting 09:54:48 9325e15d5711: Waiting 09:54:48 556b6ee489ea: Waiting 09:54:48 c5a4b2cf53e6: Waiting 09:54:48 85791d961cd3: Verifying Checksum 09:54:48 85791d961cd3: Download complete 09:54:49 9f32a84ed3da: Download complete 09:54:49 4d19c01a9841: Verifying Checksum 09:54:49 4d19c01a9841: Download complete 09:54:49 f56be85fc22e: Verifying Checksum 09:54:49 f56be85fc22e: Download complete 09:54:49 9325e15d5711: Verifying Checksum 09:54:49 9325e15d5711: Download complete 09:54:49 f56be85fc22e: Pull complete 09:54:49 85791d961cd3: Pull complete 09:54:49 c5a4b2cf53e6: Verifying Checksum 09:54:49 c5a4b2cf53e6: Download complete 09:54:49 d694b5ae8c79: Verifying Checksum 09:54:49 d694b5ae8c79: Download complete 09:54:49 556b6ee489ea: Verifying Checksum 09:54:49 556b6ee489ea: Download complete 09:54:54 d694b5ae8c79: Pull complete 09:54:54 9f32a84ed3da: Pull complete 09:54:54 4d19c01a9841: Pull complete 09:54:54 9325e15d5711: Pull complete 09:54:57 556b6ee489ea: Pull complete 09:54:58 c5a4b2cf53e6: Pull complete 09:54:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:54:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:54:58 ---> c4be618373d6 09:54:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:55:01 Still waiting to schedule task 09:55:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:55:06 ---> Running in cc4e6fe7556c 09:55:06 Removing intermediate container cc4e6fe7556c 09:55:06 ---> bd6fdc81e3a6 09:55:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:55:06 ---> Running in 6d45f0ff2a35 09:55:06 Removing intermediate container 6d45f0ff2a35 09:55:06 ---> cc8e5a6191bd 09:55:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:55:06 ---> Running in 5dfc3db074ea 09:55:07 Removing intermediate container 5dfc3db074ea 09:55:07 ---> ba7efccde3dd 09:55:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:55:07 ---> Running in 0a61ce94ed72 09:55:07 Removing intermediate container 0a61ce94ed72 09:55:07 ---> 610fdb633648 09:55:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:55:08 ---> Running in b61c11b09c72 09:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:55:08 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:55:08 (2/4) Installing libedit (20221030.3.1-r0) 09:55:08 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:55:08 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:55:08 Executing busybox-1.35.0-r29.trigger 09:55:08 OK: 269 MiB in 57 packages 09:55:09 Removing intermediate container b61c11b09c72 09:55:09 ---> 99a6537d7ede 09:55:09 Step 8/12 : WORKDIR /device-snmp-go 09:55:09 ---> Running in 4f5090102f28 09:55:09 Removing intermediate container 4f5090102f28 09:55:09 ---> 78cc1b2227a5 09:55:09 Step 9/12 : COPY go.mod vendor* ./ 09:55:09 ---> a85494452e77 09:55:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:55:09 ---> Running in 88e8c93ffe9c 09:55:41 Removing intermediate container 88e8c93ffe9c 09:55:41 ---> 8e02b6986918 09:55:41 Step 11/12 : COPY . . 09:55:41 ---> 362d1a51dda9 09:55:41 Step 12/12 : RUN ${MAKE} 09:55:41 ---> Running in 4addda1ccb4e 09:55:41 noop 09:55:41 Removing intermediate container 4addda1ccb4e 09:55:41 ---> aa999f27d329 09:55:41 Successfully built aa999f27d329 09:55:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:42 + docker inspect -f . ci-base-image-x86_64 09:55:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:42 prd-ubuntu20.04-docker-8c-8g-15537 does not seem to be running inside a container 09:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-307 -v /w/workspace/gexfoundry_device-snmp-go_PR-307:/w/workspace/gexfoundry_device-snmp-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-307@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 09:55:42 $ docker top 92bb98bd1b3fc0488b78688cd952c4ebe0246fc7ad207404df0d5c752e782296 -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:43 + go version 09:55:43 go version go1.20.2 linux/amd64 [Pipeline] } 09:55:43 $ docker stop --time=1 92bb98bd1b3fc0488b78688cd952c4ebe0246fc7ad207404df0d5c752e782296 09:55:44 $ docker rm -f --volumes 92bb98bd1b3fc0488b78688cd952c4ebe0246fc7ad207404df0d5c752e782296 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:45 + docker inspect -f . ci-base-image-x86_64 09:55:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:45 prd-ubuntu20.04-docker-8c-8g-15537 does not seem to be running inside a container 09:55:45 $ 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-307 -v /w/workspace/gexfoundry_device-snmp-go_PR-307:/w/workspace/gexfoundry_device-snmp-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-307@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 09:55:45 $ docker top 019a430c3af2c79f93f448e0aa127d4e68f4dc1193eeca1d9fa3f28fa9e693cf -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-307 [Pipeline] fileExists [Pipeline] sh 09:55:46 + make test 09:55:46 go test ./... -coverprofile=coverage.out 09:55:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:56:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:56:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 09:56:05 go vet ./... 09:56:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:56:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:56:09 ./bin/test-attribution-txt.sh [Pipeline] echo 09:56:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:56:09 $ docker stop --time=1 019a430c3af2c79f93f448e0aa127d4e68f4dc1193eeca1d9fa3f28fa9e693cf 09:56:13 $ docker rm -f --volumes 019a430c3af2c79f93f448e0aa127d4e68f4dc1193eeca1d9fa3f28fa9e693cf [Pipeline] // withDockerContainer [Pipeline] sh 09:56:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:56:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:56:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:56:15 + ls -al . 09:56:15 total 172 09:56:15 drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:55 . 09:56:15 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:54 .. 09:56:15 -rw-rw-r-- 1 jenkins jenkins 6 May 16 09:54 .dockerignore 09:56:15 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:54 .git 09:56:15 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:54 .github 09:56:15 -rw-rw-r-- 1 jenkins jenkins 328 May 16 09:54 .gitignore 09:56:15 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:54 .golangci.yml 09:56:15 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:54 .semver 09:56:15 -rw-rw-r-- 1 jenkins jenkins 9056 May 16 09:54 Attribution.txt 09:56:15 -rw-rw-r-- 1 jenkins jenkins 8355 May 16 09:54 CHANGELOG.md 09:56:15 -rw-rw-r-- 1 jenkins jenkins 1423 May 16 09:54 Dockerfile 09:56:15 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:54 GOVERNANCE.md 09:56:15 -rw-rw-r-- 1 jenkins jenkins 656 May 16 09:54 Jenkinsfile 09:56:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:54 LICENSE 09:56:15 -rw-rw-r-- 1 jenkins jenkins 2114 May 16 09:54 Makefile 09:56:15 -rw-rw-r-- 1 jenkins jenkins 620 May 16 09:54 OWNERS.md 09:56:15 -rw-rw-r-- 1 jenkins jenkins 10054 May 16 09:54 README.md 09:56:15 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:54 VERSION 09:56:15 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:54 bin 09:56:15 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:54 cmd 09:56:15 -rw-r--r-- 1 jenkins jenkins 8837 May 16 09:55 coverage.out 09:56:15 -rw-rw-r-- 1 jenkins jenkins 3283 May 16 09:54 go.mod 09:56:15 -rw-rw-r-- 1 jenkins jenkins 31326 May 16 09:54 go.sum 09:56:15 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:54 internal 09:56:15 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:54 snap 09:56:15 -rw-rw-r-- 1 jenkins jenkins 228 May 16 09:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:15 + 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=6933870aac077d9b947a125754d89ec0dc63ac63 --label arch=amd64 --label version=0.0.0 . 09:56:15 Sending build context to Docker daemon 5.852MB 09:56:15 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:56:15 Step 2/24 : FROM ${BASE} AS builder 09:56:15 ---> aa999f27d329 09:56:15 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:56:15 ---> Running in 0ac63c0858e8 09:56:15 Removing intermediate container 0ac63c0858e8 09:56:15 ---> a2f1755076c0 09:56:15 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:56:15 ---> Running in cb8a8d998715 09:56:15 Removing intermediate container cb8a8d998715 09:56:15 ---> ca8a47e27c80 09:56:15 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:56:16 ---> Running in ff307794efdd 09:56:16 Removing intermediate container ff307794efdd 09:56:16 ---> 6a22fb738ce9 09:56:16 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:56:16 ---> Running in aa46a6ca9e42 09:56:16 Removing intermediate container aa46a6ca9e42 09:56:16 ---> 504bf4514430 09:56:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:56:16 ---> Running in f5fe06a27b1a 09:56:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:56:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:56:16 OK: 269 MiB in 57 packages 09:56:17 Removing intermediate container f5fe06a27b1a 09:56:17 ---> bfde02e887c0 09:56:17 Step 8/24 : WORKDIR /device-snmp-go 09:56:17 ---> Running in 2ecb097148be 09:56:17 Removing intermediate container 2ecb097148be 09:56:17 ---> 98e8be80cd4f 09:56:17 Step 9/24 : COPY go.mod vendor* ./ 09:56:17 ---> 3e92c42a8cdc 09:56:17 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:56:17 ---> Running in 67da3f411831 09:56:18 Removing intermediate container 67da3f411831 09:56:18 ---> ce93c68d2e87 09:56:18 Step 11/24 : COPY . . 09:56:18 ---> 74fc8854dced 09:56:18 Step 12/24 : RUN ${MAKE} 09:56:18 ---> Running in 121675ea38d3 09:56:18 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 09:56:40 Removing intermediate container 121675ea38d3 09:56:40 ---> f228c44d17c8 09:56:40 Step 13/24 : FROM alpine:3.17 09:56:40 3.17: Pulling from library/alpine 09:56:40 f56be85fc22e: Already exists 09:56:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:56:40 Status: Downloaded newer image for alpine:3.17 09:56:40 ---> 9ed4aefc74f6 09:56:40 Step 14/24 : RUN apk add --update --no-cache dumb-init 09:56:40 ---> Running in af293f7e5f1f 09:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:56:40 (1/1) Installing dumb-init (1.2.5-r2) 09:56:40 Executing busybox-1.35.0-r29.trigger 09:56:40 OK: 7 MiB in 16 packages 09:56:40 Removing intermediate container af293f7e5f1f 09:56:40 ---> cc4fb2e41d0d 09:56:40 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:56:40 ---> a28bf75bc169 09:56:40 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:56:40 ---> 38ebbe10add9 09:56:40 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:56:40 ---> b3fbc4cd0a4a 09:56:40 Step 18/24 : EXPOSE 59993 09:56:40 ---> Running in 088225d02809 09:56:40 Removing intermediate container 088225d02809 09:56:40 ---> 5d8ec4676377 09:56:40 Step 19/24 : EXPOSE 161 09:56:40 ---> Running in 450bad04fe5a 09:56:40 Removing intermediate container 450bad04fe5a 09:56:40 ---> 221423045d59 09:56:40 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:56:40 ---> Running in b676c01e8232 09:56:40 Removing intermediate container b676c01e8232 09:56:40 ---> 7d216edeed45 09:56:40 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:56:40 ---> Running in f1d996ef357b 09:56:40 Removing intermediate container f1d996ef357b 09:56:40 ---> 598c3a0592b8 09:56:40 Step 22/24 : LABEL arch=amd64 09:56:40 ---> Running in cbb9f2b20005 09:56:40 Removing intermediate container cbb9f2b20005 09:56:40 ---> eb9f95f6fde9 09:56:40 Step 23/24 : LABEL git_sha=6933870aac077d9b947a125754d89ec0dc63ac63 09:56:40 ---> Running in 8eeea82a5460 09:56:40 Removing intermediate container 8eeea82a5460 09:56:40 ---> 4edae5b89e0c 09:56:40 Step 24/24 : LABEL version=0.0.0 09:56:40 ---> Running in 5043e34a75dd 09:56:40 Removing intermediate container 5043e34a75dd 09:56:40 ---> 42bf9f07cf8d 09:56:40 [Warning] One or more build-args [ARCH] were not consumed 09:56:40 Successfully built 42bf9f07cf8d 09:56:40 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:56:41 09:56:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:56:42 latest: Pulling from edgex-lftools-log-publisher 09:56:42 5eb5b503b376: Pulling fs layer 09:56:42 5c69ac0246d0: Pulling fs layer 09:56:42 ec43610c2a17: Pulling fs layer 09:56:42 3a2ae6a8a46f: Pulling fs layer 09:56:42 33b1e0a273af: Pulling fs layer 09:56:42 5d3b04190fa2: Pulling fs layer 09:56:42 2f39f015ded8: Pulling fs layer 09:56:42 3a2ae6a8a46f: Waiting 09:56:42 33b1e0a273af: Waiting 09:56:42 5d3b04190fa2: Waiting 09:56:42 2f39f015ded8: Waiting 09:56:42 5c69ac0246d0: Verifying Checksum 09:56:42 5c69ac0246d0: Download complete 09:56:42 3a2ae6a8a46f: Verifying Checksum 09:56:42 33b1e0a273af: Verifying Checksum 09:56:42 33b1e0a273af: Download complete 09:56:42 ec43610c2a17: Verifying Checksum 09:56:42 ec43610c2a17: Download complete 09:56:42 5d3b04190fa2: Verifying Checksum 09:56:42 5eb5b503b376: Verifying Checksum 09:56:42 5eb5b503b376: Download complete 09:56:42 2f39f015ded8: Download complete 09:56:43 5eb5b503b376: Pull complete 09:56:43 5c69ac0246d0: Pull complete 09:56:43 ec43610c2a17: Pull complete 09:56:43 3a2ae6a8a46f: Pull complete 09:56:44 33b1e0a273af: Pull complete 09:56:44 5d3b04190fa2: Pull complete 09:56:48 2f39f015ded8: Pull complete 09:56:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:56:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:48 prd-ubuntu20.04-docker-8c-8g-15537 does not seem to be running inside a container 09:56:48 $ 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-307 -v /w/workspace/gexfoundry_device-snmp-go_PR-307:/w/workspace/gexfoundry_device-snmp-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-307@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 09:56:52 $ docker top 3827fb5701b67f3d504567bbc41e42f2cfd23617ebbe30ef59886c6b8dba7d81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:56:52 ---> job-cost.sh 09:56:52 lf-activate-venv: SKIPPING 09:56:52 INFO: No Stack... 09:56:52 INFO: Retrieving Pricing Info for: v3-standard-8 09:56:53 INFO: Archiving Costs [Pipeline] sh 09:56:53 + cat /w/workspace/gexfoundry_device-snmp-go_PR-307/archives/cost.csv 09:56:53 + cut -d, -f6 [Pipeline] lock 09:56:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-307-1-stack-cost] 09:56:53 Resource [jenkins-edgexfoundry-device-snmp-go-PR-307-1-stack-cost] did not exist. Created. 09:56:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-307-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:56:53 + echo total: 0.2199999988079071 [Pipeline] stash 09:56:53 Stashed 1 file(s) [Pipeline] } 09:56:53 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-307-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:56:54 $ docker stop --time=1 3827fb5701b67f3d504567bbc41e42f2cfd23617ebbe30ef59886c6b8dba7d81 09:56:55 $ docker rm -f --volumes 3827fb5701b67f3d504567bbc41e42f2cfd23617ebbe30ef59886c6b8dba7d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:57:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15543 in /w/workspace/gexfoundry_device-snmp-go_PR-307 [Pipeline] { [Pipeline] ws 09:57:41 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 09:57:41 Selected Git installation does not exist. Using Default 09:57:41 The recommended git tool is: NONE 09:57:49 using credential edgex-jenkins-ssh 09:57:49 Cloning the remote Git repository 09:57:49 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:57:49 > git init /w/workspace/device-snmp-go/1 # timeout=10 09:57:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:57:49 > git --version # timeout=10 09:57:49 > git --version # 'git version 2.25.1' 09:57:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:57:50 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:57:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:57:52 Merging remotes/origin/main commit 785293254a1924c41af634214641cbf6fd758ce7 into PR head commit 6933870aac077d9b947a125754d89ec0dc63ac63 09:57:53 Merge succeeded, producing 6933870aac077d9b947a125754d89ec0dc63ac63 09:57:53 Checking out Revision 6933870aac077d9b947a125754d89ec0dc63ac63 (PR-307) 09:57:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:57:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:57:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/307/head:refs/remotes/origin/PR-307 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:57:52 > git config core.sparsecheckout # timeout=10 09:57:52 > git checkout -f 6933870aac077d9b947a125754d89ec0dc63ac63 # timeout=10 09:57:53 > git remote # timeout=10 09:57:53 > git config --get remote.origin.url # timeout=10 09:57:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:53 > git merge 785293254a1924c41af634214641cbf6fd758ce7 # timeout=10 09:57:53 > git rev-parse HEAD^{commit} # timeout=10 09:57:53 > git config core.sparsecheckout # timeout=10 09:57:53 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v3" 09:57:53 > git --version # timeout=10 09:57:53 > git --version # 'git version 2.25.1' 09:57:54 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:57:53 > git checkout -f 6933870aac077d9b947a125754d89ec0dc63ac63 # timeout=10 09:57:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:57:55 % Total % Received % Xferd Average Speed Time Time Time Current 09:57:55 Dload Upload Total Spent Left Speed 09:57:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 09:57:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:57:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:57:56 + sudo tee /etc/docker/daemon.new 09:57:56 { 09:57:56 "registry-mirrors": [ 09:57:56 "https://nexus3.edgexfoundry.org:10001" 09:57:56 ], 09:57:56 "bip": "10.250.0.254/24", 09:57:56 "hosts": [ 09:57:56 "tcp://0.0.0.0:5555", 09:57:56 "unix:///var/run/docker.sock" 09:57:56 ], 09:57:56 "mtu": 1458, 09:57:56 "selinux-enabled": true, 09:57:56 "seccomp-profile": "/etc/docker/seccomp.json" 09:57:56 } [Pipeline] sh 09:57:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:57:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:58:15 provisioning config files... 09:58:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config12186001842693589373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:58:15 ---> docker-login.sh 09:58:15 nexus3.edgexfoundry.org:10001 09:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:16 Configure a credential helper to remove this warning. See 09:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:16 09:58:16 Login Succeeded 09:58:16 nexus3.edgexfoundry.org:10002 09:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:17 Configure a credential helper to remove this warning. See 09:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:17 09:58:17 Login Succeeded 09:58:17 nexus3.edgexfoundry.org:10003 09:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:17 Configure a credential helper to remove this warning. See 09:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:17 09:58:17 Login Succeeded 09:58:17 nexus3.edgexfoundry.org:10004 09:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:17 Configure a credential helper to remove this warning. See 09:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:17 09:58:17 Login Succeeded 09:58:17 docker.io 09:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:18 Configure a credential helper to remove this warning. See 09:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:18 09:58:18 Login Succeeded 09:58:18 ---> docker-login.sh ends [Pipeline] } 09:58:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:58:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:58:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:58:19 ========================================================= 09:58:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:58:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:19 + 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 . 09:58:19 Sending build context to Docker daemon 3.03MB 09:58:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:58:19 Step 2/12 : FROM ${BASE} AS builder 09:58:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:58:20 c41833b44d91: Pulling fs layer 09:58:20 ed15518f5707: Pulling fs layer 09:58:20 feae8fd75edb: Pulling fs layer 09:58:20 242c74f7c9fa: Pulling fs layer 09:58:20 3cdef696dda3: Pulling fs layer 09:58:20 2ced38df9373: Pulling fs layer 09:58:20 58f1dce35555: Pulling fs layer 09:58:20 242c74f7c9fa: Waiting 09:58:20 3cdef696dda3: Waiting 09:58:20 2ced38df9373: Waiting 09:58:20 58f1dce35555: Waiting 09:58:20 ed15518f5707: Verifying Checksum 09:58:20 ed15518f5707: Download complete 09:58:20 242c74f7c9fa: Verifying Checksum 09:58:20 242c74f7c9fa: Download complete 09:58:20 3cdef696dda3: Verifying Checksum 09:58:20 3cdef696dda3: Download complete 09:58:20 c41833b44d91: Verifying Checksum 09:58:20 c41833b44d91: Download complete 09:58:21 c41833b44d91: Pull complete 09:58:21 58f1dce35555: Verifying Checksum 09:58:21 58f1dce35555: Download complete 09:58:22 ed15518f5707: Pull complete 09:58:23 feae8fd75edb: Verifying Checksum 09:58:23 feae8fd75edb: Download complete 09:58:24 2ced38df9373: Verifying Checksum 09:58:24 2ced38df9373: Download complete 09:58:34 feae8fd75edb: Pull complete 09:58:34 242c74f7c9fa: Pull complete 09:58:34 3cdef696dda3: Pull complete 09:58:41 2ced38df9373: Pull complete 09:58:43 58f1dce35555: Pull complete 09:58:43 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:58:43 ---> fadd8f120f05 09:58:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:58:45 ---> Running in 8c96d89cec6e 09:58:45 Removing intermediate container 8c96d89cec6e 09:58:45 ---> 53181f30a274 09:58:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:58:45 ---> Running in edcd574753a8 09:58:46 Removing intermediate container edcd574753a8 09:58:46 ---> f8d25a84e268 09:58:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:58:46 ---> Running in b2a113475416 09:58:46 Removing intermediate container b2a113475416 09:58:46 ---> 3db28ec7d8b3 09:58:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:58:46 ---> Running in 8d3cb7f712ad 09:58:46 Removing intermediate container 8d3cb7f712ad 09:58:46 ---> 687f2a1fd82d 09:58:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:58:47 ---> Running in 078488f22e27 09:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:58:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:58:50 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:58:50 (2/4) Installing libedit (20221030.3.1-r0) 09:58:50 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:58:50 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:58:50 Executing busybox-1.35.0-r29.trigger 09:58:50 OK: 268 MiB in 57 packages 09:58:52 Removing intermediate container 078488f22e27 09:58:52 ---> ce5cc2252bd9 09:58:52 Step 8/12 : WORKDIR /device-snmp-go 09:58:52 ---> Running in 39cef3d5e646 09:58:53 Removing intermediate container 39cef3d5e646 09:58:53 ---> 22bac79dc2d7 09:58:53 Step 9/12 : COPY go.mod vendor* ./ 09:58:53 ---> a79fdf0e5252 09:58:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:58:53 ---> Running in 5a3960f9eef3 10:00:01 Removing intermediate container 5a3960f9eef3 10:00:01 ---> cc4321e2a6a6 10:00:01 Step 11/12 : COPY . . 10:00:01 ---> 7f553c75437d 10:00:01 Step 12/12 : RUN ${MAKE} 10:00:01 ---> Running in 75de82c9198c 10:00:02 noop 10:00:03 Removing intermediate container 75de82c9198c 10:00:03 ---> b3c53b318c8a 10:00:03 Successfully built b3c53b318c8a 10:00:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:03 + docker inspect -f . ci-base-image-arm64 10:00:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:03 prd-ubuntu20.04-docker-arm64-4c-16g-15543 does not seem to be running inside a container 10:00:03 $ 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 10:00:05 $ docker top d3881a6cca46b01d089fb5c1e56c8f95191957f4e72953e822e97bb421f82d9b -eo pid,comm [Pipeline] { [Pipeline] sh 10:00:06 + go version 10:00:06 go version go1.20.2 linux/arm64 [Pipeline] } 10:00:06 $ docker stop --time=1 d3881a6cca46b01d089fb5c1e56c8f95191957f4e72953e822e97bb421f82d9b 10:00:07 $ docker rm -f --volumes d3881a6cca46b01d089fb5c1e56c8f95191957f4e72953e822e97bb421f82d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:09 + docker inspect -f . ci-base-image-arm64 10:00:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:09 prd-ubuntu20.04-docker-arm64-4c-16g-15543 does not seem to be running inside a container 10:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/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 10:00:11 $ docker top 29ae74b0ec1b49629659de7669c03a74025bcecc2bbae16c527cf7d7a2d36eca -eo pid,comm [Pipeline] { [Pipeline] sh 10:00:12 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 10:00:12 + make test 10:00:12 go test ./... -coverprofile=coverage.out 10:00:58 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:03:05 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:03:05 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.058s coverage: 0.0% of statements 10:03:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:03:05 go vet ./... 10:03:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:03:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:03:38 ./bin/test-attribution-txt.sh [Pipeline] echo 10:03:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:03:38 $ docker stop --time=1 29ae74b0ec1b49629659de7669c03a74025bcecc2bbae16c527cf7d7a2d36eca 10:03:40 $ docker rm -f --volumes 29ae74b0ec1b49629659de7669c03a74025bcecc2bbae16c527cf7d7a2d36eca [Pipeline] // withDockerContainer [Pipeline] sh 10:03:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:03:41 Warning: overwriting stash ‘coverage-report’ 10:03:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:03:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:03:43 + ls -al . 10:03:43 total 168 10:03:43 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:00 . 10:03:43 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:57 .. 10:03:43 -rw-rw-r-- 1 jenkins jenkins 6 May 16 09:57 .dockerignore 10:03:43 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:57 .git 10:03:43 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:57 .github 10:03:43 -rw-rw-r-- 1 jenkins jenkins 328 May 16 09:57 .gitignore 10:03:43 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:57 .golangci.yml 10:03:43 -rw-rw-r-- 1 jenkins jenkins 9056 May 16 09:57 Attribution.txt 10:03:43 -rw-rw-r-- 1 jenkins jenkins 8355 May 16 09:57 CHANGELOG.md 10:03:43 -rw-rw-r-- 1 jenkins jenkins 1423 May 16 09:57 Dockerfile 10:03:43 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:57 GOVERNANCE.md 10:03:43 -rw-rw-r-- 1 jenkins jenkins 656 May 16 09:57 Jenkinsfile 10:03:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:57 LICENSE 10:03:43 -rw-rw-r-- 1 jenkins jenkins 2114 May 16 09:57 Makefile 10:03:43 -rw-rw-r-- 1 jenkins jenkins 620 May 16 09:57 OWNERS.md 10:03:43 -rw-rw-r-- 1 jenkins jenkins 10054 May 16 09:57 README.md 10:03:43 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:54 VERSION 10:03:43 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:57 bin 10:03:43 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:57 cmd 10:03:43 -rw-r--r-- 1 jenkins jenkins 8837 May 16 10:03 coverage.out 10:03:43 -rw-rw-r-- 1 jenkins jenkins 3283 May 16 09:57 go.mod 10:03:43 -rw-rw-r-- 1 jenkins jenkins 31326 May 16 09:57 go.sum 10:03:43 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:57 internal 10:03:43 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:57 snap 10:03:43 -rw-rw-r-- 1 jenkins jenkins 228 May 16 09:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:43 + 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=6933870aac077d9b947a125754d89ec0dc63ac63 --label arch=arm64 --label version=0.0.0 . 10:03:44 Sending build context to Docker daemon 3.039MB 10:03:44 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:03:44 Step 2/24 : FROM ${BASE} AS builder 10:03:44 ---> b3c53b318c8a 10:03:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:03:44 ---> Running in ad1cf8ef168d 10:03:44 Removing intermediate container ad1cf8ef168d 10:03:44 ---> 5b8d773db828 10:03:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:03:44 ---> Running in 3f654b611912 10:03:45 Removing intermediate container 3f654b611912 10:03:45 ---> 2acf0792a24c 10:03:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:03:45 ---> Running in f3313569927c 10:03:45 Removing intermediate container f3313569927c 10:03:45 ---> 16d35aa1d726 10:03:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:03:45 ---> Running in 63569e86f888 10:03:46 Removing intermediate container 63569e86f888 10:03:46 ---> 81644b41f457 10:03:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:03:46 ---> Running in 44438560c527 10:03:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:03:49 OK: 268 MiB in 57 packages 10:03:52 Removing intermediate container 44438560c527 10:03:52 ---> a6fdbe692cdb 10:03:52 Step 8/24 : WORKDIR /device-snmp-go 10:03:52 ---> Running in 9d4d76bb8040 10:03:53 Removing intermediate container 9d4d76bb8040 10:03:53 ---> 5238750eab40 10:03:53 Step 9/24 : COPY go.mod vendor* ./ 10:03:53 ---> 82e77c9ea204 10:03:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:03:53 ---> Running in 400fb69055fa 10:03:56 Removing intermediate container 400fb69055fa 10:03:56 ---> 4e23ff5df6de 10:03:56 Step 11/24 : COPY . . 10:03:57 ---> ab8d451d816c 10:03:57 Step 12/24 : RUN ${MAKE} 10:03:57 ---> Running in 3231223b153d 10:03:58 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 10:06:50 Removing intermediate container 3231223b153d 10:06:50 ---> 1845effec015 10:06:50 Step 13/24 : FROM alpine:3.17 10:06:50 3.17: Pulling from library/alpine 10:06:50 c41833b44d91: Already exists 10:06:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:06:50 Status: Downloaded newer image for alpine:3.17 10:06:50 ---> 51e60588ff2c 10:06:50 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:06:50 ---> Running in 84098d5340e5 10:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:06:50 (1/1) Installing dumb-init (1.2.5-r2) 10:06:50 Executing busybox-1.35.0-r29.trigger 10:06:50 OK: 8 MiB in 16 packages 10:06:50 Removing intermediate container 84098d5340e5 10:06:50 ---> 451ef8c8d55f 10:06:50 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:06:50 ---> af11aa7c62fa 10:06:50 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:06:50 ---> 1031e3718d2e 10:06:50 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:06:51 ---> 57ea1e49ea5b 10:06:51 Step 18/24 : EXPOSE 59993 10:06:51 ---> Running in acad75e7cd04 10:06:51 Removing intermediate container acad75e7cd04 10:06:51 ---> 2997e3264765 10:06:51 Step 19/24 : EXPOSE 161 10:06:51 ---> Running in a7772743ebfd 10:06:52 Removing intermediate container a7772743ebfd 10:06:52 ---> b60383bf4c7e 10:06:52 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:06:52 ---> Running in da9b8502bffb 10:06:52 Removing intermediate container da9b8502bffb 10:06:52 ---> 0c339cc94199 10:06:52 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:06:52 ---> Running in ff12be1782f3 10:06:53 Removing intermediate container ff12be1782f3 10:06:53 ---> a96606f80270 10:06:53 Step 22/24 : LABEL arch=arm64 10:06:53 ---> Running in 3f1b36a07113 10:06:53 Removing intermediate container 3f1b36a07113 10:06:53 ---> 90fa8a26939b 10:06:53 Step 23/24 : LABEL git_sha=6933870aac077d9b947a125754d89ec0dc63ac63 10:06:53 ---> Running in 61439eabf2fe 10:06:54 Removing intermediate container 61439eabf2fe 10:06:54 ---> 0de8b048debc 10:06:54 Step 24/24 : LABEL version=0.0.0 10:06:54 ---> Running in 4ce584d62a33 10:06:54 Removing intermediate container 4ce584d62a33 10:06:54 ---> 29b762530466 10:06:54 [Warning] One or more build-args [ARCH] were not consumed 10:06:54 Successfully built 29b762530466 10:06:54 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 10:06:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:06:55 10:06:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:06:55 arm64: Pulling from edgex-lftools-log-publisher 10:06:55 8998bd30e6a1: Pulling fs layer 10:06:55 04944245beec: Pulling fs layer 10:06:55 699f458cf7ca: Pulling fs layer 10:06:55 765212b225bb: Pulling fs layer 10:06:55 f23df028b6ca: Pulling fs layer 10:06:55 d65c8cfc05b1: Pulling fs layer 10:06:55 2437ff75d9bd: Pulling fs layer 10:06:55 765212b225bb: Waiting 10:06:55 f23df028b6ca: Waiting 10:06:55 d65c8cfc05b1: Waiting 10:06:55 2437ff75d9bd: Waiting 10:06:56 04944245beec: Verifying Checksum 10:06:56 04944245beec: Download complete 10:06:56 765212b225bb: Download complete 10:06:56 f23df028b6ca: Verifying Checksum 10:06:56 f23df028b6ca: Download complete 10:06:56 d65c8cfc05b1: Verifying Checksum 10:06:56 d65c8cfc05b1: Download complete 10:06:56 699f458cf7ca: Verifying Checksum 10:06:56 699f458cf7ca: Download complete 10:06:56 8998bd30e6a1: Verifying Checksum 10:06:56 8998bd30e6a1: Download complete 10:06:59 2437ff75d9bd: Verifying Checksum 10:06:59 2437ff75d9bd: Download complete 10:07:03 8998bd30e6a1: Pull complete 10:07:03 04944245beec: Pull complete 10:07:04 699f458cf7ca: Pull complete 10:07:05 765212b225bb: Pull complete 10:07:06 f23df028b6ca: Pull complete 10:07:06 d65c8cfc05b1: Pull complete 10:07:21 2437ff75d9bd: Pull complete 10:07:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:07:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:07:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:21 prd-ubuntu20.04-docker-arm64-4c-16g-15543 does not seem to be running inside a container 10:07:21 $ 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 10:07:24 $ docker top 08589db4e1b5d3541b2ee35ae779484a744aa23255567854e3e583da7f8000ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:25 ---> job-cost.sh 10:07:25 lf-activate-venv: SKIPPING 10:07:25 INFO: No Stack... 10:07:26 INFO: Retrieving Pricing Info for: v3-standard-4 10:07:27 INFO: Archiving Costs [Pipeline] sh 10:07:27 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 10:07:27 + cut -d, -f6 [Pipeline] lock 10:07:27 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-307-1-stack-cost] 10:07:27 Resource [jenkins-edgexfoundry-device-snmp-go-PR-307-1-stack-cost] did not exist. Created. 10:07:27 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-307-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:07:28 /w/workspace/device-snmp-go/1@tmp/durable-bab0b9be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:07:29 + echo total: 0.10999999940395355 [Pipeline] stash 10:07:29 Warning: overwriting stash ‘stack-cost’ 10:07:29 Stashed 1 file(s) [Pipeline] } 10:07:29 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-307-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:07:29 $ docker stop --time=1 08589db4e1b5d3541b2ee35ae779484a744aa23255567854e3e583da7f8000ee 10:07:31 $ docker rm -f --volumes 08589db4e1b5d3541b2ee35ae779484a744aa23255567854e3e583da7f8000ee [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 10:07:32 provisioning config files... 10:07:32 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/config8047415316088970106tmp [Pipeline] { [Pipeline] sh 10:07:32 + set +x 10:07:32 + curl -s https://codecov.io/bash 10:07:32 + bash -s -- 10:07:32 10:07:32 _____ _ 10:07:32 / ____| | | 10:07:32 | | ___ __| | ___ ___ _____ __ 10:07:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:07:32 | |___| (_) | (_| | __/ (_| (_) \ V / 10:07:32 \_____\___/ \__,_|\___|\___\___/ \_/ 10:07:32 Bash-1.0.6 10:07:32 10:07:32 10:07:32 ==> git version 2.25.1 found 10:07:32 ==> 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 10:07:32 Release-Date: 2020-01-08 10:07:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:07:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:07:32 ==> Jenkins CI detected. 10:07:32 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-307 10:07:32 project root: . 10:07:32 --> token set from env 10:07:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:07:32 ==> Running gcov in . (disable via -X gcov) 10:07:32 ==> Python coveragepy not found 10:07:32 ==> Searching for coverage reports in: 10:07:32 + . 10:07:32 -> Found 1 reports 10:07:32 ==> Detecting git/mercurial file structure 10:07:32 ==> Reading reports 10:07:32 + ./coverage.out bytes=8837 10:07:32 ==> Appending adjustments 10:07:32 https://docs.codecov.io/docs/fixing-reports 10:07:32 + Found adjustments 10:07:32 ==> Gzipping contents 10:07:32 4.0K /tmp/codecov.EnopCu.gz 10:07:32 ==> Uploading reports 10:07:32 url: https://codecov.io 10:07:32 query: branch=PR-307&commit=6933870aac077d9b947a125754d89ec0dc63ac63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-307%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=307&job=&cmd_args= 10:07:32 -> Pinging Codecov 10:07:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-307&commit=6933870aac077d9b947a125754d89ec0dc63ac63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-307%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=307&job=&cmd_args= 10:07:32 -> Uploading to 10:07:32 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/6C56EA5C29638FB4528AC87E60AF5AE0/6933870aac077d9b947a125754d89ec0dc63ac63/2b5804a1-2efd-4d6e-97dc-c1322b9c853c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T100732Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d080dcd6de6e7855bc209b0bead2ac3167ff8d81d350e5f7140b08986c277707 10:07:32 % Total % Received % Xferd Average Speed Time Time Time Current 10:07:32 Dload Upload Total Spent Left Speed 10:07:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8101 --:--:-- --:--:-- --:--:-- 8060 100 1604 0 0 100 1604 0 8101 --:--:-- --:--:-- --:--:-- 8060 10:07:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/6933870aac077d9b947a125754d89ec0dc63ac63 [Pipeline] } 10:07: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 10:07:35 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-307/archives ] 10:07:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-307/archives 10:07:35 total 16 10:07:35 drwxr-xr-x 3 root root 4096 May 16 09:56 . 10:07:35 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:56 .. 10:07:35 drwxr-xr-x 2 root root 4096 May 16 09:56 cost 10:07:35 -rw-r--r-- 1 root root 86 May 16 09:56 cost.csv 10:07:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-307/archives 10:07:35 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-307/archives 10:07:35 total 16 10:07:35 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:56 . 10:07:35 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:56 .. 10:07:35 drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:56 cost 10:07:35 -rw-r--r-- 1 jenkins jenkins 86 May 16 09:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:07:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:07:36 ---> package-listing.sh 10:07:36 ++ facter osfamily 10:07:36 ++ tr '[:upper:]' '[:lower:]' 10:07:36 + OS_FAMILY=debian 10:07:36 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-307 10:07:36 + START_PACKAGES=/tmp/packages_start.txt 10:07:36 + END_PACKAGES=/tmp/packages_end.txt 10:07:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:07:36 + PACKAGES=/tmp/packages_start.txt 10:07:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-307 ']' 10:07:36 + PACKAGES=/tmp/packages_end.txt 10:07:36 + case "${OS_FAMILY}" in 10:07:36 + dpkg -l 10:07:36 + grep '^ii' 10:07:36 + '[' -f /tmp/packages_start.txt ']' 10:07:36 + '[' -f /tmp/packages_end.txt ']' 10:07:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:07:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-307 ']' 10:07:36 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-307/archives/ 10:07:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-307/archives/ [Pipeline] echo 10:07: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-307/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:07:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:37 prd-ubuntu20.04-docker-8c-8g-15537 does not seem to be running inside a container 10:07: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-307/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-307 -v /w/workspace/gexfoundry_device-snmp-go_PR-307:/w/workspace/gexfoundry_device-snmp-go_PR-307:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-307@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 10:07:38 $ docker top eaee7b36b762546f721bca78e0ec7ebd6ff4396e610d1d08a2a6ebca56680b52 -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:38 + touch /tmp/pre-build-complete [Pipeline] sh 10:07:38 + mkdir -p /var/log/sysstat [Pipeline] sh 10:07:39 + ls /var/log/sa-host 10:07:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:39 provisioning config files... 10:07:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/config4583569262364250800tmp [Pipeline] { [Pipeline] echo 10:07:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:07:39 ---> create-netrc.sh [Pipeline] } 10:07:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:07:40 ---> python-tools-install.sh [Pipeline] echo 10:07:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:07:40 ---> sudo-logs.sh 10:07:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:07:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:07:41 ---> job-cost.sh 10:07:41 lf-activate-venv: SKIPPING 10:07:41 DEBUG: total: 0.2199999988079071 10:07:41 INFO: Retrieving Stack Cost... 10:07:41 INFO: Retrieving Pricing Info for: v3-standard-8 10:07:41 INFO: Archiving Costs [Pipeline] echo 10:07:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:07:42 ---> logs-deploy.sh 10:07:42 lf-activate-venv: SKIPPING 10:07:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-307/1 10:07:42 INFO: archiving workspace using pattern(s): 10:07:43 Archives upload complete. 10:07:43 INFO: archiving logs to Nexus