Pull request #208 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35ee5948fe4b6c28072ef119de7d377b6adaffe0+ac8d37b91ffebeab2a267fed6cce847388f5686c (e0165714e5f0778e58572accf768442a1a050c7a) 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-ssh14724824752548051356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7827842004333490765.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-208/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-208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7889110796036134231.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16995330495767955995.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-208/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-208/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11656045914643564744.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1686 in /w/workspace/gexfoundry_device-snmp-go_PR-208 [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-208 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ac8d37b91ffebeab2a267fed6cce847388f5686c into PR head commit 35ee5948fe4b6c28072ef119de7d377b6adaffe0 > 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/208/head:refs/remotes/origin/PR-208 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35ee5948fe4b6c28072ef119de7d377b6adaffe0 # 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 ac8d37b91ffebeab2a267fed6cce847388f5686c # timeout=10 Merge succeeded, producing 35ee5948fe4b6c28072ef119de7d377b6adaffe0 Checking out Revision 35ee5948fe4b6c28072ef119de7d377b6adaffe0 (PR-208) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:10:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:10:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:10:34 ========================================================= 21:10:34 EdgeX Global Pipelines Version Info 21:10:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35ee5948fe4b6c28072ef119de7d377b6adaffe0 # timeout=10 > git rev-list --no-walk b3c76256398470546f376264ccc0fec016aee6df # timeout=10 21:10:35 ------------------- 21:10:35 stable info: 21:10:35 ------------------- 21:10:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:10:35 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:10:35 Message: update stable to v1.0.244 21:10:35 ------------------- 21:10:35 experimental info: 21:10:35 ------------------- 21:10:35 Commited By: **** collab-it+edgex@linuxfoundation.org 21:10:35 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:10:35 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35ee5948fe4b6c28072ef119de7d377b6adaffe0 [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35ee594 [Pipeline] echo 21:10:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:36 provisioning config files... 21:10:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/config16566108552623017816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:36 ---> docker-login.sh 21:10:36 nexus3.edgexfoundry.org:10001 21:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:37 Configure a credential helper to remove this warning. See 21:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:37 21:10:37 Login Succeeded 21:10:37 nexus3.edgexfoundry.org:10002 21:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:37 Configure a credential helper to remove this warning. See 21:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:37 21:10:37 Login Succeeded 21:10:37 nexus3.edgexfoundry.org:10003 21:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:37 Configure a credential helper to remove this warning. See 21:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:37 21:10:37 Login Succeeded 21:10:37 nexus3.edgexfoundry.org:10004 21:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:37 Configure a credential helper to remove this warning. See 21:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:37 21:10:37 Login Succeeded 21:10:37 docker.io 21:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:37 Configure a credential helper to remove this warning. See 21:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:37 21:10:37 Login Succeeded 21:10:37 ---> docker-login.sh ends [Pipeline] } 21:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:10:38 + git rev-list -1 --merges 35ee5948fe4b6c28072ef119de7d377b6adaffe0~1..35ee5948fe4b6c28072ef119de7d377b6adaffe0 [Pipeline] echo 21:10:38 -----------> git rev-list -1 --merges 35ee5948fe4b6c28072ef119de7d377b6adaffe0~1..35ee5948fe4b6c28072ef119de7d377b6adaffe0 35ee5948fe4b6c28072ef119de7d377b6adaffe0 [false] [Pipeline] sh 21:10:38 + git log --format=format:%s -1 35ee5948fe4b6c28072ef119de7d377b6adaffe0 [Pipeline] echo 21:10:38 ========================================================= 21:10:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:10:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:38 + git log --format=format:%s -1 35ee5948fe4b6c28072ef119de7d377b6adaffe0 [Pipeline] echo 21:10:38 [semverPrep] GIT_COMMIT: 35ee5948fe4b6c28072ef119de7d377b6adaffe0, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:10:38 [semverPrep] This is not a build commit. [Pipeline] sh 21:10:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:39 + grep -v github /etc/ssh/ssh_known_hosts 21:10:39 + [ -e /tmp/ssh_known_hosts ] 21:10:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:10:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:10:39 + sudo tee -a /etc/ssh/ssh_known_hosts 21:10:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:39 21:10:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:39 0.1.4: Pulling from edgex-devops/py-git-semver 21:10:39 b85a868b505f: Pulling fs layer 21:10:39 e2be974225ed: Pulling fs layer 21:10:39 339a4e72a1f5: Pulling fs layer 21:10:39 988bab9f4d93: Pulling fs layer 21:10:39 1469e6f7b9e6: Pulling fs layer 21:10:39 eaf3925da568: Pulling fs layer 21:10:39 bab4dde63d76: Pulling fs layer 21:10:39 bde34c3a00c8: Pulling fs layer 21:10:39 b352a97aabf1: Pulling fs layer 21:10:39 4872d77fe225: Pulling fs layer 21:10:39 5851b861e8e6: Pulling fs layer 21:10:39 988bab9f4d93: Waiting 21:10:39 1469e6f7b9e6: Waiting 21:10:39 eaf3925da568: Waiting 21:10:39 bab4dde63d76: Waiting 21:10:39 bde34c3a00c8: Waiting 21:10:39 4872d77fe225: Waiting 21:10:39 5851b861e8e6: Waiting 21:10:39 b352a97aabf1: Waiting 21:10:39 e2be974225ed: Verifying Checksum 21:10:39 e2be974225ed: Download complete 21:10:39 988bab9f4d93: Verifying Checksum 21:10:39 988bab9f4d93: Download complete 21:10:40 1469e6f7b9e6: Verifying Checksum 21:10:40 1469e6f7b9e6: Download complete 21:10:40 eaf3925da568: Download complete 21:10:40 339a4e72a1f5: Verifying Checksum 21:10:40 339a4e72a1f5: Download complete 21:10:40 bde34c3a00c8: Verifying Checksum 21:10:40 bde34c3a00c8: Download complete 21:10:40 b352a97aabf1: Verifying Checksum 21:10:40 b352a97aabf1: Download complete 21:10:40 4872d77fe225: Verifying Checksum 21:10:40 4872d77fe225: Download complete 21:10:40 5851b861e8e6: Verifying Checksum 21:10:40 5851b861e8e6: Download complete 21:10:40 b85a868b505f: Verifying Checksum 21:10:40 b85a868b505f: Download complete 21:10:40 bab4dde63d76: Download complete 21:10:41 b85a868b505f: Pull complete 21:10:41 e2be974225ed: Pull complete 21:10:42 339a4e72a1f5: Pull complete 21:10:42 988bab9f4d93: Pull complete 21:10:42 1469e6f7b9e6: Pull complete 21:10:42 eaf3925da568: Pull complete 21:10:44 bab4dde63d76: Pull complete 21:10:44 bde34c3a00c8: Pull complete 21:10:44 b352a97aabf1: Pull complete 21:10:44 4872d77fe225: Pull complete 21:10:44 5851b861e8e6: Pull complete 21:10:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:44 prd-ubuntu20.04-docker-8c-8g-1686 does not seem to be running inside a container 21:10:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:10:47 $ docker top 5facf6b15203cdc10f8340abac38883d9c2d7eaa4f6075a62ff4055b56767a2c -eo pid,comm 21:10:47 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). 21:10:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:47 [ssh-agent] Looking for ssh-agent implementation... 21:10:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:47 $ docker exec 5facf6b15203cdc10f8340abac38883d9c2d7eaa4f6075a62ff4055b56767a2c ssh-agent 21:10:47 SSH_AUTH_SOCK=/tmp/ssh-zD8JABnGlQJ9/agent.31 21:10:47 SSH_AGENT_PID=37 21:10:47 Running ssh-add (command line suppressed) 21:10:47 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/private_key_2554225363171470287.key (/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/private_key_2554225363171470287.key) 21:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:47 + git tag --points-at HEAD [Pipeline] } 21:10:47 $ docker exec --env ******** --env ******** 5facf6b15203cdc10f8340abac38883d9c2d7eaa4f6075a62ff4055b56767a2c ssh-agent -k 21:10:47 unset SSH_AUTH_SOCK; 21:10:47 unset SSH_AGENT_PID; 21:10:47 echo Agent pid 37 killed; 21:10:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:10:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:48 [ssh-agent] Looking for ssh-agent implementation... 21:10:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:48 $ docker exec 5facf6b15203cdc10f8340abac38883d9c2d7eaa4f6075a62ff4055b56767a2c ssh-agent 21:10:48 SSH_AUTH_SOCK=/tmp/ssh-VMPJ3kjoL31P/agent.69 21:10:48 SSH_AGENT_PID=75 21:10:48 Running ssh-add (command line suppressed) 21:10:48 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/private_key_8052784053954293764.key (/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/private_key_8052784053954293764.key) 21:10:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:48 + git semver init 21:10:48 2023-01-10 21:10:48,831 [run_init] DEBUG init version:0.0.0 force:False 21:10:48 2023-01-10 21:10:48,832 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver 21:10:48 2023-01-10 21:10:48,832 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-208/.semver 21:10:48 2023-01-10 21:10:48,832 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-208, universal_newlines=False, shell=None, istream=None) 21:10:49 2023-01-10 21:10:49,734 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-208/.git/info/exclude 21:10:49 2023-01-10 21:10:49,734 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver/PR-208 with force:False 21:10:49 2023-01-10 21:10:49,734 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver/PR-208 21:10:49 2023-01-10 21:10:49,738 [execute] INFO git cat-file --batch-check 21:10:49 2023-01-10 21:10:49,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver, universal_newlines=False, shell=None, istream=) 21:10:49 2023-01-10 21:10:49,745 [execute] INFO git cat-file --batch 21:10:49 2023-01-10 21:10:49,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-208/.semver, universal_newlines=False, shell=None, istream=) 21:10:49 2023-01-10 21:10:49,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-208/.semver/PR-208 21:10:49 0.0.0 [Pipeline] } 21:10:49 $ docker exec --env ******** --env ******** 5facf6b15203cdc10f8340abac38883d9c2d7eaa4f6075a62ff4055b56767a2c ssh-agent -k 21:10:49 unset SSH_AUTH_SOCK; 21:10:49 unset SSH_AGENT_PID; 21:10:49 echo Agent pid 75 killed; 21:10:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:50 + git semver [Pipeline] } 21:10:50 $ docker stop --time=1 5facf6b15203cdc10f8340abac38883d9c2d7eaa4f6075a62ff4055b56767a2c 21:10:51 $ docker rm -f --volumes 5facf6b15203cdc10f8340abac38883d9c2d7eaa4f6075a62ff4055b56767a2c [Pipeline] // withDockerContainer [Pipeline] sh 21:10:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:10:52 Stashed 1 file(s) [Pipeline] echo 21:10:52 [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 21:10:52 provisioning config files... 21:10:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/config4195823332488582271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:52 ---> docker-login.sh 21:10:52 nexus3.edgexfoundry.org:10001 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 nexus3.edgexfoundry.org:10002 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 nexus3.edgexfoundry.org:10003 21:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:53 Configure a credential helper to remove this warning. See 21:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:53 21:10:53 Login Succeeded 21:10:53 nexus3.edgexfoundry.org:10004 21:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:53 Configure a credential helper to remove this warning. See 21:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:53 21:10:53 Login Succeeded 21:10:53 docker.io 21:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:53 Configure a credential helper to remove this warning. See 21:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:53 21:10:53 Login Succeeded 21:10:53 ---> docker-login.sh ends [Pipeline] } 21:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:53 ========================================================= 21:10:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:10:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:10:53 Sending build context to Docker daemon 5.648MB 21:10:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:10:53 Step 2/12 : FROM ${BASE} AS builder 21:10:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:10:53 213ec9aee27d: Pulling fs layer 21:10:53 4583459ba037: Pulling fs layer 21:10:53 93c1e223e6f2: Pulling fs layer 21:10:53 53926ce57604: Pulling fs layer 21:10:53 21b2b0c7a3f4: Pulling fs layer 21:10:53 22ff95d597cd: Pulling fs layer 21:10:53 12d6caf4c0d1: Pulling fs layer 21:10:53 96b7cbca73a9: Pulling fs layer 21:10:53 a7acece74701: Pulling fs layer 21:10:53 53926ce57604: Waiting 21:10:53 22ff95d597cd: Waiting 21:10:53 12d6caf4c0d1: Waiting 21:10:53 21b2b0c7a3f4: Waiting 21:10:53 96b7cbca73a9: Waiting 21:10:53 a7acece74701: Waiting 21:10:53 93c1e223e6f2: Download complete 21:10:53 4583459ba037: Verifying Checksum 21:10:53 4583459ba037: Download complete 21:10:53 21b2b0c7a3f4: Verifying Checksum 21:10:53 21b2b0c7a3f4: Download complete 21:10:53 22ff95d597cd: Verifying Checksum 21:10:53 22ff95d597cd: Download complete 21:10:54 213ec9aee27d: Download complete 21:10:54 12d6caf4c0d1: Verifying Checksum 21:10:54 12d6caf4c0d1: Download complete 21:10:54 213ec9aee27d: Pull complete 21:10:54 4583459ba037: Pull complete 21:10:54 93c1e223e6f2: Pull complete 21:10:54 a7acece74701: Verifying Checksum 21:10:54 a7acece74701: Download complete 21:10:54 53926ce57604: Verifying Checksum 21:10:54 53926ce57604: Download complete 21:10:54 96b7cbca73a9: Verifying Checksum 21:10:54 96b7cbca73a9: Download complete 21:10:58 53926ce57604: Pull complete 21:10:58 21b2b0c7a3f4: Pull complete 21:10:58 22ff95d597cd: Pull complete 21:10:58 12d6caf4c0d1: Pull complete 21:11:00 96b7cbca73a9: Pull complete 21:11:00 a7acece74701: Pull complete 21:11:01 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:11:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:11:01 ---> db6d94c90886 21:11:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:11:05 ---> Running in dc0d633031ee 21:11:05 Removing intermediate container dc0d633031ee 21:11:05 ---> 45d28cb04652 21:11:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:05 ---> Running in 365ae555ed74 21:11:05 Removing intermediate container 365ae555ed74 21:11:05 ---> d81a778f8e8c 21:11:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:11:05 ---> Running in 09c99d76583a 21:11:05 Removing intermediate container 09c99d76583a 21:11:05 ---> 16a666e35b76 21:11:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:11:05 ---> Running in 1619e01fddde 21:11:05 Removing intermediate container 1619e01fddde 21:11:05 ---> 397fe81b645c 21:11:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:05 ---> Running in c47bdf59944f 21:11:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:11:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:11:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:11:06 (2/4) Installing libedit (20210910.3.1-r0) 21:11:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:11:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:11:06 Executing busybox-1.35.0-r17.trigger 21:11:06 OK: 216 MiB in 55 packages 21:11:07 Removing intermediate container c47bdf59944f 21:11:07 ---> 3d0d7c1a090f 21:11:07 Step 8/12 : WORKDIR /device-snmp-go 21:11:07 ---> Running in 0337fb0d5ec3 21:11:07 Removing intermediate container 0337fb0d5ec3 21:11:07 ---> 634b29e13004 21:11:07 Step 9/12 : COPY go.mod vendor* ./ 21:11:07 ---> 573701b263f0 21:11:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:07 ---> Running in ab6b18717d45 21:11:07 Still waiting to schedule task 21:11:07 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:11:33 Removing intermediate container ab6b18717d45 21:11:33 ---> bd58512845b9 21:11:33 Step 11/12 : COPY . . 21:11:34 ---> 9d3ed07afa7c 21:11:34 Step 12/12 : RUN ${MAKE} 21:11:34 ---> Running in f82f48623b79 21:11:34 noop 21:11:34 Removing intermediate container f82f48623b79 21:11:34 ---> fe0eaee727c9 21:11:34 Successfully built fe0eaee727c9 21:11:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:34 + docker inspect -f . ci-base-image-x86_64 21:11:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:34 prd-ubuntu20.04-docker-8c-8g-1686 does not seem to be running inside a container 21:11:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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-x86_64 cat 21:11:35 $ docker top 689f56e96b6781193e4422f1a5cebb56c25e720713e2c32dcdb7ab093399c8d7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:35 + go version 21:11:35 go version go1.18.7 linux/amd64 [Pipeline] } 21:11:35 $ docker stop --time=1 689f56e96b6781193e4422f1a5cebb56c25e720713e2c32dcdb7ab093399c8d7 21:11:36 $ docker rm -f --volumes 689f56e96b6781193e4422f1a5cebb56c25e720713e2c32dcdb7ab093399c8d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:37 + docker inspect -f . ci-base-image-x86_64 21:11:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:37 prd-ubuntu20.04-docker-8c-8g-1686 does not seem to be running inside a container 21:11:37 $ 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-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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-x86_64 cat 21:11:37 $ docker top 8a4563f8ad6048802e1ad441f023e7f153f57ab63076bd5ed64e731a787833e3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:38 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-208 [Pipeline] fileExists [Pipeline] sh 21:11:38 + make test 21:11:38 go test ./... -coverprofile=coverage.out 21:11:38 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:11:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:11:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 21:11:55 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:11:55 go vet ./... 21:11:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:57 ./bin/test-attribution-txt.sh [Pipeline] echo 21:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:11:57 $ docker stop --time=1 8a4563f8ad6048802e1ad441f023e7f153f57ab63076bd5ed64e731a787833e3 21:12:00 $ docker rm -f --volumes 8a4563f8ad6048802e1ad441f023e7f153f57ab63076bd5ed64e731a787833e3 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:12:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:12:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:01 + ls -al . 21:12:01 total 180 21:12:01 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:11 . 21:12:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:10 .. 21:12:01 -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 21:10 .dockerignore 21:12:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:11 .git 21:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 .github 21:12:01 -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 21:10 .gitignore 21:12:01 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:10 .golangci.yml 21:12:01 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:10 .semver 21:12:01 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 10 21:10 Attribution.txt 21:12:01 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 21:10 CHANGELOG.md 21:12:01 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 10 21:10 Dockerfile 21:12:01 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:10 GOVERNANCE.md 21:12:01 -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 21:10 Jenkinsfile 21:12:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:10 LICENSE 21:12:01 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 10 21:10 Makefile 21:12:01 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 21:10 OWNERS.md 21:12:01 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 21:10 README.md 21:12:01 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:10 VERSION 21:12:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:10 bin 21:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 cmd 21:12:01 -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 21:11 coverage.out 21:12:01 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 21:10 go.mod 21:12:01 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 21:10 go.sum 21:12:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 internal 21:12:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:10 snap 21:12:01 -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:01 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=35ee5948fe4b6c28072ef119de7d377b6adaffe0 --label arch=amd64 --label version=0.0.0 . 21:12:01 Sending build context to Docker daemon 5.657MB 21:12:01 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:12:01 Step 2/24 : FROM ${BASE} AS builder 21:12:01 ---> fe0eaee727c9 21:12:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:12:01 ---> Running in e178e76b389f 21:12:01 Removing intermediate container e178e76b389f 21:12:01 ---> 5053d110d3f0 21:12:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:01 ---> Running in 9be5fafbb49b 21:12:01 Removing intermediate container 9be5fafbb49b 21:12:01 ---> 4ce10432a1f2 21:12:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:12:01 ---> Running in 72a7d504ede9 21:12:01 Removing intermediate container 72a7d504ede9 21:12:01 ---> 852eed2c7159 21:12:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:12:01 ---> Running in 3b90df128f7c 21:12:02 Removing intermediate container 3b90df128f7c 21:12:02 ---> 19961647f2e6 21:12:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:02 ---> Running in ee22d993a19b 21:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:12:02 OK: 216 MiB in 55 packages 21:12:03 Removing intermediate container ee22d993a19b 21:12:03 ---> 309e23d4795c 21:12:03 Step 8/24 : WORKDIR /device-snmp-go 21:12:03 ---> Running in 9d6fc2b66e23 21:12:03 Removing intermediate container 9d6fc2b66e23 21:12:03 ---> bf3ee5b5f77d 21:12:03 Step 9/24 : COPY go.mod vendor* ./ 21:12:03 ---> 18efd179a108 21:12:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:03 ---> Running in 913559a785b0 21:12:03 Removing intermediate container 913559a785b0 21:12:03 ---> 3cad76a45172 21:12:03 Step 11/24 : COPY . . 21:12:04 ---> 927f485ca86c 21:12:04 Step 12/24 : RUN ${MAKE} 21:12:04 ---> Running in e05cbaa9fa6c 21:12:04 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 21:12:26 Removing intermediate container e05cbaa9fa6c 21:12:26 ---> 0eb2bf76c359 21:12:26 Step 13/24 : FROM alpine:3.16 21:12:26 3.16: Pulling from library/alpine 21:12:26 ca7dd9ec2225: Pulling fs layer 21:12:26 ca7dd9ec2225: Verifying Checksum 21:12:26 ca7dd9ec2225: Download complete 21:12:26 ca7dd9ec2225: Pull complete 21:12:26 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:12:26 Status: Downloaded newer image for alpine:3.16 21:12:26 ---> bfe296a52501 21:12:26 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:12:26 ---> Running in 5f5f5f3620fb 21:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:12:26 (1/1) Installing dumb-init (1.2.5-r1) 21:12:26 Executing busybox-1.35.0-r17.trigger 21:12:26 OK: 6 MiB in 15 packages 21:12:26 Removing intermediate container 5f5f5f3620fb 21:12:26 ---> 98679eccadfa 21:12:26 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:12:26 ---> 7f1534f223dd 21:12:26 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:12:26 ---> 99bb8cbafaa7 21:12:26 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:12:26 ---> 9523307ff452 21:12:26 Step 18/24 : EXPOSE 59993 21:12:26 ---> Running in 27ce985655e3 21:12:26 Removing intermediate container 27ce985655e3 21:12:26 ---> 5c34b2041234 21:12:26 Step 19/24 : EXPOSE 161 21:12:26 ---> Running in 6ee0aaad4c36 21:12:26 Removing intermediate container 6ee0aaad4c36 21:12:26 ---> 0b50c6859515 21:12:26 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:12:26 ---> Running in 20703df0e1da 21:12:26 Removing intermediate container 20703df0e1da 21:12:26 ---> 8354528ea5a8 21:12:26 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:12:26 ---> Running in 6277e99b80cb 21:12:26 Removing intermediate container 6277e99b80cb 21:12:26 ---> 47ca200bfd5e 21:12:26 Step 22/24 : LABEL arch=amd64 21:12:26 ---> Running in aefa4a59e4a3 21:12:26 Removing intermediate container aefa4a59e4a3 21:12:26 ---> c020f81e8e9e 21:12:26 Step 23/24 : LABEL git_sha=35ee5948fe4b6c28072ef119de7d377b6adaffe0 21:12:26 ---> Running in 6dc1407cff31 21:12:26 Removing intermediate container 6dc1407cff31 21:12:26 ---> b15c5c9357f3 21:12:26 Step 24/24 : LABEL version=0.0.0 21:12:26 ---> Running in 9dea8740670b 21:12:26 Removing intermediate container 9dea8740670b 21:12:26 ---> e339e4424998 21:12:26 [Warning] One or more build-args [ARCH] were not consumed 21:12:26 Successfully built e339e4424998 21:12:26 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:27 21:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:27 latest: Pulling from edgex-lftools-log-publisher 21:12:27 5eb5b503b376: Pulling fs layer 21:12:27 5c69ac0246d0: Pulling fs layer 21:12:27 ec43610c2a17: Pulling fs layer 21:12:27 3a2ae6a8a46f: Pulling fs layer 21:12:27 33b1e0a273af: Pulling fs layer 21:12:27 5d3b04190fa2: Pulling fs layer 21:12:27 2f39f015ded8: Pulling fs layer 21:12:27 5d3b04190fa2: Waiting 21:12:27 3a2ae6a8a46f: Waiting 21:12:27 2f39f015ded8: Waiting 21:12:27 33b1e0a273af: Waiting 21:12:27 5c69ac0246d0: Verifying Checksum 21:12:27 5c69ac0246d0: Download complete 21:12:27 3a2ae6a8a46f: Verifying Checksum 21:12:27 3a2ae6a8a46f: Download complete 21:12:27 33b1e0a273af: Verifying Checksum 21:12:27 33b1e0a273af: Download complete 21:12:27 5d3b04190fa2: Verifying Checksum 21:12:27 5d3b04190fa2: Download complete 21:12:27 ec43610c2a17: Verifying Checksum 21:12:27 ec43610c2a17: Download complete 21:12:27 5eb5b503b376: Verifying Checksum 21:12:27 5eb5b503b376: Download complete 21:12:28 2f39f015ded8: Verifying Checksum 21:12:28 2f39f015ded8: Download complete 21:12:29 5eb5b503b376: Pull complete 21:12:29 5c69ac0246d0: Pull complete 21:12:29 ec43610c2a17: Pull complete 21:12:29 3a2ae6a8a46f: Pull complete 21:12:29 33b1e0a273af: Pull complete 21:12:29 5d3b04190fa2: Pull complete 21:12:34 2f39f015ded8: Pull complete 21:12:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:12:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:34 prd-ubuntu20.04-docker-8c-8g-1686 does not seem to be running inside a container 21:12:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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:latest cat 21:12:37 $ docker top c0ec95e5d697cb99bc36c92a799064d24c7eb9555f85ed6cc2481df556196ea8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:37 ---> job-cost.sh 21:12:37 lf-activate-venv: SKIPPING 21:12:37 INFO: No Stack... 21:12:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:38 INFO: Archiving Costs [Pipeline] sh 21:12:38 + cat /w/workspace/gexfoundry_device-snmp-go_PR-208/archives/cost.csv 21:12:38 + cut -d, -f6 [Pipeline] lock 21:12:38 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-208-3-stack-cost] 21:12:38 Resource [jenkins-edgexfoundry-device-snmp-go-PR-208-3-stack-cost] did not exist. Created. 21:12:38 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-208-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:12:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:12:38 Stashed 1 file(s) [Pipeline] } 21:12:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-208-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:12:38 $ docker stop --time=1 c0ec95e5d697cb99bc36c92a799064d24c7eb9555f85ed6cc2481df556196ea8 21:12:40 $ docker rm -f --volumes c0ec95e5d697cb99bc36c92a799064d24c7eb9555f85ed6cc2481df556196ea8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:13:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1689 in /w/workspace/gexfoundry_device-snmp-go_PR-208 [Pipeline] { [Pipeline] ws 21:13:29 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 21:13:29 Selected Git installation does not exist. Using Default 21:13:29 The recommended git tool is: NONE 21:13:35 using credential edgex-jenkins-ssh 21:13:35 Cloning the remote Git repository 21:13:36 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:13:36 > git init /w/workspace/device-snmp-go/3 # timeout=10 21:13:36 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:13:36 > git --version # timeout=10 21:13:36 > git --version # 'git version 2.25.1' 21:13:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:13:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:13:37 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:13:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:13:39 Merging remotes/origin/main commit ac8d37b91ffebeab2a267fed6cce847388f5686c into PR head commit 35ee5948fe4b6c28072ef119de7d377b6adaffe0 21:13:39 Merge succeeded, producing 35ee5948fe4b6c28072ef119de7d377b6adaffe0 21:13:39 Checking out Revision 35ee5948fe4b6c28072ef119de7d377b6adaffe0 (PR-208) 21:13:38 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:13:38 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:13:38 using GIT_SSH to set credentials SSH Credentials for GitHub 21:13:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:13:39 > git config core.sparsecheckout # timeout=10 21:13:39 > git checkout -f 35ee5948fe4b6c28072ef119de7d377b6adaffe0 # timeout=10 21:13:39 > git remote # timeout=10 21:13:39 > git config --get remote.origin.url # timeout=10 21:13:39 using GIT_SSH to set credentials SSH Credentials for GitHub 21:13:39 > git merge ac8d37b91ffebeab2a267fed6cce847388f5686c # timeout=10 21:13:39 > git rev-parse HEAD^{commit} # timeout=10 21:13:39 > git config core.sparsecheckout # timeout=10 21:13:39 > git checkout -f 35ee5948fe4b6c28072ef119de7d377b6adaffe0 # timeout=10 21:13:40 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:13:41 % Total % Received % Xferd Average Speed Time Time Time Current 21:13:41 Dload Upload Total Spent Left Speed 21:13:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 21:13:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:13:42 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 21:13:42 /etc/docker/daemon.new 21:13:42 { 21:13:42 "registry-mirrors": [ 21:13:42 "https://nexus3.edgexfoundry.org:10001" 21:13:42 ], 21:13:42 "bip": "10.250.0.254/24", 21:13:42 "hosts": [ 21:13:42 "tcp://0.0.0.0:5555", 21:13:42 "unix:///var/run/docker.sock" 21:13:42 ], 21:13:42 "mtu": 1458, 21:13:42 "selinux-enabled": true, 21:13:42 "seccomp-profile": "/etc/docker/seccomp.json" 21:13:42 } [Pipeline] sh 21:13:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:13:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:01 provisioning config files... 21:14:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config9818124055838761574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:01 ---> docker-login.sh 21:14:01 nexus3.edgexfoundry.org:10001 21:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:02 Configure a credential helper to remove this warning. See 21:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:02 21:14:02 Login Succeeded 21:14:02 nexus3.edgexfoundry.org:10002 21:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:02 Configure a credential helper to remove this warning. See 21:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:02 21:14:02 Login Succeeded 21:14:02 nexus3.edgexfoundry.org:10003 21:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:03 Configure a credential helper to remove this warning. See 21:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:03 21:14:03 Login Succeeded 21:14:03 nexus3.edgexfoundry.org:10004 21:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:03 Configure a credential helper to remove this warning. See 21:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:03 21:14:03 Login Succeeded 21:14:03 docker.io 21:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:04 Configure a credential helper to remove this warning. See 21:14:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:04 21:14:04 Login Succeeded 21:14:04 ---> docker-login.sh ends [Pipeline] } 21:14:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:14:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:04 ========================================================= 21:14:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:14:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:14:05 Sending build context to Docker daemon 2.921MB 21:14:05 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:14:05 Step 2/12 : FROM ${BASE} AS builder 21:14:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:14:05 9b18e9b68314: Pulling fs layer 21:14:05 35d82f9e3411: Pulling fs layer 21:14:05 e16973657156: Pulling fs layer 21:14:05 fc693d55d65f: Pulling fs layer 21:14:05 7e9fc2657dce: Pulling fs layer 21:14:05 dda99020689f: Pulling fs layer 21:14:05 db1c61fa0a46: Pulling fs layer 21:14:05 891c053d2c06: Pulling fs layer 21:14:05 fc693d55d65f: Waiting 21:14:05 7e9fc2657dce: Waiting 21:14:05 dda99020689f: Waiting 21:14:05 891c053d2c06: Waiting 21:14:05 db1c61fa0a46: Waiting 21:14:05 e16973657156: Verifying Checksum 21:14:05 e16973657156: Download complete 21:14:05 35d82f9e3411: Verifying Checksum 21:14:05 35d82f9e3411: Download complete 21:14:05 7e9fc2657dce: Verifying Checksum 21:14:05 7e9fc2657dce: Download complete 21:14:05 dda99020689f: Verifying Checksum 21:14:05 dda99020689f: Download complete 21:14:05 9b18e9b68314: Verifying Checksum 21:14:05 9b18e9b68314: Download complete 21:14:06 9b18e9b68314: Pull complete 21:14:06 891c053d2c06: Verifying Checksum 21:14:06 891c053d2c06: Download complete 21:14:07 35d82f9e3411: Pull complete 21:14:07 e16973657156: Pull complete 21:14:07 db1c61fa0a46: Verifying Checksum 21:14:07 db1c61fa0a46: Download complete 21:14:08 fc693d55d65f: Verifying Checksum 21:14:08 fc693d55d65f: Download complete 21:14:20 fc693d55d65f: Pull complete 21:14:20 7e9fc2657dce: Pull complete 21:14:21 dda99020689f: Pull complete 21:14:26 db1c61fa0a46: Pull complete 21:14:29 891c053d2c06: Pull complete 21:14:29 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:14:29 ---> f96f9c87975a 21:14:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:14:31 ---> Running in 154d70ef3df5 21:14:31 Removing intermediate container 154d70ef3df5 21:14:31 ---> d0278b419490 21:14:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:32 ---> Running in 585cfb3530e4 21:14:32 Removing intermediate container 585cfb3530e4 21:14:32 ---> c07ab5aa5bfd 21:14:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:14:32 ---> Running in 90ada875628c 21:14:32 Removing intermediate container 90ada875628c 21:14:32 ---> 212cfd061879 21:14:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:14:32 ---> Running in 5286dbd3b49e 21:14:33 Removing intermediate container 5286dbd3b49e 21:14:33 ---> 3e1e481dc5c1 21:14:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:33 ---> Running in f08c60735163 21:14:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:14:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:14:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:14:36 (2/4) Installing libedit (20210910.3.1-r0) 21:14:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:14:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:14:36 Executing busybox-1.35.0-r17.trigger 21:14:36 OK: 226 MiB in 55 packages 21:14:37 Removing intermediate container f08c60735163 21:14:37 ---> 0144518110aa 21:14:37 Step 8/12 : WORKDIR /device-snmp-go 21:14:37 ---> Running in b8a3c6b8f56f 21:14:38 Removing intermediate container b8a3c6b8f56f 21:14:38 ---> e89dd6132bcf 21:14:38 Step 9/12 : COPY go.mod vendor* ./ 21:14:38 ---> be07c020a21c 21:14:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:38 ---> Running in 7cfea8b4ec2e 21:15:46 Removing intermediate container 7cfea8b4ec2e 21:15:46 ---> dcf6f4976482 21:15:46 Step 11/12 : COPY . . 21:15:46 ---> b9bee87d456f 21:15:46 Step 12/12 : RUN ${MAKE} 21:15:46 ---> Running in 683077455de6 21:15:46 noop 21:15:46 Removing intermediate container 683077455de6 21:15:46 ---> 41eb2a4cd19a 21:15:46 Successfully built 41eb2a4cd19a 21:15:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:47 + docker inspect -f . ci-base-image-arm64 21:15:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:47 prd-ubuntu20.04-docker-arm64-4c-16g-1689 does not seem to be running inside a container 21:15:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 21:15:48 $ docker top 511abb1207a05381bc68b753db629903b1b1e160ae734ad486e0dda98d126ca5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:49 + go version 21:15:49 go version go1.18.7 linux/arm64 [Pipeline] } 21:15:49 $ docker stop --time=1 511abb1207a05381bc68b753db629903b1b1e160ae734ad486e0dda98d126ca5 21:15:51 $ docker rm -f --volumes 511abb1207a05381bc68b753db629903b1b1e160ae734ad486e0dda98d126ca5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:52 + docker inspect -f . ci-base-image-arm64 21:15:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:52 prd-ubuntu20.04-docker-arm64-4c-16g-1689 does not seem to be running inside a container 21:15:52 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 21:15:54 $ docker top 9e98fbc6208aae9a5eaaef540529a9653b0f6622a713d97a668448069f9a70ab -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:55 + git config --global --add safe.directory /w/workspace/device-snmp-go/3 [Pipeline] fileExists [Pipeline] sh 21:15:55 + make test 21:15:55 go test ./... -coverprofile=coverage.out 21:15:57 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:17:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:17:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.051s coverage: 0.0% of statements 21:17:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:17:49 go vet ./... 21:18:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:16 ./bin/test-attribution-txt.sh [Pipeline] echo 21:18:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:16 $ docker stop --time=1 9e98fbc6208aae9a5eaaef540529a9653b0f6622a713d97a668448069f9a70ab 21:18:18 $ docker rm -f --volumes 9e98fbc6208aae9a5eaaef540529a9653b0f6622a713d97a668448069f9a70ab [Pipeline] // withDockerContainer [Pipeline] sh 21:18:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:19 Warning: overwriting stash ‘coverage-report’ 21:18:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:21 + ls -al . 21:18:21 total 176 21:18:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:15 . 21:18:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:13 .. 21:18:21 -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 21:13 .dockerignore 21:18:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:13 .git 21:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:13 .github 21:18:21 -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 21:13 .gitignore 21:18:21 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:13 .golangci.yml 21:18:21 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 10 21:13 Attribution.txt 21:18:21 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 21:13 CHANGELOG.md 21:18:21 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 10 21:13 Dockerfile 21:18:21 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:13 GOVERNANCE.md 21:18:21 -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 21:13 Jenkinsfile 21:18:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:13 LICENSE 21:18:21 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 10 21:13 Makefile 21:18:21 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 21:13 OWNERS.md 21:18:21 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 21:13 README.md 21:18:21 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:10 VERSION 21:18:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:13 bin 21:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:13 cmd 21:18:21 -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 21:17 coverage.out 21:18:21 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 21:13 go.mod 21:18:21 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 21:13 go.sum 21:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:13 internal 21:18:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:13 snap 21:18:21 -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 21:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:21 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=35ee5948fe4b6c28072ef119de7d377b6adaffe0 --label arch=arm64 --label version=0.0.0 . 21:18:21 Sending build context to Docker daemon 2.929MB 21:18:21 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:18:21 Step 2/24 : FROM ${BASE} AS builder 21:18:21 ---> 41eb2a4cd19a 21:18:21 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:18:22 ---> Running in cc112c507271 21:18:22 Removing intermediate container cc112c507271 21:18:22 ---> 52beb55e89c1 21:18:22 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:22 ---> Running in 2a036bc1ea0f 21:18:23 Removing intermediate container 2a036bc1ea0f 21:18:23 ---> a7b27dd6d13b 21:18:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:18:23 ---> Running in a5976e1a3297 21:18:23 Removing intermediate container a5976e1a3297 21:18:23 ---> 2dd4d48a169d 21:18:23 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:18:23 ---> Running in feb866dfa8f6 21:18:23 Removing intermediate container feb866dfa8f6 21:18:23 ---> 9bada7306f6b 21:18:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:23 ---> Running in 2015b6c55b78 21:18:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:18:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:18:28 OK: 226 MiB in 55 packages 21:18:29 Removing intermediate container 2015b6c55b78 21:18:29 ---> 8f42b315338e 21:18:29 Step 8/24 : WORKDIR /device-snmp-go 21:18:29 ---> Running in acc74a820b83 21:18:30 Removing intermediate container acc74a820b83 21:18:30 ---> 01080e62ff14 21:18:30 Step 9/24 : COPY go.mod vendor* ./ 21:18:31 ---> 4ca647e69a30 21:18:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:31 ---> Running in 673abe29955b 21:18:38 Removing intermediate container 673abe29955b 21:18:38 ---> 1d30c904f897 21:18:38 Step 11/24 : COPY . . 21:18:40 ---> 515dd70d2573 21:18:40 Step 12/24 : RUN ${MAKE} 21:18:40 ---> Running in 7e571792331c 21:18:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 21:21:03 Removing intermediate container 7e571792331c 21:21:03 ---> b96dc3c2e586 21:21:03 Step 13/24 : FROM alpine:3.16 21:21:03 3.16: Pulling from library/alpine 21:21:03 6875df1f5354: Pulling fs layer 21:21:03 6875df1f5354: Download complete 21:21:03 6875df1f5354: Pull complete 21:21:03 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:21:03 Status: Downloaded newer image for alpine:3.16 21:21:03 ---> 2b4661558fb8 21:21:03 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:21:03 ---> Running in bb004b87a4ed 21:21:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:21:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:21:03 (1/1) Installing dumb-init (1.2.5-r1) 21:21:03 Executing busybox-1.35.0-r17.trigger 21:21:03 OK: 5 MiB in 15 packages 21:21:03 Removing intermediate container bb004b87a4ed 21:21:03 ---> efe7985e35c1 21:21:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:21:04 ---> 7a2df6fb1bd0 21:21:04 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:21:05 ---> e5ab40428438 21:21:05 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:21:05 ---> 5ba0c3fcd1ff 21:21:05 Step 18/24 : EXPOSE 59993 21:21:05 ---> Running in 2f490c14cd57 21:21:06 Removing intermediate container 2f490c14cd57 21:21:06 ---> 6caf0cc16ffb 21:21:06 Step 19/24 : EXPOSE 161 21:21:06 ---> Running in 29f895f508a4 21:21:06 Removing intermediate container 29f895f508a4 21:21:06 ---> e8f75b9cae8b 21:21:06 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:21:06 ---> Running in 114893519c93 21:21:06 Removing intermediate container 114893519c93 21:21:06 ---> 025e15ad8080 21:21:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:21:06 ---> Running in 7bb721af7fc3 21:21:07 Removing intermediate container 7bb721af7fc3 21:21:07 ---> ba643c9c5a16 21:21:07 Step 22/24 : LABEL arch=arm64 21:21:07 ---> Running in a690866864a6 21:21:07 Removing intermediate container a690866864a6 21:21:07 ---> 0136c48795a3 21:21:07 Step 23/24 : LABEL git_sha=35ee5948fe4b6c28072ef119de7d377b6adaffe0 21:21:07 ---> Running in ab9835bb9a02 21:21:07 Removing intermediate container ab9835bb9a02 21:21:07 ---> e42ae0e18cc7 21:21:07 Step 24/24 : LABEL version=0.0.0 21:21:07 ---> Running in 5c8be38a228e 21:21:08 Removing intermediate container 5c8be38a228e 21:21:08 ---> b749e1781516 21:21:08 [Warning] One or more build-args [ARCH] were not consumed 21:21:08 Successfully built b749e1781516 21:21:08 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 21:21:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:08 21:21:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:08 arm64: Pulling from edgex-lftools-log-publisher 21:21:08 8998bd30e6a1: Pulling fs layer 21:21:08 04944245beec: Pulling fs layer 21:21:08 699f458cf7ca: Pulling fs layer 21:21:08 765212b225bb: Pulling fs layer 21:21:08 f23df028b6ca: Pulling fs layer 21:21:08 d65c8cfc05b1: Pulling fs layer 21:21:08 2437ff75d9bd: Pulling fs layer 21:21:08 f23df028b6ca: Waiting 21:21:08 d65c8cfc05b1: Waiting 21:21:08 2437ff75d9bd: Waiting 21:21:08 765212b225bb: Waiting 21:21:09 04944245beec: Verifying Checksum 21:21:09 04944245beec: Download complete 21:21:09 765212b225bb: Verifying Checksum 21:21:09 765212b225bb: Download complete 21:21:09 f23df028b6ca: Verifying Checksum 21:21:09 f23df028b6ca: Download complete 21:21:09 d65c8cfc05b1: Verifying Checksum 21:21:09 d65c8cfc05b1: Download complete 21:21:09 699f458cf7ca: Verifying Checksum 21:21:09 699f458cf7ca: Download complete 21:21:09 8998bd30e6a1: Verifying Checksum 21:21:09 8998bd30e6a1: Download complete 21:21:12 2437ff75d9bd: Verifying Checksum 21:21:12 2437ff75d9bd: Download complete 21:21:13 8998bd30e6a1: Pull complete 21:21:14 04944245beec: Pull complete 21:21:15 699f458cf7ca: Pull complete 21:21:15 765212b225bb: Pull complete 21:21:16 f23df028b6ca: Pull complete 21:21:16 d65c8cfc05b1: Pull complete 21:21:31 2437ff75d9bd: Pull complete 21:21:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:21:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:31 prd-ubuntu20.04-docker-arm64-4c-16g-1689 does not seem to be running inside a container 21:21:31 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 21:21:34 $ docker top 9eb527079b25cc4d3c7ec8c7014ffeab933c3d17c67c1d4433dd1e54f68e7e4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:35 ---> job-cost.sh 21:21:35 lf-activate-venv: SKIPPING 21:21:35 INFO: No Stack... 21:21:36 INFO: Retrieving Pricing Info for: v3-standard-4 21:21:36 INFO: Archiving Costs [Pipeline] sh 21:21:37 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 21:21:37 + cut -d, -f6 [Pipeline] lock 21:21:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-208-3-stack-cost] 21:21:37 Resource [jenkins-edgexfoundry-device-snmp-go-PR-208-3-stack-cost] did not exist. Created. 21:21:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-208-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:21:38 /w/workspace/device-snmp-go/3@tmp/durable-ef7ac33f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:21:38 + echo total: 0.10999999940395355 [Pipeline] stash 21:21:39 Warning: overwriting stash ‘stack-cost’ 21:21:39 Stashed 1 file(s) [Pipeline] } 21:21:39 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-208-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:21:39 $ docker stop --time=1 9eb527079b25cc4d3c7ec8c7014ffeab933c3d17c67c1d4433dd1e54f68e7e4a 21:21:40 $ docker rm -f --volumes 9eb527079b25cc4d3c7ec8c7014ffeab933c3d17c67c1d4433dd1e54f68e7e4a [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 21:21:40 provisioning config files... 21:21:40 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/config11520387556620185272tmp [Pipeline] { [Pipeline] sh 21:21:41 + set +x 21:21:41 + curl -s https://codecov.io/bash 21:21:41 + bash -s -- 21:21:41 21:21:41 _____ _ 21:21:41 / ____| | | 21:21:41 | | ___ __| | ___ ___ _____ __ 21:21:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:21:41 | |___| (_) | (_| | __/ (_| (_) \ V / 21:21:41 \_____\___/ \__,_|\___|\___\___/ \_/ 21:21:41 Bash-1.0.6 21:21:41 21:21:41 21:21:41 ==> git version 2.25.1 found 21:21:41 ==> 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 21:21:41 Release-Date: 2020-01-08 21:21:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:21:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:21:41 ==> Jenkins CI detected. 21:21:41 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-208 21:21:41 project root: . 21:21:41 --> token set from env 21:21:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:21:41 ==> Running gcov in . (disable via -X gcov) 21:21:41 ==> Python coveragepy not found 21:21:41 ==> Searching for coverage reports in: 21:21:41 + . 21:21:41 -> Found 1 reports 21:21:41 ==> Detecting git/mercurial file structure 21:21:41 ==> Reading reports 21:21:41 + ./coverage.out bytes=7631 21:21:41 ==> Appending adjustments 21:21:41 https://docs.codecov.io/docs/fixing-reports 21:21:41 + Found adjustments 21:21:41 ==> Gzipping contents 21:21:41 4.0K /tmp/codecov.9NakFD.gz 21:21:41 ==> Uploading reports 21:21:41 url: https://codecov.io 21:21:41 query: branch=PR-208&commit=35ee5948fe4b6c28072ef119de7d377b6adaffe0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-208%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=208&job=&cmd_args= 21:21:41 -> Pinging Codecov 21:21:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-208&commit=35ee5948fe4b6c28072ef119de7d377b6adaffe0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-208%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=208&job=&cmd_args= 21:21:41 -> Uploading to 21:21:41 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/6C56EA5C29638FB4528AC87E60AF5AE0/35ee5948fe4b6c28072ef119de7d377b6adaffe0/b004df7f-6a14-43e3-9865-28ac86ca0aa7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T212141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94dad15e0c689e81914ac8409d3125365e39dbf3c814d932a0370fd01cfd410b 21:21:41 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:41 Dload Upload Total Spent Left Speed 21:21:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7563 --:--:-- --:--:-- --:--:-- 7526 100 1543 0 0 100 1543 0 5714 --:--:-- --:--:-- --:--:-- 5693 21:21:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/35ee5948fe4b6c28072ef119de7d377b6adaffe0 [Pipeline] } 21:21:42 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 21:21:42 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-208/archives ] 21:21:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-208/archives 21:21:42 total 16 21:21:42 drwxr-xr-x 3 root root 4096 Jan 10 21:12 . 21:21:42 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:12 .. 21:21:42 drwxr-xr-x 2 root root 4096 Jan 10 21:12 cost 21:21:42 -rw-r--r-- 1 root root 86 Jan 10 21:12 cost.csv 21:21:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-208/archives 21:21:42 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-208/archives 21:21:42 total 16 21:21:42 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:12 . 21:21:42 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:12 .. 21:21:42 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:12 cost 21:21:42 -rw-r--r-- 1 jenkins jenkins 86 Jan 10 21:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:21:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:21:43 ---> package-listing.sh 21:21:43 ++ facter osfamily 21:21:43 ++ tr '[:upper:]' '[:lower:]' 21:21:44 + OS_FAMILY=debian 21:21:44 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-208 21:21:44 + START_PACKAGES=/tmp/packages_start.txt 21:21:44 + END_PACKAGES=/tmp/packages_end.txt 21:21:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:21:44 + PACKAGES=/tmp/packages_start.txt 21:21:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-208 ']' 21:21:44 + PACKAGES=/tmp/packages_end.txt 21:21:44 + case "${OS_FAMILY}" in 21:21:44 + dpkg -l 21:21:44 + grep '^ii' 21:21:44 + '[' -f /tmp/packages_start.txt ']' 21:21:44 + '[' -f /tmp/packages_end.txt ']' 21:21:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:21:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-208 ']' 21:21:44 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-208/archives/ 21:21:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-208/archives/ [Pipeline] echo 21:21:44 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-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:21:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:21:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:45 prd-ubuntu20.04-docker-8c-8g-1686 does not seem to be running inside a container 21:21:45 $ 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-208/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-208 -v /w/workspace/gexfoundry_device-snmp-go_PR-208:/w/workspace/gexfoundry_device-snmp-go_PR-208:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-208@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-208@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 21:21:45 $ docker top c1617372bfc21a1ccafd2ea1259db9955854d6e4e50fda0ac6fea3f348499b0f -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:45 + touch /tmp/pre-build-complete [Pipeline] sh 21:21:45 + mkdir -p /var/log/sysstat [Pipeline] sh 21:21:46 + ls /var/log/sa-host 21:21:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:46 provisioning config files... 21:21:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-208@tmp/config5439966321202246463tmp [Pipeline] { [Pipeline] echo 21:21:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:21:46 ---> create-netrc.sh [Pipeline] } 21:21:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:21:46 ---> python-tools-install.sh [Pipeline] echo 21:21:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:21:47 ---> sudo-logs.sh 21:21:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:21:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:21:47 ---> job-cost.sh 21:21:47 lf-activate-venv: SKIPPING 21:21:47 DEBUG: total: 0.2199999988079071 21:21:47 INFO: Retrieving Stack Cost... 21:21:48 INFO: Retrieving Pricing Info for: v3-standard-8 21:21:48 INFO: Archiving Costs [Pipeline] echo 21:21:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:21:48 ---> logs-deploy.sh 21:21:48 lf-activate-venv: SKIPPING 21:21:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-208/3 21:21:48 INFO: archiving workspace using pattern(s): 21:21:49 Archives upload complete. 21:21:49 INFO: archiving logs to Nexus