Pull request #307 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from efabdba63c833b83244745c87586e77fa90f3c97+785293254a1924c41af634214641cbf6fd758ce7 (9db48bffc04772361fe8beea674174b4c40781ee) 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-ssh7192543845562888622.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-ssh15850416047279641442.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-307/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11092406256086138342.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 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-ssh6814309878163502387.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-307/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-307/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18402973492987856747.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15535’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15537’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15555’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15542’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-15543’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15558 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 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 Merging remotes/origin/main commit 785293254a1924c41af634214641cbf6fd758ce7 into PR head commit efabdba63c833b83244745c87586e77fa90f3c97 Merge succeeded, producing efabdba63c833b83244745c87586e77fa90f3c97 Checking out Revision efabdba63c833b83244745c87586e77fa90f3c97 (PR-307) Commit message: "build(snap): Bump epoch for major v3 upgrade" > git config core.sparsecheckout # timeout=10 > git checkout -f efabdba63c833b83244745c87586e77fa90f3c97 # 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 efabdba63c833b83244745c87586e77fa90f3c97 # timeout=10 > git rev-list --no-walk 6933870aac077d9b947a125754d89ec0dc63ac63 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:09:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:09:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:09:34 ========================================================= 10:09:34 EdgeX Global Pipelines Version Info 10:09:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:09:35 ------------------- 10:09:35 stable info: 10:09:35 ------------------- 10:09:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:09:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:09:35 Message: update stable to v1.0.249 10:09:35 ------------------- 10:09:35 experimental info: 10:09:35 ------------------- 10:09:35 Commited By: **** collab-it+edgex@linuxfoundation.org 10:09:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:09:35 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:09:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 10:09:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 10:09:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:09:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:09:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:09:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:09:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-307 [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-307 [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-307 [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efabdba63c833b83244745c87586e77fa90f3c97 [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efabdba [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:36 provisioning config files... 10:09:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/config13459285441800434060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:36 ---> docker-login.sh 10:09:36 nexus3.edgexfoundry.org:10001 10:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:37 Configure a credential helper to remove this warning. See 10:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:37 10:09:37 Login Succeeded 10:09:37 nexus3.edgexfoundry.org:10002 10:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:37 Configure a credential helper to remove this warning. See 10:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:37 10:09:37 Login Succeeded 10:09:37 nexus3.edgexfoundry.org:10003 10:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:37 Configure a credential helper to remove this warning. See 10:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:37 10:09:37 Login Succeeded 10:09:37 nexus3.edgexfoundry.org:10004 10:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:37 Configure a credential helper to remove this warning. See 10:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:37 10:09:37 Login Succeeded 10:09:37 docker.io 10:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:37 Configure a credential helper to remove this warning. See 10:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:37 10:09:37 Login Succeeded 10:09:37 ---> docker-login.sh ends [Pipeline] } 10:09:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:09:38 + git rev-list -1 --merges efabdba63c833b83244745c87586e77fa90f3c97~1..efabdba63c833b83244745c87586e77fa90f3c97 [Pipeline] echo 10:09:38 -----------> git rev-list -1 --merges efabdba63c833b83244745c87586e77fa90f3c97~1..efabdba63c833b83244745c87586e77fa90f3c97 efabdba63c833b83244745c87586e77fa90f3c97 [false] [Pipeline] sh 10:09:38 + git log --format=format:%s -1 efabdba63c833b83244745c87586e77fa90f3c97 [Pipeline] echo 10:09:38 ========================================================= 10:09:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:09:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:38 + git log --format=format:%s -1 efabdba63c833b83244745c87586e77fa90f3c97 [Pipeline] echo 10:09:38 [semverPrep] GIT_COMMIT: efabdba63c833b83244745c87586e77fa90f3c97, Commit Message: build(snap): Bump epoch for major v3 upgrade [Pipeline] echo 10:09:38 [semverPrep] This is not a build commit. [Pipeline] sh 10:09:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:09:39 + grep -v github /etc/ssh/ssh_known_hosts 10:09:39 + [ -e /tmp/ssh_known_hosts ] 10:09:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:09:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:09:39 + sudo tee -a /etc/ssh/ssh_known_hosts 10:09:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:09:39 10:09:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:09:39 0.1.4: Pulling from edgex-devops/py-git-semver 10:09:39 b85a868b505f: Pulling fs layer 10:09:39 e2be974225ed: Pulling fs layer 10:09:39 339a4e72a1f5: Pulling fs layer 10:09:39 988bab9f4d93: Pulling fs layer 10:09:39 1469e6f7b9e6: Pulling fs layer 10:09:39 eaf3925da568: Pulling fs layer 10:09:39 bab4dde63d76: Pulling fs layer 10:09:39 bde34c3a00c8: Pulling fs layer 10:09:39 b352a97aabf1: Pulling fs layer 10:09:39 4872d77fe225: Pulling fs layer 10:09:39 5851b861e8e6: Pulling fs layer 10:09:39 988bab9f4d93: Waiting 10:09:39 1469e6f7b9e6: Waiting 10:09:39 eaf3925da568: Waiting 10:09:39 bab4dde63d76: Waiting 10:09:39 bde34c3a00c8: Waiting 10:09:39 b352a97aabf1: Waiting 10:09:39 4872d77fe225: Waiting 10:09:39 5851b861e8e6: Waiting 10:09:39 e2be974225ed: Download complete 10:09:39 988bab9f4d93: Verifying Checksum 10:09:39 988bab9f4d93: Download complete 10:09:39 1469e6f7b9e6: Verifying Checksum 10:09:39 1469e6f7b9e6: Download complete 10:09:40 eaf3925da568: Verifying Checksum 10:09:40 eaf3925da568: Download complete 10:09:40 339a4e72a1f5: Verifying Checksum 10:09:40 339a4e72a1f5: Download complete 10:09:40 bde34c3a00c8: Download complete 10:09:40 b352a97aabf1: Verifying Checksum 10:09:40 b352a97aabf1: Download complete 10:09:40 4872d77fe225: Verifying Checksum 10:09:40 4872d77fe225: Download complete 10:09:40 5851b861e8e6: Download complete 10:09:40 b85a868b505f: Download complete 10:09:40 bab4dde63d76: Verifying Checksum 10:09:40 bab4dde63d76: Download complete 10:09:41 b85a868b505f: Pull complete 10:09:41 e2be974225ed: Pull complete 10:09:42 339a4e72a1f5: Pull complete 10:09:42 988bab9f4d93: Pull complete 10:09:42 1469e6f7b9e6: Pull complete 10:09:42 eaf3925da568: Pull complete 10:09:44 bab4dde63d76: Pull complete 10:09:44 bde34c3a00c8: Pull complete 10:09:44 b352a97aabf1: Pull complete 10:09:44 4872d77fe225: Pull complete 10:09:44 5851b861e8e6: Pull complete 10:09:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:09:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:44 prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container 10:09:44 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:09:48 $ docker top 81197669ba8cb486ea977fc1e80abff3490e52107b51bffa4ce3d25eca4e1e5d -eo pid,comm 10:09:48 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). 10:09:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:09:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:48 [ssh-agent] Looking for ssh-agent implementation... 10:09:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:49 $ docker exec 81197669ba8cb486ea977fc1e80abff3490e52107b51bffa4ce3d25eca4e1e5d ssh-agent 10:09:49 SSH_AUTH_SOCK=/tmp/ssh-5dT496HgVp6Z/agent.15 10:09:49 SSH_AGENT_PID=21 10:09:49 Running ssh-add (command line suppressed) 10:09:49 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/private_key_17189038820845493041.key (/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/private_key_17189038820845493041.key) 10:09:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:49 + git tag --points-at HEAD [Pipeline] } 10:09:49 $ docker exec --env ******** --env ******** 81197669ba8cb486ea977fc1e80abff3490e52107b51bffa4ce3d25eca4e1e5d ssh-agent -k 10:09:49 unset SSH_AUTH_SOCK; 10:09:49 unset SSH_AGENT_PID; 10:09:49 echo Agent pid 21 killed; 10:09:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:09:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:49 [ssh-agent] Looking for ssh-agent implementation... 10:09:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:49 $ docker exec 81197669ba8cb486ea977fc1e80abff3490e52107b51bffa4ce3d25eca4e1e5d ssh-agent 10:09:50 SSH_AUTH_SOCK=/tmp/ssh-N86b3FkWHtTI/agent.73 10:09:50 SSH_AGENT_PID=79 10:09:50 Running ssh-add (command line suppressed) 10:09:50 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/private_key_1748978456415792592.key (/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/private_key_1748978456415792592.key) 10:09:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:50 + git semver init 10:09:51 2023-05-16 10:09:50,708 [run_init] DEBUG init version:0.0.0 force:False 10:09:51 2023-05-16 10:09:50,711 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver 10:09:51 2023-05-16 10:09:50,712 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-307/.semver 10:09:51 2023-05-16 10:09:50,712 [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) 10:09:51 2023-05-16 10:09:51,906 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-307/.git/info/exclude 10:09:51 2023-05-16 10:09:51,907 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver/PR-307 with force:False 10:09:51 2023-05-16 10:09:51,907 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver/PR-307 10:09:51 2023-05-16 10:09:51,912 [execute] INFO git cat-file --batch-check 10:09:51 2023-05-16 10:09:51,913 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver, universal_newlines=False, shell=None, istream=) 10:09:51 2023-05-16 10:09:51,920 [execute] INFO git cat-file --batch 10:09:51 2023-05-16 10:09:51,920 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-307/.semver, universal_newlines=False, shell=None, istream=) 10:09:51 2023-05-16 10:09:51,925 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-307/.semver/PR-307 10:09:51 0.0.0 [Pipeline] } 10:09:51 $ docker exec --env ******** --env ******** 81197669ba8cb486ea977fc1e80abff3490e52107b51bffa4ce3d25eca4e1e5d ssh-agent -k 10:09:52 unset SSH_AUTH_SOCK; 10:09:52 unset SSH_AGENT_PID; 10:09:52 echo Agent pid 79 killed; 10:09:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:09:52 + git semver [Pipeline] } 10:09:52 $ docker stop --time=1 81197669ba8cb486ea977fc1e80abff3490e52107b51bffa4ce3d25eca4e1e5d 10:09:55 $ docker rm -f --volumes 81197669ba8cb486ea977fc1e80abff3490e52107b51bffa4ce3d25eca4e1e5d [Pipeline] // withDockerContainer [Pipeline] sh 10:09:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:09:56 Stashed 1 file(s) [Pipeline] echo 10:09:56 [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 10:09:56 provisioning config files... 10:09:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/config16270866946859738917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:56 ---> docker-login.sh 10:09:56 nexus3.edgexfoundry.org:10001 10:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:56 Configure a credential helper to remove this warning. See 10:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:56 10:09:56 Login Succeeded 10:09:56 nexus3.edgexfoundry.org:10002 10:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:56 Configure a credential helper to remove this warning. See 10:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:56 10:09:56 Login Succeeded 10:09:56 nexus3.edgexfoundry.org:10003 10:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:56 Configure a credential helper to remove this warning. See 10:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:56 10:09:56 Login Succeeded 10:09:56 nexus3.edgexfoundry.org:10004 10:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:56 Configure a credential helper to remove this warning. See 10:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:56 10:09:56 Login Succeeded 10:09:56 docker.io 10:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:57 Configure a credential helper to remove this warning. See 10:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:57 10:09:57 Login Succeeded 10:09:57 ---> docker-login.sh ends [Pipeline] } 10:09:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:09:57 ========================================================= 10:09:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:09:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:57 + 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 . 10:09:57 Sending build context to Docker daemon 5.843MB 10:09:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:09:57 Step 2/12 : FROM ${BASE} AS builder 10:09:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:09:58 f56be85fc22e: Pulling fs layer 10:09:58 85791d961cd3: Pulling fs layer 10:09:58 d694b5ae8c79: Pulling fs layer 10:09:58 9f32a84ed3da: Pulling fs layer 10:09:58 4d19c01a9841: Pulling fs layer 10:09:58 9325e15d5711: Pulling fs layer 10:09:58 556b6ee489ea: Pulling fs layer 10:09:58 c5a4b2cf53e6: Pulling fs layer 10:09:58 4d19c01a9841: Waiting 10:09:58 556b6ee489ea: Waiting 10:09:58 c5a4b2cf53e6: Waiting 10:09:58 9325e15d5711: Waiting 10:09:58 9f32a84ed3da: Waiting 10:09:58 85791d961cd3: Download complete 10:09:58 9f32a84ed3da: Verifying Checksum 10:09:58 9f32a84ed3da: Download complete 10:09:58 4d19c01a9841: Verifying Checksum 10:09:58 4d19c01a9841: Download complete 10:09:58 f56be85fc22e: Verifying Checksum 10:09:58 f56be85fc22e: Download complete 10:09:58 9325e15d5711: Verifying Checksum 10:09:58 9325e15d5711: Download complete 10:09:58 c5a4b2cf53e6: Verifying Checksum 10:09:58 c5a4b2cf53e6: Download complete 10:09:58 d694b5ae8c79: Verifying Checksum 10:09:58 d694b5ae8c79: Download complete 10:09:59 f56be85fc22e: Pull complete 10:09:59 556b6ee489ea: Verifying Checksum 10:09:59 556b6ee489ea: Download complete 10:10:00 85791d961cd3: Pull complete 10:10:04 d694b5ae8c79: Pull complete 10:10:04 9f32a84ed3da: Pull complete 10:10:05 4d19c01a9841: Pull complete 10:10:06 9325e15d5711: Pull complete 10:10:11 Still waiting to schedule task 10:10:11 ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:10:11 ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:10:11 ‘prd-centos7-builder-2c-1g-15550’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:10:11 ‘prd-ubuntu20.04-docker-8c-8g-15535’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:10:11 ‘prd-ubuntu20.04-docker-8c-8g-15537’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:10:11 ‘prd-ubuntu20.04-docker-8c-8g-15538’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:10:11 ‘prd-ubuntu20.04-docker-8c-8g-15540’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:10:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15542’ is offline 10:10:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15543’ is offline 10:10:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15545’ is offline 10:10:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15546’ is offline 10:10:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15559’ is offline 10:10:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15560’ is offline 10:10:11 556b6ee489ea: Pull complete 10:10:13 c5a4b2cf53e6: Pull complete 10:10:14 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 10:10:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:10:14 ---> c4be618373d6 10:10:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:10:22 ---> Running in f011662f3c3d 10:10:22 Removing intermediate container f011662f3c3d 10:10:22 ---> e6cf418bbf42 10:10:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:10:22 ---> Running in 3ecc9e74f207 10:10:22 Removing intermediate container 3ecc9e74f207 10:10:22 ---> 19b4a3569d65 10:10:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:10:22 ---> Running in 032af1d990fc 10:10:22 Removing intermediate container 032af1d990fc 10:10:22 ---> a19145e9e887 10:10:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:10:22 ---> Running in fa67585994c7 10:10:22 Removing intermediate container fa67585994c7 10:10:22 ---> 0e27b6583811 10:10:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:22 ---> Running in 01d937c0ef25 10:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:10:23 (1/4) Installing openssh-keygen (9.1_p1-r3) 10:10:23 (2/4) Installing libedit (20221030.3.1-r0) 10:10:23 (3/4) Installing openssh-client-common (9.1_p1-r3) 10:10:23 (4/4) Installing openssh-client-default (9.1_p1-r3) 10:10:23 Executing busybox-1.35.0-r29.trigger 10:10:23 OK: 269 MiB in 57 packages 10:10:24 Removing intermediate container 01d937c0ef25 10:10:24 ---> 5769011cdb20 10:10:24 Step 8/12 : WORKDIR /device-snmp-go 10:10:24 ---> Running in 8ceca20d3108 10:10:24 Removing intermediate container 8ceca20d3108 10:10:24 ---> dcfb828d5fc1 10:10:24 Step 9/12 : COPY go.mod vendor* ./ 10:10:24 ---> 5c9af45a7ec5 10:10:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:24 ---> Running in 009053944a2f 10:11:03 Removing intermediate container 009053944a2f 10:11:03 ---> 6c769b7c1a19 10:11:03 Step 11/12 : COPY . . 10:11:03 ---> 09be0614ec2a 10:11:03 Step 12/12 : RUN ${MAKE} 10:11:03 ---> Running in 8bd2b8ec0260 10:11:03 noop 10:11:03 Removing intermediate container 8bd2b8ec0260 10:11:03 ---> 68e92c917156 10:11:03 Successfully built 68e92c917156 10:11:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:03 + docker inspect -f . ci-base-image-x86_64 10:11:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:03 prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container 10:11:03 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:04 $ docker top f0a3998bcc571f13abf46d0db2acf13b898bc7a5b25357319e4f294e09461d85 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:04 + go version 10:11:04 go version go1.20.2 linux/amd64 [Pipeline] } 10:11:04 $ docker stop --time=1 f0a3998bcc571f13abf46d0db2acf13b898bc7a5b25357319e4f294e09461d85 10:11:05 $ docker rm -f --volumes f0a3998bcc571f13abf46d0db2acf13b898bc7a5b25357319e4f294e09461d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:06 + docker inspect -f . ci-base-image-x86_64 10:11:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:06 prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container 10:11:06 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:06 $ docker top e1edb4796d421c0a27d07e35b07239bab49fbeb17c5ad024f4d1664ae16a0cbc -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-307 [Pipeline] fileExists [Pipeline] sh 10:11:07 + make test 10:11:07 go test ./... -coverprofile=coverage.out 10:11:11 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:11:21 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:11:21 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 10:11:26 go vet ./... 10:11:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:11:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:11:30 ./bin/test-attribution-txt.sh [Pipeline] echo 10:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:11:30 $ docker stop --time=1 e1edb4796d421c0a27d07e35b07239bab49fbeb17c5ad024f4d1664ae16a0cbc 10:11:34 $ docker rm -f --volumes e1edb4796d421c0a27d07e35b07239bab49fbeb17c5ad024f4d1664ae16a0cbc [Pipeline] // withDockerContainer [Pipeline] sh 10:11:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:11:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:11:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:11:35 + ls -al . 10:11:35 total 172 10:11:35 drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:11 . 10:11:35 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:09 .. 10:11:35 -rw-rw-r-- 1 jenkins jenkins 6 May 16 10:09 .dockerignore 10:11:35 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:09 .git 10:11:35 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:09 .github 10:11:35 -rw-rw-r-- 1 jenkins jenkins 328 May 16 10:09 .gitignore 10:11:35 -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:09 .golangci.yml 10:11:35 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:09 .semver 10:11:35 -rw-rw-r-- 1 jenkins jenkins 9056 May 16 10:09 Attribution.txt 10:11:35 -rw-rw-r-- 1 jenkins jenkins 8355 May 16 10:09 CHANGELOG.md 10:11:35 -rw-rw-r-- 1 jenkins jenkins 1423 May 16 10:09 Dockerfile 10:11:35 -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:09 GOVERNANCE.md 10:11:35 -rw-rw-r-- 1 jenkins jenkins 656 May 16 10:09 Jenkinsfile 10:11:35 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:09 LICENSE 10:11:35 -rw-rw-r-- 1 jenkins jenkins 2114 May 16 10:09 Makefile 10:11:35 -rw-rw-r-- 1 jenkins jenkins 620 May 16 10:09 OWNERS.md 10:11:35 -rw-rw-r-- 1 jenkins jenkins 10054 May 16 10:09 README.md 10:11:35 -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:09 VERSION 10:11:35 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:09 bin 10:11:35 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:09 cmd 10:11:35 -rw-r--r-- 1 jenkins jenkins 8837 May 16 10:11 coverage.out 10:11:35 -rw-rw-r-- 1 jenkins jenkins 3283 May 16 10:09 go.mod 10:11:35 -rw-rw-r-- 1 jenkins jenkins 31326 May 16 10:09 go.sum 10:11:35 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:09 internal 10:11:35 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:09 snap 10:11:35 -rw-rw-r-- 1 jenkins jenkins 228 May 16 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:35 + 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=efabdba63c833b83244745c87586e77fa90f3c97 --label arch=amd64 --label version=0.0.0 . 10:11:35 Sending build context to Docker daemon 5.853MB 10:11:35 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:11:35 Step 2/24 : FROM ${BASE} AS builder 10:11:35 ---> 68e92c917156 10:11:35 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:11:36 ---> Running in 3da5687b4243 10:11:36 Removing intermediate container 3da5687b4243 10:11:36 ---> f02575821402 10:11:36 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:36 ---> Running in a1c094684f9f 10:11:36 Removing intermediate container a1c094684f9f 10:11:36 ---> 6c3ac761b664 10:11:36 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:11:36 ---> Running in d20ac2b8ec9e 10:11:36 Removing intermediate container d20ac2b8ec9e 10:11:36 ---> 38ef70ff1df3 10:11:36 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:11:36 ---> Running in 66877d404def 10:11:36 Removing intermediate container 66877d404def 10:11:36 ---> 6e67e83a40dd 10:11:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:36 ---> Running in 09b9d215a337 10:11:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:11:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:11:37 OK: 269 MiB in 57 packages 10:11:37 Removing intermediate container 09b9d215a337 10:11:37 ---> 35c5b634420a 10:11:37 Step 8/24 : WORKDIR /device-snmp-go 10:11:37 ---> Running in cbed1d6b06d0 10:11:37 Removing intermediate container cbed1d6b06d0 10:11:37 ---> 650b44598913 10:11:37 Step 9/24 : COPY go.mod vendor* ./ 10:11:37 ---> 45de4cf2d62f 10:11:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:37 ---> Running in 38fbac86b90e 10:11:38 Removing intermediate container 38fbac86b90e 10:11:38 ---> d76d42d4346a 10:11:38 Step 11/24 : COPY . . 10:11:38 ---> d107a7b592e0 10:11:38 Step 12/24 : RUN ${MAKE} 10:11:38 ---> Running in 827a14c32ed3 10:11:39 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:12:00 Removing intermediate container 827a14c32ed3 10:12:00 ---> 26cbd1d50cd8 10:12:00 Step 13/24 : FROM alpine:3.17 10:12:00 3.17: Pulling from library/alpine 10:12:00 f56be85fc22e: Already exists 10:12:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:12:00 Status: Downloaded newer image for alpine:3.17 10:12:00 ---> 9ed4aefc74f6 10:12:00 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:12:00 ---> Running in a8418635a223 10:12:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:12:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:12:00 (1/1) Installing dumb-init (1.2.5-r2) 10:12:00 Executing busybox-1.35.0-r29.trigger 10:12:00 OK: 7 MiB in 16 packages 10:12:00 Removing intermediate container a8418635a223 10:12:00 ---> bb014bb76452 10:12:00 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:12:01 ---> 78e1d93295cc 10:12:01 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:12:02 ---> f8a15754071c 10:12:02 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:12:02 ---> df06b4d8ba6b 10:12:02 Step 18/24 : EXPOSE 59993 10:12:02 ---> Running in 0927dfc0b629 10:12:02 Removing intermediate container 0927dfc0b629 10:12:02 ---> 368b92ad2506 10:12:02 Step 19/24 : EXPOSE 161 10:12:02 ---> Running in 4b1d8889da63 10:12:02 Removing intermediate container 4b1d8889da63 10:12:02 ---> a48c82b7e5dd 10:12:02 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:12:02 ---> Running in 6883a0877c30 10:12:02 Removing intermediate container 6883a0877c30 10:12:02 ---> 96005abec34b 10:12:02 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:12:02 ---> Running in f3ee5e11f8e6 10:12:02 Removing intermediate container f3ee5e11f8e6 10:12:02 ---> 75ccc733e076 10:12:02 Step 22/24 : LABEL arch=amd64 10:12:02 ---> Running in f14be73eade9 10:12:02 Removing intermediate container f14be73eade9 10:12:02 ---> 4e5e7b69b025 10:12:02 Step 23/24 : LABEL git_sha=efabdba63c833b83244745c87586e77fa90f3c97 10:12:02 ---> Running in 4c0d627a30f8 10:12:02 Removing intermediate container 4c0d627a30f8 10:12:02 ---> 7f2b1a636b86 10:12:02 Step 24/24 : LABEL version=0.0.0 10:12:02 ---> Running in 316a7ad7535a 10:12:02 Removing intermediate container 316a7ad7535a 10:12:02 ---> 29dd3dd9bc4d 10:12:02 [Warning] One or more build-args [ARCH] were not consumed 10:12:02 Successfully built 29dd3dd9bc4d 10:12:02 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:03 10:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:03 latest: Pulling from edgex-lftools-log-publisher 10:12:03 5eb5b503b376: Pulling fs layer 10:12:03 5c69ac0246d0: Pulling fs layer 10:12:03 ec43610c2a17: Pulling fs layer 10:12:03 3a2ae6a8a46f: Pulling fs layer 10:12:03 33b1e0a273af: Pulling fs layer 10:12:03 5d3b04190fa2: Pulling fs layer 10:12:03 2f39f015ded8: Pulling fs layer 10:12:03 5d3b04190fa2: Waiting 10:12:03 3a2ae6a8a46f: Waiting 10:12:03 2f39f015ded8: Waiting 10:12:03 33b1e0a273af: Waiting 10:12:03 5c69ac0246d0: Verifying Checksum 10:12:03 5c69ac0246d0: Download complete 10:12:03 3a2ae6a8a46f: Verifying Checksum 10:12:03 3a2ae6a8a46f: Download complete 10:12:03 33b1e0a273af: Verifying Checksum 10:12:03 33b1e0a273af: Download complete 10:12:03 ec43610c2a17: Verifying Checksum 10:12:03 ec43610c2a17: Download complete 10:12:03 5d3b04190fa2: Verifying Checksum 10:12:03 5d3b04190fa2: Download complete 10:12:03 5eb5b503b376: Verifying Checksum 10:12:03 5eb5b503b376: Download complete 10:12:04 2f39f015ded8: Download complete 10:12:05 5eb5b503b376: Pull complete 10:12:05 5c69ac0246d0: Pull complete 10:12:05 ec43610c2a17: Pull complete 10:12:05 3a2ae6a8a46f: Pull complete 10:12:05 33b1e0a273af: Pull complete 10:12:06 5d3b04190fa2: Pull complete 10:12:10 2f39f015ded8: Pull complete 10:12:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:12:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:10 prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container 10:12:10 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:12:16 $ docker top 3c479a52bc512d4439b1947b97ca096abc45c8b6a8aa0de4c9da96562cd0a5d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:16 ---> job-cost.sh 10:12:16 lf-activate-venv: SKIPPING 10:12:16 INFO: No Stack... 10:12:16 INFO: Retrieving Pricing Info for: v3-standard-8 10:12:16 INFO: Archiving Costs [Pipeline] sh 10:12:17 + cat /w/workspace/gexfoundry_device-snmp-go_PR-307/archives/cost.csv 10:12:17 + cut -d, -f6 [Pipeline] lock 10:12:17 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-307-2-stack-cost] 10:12:17 Resource [jenkins-edgexfoundry-device-snmp-go-PR-307-2-stack-cost] did not exist. Created. 10:12:17 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-307-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:17 + echo total: 0.2199999988079071 [Pipeline] stash 10:12:17 Stashed 1 file(s) [Pipeline] } 10:12:17 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-307-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:17 $ docker stop --time=1 3c479a52bc512d4439b1947b97ca096abc45c8b6a8aa0de4c9da96562cd0a5d2 10:12:19 $ docker rm -f --volumes 3c479a52bc512d4439b1947b97ca096abc45c8b6a8aa0de4c9da96562cd0a5d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:17:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15674 in /w/workspace/gexfoundry_device-snmp-go_PR-307 [Pipeline] { [Pipeline] ws 10:17:58 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 10:17:58 Selected Git installation does not exist. Using Default 10:17:58 The recommended git tool is: NONE 10:18:12 using credential edgex-jenkins-ssh 10:18:12 Cloning the remote Git repository 10:18:12 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:18:13 > git init /w/workspace/device-snmp-go/2 # timeout=10 10:18:13 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:18:13 > git --version # timeout=10 10:18:13 > git --version # 'git version 2.25.1' 10:18:13 using GIT_SSH to set credentials SSH Credentials for GitHub 10:18:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:18:15 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:18:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:18:17 Merging remotes/origin/main commit 785293254a1924c41af634214641cbf6fd758ce7 into PR head commit efabdba63c833b83244745c87586e77fa90f3c97 10:18:16 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:18:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:18:17 using GIT_SSH to set credentials SSH Credentials for GitHub 10:18:17 > 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 10:18:17 > git config core.sparsecheckout # timeout=10 10:18:17 > git checkout -f efabdba63c833b83244745c87586e77fa90f3c97 # timeout=10 10:18:18 Merge succeeded, producing efabdba63c833b83244745c87586e77fa90f3c97 10:18:18 Checking out Revision efabdba63c833b83244745c87586e77fa90f3c97 (PR-307) 10:18:18 Commit message: "build(snap): Bump epoch for major v3 upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:18:19 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:19 Dload Upload Total Spent Left Speed 10:18:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k 10:18:17 > git remote # timeout=10 10:18:17 > git config --get remote.origin.url # timeout=10 10:18:17 using GIT_SSH to set credentials SSH Credentials for GitHub 10:18:17 > git merge 785293254a1924c41af634214641cbf6fd758ce7 # timeout=10 10:18:18 > git rev-parse HEAD^{commit} # timeout=10 10:18:18 > git config core.sparsecheckout # timeout=10 10:18:18 > git checkout -f efabdba63c833b83244745c87586e77fa90f3c97 # timeout=10 [Pipeline] sh 10:18:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:18:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:18:20 + sudo tee /etc/docker/daemon.new 10:18:20 { 10:18:20 "registry-mirrors": [ 10:18:20 "https://nexus3.edgexfoundry.org:10001" 10:18:20 ], 10:18:20 "bip": "10.250.0.254/24", 10:18:20 "hosts": [ 10:18:20 "tcp://0.0.0.0:5555", 10:18:20 "unix:///var/run/docker.sock" 10:18:20 ], 10:18:20 "mtu": 1458, 10:18:20 "selinux-enabled": true, 10:18:20 "seccomp-profile": "/etc/docker/seccomp.json" 10:18:20 } [Pipeline] sh 10:18:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:18:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:39 provisioning config files... 10:18:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config5874446419931829379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:40 ---> docker-login.sh 10:18:40 nexus3.edgexfoundry.org:10001 10:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:41 Configure a credential helper to remove this warning. See 10:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:41 10:18:41 Login Succeeded 10:18:41 nexus3.edgexfoundry.org:10002 10:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:42 Configure a credential helper to remove this warning. See 10:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:42 10:18:42 Login Succeeded 10:18:42 nexus3.edgexfoundry.org:10003 10:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:43 Configure a credential helper to remove this warning. See 10:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:43 10:18:43 Login Succeeded 10:18:43 nexus3.edgexfoundry.org:10004 10:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:43 Configure a credential helper to remove this warning. See 10:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:43 10:18:43 Login Succeeded 10:18:43 docker.io 10:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:44 Configure a credential helper to remove this warning. See 10:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:44 10:18:44 Login Succeeded 10:18:44 ---> docker-login.sh ends [Pipeline] } 10:18:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:18:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:45 ========================================================= 10:18:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:18:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:45 + 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 . 10:18:46 Sending build context to Docker daemon 3.033MB 10:18:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:18:46 Step 2/12 : FROM ${BASE} AS builder 10:18:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:18:46 c41833b44d91: Pulling fs layer 10:18:46 ed15518f5707: Pulling fs layer 10:18:46 feae8fd75edb: Pulling fs layer 10:18:46 242c74f7c9fa: Pulling fs layer 10:18:46 3cdef696dda3: Pulling fs layer 10:18:46 2ced38df9373: Pulling fs layer 10:18:46 58f1dce35555: Pulling fs layer 10:18:46 3cdef696dda3: Waiting 10:18:46 2ced38df9373: Waiting 10:18:46 58f1dce35555: Waiting 10:18:46 242c74f7c9fa: Waiting 10:18:46 ed15518f5707: Verifying Checksum 10:18:46 ed15518f5707: Download complete 10:18:46 242c74f7c9fa: Verifying Checksum 10:18:46 242c74f7c9fa: Download complete 10:18:46 c41833b44d91: Verifying Checksum 10:18:46 3cdef696dda3: Verifying Checksum 10:18:46 3cdef696dda3: Download complete 10:18:47 c41833b44d91: Pull complete 10:18:48 ed15518f5707: Pull complete 10:18:48 58f1dce35555: Verifying Checksum 10:18:48 58f1dce35555: Download complete 10:18:49 feae8fd75edb: Verifying Checksum 10:18:49 feae8fd75edb: Download complete 10:18:50 2ced38df9373: Verifying Checksum 10:18:50 2ced38df9373: Download complete 10:19:02 feae8fd75edb: Pull complete 10:19:02 242c74f7c9fa: Pull complete 10:19:02 3cdef696dda3: Pull complete 10:19:09 2ced38df9373: Pull complete 10:19:12 58f1dce35555: Pull complete 10:19:12 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 10:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:19:12 ---> fadd8f120f05 10:19:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:19:13 ---> Running in 54b4a8ba7d66 10:19:13 Removing intermediate container 54b4a8ba7d66 10:19:13 ---> 492fcd53f554 10:19:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:19:13 ---> Running in 2a3c47e9804e 10:19:14 Removing intermediate container 2a3c47e9804e 10:19:14 ---> cae21078d838 10:19:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:19:14 ---> Running in 025edb7c3fee 10:19:15 Removing intermediate container 025edb7c3fee 10:19:15 ---> cb63b0d69ead 10:19:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:19:15 ---> Running in 61b71a9cb4f8 10:19:15 Removing intermediate container 61b71a9cb4f8 10:19:15 ---> 57875ed1e9f3 10:19:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:19:15 ---> Running in f5f253ee18b2 10:19:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:19:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:19:19 (1/4) Installing openssh-keygen (9.1_p1-r3) 10:19:19 (2/4) Installing libedit (20221030.3.1-r0) 10:19:19 (3/4) Installing openssh-client-common (9.1_p1-r3) 10:19:19 (4/4) Installing openssh-client-default (9.1_p1-r3) 10:19:19 Executing busybox-1.35.0-r29.trigger 10:19:19 OK: 268 MiB in 57 packages 10:19:20 Removing intermediate container f5f253ee18b2 10:19:20 ---> 46fbdb5b4673 10:19:20 Step 8/12 : WORKDIR /device-snmp-go 10:19:20 ---> Running in 3d3dd54482d8 10:19:20 Removing intermediate container 3d3dd54482d8 10:19:20 ---> 6c9356f99515 10:19:20 Step 9/12 : COPY go.mod vendor* ./ 10:19:21 ---> d64e0c5cf838 10:19:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:21 ---> Running in 64552dac2440 10:20:29 Removing intermediate container 64552dac2440 10:20:29 ---> 5e31f597f73f 10:20:29 Step 11/12 : COPY . . 10:20:29 ---> b14f8e483cd6 10:20:29 Step 12/12 : RUN ${MAKE} 10:20:30 ---> Running in bd9188bf0b2d 10:20:31 noop 10:20:32 Removing intermediate container bd9188bf0b2d 10:20:32 ---> 8b9b8b046161 10:20:32 Successfully built 8b9b8b046161 10:20:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:32 + docker inspect -f . ci-base-image-arm64 10:20:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:32 prd-ubuntu20.04-docker-arm64-4c-16g-15674 does not seem to be running inside a container 10:20:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:20:34 $ docker top 370c19f063f05800dc0f842a915365a1324a0dfd8a54e1d78df685fdfa955be1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:35 + go version 10:20:35 go version go1.20.2 linux/arm64 [Pipeline] } 10:20:35 $ docker stop --time=1 370c19f063f05800dc0f842a915365a1324a0dfd8a54e1d78df685fdfa955be1 10:20:36 $ docker rm -f --volumes 370c19f063f05800dc0f842a915365a1324a0dfd8a54e1d78df685fdfa955be1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:37 + docker inspect -f . ci-base-image-arm64 10:20:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:37 prd-ubuntu20.04-docker-arm64-4c-16g-15674 does not seem to be running inside a container 10:20:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:20:39 $ docker top 22920d94aa43b38e7eb0b9a40f6c7ee460567cc40aaeea53c192636020ba10cf -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:40 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 10:20:40 + make test 10:20:40 go test ./... -coverprofile=coverage.out 10:21:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:23:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:23:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 10:23:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:23:34 go vet ./... 10:24:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:24:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:24:07 ./bin/test-attribution-txt.sh [Pipeline] echo 10:24:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:24:07 $ docker stop --time=1 22920d94aa43b38e7eb0b9a40f6c7ee460567cc40aaeea53c192636020ba10cf 10:24:08 $ docker rm -f --volumes 22920d94aa43b38e7eb0b9a40f6c7ee460567cc40aaeea53c192636020ba10cf [Pipeline] // withDockerContainer [Pipeline] sh 10:24:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:24:10 Warning: overwriting stash ‘coverage-report’ 10:24:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:24:11 + ls -al . 10:24:11 total 168 10:24:11 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:20 . 10:24:11 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:18 .. 10:24:11 -rw-rw-r-- 1 jenkins jenkins 6 May 16 10:18 .dockerignore 10:24:11 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:18 .git 10:24:11 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:18 .github 10:24:11 -rw-rw-r-- 1 jenkins jenkins 328 May 16 10:18 .gitignore 10:24:11 -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:18 .golangci.yml 10:24:11 -rw-rw-r-- 1 jenkins jenkins 9056 May 16 10:18 Attribution.txt 10:24:11 -rw-rw-r-- 1 jenkins jenkins 8355 May 16 10:18 CHANGELOG.md 10:24:11 -rw-rw-r-- 1 jenkins jenkins 1423 May 16 10:18 Dockerfile 10:24:11 -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:18 GOVERNANCE.md 10:24:11 -rw-rw-r-- 1 jenkins jenkins 656 May 16 10:18 Jenkinsfile 10:24:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:18 LICENSE 10:24:11 -rw-rw-r-- 1 jenkins jenkins 2114 May 16 10:18 Makefile 10:24:11 -rw-rw-r-- 1 jenkins jenkins 620 May 16 10:18 OWNERS.md 10:24:11 -rw-rw-r-- 1 jenkins jenkins 10054 May 16 10:18 README.md 10:24:11 -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:09 VERSION 10:24:11 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:18 bin 10:24:11 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:18 cmd 10:24:11 -rw-r--r-- 1 jenkins jenkins 8837 May 16 10:23 coverage.out 10:24:11 -rw-rw-r-- 1 jenkins jenkins 3283 May 16 10:18 go.mod 10:24:11 -rw-rw-r-- 1 jenkins jenkins 31326 May 16 10:18 go.sum 10:24:11 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:18 internal 10:24:11 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:18 snap 10:24:11 -rw-rw-r-- 1 jenkins jenkins 228 May 16 10:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:12 + 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=efabdba63c833b83244745c87586e77fa90f3c97 --label arch=arm64 --label version=0.0.0 . 10:24:12 Sending build context to Docker daemon 3.042MB 10:24:12 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:24:12 Step 2/24 : FROM ${BASE} AS builder 10:24:12 ---> 8b9b8b046161 10:24:12 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:24:12 ---> Running in 9953e8f7ee86 10:24:12 Removing intermediate container 9953e8f7ee86 10:24:12 ---> 6c9a96a3924f 10:24:12 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:24:12 ---> Running in acbfecf734df 10:24:13 Removing intermediate container acbfecf734df 10:24:13 ---> 8a9cfb380a67 10:24:13 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:24:13 ---> Running in 9c5f05f67879 10:24:13 Removing intermediate container 9c5f05f67879 10:24:13 ---> fca85f2cd00c 10:24:13 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:24:13 ---> Running in 9d26cab8c76a 10:24:14 Removing intermediate container 9d26cab8c76a 10:24:14 ---> 2920b1eab521 10:24:14 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:24:14 ---> Running in 9100c7e61e56 10:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:24:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:24:17 OK: 268 MiB in 57 packages 10:24:18 Removing intermediate container 9100c7e61e56 10:24:18 ---> 697498283d62 10:24:18 Step 8/24 : WORKDIR /device-snmp-go 10:24:18 ---> Running in 69e42fc34593 10:24:18 Removing intermediate container 69e42fc34593 10:24:18 ---> 2c27fc1f4229 10:24:18 Step 9/24 : COPY go.mod vendor* ./ 10:24:19 ---> d6033ad9d70e 10:24:19 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:24:19 ---> Running in ad670512e094 10:24:22 Removing intermediate container ad670512e094 10:24:22 ---> 21ba6030dad0 10:24:22 Step 11/24 : COPY . . 10:24:22 ---> 4979111f641b 10:24:22 Step 12/24 : RUN ${MAKE} 10:24:22 ---> Running in 56da94b77797 10:24:24 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:27:00 Removing intermediate container 56da94b77797 10:27:00 ---> 3cd87f883ecb 10:27:00 Step 13/24 : FROM alpine:3.17 10:27:01 3.17: Pulling from library/alpine 10:27:01 c41833b44d91: Already exists 10:27:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:27:01 Status: Downloaded newer image for alpine:3.17 10:27:01 ---> 51e60588ff2c 10:27:01 Step 14/24 : RUN apk add --update --no-cache dumb-init 10:27:01 ---> Running in 79f2a6805803 10:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:27:04 (1/1) Installing dumb-init (1.2.5-r2) 10:27:04 Executing busybox-1.35.0-r29.trigger 10:27:04 OK: 8 MiB in 16 packages 10:27:08 Removing intermediate container 79f2a6805803 10:27:08 ---> 88acc5a52a0f 10:27:08 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 10:27:09 ---> 645dc58312f0 10:27:09 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:27:09 ---> 6859a73f1f53 10:27:09 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 10:27:10 ---> 9472e29c96f3 10:27:10 Step 18/24 : EXPOSE 59993 10:27:10 ---> Running in 0d3bea352728 10:27:10 Removing intermediate container 0d3bea352728 10:27:10 ---> 1415d4f83add 10:27:10 Step 19/24 : EXPOSE 161 10:27:11 ---> Running in 16f9b4afe474 10:27:11 Removing intermediate container 16f9b4afe474 10:27:11 ---> ef84a6f057af 10:27:11 Step 20/24 : ENTRYPOINT ["/device-snmp"] 10:27:11 ---> Running in 8a0c3a675ec6 10:27:11 Removing intermediate container 8a0c3a675ec6 10:27:11 ---> 7e10f7fc9fc3 10:27:11 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:27:11 ---> Running in a191dd0c57d9 10:27:12 Removing intermediate container a191dd0c57d9 10:27:12 ---> 2b75e07a2303 10:27:12 Step 22/24 : LABEL arch=arm64 10:27:12 ---> Running in ec06c00c2eac 10:27:12 Removing intermediate container ec06c00c2eac 10:27:12 ---> abc165a31ea3 10:27:12 Step 23/24 : LABEL git_sha=efabdba63c833b83244745c87586e77fa90f3c97 10:27:12 ---> Running in 8fe23e8cf212 10:27:12 Removing intermediate container 8fe23e8cf212 10:27:12 ---> 29d936abd3e1 10:27:12 Step 24/24 : LABEL version=0.0.0 10:27:12 ---> Running in e867799a3794 10:27:13 Removing intermediate container e867799a3794 10:27:13 ---> 3d27a26073bf 10:27:13 [Warning] One or more build-args [ARCH] were not consumed 10:27:13 Successfully built 3d27a26073bf 10:27:13 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:27:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:27:14 10:27:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:27:14 arm64: Pulling from edgex-lftools-log-publisher 10:27:14 8998bd30e6a1: Pulling fs layer 10:27:14 04944245beec: Pulling fs layer 10:27:14 699f458cf7ca: Pulling fs layer 10:27:14 765212b225bb: Pulling fs layer 10:27:14 f23df028b6ca: Pulling fs layer 10:27:14 d65c8cfc05b1: Pulling fs layer 10:27:14 2437ff75d9bd: Pulling fs layer 10:27:14 f23df028b6ca: Waiting 10:27:14 d65c8cfc05b1: Waiting 10:27:14 2437ff75d9bd: Waiting 10:27:14 765212b225bb: Waiting 10:27:14 04944245beec: Verifying Checksum 10:27:14 04944245beec: Download complete 10:27:14 765212b225bb: Verifying Checksum 10:27:14 765212b225bb: Download complete 10:27:14 f23df028b6ca: Verifying Checksum 10:27:14 f23df028b6ca: Download complete 10:27:14 d65c8cfc05b1: Verifying Checksum 10:27:14 d65c8cfc05b1: Download complete 10:27:14 699f458cf7ca: Verifying Checksum 10:27:14 699f458cf7ca: Download complete 10:27:15 8998bd30e6a1: Download complete 10:27:18 2437ff75d9bd: Download complete 10:27:20 8998bd30e6a1: Pull complete 10:27:21 04944245beec: Pull complete 10:27:22 699f458cf7ca: Pull complete 10:27:22 765212b225bb: Pull complete 10:27:23 f23df028b6ca: Pull complete 10:27:23 d65c8cfc05b1: Pull complete 10:27:38 2437ff75d9bd: Pull complete 10:27:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:27:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:27:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:39 prd-ubuntu20.04-docker-arm64-4c-16g-15674 does not seem to be running inside a container 10:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:27:42 $ docker top 67bfa59c3132c3fc671c32e72b6bb2a2cb19aa819ba46c7d23f838981356f0c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:43 ---> job-cost.sh 10:27:43 lf-activate-venv: SKIPPING 10:27:43 INFO: No Stack... 10:27:43 INFO: Retrieving Pricing Info for: v3-standard-4 10:27:44 INFO: Archiving Costs [Pipeline] sh 10:27:44 + cut -d,+ -f6 10:27:44 cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock 10:27:45 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-307-2-stack-cost] 10:27:45 Resource [jenkins-edgexfoundry-device-snmp-go-PR-307-2-stack-cost] did not exist. Created. 10:27:45 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-307-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:27:45 /w/workspace/device-snmp-go/2@tmp/durable-12fe5087/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:27:46 + echo total: 0.10999999940395355 [Pipeline] stash 10:27:46 Warning: overwriting stash ‘stack-cost’ 10:27:46 Stashed 1 file(s) [Pipeline] } 10:27:46 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-307-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:27:46 $ docker stop --time=1 67bfa59c3132c3fc671c32e72b6bb2a2cb19aa819ba46c7d23f838981356f0c6 10:27:48 $ docker rm -f --volumes 67bfa59c3132c3fc671c32e72b6bb2a2cb19aa819ba46c7d23f838981356f0c6 [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:27:48 provisioning config files... 10:27:48 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/config8388646193524656407tmp [Pipeline] { [Pipeline] sh 10:27:48 + set +x 10:27:48 + curl -s https://codecov.io/bash 10:27:48 + bash -s -- 10:27:48 10:27:48 _____ _ 10:27:48 / ____| | | 10:27:48 | | ___ __| | ___ ___ _____ __ 10:27:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:27:48 | |___| (_) | (_| | __/ (_| (_) \ V / 10:27:48 \_____\___/ \__,_|\___|\___\___/ \_/ 10:27:48 Bash-1.0.6 10:27:48 10:27:48 10:27:48 ==> git version 2.25.1 found 10:27:48 ==> 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:27:48 Release-Date: 2020-01-08 10:27:48 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:27:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:27:48 ==> Jenkins CI detected. 10:27:48 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-307 10:27:48 project root: . 10:27:48 --> token set from env 10:27:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:27:48 ==> Running gcov in . (disable via -X gcov) 10:27:48 ==> Python coveragepy not found 10:27:48 ==> Searching for coverage reports in: 10:27:48 + . 10:27:48 -> Found 1 reports 10:27:48 ==> Detecting git/mercurial file structure 10:27:48 ==> Reading reports 10:27:48 + ./coverage.out bytes=8837 10:27:49 ==> Appending adjustments 10:27:49 https://docs.codecov.io/docs/fixing-reports 10:27:49 + Found adjustments 10:27:49 ==> Gzipping contents 10:27:49 4.0K /tmp/codecov.DO3PbL.gz 10:27:49 ==> Uploading reports 10:27:49 url: https://codecov.io 10:27:49 query: branch=PR-307&commit=efabdba63c833b83244745c87586e77fa90f3c97&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-307%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=307&job=&cmd_args= 10:27:49 -> Pinging Codecov 10:27:49 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=efabdba63c833b83244745c87586e77fa90f3c97&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-307%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=307&job=&cmd_args= 10:27:49 -> Uploading to 10:27:49 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/6C56EA5C29638FB4528AC87E60AF5AE0/efabdba63c833b83244745c87586e77fa90f3c97/29440bf5-e5b3-4de6-8f9a-05993b2f502c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T102749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df49170aadb0ef691f819f0d8e60b2a6ab8ffd079467f147c996cae740f21066 10:27:49 % Total % Received % Xferd Average Speed Time Time Time Current 10:27:49 Dload Upload Total Spent Left Speed 10:27:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 6416 --:--:-- --:--:-- --:--:-- 6416 10:27:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/efabdba63c833b83244745c87586e77fa90f3c97 [Pipeline] } 10:27:49 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:27:50 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-307/archives ] 10:27:50 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-307/archives 10:27:50 total 16 10:27:50 drwxr-xr-x 3 root root 4096 May 16 10:12 . 10:27:50 drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:12 .. 10:27:50 drwxr-xr-x 2 root root 4096 May 16 10:12 cost 10:27:50 -rw-r--r-- 1 root root 86 May 16 10:12 cost.csv 10:27:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-307/archives 10:27:50 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-307/archives 10:27:50 total 16 10:27:50 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:12 . 10:27:50 drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:12 .. 10:27:50 drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:12 cost 10:27:50 -rw-r--r-- 1 jenkins jenkins 86 May 16 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:27:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:27:51 ---> package-listing.sh 10:27:51 ++ facter osfamily 10:27:51 ++ tr '[:upper:]' '[:lower:]' 10:27:51 + OS_FAMILY=debian 10:27:51 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-307 10:27:51 + START_PACKAGES=/tmp/packages_start.txt 10:27:51 + END_PACKAGES=/tmp/packages_end.txt 10:27:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:27:51 + PACKAGES=/tmp/packages_start.txt 10:27:51 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-307 ']' 10:27:51 + PACKAGES=/tmp/packages_end.txt 10:27:51 + case "${OS_FAMILY}" in 10:27:51 + dpkg -l 10:27:51 + grep '^ii' 10:27:51 + '[' -f /tmp/packages_start.txt ']' 10:27:51 + '[' -f /tmp/packages_end.txt ']' 10:27:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:27:51 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-307 ']' 10:27:51 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-307/archives/ 10:27:51 + 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:27:51 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:27:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:27:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:52 prd-ubuntu20.04-docker-8c-8g-15558 does not seem to be running inside a container 10:27:52 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:27:52 $ docker top 4336be4adfb9bc3a496248acaa1ea386a0904aa5378ec7db5b3efeea315cfa6b -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:52 + touch /tmp/pre-build-complete [Pipeline] sh 10:27:53 + mkdir -p /var/log/sysstat [Pipeline] sh 10:27:53 + ls /var/log/sa-host 10:27:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:53 provisioning config files... 10:27:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-307@tmp/config18185037876298203486tmp [Pipeline] { [Pipeline] echo 10:27:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:27:53 ---> create-netrc.sh [Pipeline] } 10:27:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:27:54 ---> python-tools-install.sh [Pipeline] echo 10:27:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:27:54 ---> sudo-logs.sh 10:27:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:27:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:27:54 ---> job-cost.sh 10:27:54 lf-activate-venv: SKIPPING 10:27:54 DEBUG: total: 0.2199999988079071 10:27:54 INFO: Retrieving Stack Cost... 10:27:55 INFO: Retrieving Pricing Info for: v3-standard-8 10:27:55 INFO: Archiving Costs [Pipeline] echo 10:27:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:27:56 ---> logs-deploy.sh 10:27:56 lf-activate-venv: SKIPPING 10:27:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-307/2 10:27:56 INFO: archiving workspace using pattern(s): 10:27:56 Archives upload complete. 10:27:56 INFO: archiving logs to Nexus