Pull request #213 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-snmp-go Obtained Jenkinsfile from d89bb73a5bc37b753b28a7fa2df840f06ac580f8+9b57b763129a056da364ef181ea3d00bbbd664f0 (4c0decdb4ef1fe974aab4a7aaea8947e0763a40e) 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-ssh15314664414488777682.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-ssh6394536720724431024.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-213/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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11749130915910881804.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-ssh18130399314541501373.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-213/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-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16884812280157893861.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-2245 in /w/workspace/gexfoundry_device-snmp-go_PR-213 [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-213 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9b57b763129a056da364ef181ea3d00bbbd664f0 into PR head commit d89bb73a5bc37b753b28a7fa2df840f06ac580f8 Merge succeeded, producing d89bb73a5bc37b753b28a7fa2df840f06ac580f8 Checking out Revision d89bb73a5bc37b753b28a7fa2df840f06ac580f8 (PR-213) > git config core.sparsecheckout # timeout=10 > git checkout -f d89bb73a5bc37b753b28a7fa2df840f06ac580f8 # 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 9b57b763129a056da364ef181ea3d00bbbd664f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d89bb73a5bc37b753b28a7fa2df840f06ac580f8 # timeout=10 Commit message: "fix: typo in install hook error message" > git rev-list --no-walk f213d7ba66d7037593c9820822fd76044d5b8a5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:37:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:37:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:37:35 ========================================================= 18:37:35 EdgeX Global Pipelines Version Info 18:37:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:37:35 ------------------- 18:37:35 stable info: 18:37:35 ------------------- 18:37:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:37:35 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:37:35 Message: update stable to v1.0.244 18:37:36 ------------------- 18:37:36 experimental info: 18:37:36 ------------------- 18:37:36 Commited By: **** collab-it+edgex@linuxfoundation.org 18:37:36 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:37:36 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo 18:37:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo 18:37:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo 18:37:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d89bb73a5bc37b753b28a7fa2df840f06ac580f8 [Pipeline] echo 18:37:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d89bb73 [Pipeline] echo 18:37:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:37 provisioning config files... 18:37:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-213@tmp/config11033030756561931522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:37 ---> docker-login.sh 18:37:37 nexus3.edgexfoundry.org:10001 18:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:37 Configure a credential helper to remove this warning. See 18:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:37 18:37:37 Login Succeeded 18:37:37 nexus3.edgexfoundry.org:10002 18:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:37 Configure a credential helper to remove this warning. See 18:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:37 18:37:37 Login Succeeded 18:37:37 nexus3.edgexfoundry.org:10003 18:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:37 Configure a credential helper to remove this warning. See 18:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:37 18:37:37 Login Succeeded 18:37:37 nexus3.edgexfoundry.org:10004 18:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:37 Configure a credential helper to remove this warning. See 18:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:37 18:37:37 Login Succeeded 18:37:37 docker.io 18:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:38 Configure a credential helper to remove this warning. See 18:37:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:38 18:37:38 Login Succeeded 18:37:38 ---> docker-login.sh ends [Pipeline] } 18:37:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:37:38 + git rev-list -1 --merges d89bb73a5bc37b753b28a7fa2df840f06ac580f8~1..d89bb73a5bc37b753b28a7fa2df840f06ac580f8 [Pipeline] echo 18:37:38 -----------> git rev-list -1 --merges d89bb73a5bc37b753b28a7fa2df840f06ac580f8~1..d89bb73a5bc37b753b28a7fa2df840f06ac580f8 d89bb73a5bc37b753b28a7fa2df840f06ac580f8 [false] [Pipeline] sh 18:37:38 + git log --format=format:%s -1 d89bb73a5bc37b753b28a7fa2df840f06ac580f8 [Pipeline] echo 18:37:38 ========================================================= 18:37:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:37:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:37:39 + git log --format=format:%s -1 d89bb73a5bc37b753b28a7fa2df840f06ac580f8 [Pipeline] echo 18:37:39 [semverPrep] GIT_COMMIT: d89bb73a5bc37b753b28a7fa2df840f06ac580f8, Commit Message: fix: typo in install hook error message [Pipeline] echo 18:37:39 [semverPrep] This is not a build commit. [Pipeline] sh 18:37:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:37:39 + grep -v github /etc/ssh/ssh_known_hosts 18:37:39 + [ -e /tmp/ssh_known_hosts ] 18:37:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:37:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:37:39 + sudo tee -a /etc/ssh/ssh_known_hosts 18:37:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:40 18:37:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:40 0.1.4: Pulling from edgex-devops/py-git-semver 18:37:40 b85a868b505f: Pulling fs layer 18:37:40 e2be974225ed: Pulling fs layer 18:37:40 339a4e72a1f5: Pulling fs layer 18:37:40 988bab9f4d93: Pulling fs layer 18:37:40 1469e6f7b9e6: Pulling fs layer 18:37:40 eaf3925da568: Pulling fs layer 18:37:40 bab4dde63d76: Pulling fs layer 18:37:40 bde34c3a00c8: Pulling fs layer 18:37:40 b352a97aabf1: Pulling fs layer 18:37:40 988bab9f4d93: Waiting 18:37:40 1469e6f7b9e6: Waiting 18:37:40 bab4dde63d76: Waiting 18:37:40 bde34c3a00c8: Waiting 18:37:40 4872d77fe225: Pulling fs layer 18:37:40 5851b861e8e6: Pulling fs layer 18:37:40 4872d77fe225: Waiting 18:37:40 b352a97aabf1: Waiting 18:37:40 5851b861e8e6: Waiting 18:37:40 e2be974225ed: Verifying Checksum 18:37:40 e2be974225ed: Download complete 18:37:40 988bab9f4d93: Verifying Checksum 18:37:40 988bab9f4d93: Download complete 18:37:40 1469e6f7b9e6: Verifying Checksum 18:37:40 1469e6f7b9e6: Download complete 18:37:40 eaf3925da568: Download complete 18:37:40 339a4e72a1f5: Verifying Checksum 18:37:40 339a4e72a1f5: Download complete 18:37:40 bde34c3a00c8: Verifying Checksum 18:37:40 b352a97aabf1: Verifying Checksum 18:37:40 b352a97aabf1: Download complete 18:37:40 4872d77fe225: Download complete 18:37:40 5851b861e8e6: Download complete 18:37:40 b85a868b505f: Verifying Checksum 18:37:40 b85a868b505f: Download complete 18:37:40 bab4dde63d76: Verifying Checksum 18:37:40 bab4dde63d76: Download complete 18:37:41 b85a868b505f: Pull complete 18:37:42 e2be974225ed: Pull complete 18:37:42 339a4e72a1f5: Pull complete 18:37:42 988bab9f4d93: Pull complete 18:37:42 1469e6f7b9e6: Pull complete 18:37:42 eaf3925da568: Pull complete 18:37:44 bab4dde63d76: Pull complete 18:37:44 bde34c3a00c8: Pull complete 18:37:44 b352a97aabf1: Pull complete 18:37:44 4872d77fe225: Pull complete 18:37:45 5851b861e8e6: Pull complete 18:37:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:37:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:45 prd-ubuntu20.04-docker-8c-8g-2245 does not seem to be running inside a container 18:37:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-213 -v /w/workspace/gexfoundry_device-snmp-go_PR-213:/w/workspace/gexfoundry_device-snmp-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-213@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-213@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-devops/py-git-semver:0.1.4 cat 18:37:46 $ docker top e9a194958a7d9084cf8b7c27f6d571e571ab66a639257baa30c7a6f4ad220902 -eo pid,comm 18:37:46 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). 18:37:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:37:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:46 [ssh-agent] Looking for ssh-agent implementation... 18:37:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:46 $ docker exec e9a194958a7d9084cf8b7c27f6d571e571ab66a639257baa30c7a6f4ad220902 ssh-agent 18:37:46 SSH_AUTH_SOCK=/tmp/ssh-BcLc3RD0bWBq/agent.32 18:37:46 SSH_AGENT_PID=38 18:37:46 Running ssh-add (command line suppressed) 18:37:46 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-213@tmp/private_key_8553191573173880239.key (/w/workspace/gexfoundry_device-snmp-go_PR-213@tmp/private_key_8553191573173880239.key) 18:37:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:47 + git tag --points-at HEAD [Pipeline] } 18:37:47 $ docker exec --env ******** --env ******** e9a194958a7d9084cf8b7c27f6d571e571ab66a639257baa30c7a6f4ad220902 ssh-agent -k 18:37:47 unset SSH_AUTH_SOCK; 18:37:47 unset SSH_AGENT_PID; 18:37:47 echo Agent pid 38 killed; 18:37:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:37:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:47 [ssh-agent] Looking for ssh-agent implementation... 18:37:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:47 $ docker exec e9a194958a7d9084cf8b7c27f6d571e571ab66a639257baa30c7a6f4ad220902 ssh-agent 18:37:47 SSH_AUTH_SOCK=/tmp/ssh-MsfUprVAOof9/agent.70 18:37:47 SSH_AGENT_PID=76 18:37:47 Running ssh-add (command line suppressed) 18:37:47 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-213@tmp/private_key_14917300280611600883.key (/w/workspace/gexfoundry_device-snmp-go_PR-213@tmp/private_key_14917300280611600883.key) 18:37:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:48 + git semver init 18:37:48 2023-01-13 18:37:48,262 [run_init] DEBUG init version:0.0.0 force:False 18:37:48 2023-01-13 18:37:48,263 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-213/.semver 18:37:48 2023-01-13 18:37:48,263 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-213/.semver 18:37:48 2023-01-13 18:37:48,263 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-213/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-213, universal_newlines=False, shell=None, istream=None) 18:37:49 2023-01-13 18:37:49,102 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-213/.git/info/exclude 18:37:49 2023-01-13 18:37:49,103 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-213/.semver/PR-213 with force:False 18:37:49 2023-01-13 18:37:49,103 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-213/.semver/PR-213 18:37:49 2023-01-13 18:37:49,107 [execute] INFO git cat-file --batch-check 18:37:49 2023-01-13 18:37:49,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) 18:37:49 2023-01-13 18:37:49,114 [execute] INFO git cat-file --batch 18:37:49 2023-01-13 18:37:49,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) 18:37:49 2023-01-13 18:37:49,120 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-213/.semver/PR-213 18:37:49 0.0.0 [Pipeline] } 18:37:49 $ docker exec --env ******** --env ******** e9a194958a7d9084cf8b7c27f6d571e571ab66a639257baa30c7a6f4ad220902 ssh-agent -k 18:37:49 unset SSH_AUTH_SOCK; 18:37:49 unset SSH_AGENT_PID; 18:37:49 echo Agent pid 76 killed; 18:37:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:37:49 + git semver [Pipeline] } 18:37:50 $ docker stop --time=1 e9a194958a7d9084cf8b7c27f6d571e571ab66a639257baa30c7a6f4ad220902 18:37:51 $ docker rm -f --volumes e9a194958a7d9084cf8b7c27f6d571e571ab66a639257baa30c7a6f4ad220902 [Pipeline] // withDockerContainer [Pipeline] sh 18:37:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:37:51 Stashed 1 file(s) [Pipeline] echo 18:37:51 [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 18:37:52 provisioning config files... 18:37:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-213@tmp/config6064464388351174461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:52 ---> docker-login.sh 18:37:52 nexus3.edgexfoundry.org:10001 18:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:52 Configure a credential helper to remove this warning. See 18:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:52 18:37:52 Login Succeeded 18:37:52 nexus3.edgexfoundry.org:10002 18:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:52 Configure a credential helper to remove this warning. See 18:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:52 18:37:52 Login Succeeded 18:37:52 nexus3.edgexfoundry.org:10003 18:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:52 Configure a credential helper to remove this warning. See 18:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:52 18:37:52 Login Succeeded 18:37:52 nexus3.edgexfoundry.org:10004 18:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:52 Configure a credential helper to remove this warning. See 18:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:52 18:37:52 Login Succeeded 18:37:52 docker.io 18:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:52 Configure a credential helper to remove this warning. See 18:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:52 18:37:52 Login Succeeded 18:37:52 ---> docker-login.sh ends [Pipeline] } 18:37:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:52 ========================================================= 18:37:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:37:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37: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 . 18:37:53 Sending build context to Docker daemon 5.702MB 18:37:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:37:53 Step 2/12 : FROM ${BASE} AS builder 18:37:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:37:53 213ec9aee27d: Pulling fs layer 18:37:53 4583459ba037: Pulling fs layer 18:37:53 93c1e223e6f2: Pulling fs layer 18:37:53 53926ce57604: Pulling fs layer 18:37:53 21b2b0c7a3f4: Pulling fs layer 18:37:53 53926ce57604: Waiting 18:37:53 22ff95d597cd: Pulling fs layer 18:37:53 12d6caf4c0d1: Pulling fs layer 18:37:53 96b7cbca73a9: Pulling fs layer 18:37:53 a7acece74701: Pulling fs layer 18:37:53 21b2b0c7a3f4: Waiting 18:37:53 22ff95d597cd: Waiting 18:37:53 12d6caf4c0d1: Waiting 18:37:53 96b7cbca73a9: Waiting 18:37:53 93c1e223e6f2: Download complete 18:37:53 4583459ba037: Verifying Checksum 18:37:53 4583459ba037: Download complete 18:37:53 21b2b0c7a3f4: Verifying Checksum 18:37:53 21b2b0c7a3f4: Download complete 18:37:53 22ff95d597cd: Verifying Checksum 18:37:53 22ff95d597cd: Download complete 18:37:53 213ec9aee27d: Verifying Checksum 18:37:53 213ec9aee27d: Download complete 18:37:53 12d6caf4c0d1: Verifying Checksum 18:37:53 12d6caf4c0d1: Download complete 18:37:53 213ec9aee27d: Pull complete 18:37:53 4583459ba037: Pull complete 18:37:53 93c1e223e6f2: Pull complete 18:37:54 a7acece74701: Verifying Checksum 18:37:54 a7acece74701: Download complete 18:37:54 53926ce57604: Verifying Checksum 18:37:54 53926ce57604: Download complete 18:37:54 96b7cbca73a9: Verifying Checksum 18:37:54 96b7cbca73a9: Download complete 18:37:57 53926ce57604: Pull complete 18:37:57 21b2b0c7a3f4: Pull complete 18:37:57 22ff95d597cd: Pull complete 18:37:57 12d6caf4c0d1: Pull complete 18:37:59 96b7cbca73a9: Pull complete 18:38:00 a7acece74701: Pull complete 18:38:00 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:38:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:38:00 ---> db6d94c90886 18:38:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:38:01 ---> Running in c059269a1913 18:38:02 Removing intermediate container c059269a1913 18:38:02 ---> 1aee05de941a 18:38:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:38:02 ---> Running in aaaefa81ab34 18:38:02 Removing intermediate container aaaefa81ab34 18:38:02 ---> 3118ea33e456 18:38:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:38:02 ---> Running in eb9f8a6cbbd1 18:38:02 Removing intermediate container eb9f8a6cbbd1 18:38:02 ---> 59e8f36a4656 18:38:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:38:02 ---> Running in 3ba5d2fd0f8b 18:38:02 Removing intermediate container 3ba5d2fd0f8b 18:38:02 ---> 461a5757eebc 18:38:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:38:02 ---> Running in f8dd8eab158f 18:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:38:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:38:03 (2/4) Installing libedit (20210910.3.1-r0) 18:38:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:38:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:38:03 Executing busybox-1.35.0-r17.trigger 18:38:03 OK: 216 MiB in 55 packages 18:38:03 Removing intermediate container f8dd8eab158f 18:38:03 ---> 12c21f81ad13 18:38:03 Step 8/12 : WORKDIR /device-snmp-go 18:38:03 ---> Running in a6f3b5f34baf 18:38:03 Removing intermediate container a6f3b5f34baf 18:38:03 ---> 7b68a169d6b2 18:38:03 Step 9/12 : COPY go.mod vendor* ./ 18:38:03 ---> f30e52b155ab 18:38:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:04 ---> Running in 2586d3b12292 18:38:06 Still waiting to schedule task 18:38:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:38:22 Removing intermediate container 2586d3b12292 18:38:22 ---> ae69519af554 18:38:22 Step 11/12 : COPY . . 18:38:22 ---> 453d2f2c716d 18:38:22 Step 12/12 : RUN ${MAKE} 18:38:22 ---> Running in 4714bc7cd1c5 18:38:22 noop 18:38:23 Removing intermediate container 4714bc7cd1c5 18:38:23 ---> f2347de464fb 18:38:23 Successfully built f2347de464fb 18:38:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:23 + docker inspect -f . ci-base-image-x86_64 18:38:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:23 prd-ubuntu20.04-docker-8c-8g-2245 does not seem to be running inside a container 18:38:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-213 -v /w/workspace/gexfoundry_device-snmp-go_PR-213:/w/workspace/gexfoundry_device-snmp-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-213@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-213@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:38:23 $ docker top 3dee04dcf889b4adb88fa39464f0c0dce1b3552ce35b6a08a023247934689ca1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:24 + go version 18:38:24 go version go1.18.7 linux/amd64 [Pipeline] } 18:38:24 $ docker stop --time=1 3dee04dcf889b4adb88fa39464f0c0dce1b3552ce35b6a08a023247934689ca1 18:38:25 $ docker rm -f --volumes 3dee04dcf889b4adb88fa39464f0c0dce1b3552ce35b6a08a023247934689ca1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:25 + docker inspect -f . ci-base-image-x86_64 18:38:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:25 prd-ubuntu20.04-docker-8c-8g-2245 does not seem to be running inside a container 18:38:25 $ 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-213 -v /w/workspace/gexfoundry_device-snmp-go_PR-213:/w/workspace/gexfoundry_device-snmp-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-213@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-213@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:38:26 $ docker top a9898d68e620fc7d4d4a5d5648fe1542beadc82faf3a2394b3c3285b9c509f42 -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:26 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-213 [Pipeline] fileExists [Pipeline] sh 18:38:26 + make test 18:38:26 go test ./... -coverprofile=coverage.out 18:38:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:38:35 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:38:35 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements 18:38:40 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." 18:38:40 go vet ./... 18:38:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:38:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:38:44 ./bin/test-attribution-txt.sh [Pipeline] echo 18:38:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:38:44 $ docker stop --time=1 a9898d68e620fc7d4d4a5d5648fe1542beadc82faf3a2394b3c3285b9c509f42 18:38:45 $ docker rm -f --volumes a9898d68e620fc7d4d4a5d5648fe1542beadc82faf3a2394b3c3285b9c509f42 [Pipeline] // withDockerContainer [Pipeline] sh 18:38:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:38:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:38:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:38:47 + ls -al . 18:38:47 total 180 18:38:47 drwxrwxr-x 9 jenkins jenkins 4096 Jan 13 18:38 . 18:38:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:37 .. 18:38:47 -rw-rw-r-- 1 jenkins jenkins 6 Jan 13 18:37 .dockerignore 18:38:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 18:38 .git 18:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:37 .github 18:38:47 -rw-rw-r-- 1 jenkins jenkins 328 Jan 13 18:37 .gitignore 18:38:47 -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 18:37 .golangci.yml 18:38:47 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 18:37 .semver 18:38:47 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 13 18:37 Attribution.txt 18:38:47 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 13 18:37 CHANGELOG.md 18:38:47 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 13 18:37 Dockerfile 18:38:47 -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 18:37 GOVERNANCE.md 18:38:47 -rw-rw-r-- 1 jenkins jenkins 656 Jan 13 18:37 Jenkinsfile 18:38:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 18:37 LICENSE 18:38:47 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 13 18:37 Makefile 18:38:47 -rw-rw-r-- 1 jenkins jenkins 620 Jan 13 18:37 OWNERS.md 18:38:47 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 13 18:37 README.md 18:38:47 -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 18:37 VERSION 18:38:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:37 bin 18:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:37 cmd 18:38:47 -rw-r--r-- 1 jenkins jenkins 7631 Jan 13 18:38 coverage.out 18:38:47 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 13 18:37 go.mod 18:38:47 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 13 18:37 go.sum 18:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:37 internal 18:38:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:37 snap 18:38:47 -rw-rw-r-- 1 jenkins jenkins 228 Jan 13 18:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:47 + 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=d89bb73a5bc37b753b28a7fa2df840f06ac580f8 --label arch=amd64 --label version=0.0.0 . 18:38:47 Sending build context to Docker daemon 5.71MB 18:38:47 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:38:47 Step 2/24 : FROM ${BASE} AS builder 18:38:47 ---> f2347de464fb 18:38:47 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:38:47 ---> Running in 0df546d4ed81 18:38:47 Removing intermediate container 0df546d4ed81 18:38:47 ---> 5d8637292c24 18:38:47 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:38:47 ---> Running in b48024aae01e 18:38:47 Removing intermediate container b48024aae01e 18:38:47 ---> 21fa5bfd5242 18:38:47 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:38:47 ---> Running in 9878817c087e 18:38:48 Removing intermediate container 9878817c087e 18:38:48 ---> fe4c58948390 18:38:48 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:38:48 ---> Running in d2550962a24b 18:38:48 Removing intermediate container d2550962a24b 18:38:48 ---> f5408b1801eb 18:38:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:38:48 ---> Running in 9d016a8d99c4 18:38:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:38:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:38:48 OK: 216 MiB in 55 packages 18:38:49 Removing intermediate container 9d016a8d99c4 18:38:49 ---> 71b8e2809a8d 18:38:49 Step 8/24 : WORKDIR /device-snmp-go 18:38:49 ---> Running in d2254d00cb43 18:38:49 Removing intermediate container d2254d00cb43 18:38:49 ---> 6f47975167b2 18:38:49 Step 9/24 : COPY go.mod vendor* ./ 18:38:49 ---> 2f5ea54be4c0 18:38:49 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:49 ---> Running in 0f92dc0b73c8 18:38:50 Removing intermediate container 0f92dc0b73c8 18:38:50 ---> 3602ba6509d7 18:38:50 Step 11/24 : COPY . . 18:38:50 ---> 533b4a7d9e02 18:38:50 Step 12/24 : RUN ${MAKE} 18:38:50 ---> Running in e58d799b3db8 18:38:50 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 18:39:09 Removing intermediate container e58d799b3db8 18:39:09 ---> 847e7c9d1fec 18:39:09 Step 13/24 : FROM alpine:3.16 18:39:09 3.16: Pulling from library/alpine 18:39:09 ca7dd9ec2225: Pulling fs layer 18:39:09 ca7dd9ec2225: Verifying Checksum 18:39:09 ca7dd9ec2225: Download complete 18:39:09 ca7dd9ec2225: Pull complete 18:39:09 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:39:09 Status: Downloaded newer image for alpine:3.16 18:39:09 ---> bfe296a52501 18:39:09 Step 14/24 : RUN apk add --update --no-cache dumb-init 18:39:09 ---> Running in c24d8e75096c 18:39:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:39:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:39:09 (1/1) Installing dumb-init (1.2.5-r1) 18:39:09 Executing busybox-1.35.0-r17.trigger 18:39:09 OK: 6 MiB in 15 packages 18:39:09 Removing intermediate container c24d8e75096c 18:39:09 ---> da1b606476a7 18:39:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:39:10 ---> 304290bb0677 18:39:10 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:39:10 ---> 6fc0b23ddfca 18:39:10 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:39:10 ---> 21d264709384 18:39:10 Step 18/24 : EXPOSE 59993 18:39:10 ---> Running in fa0b60006a71 18:39:10 Removing intermediate container fa0b60006a71 18:39:10 ---> 7e58ebb78aa7 18:39:10 Step 19/24 : EXPOSE 161 18:39:10 ---> Running in 79932edc0219 18:39:10 Removing intermediate container 79932edc0219 18:39:10 ---> 044ec8d6916b 18:39:10 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:39:10 ---> Running in 63cbaa731144 18:39:10 Removing intermediate container 63cbaa731144 18:39:10 ---> bed22441927c 18:39:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:39:10 ---> Running in d4f8ca09b301 18:39:10 Removing intermediate container d4f8ca09b301 18:39:10 ---> 26d967d94691 18:39:10 Step 22/24 : LABEL arch=amd64 18:39:10 ---> Running in f867a449444b 18:39:10 Removing intermediate container f867a449444b 18:39:10 ---> 73a262367a03 18:39:10 Step 23/24 : LABEL git_sha=d89bb73a5bc37b753b28a7fa2df840f06ac580f8 18:39:10 ---> Running in 54850b0bb180 18:39:11 Removing intermediate container 54850b0bb180 18:39:11 ---> edfbb5fdf548 18:39:11 Step 24/24 : LABEL version=0.0.0 18:39:11 ---> Running in 319fee081d45 18:39:11 Removing intermediate container 319fee081d45 18:39:11 ---> 54bfd5050be6 18:39:11 [Warning] One or more build-args [ARCH] were not consumed 18:39:11 Successfully built 54bfd5050be6 18:39:11 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 18:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:11 18:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:11 latest: Pulling from edgex-lftools-log-publisher 18:39:11 5eb5b503b376: Pulling fs layer 18:39:11 5c69ac0246d0: Pulling fs layer 18:39:11 ec43610c2a17: Pulling fs layer 18:39:11 3a2ae6a8a46f: Pulling fs layer 18:39:11 33b1e0a273af: Pulling fs layer 18:39:11 3a2ae6a8a46f: Waiting 18:39:11 33b1e0a273af: Waiting 18:39:11 5d3b04190fa2: Pulling fs layer 18:39:11 2f39f015ded8: Pulling fs layer 18:39:11 5d3b04190fa2: Waiting 18:39:11 2f39f015ded8: Waiting 18:39:11 5c69ac0246d0: Verifying Checksum 18:39:11 5c69ac0246d0: Download complete 18:39:11 3a2ae6a8a46f: Download complete 18:39:12 33b1e0a273af: Verifying Checksum 18:39:12 33b1e0a273af: Download complete 18:39:12 ec43610c2a17: Verifying Checksum 18:39:12 ec43610c2a17: Download complete 18:39:12 5d3b04190fa2: Verifying Checksum 18:39:12 5d3b04190fa2: Download complete 18:39:12 5eb5b503b376: Verifying Checksum 18:39:12 5eb5b503b376: Download complete 18:39:12 2f39f015ded8: Download complete 18:39:13 5eb5b503b376: Pull complete 18:39:13 5c69ac0246d0: Pull complete 18:39:13 ec43610c2a17: Pull complete 18:39:13 3a2ae6a8a46f: Pull complete 18:39:14 33b1e0a273af: Pull complete 18:39:14 5d3b04190fa2: Pull complete 18:39:18 2f39f015ded8: Pull complete 18:39:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:18 prd-ubuntu20.04-docker-8c-8g-2245 does not seem to be running inside a container 18:39:18 $ 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-213 -v /w/workspace/gexfoundry_device-snmp-go_PR-213:/w/workspace/gexfoundry_device-snmp-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-213@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-213@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:39:19 $ docker top 0297fedaef70cde8733de238c3151899c0e0e92676d546f32d48bbc328cbe92b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:20 ---> job-cost.sh 18:39:20 lf-activate-venv: SKIPPING 18:39:20 INFO: No Stack... 18:39:20 INFO: Retrieving Pricing Info for: v3-standard-8 18:39:20 INFO: Archiving Costs [Pipeline] sh 18:39:21 + cat /w/workspace/gexfoundry_device-snmp-go_PR-213/archives/cost.csv 18:39:21 + cut -d, -f6 [Pipeline] lock 18:39:21 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-213-2-stack-cost] 18:39:21 Resource [jenkins-edgexfoundry-device-snmp-go-PR-213-2-stack-cost] did not exist. Created. 18:39:21 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-213-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:39:21 + echo total: 0.2199999988079071 [Pipeline] stash 18:39:21 Stashed 1 file(s) [Pipeline] } 18:39:21 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-213-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:39:21 $ docker stop --time=1 0297fedaef70cde8733de238c3151899c0e0e92676d546f32d48bbc328cbe92b 18:39:22 $ docker rm -f --volumes 0297fedaef70cde8733de238c3151899c0e0e92676d546f32d48bbc328cbe92b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:40:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2247 in /w/workspace/gexfoundry_device-snmp-go_PR-213 [Pipeline] { [Pipeline] ws 18:40:39 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 18:40:39 Selected Git installation does not exist. Using Default 18:40:39 The recommended git tool is: NONE 18:40:45 using credential edgex-jenkins-ssh 18:40:45 Cloning the remote Git repository 18:40:45 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 18:40:45 > git init /w/workspace/device-snmp-go/2 # timeout=10 18:40:45 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 18:40:45 > git --version # timeout=10 18:40:45 > git --version # 'git version 2.25.1' 18:40:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:47 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 18:40:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:48 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 18:40:48 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 18:40:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:40:48 Merging remotes/origin/main commit 9b57b763129a056da364ef181ea3d00bbbd664f0 into PR head commit d89bb73a5bc37b753b28a7fa2df840f06ac580f8 18:40:49 Merge succeeded, producing d89bb73a5bc37b753b28a7fa2df840f06ac580f8 18:40:49 Checking out Revision d89bb73a5bc37b753b28a7fa2df840f06ac580f8 (PR-213) 18:40:48 > git config core.sparsecheckout # timeout=10 18:40:48 > git checkout -f d89bb73a5bc37b753b28a7fa2df840f06ac580f8 # timeout=10 18:40:48 > git remote # timeout=10 18:40:48 > git config --get remote.origin.url # timeout=10 18:40:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:48 > git merge 9b57b763129a056da364ef181ea3d00bbbd664f0 # timeout=10 18:40:49 > git rev-parse HEAD^{commit} # timeout=10 18:40:49 > git config core.sparsecheckout # timeout=10 18:40:49 > git checkout -f d89bb73a5bc37b753b28a7fa2df840f06ac580f8 # timeout=10 18:40:52 Commit message: "fix: typo in install hook error message" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:40:53 % Total % Received % Xferd Average Speed Time Time Time Current 18:40:53 Dload Upload Total Spent Left Speed 18:40:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 18:40:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:40:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:40:54 + sudo tee /etc/docker/daemon.new 18:40:54 { 18:40:54 "registry-mirrors": [ 18:40:54 "https://nexus3.edgexfoundry.org:10001" 18:40:54 ], 18:40:54 "bip": "10.250.0.254/24", 18:40:54 "hosts": [ 18:40:54 "tcp://0.0.0.0:5555", 18:40:54 "unix:///var/run/docker.sock" 18:40:54 ], 18:40:54 "mtu": 1458, 18:40:54 "selinux-enabled": true, 18:40:54 "seccomp-profile": "/etc/docker/seccomp.json" 18:40:54 } [Pipeline] sh 18:40:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:40:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:13 provisioning config files... 18:41:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config17878841024775924645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:13 ---> docker-login.sh 18:41:13 nexus3.edgexfoundry.org:10001 18:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:14 Configure a credential helper to remove this warning. See 18:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:14 18:41:14 Login Succeeded 18:41:14 nexus3.edgexfoundry.org:10002 18:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:15 Configure a credential helper to remove this warning. See 18:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:15 18:41:15 Login Succeeded 18:41:15 nexus3.edgexfoundry.org:10003 18:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:15 Configure a credential helper to remove this warning. See 18:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:15 18:41:15 Login Succeeded 18:41:15 nexus3.edgexfoundry.org:10004 18:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:15 Configure a credential helper to remove this warning. See 18:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:15 18:41:15 Login Succeeded 18:41:15 docker.io 18:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:16 Configure a credential helper to remove this warning. See 18:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:16 18:41:16 Login Succeeded 18:41:16 ---> docker-login.sh ends [Pipeline] } 18:41:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:16 ========================================================= 18:41:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:41:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:17 + 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 . 18:41:17 Sending build context to Docker daemon 2.969MB 18:41:17 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:41:17 Step 2/12 : FROM ${BASE} AS builder 18:41:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:41:17 9b18e9b68314: Pulling fs layer 18:41:17 35d82f9e3411: Pulling fs layer 18:41:17 e16973657156: Pulling fs layer 18:41:17 fc693d55d65f: Pulling fs layer 18:41:17 7e9fc2657dce: Pulling fs layer 18:41:17 dda99020689f: Pulling fs layer 18:41:17 db1c61fa0a46: Pulling fs layer 18:41:17 891c053d2c06: Pulling fs layer 18:41:17 fc693d55d65f: Waiting 18:41:17 7e9fc2657dce: Waiting 18:41:17 dda99020689f: Waiting 18:41:17 db1c61fa0a46: Waiting 18:41:17 891c053d2c06: Waiting 18:41:17 e16973657156: Download complete 18:41:17 35d82f9e3411: Verifying Checksum 18:41:17 35d82f9e3411: Download complete 18:41:17 7e9fc2657dce: Verifying Checksum 18:41:17 7e9fc2657dce: Download complete 18:41:17 dda99020689f: Verifying Checksum 18:41:17 dda99020689f: Download complete 18:41:17 9b18e9b68314: Verifying Checksum 18:41:17 9b18e9b68314: Download complete 18:41:18 9b18e9b68314: Pull complete 18:41:19 891c053d2c06: Verifying Checksum 18:41:19 891c053d2c06: Download complete 18:41:19 35d82f9e3411: Pull complete 18:41:19 e16973657156: Pull complete 18:41:20 db1c61fa0a46: Verifying Checksum 18:41:20 db1c61fa0a46: Download complete 18:41:20 fc693d55d65f: Verifying Checksum 18:41:20 fc693d55d65f: Download complete 18:41:36 fc693d55d65f: Pull complete 18:41:36 7e9fc2657dce: Pull complete 18:41:36 dda99020689f: Pull complete 18:41:40 db1c61fa0a46: Pull complete 18:41:42 891c053d2c06: Pull complete 18:41:42 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:41:42 ---> f96f9c87975a 18:41:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:41:44 ---> Running in cb2fc13f88f9 18:41:44 Removing intermediate container cb2fc13f88f9 18:41:44 ---> 468033b98d9f 18:41:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:41:44 ---> Running in f7d4f821df9a 18:41:45 Removing intermediate container f7d4f821df9a 18:41:45 ---> fd4256a631e8 18:41:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:41:45 ---> Running in 024c4ce52bd6 18:41:45 Removing intermediate container 024c4ce52bd6 18:41:45 ---> 211ac67f9eb1 18:41:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:41:45 ---> Running in f2c8d42e6259 18:41:46 Removing intermediate container f2c8d42e6259 18:41:46 ---> ab80fd5bd478 18:41:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:41:46 ---> Running in 3e68ec0a57bf 18:41:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:41:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:41:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:41:49 (2/4) Installing libedit (20210910.3.1-r0) 18:41:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:41:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:41:49 Executing busybox-1.35.0-r17.trigger 18:41:49 OK: 226 MiB in 55 packages 18:41:50 Removing intermediate container 3e68ec0a57bf 18:41:50 ---> b091de48f3d6 18:41:50 Step 8/12 : WORKDIR /device-snmp-go 18:41:50 ---> Running in c7db838e1f02 18:41:50 Removing intermediate container c7db838e1f02 18:41:50 ---> 46943d95c1cf 18:41:50 Step 9/12 : COPY go.mod vendor* ./ 18:41:51 ---> 275f47eeb102 18:41:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:41:51 ---> Running in 90f554ed92f0 18:42:59 Removing intermediate container 90f554ed92f0 18:42:59 ---> c9de0593e32f 18:42:59 Step 11/12 : COPY . . 18:42:59 ---> 1cfe5159bc23 18:42:59 Step 12/12 : RUN ${MAKE} 18:42:59 ---> Running in f301e397592e 18:42:59 noop 18:42:59 Removing intermediate container f301e397592e 18:42:59 ---> 301b0a7044fe 18:42:59 Successfully built 301b0a7044fe 18:42:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:59 + docker inspect -f . ci-base-image-arm64 18:42:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:59 prd-ubuntu20.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container 18:42:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:43:01 $ docker top ee99886fdcb219b9aa4eb8c00ded985fdb89fc4ffb3e936513682b3d58c5135e -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:02 + go version 18:43:02 go version go1.18.7 linux/arm64 [Pipeline] } 18:43:02 $ docker stop --time=1 ee99886fdcb219b9aa4eb8c00ded985fdb89fc4ffb3e936513682b3d58c5135e 18:43:03 $ docker rm -f --volumes ee99886fdcb219b9aa4eb8c00ded985fdb89fc4ffb3e936513682b3d58c5135e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:04 + docker inspect -f . ci-base-image-arm64 18:43:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:04 prd-ubuntu20.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container 18:43:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:43:05 $ docker top d348b109b23aeda08835542fdcde3d16ca20b0ba0e1196ca2e4d43d734f0ebc7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:06 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 18:43:06 + make test 18:43:06 go test ./... -coverprofile=coverage.out 18:43:09 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:44:30 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:44:30 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 18:44:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:44:30 go vet ./... 18:44:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:44:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:44:48 ./bin/test-attribution-txt.sh [Pipeline] echo 18:44:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:44:48 $ docker stop --time=1 d348b109b23aeda08835542fdcde3d16ca20b0ba0e1196ca2e4d43d734f0ebc7 18:44:50 $ docker rm -f --volumes d348b109b23aeda08835542fdcde3d16ca20b0ba0e1196ca2e4d43d734f0ebc7 [Pipeline] // withDockerContainer [Pipeline] sh 18:44:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:44:51 Warning: overwriting stash ‘coverage-report’ 18:44:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:44:52 + ls -al . 18:44:52 total 176 18:44:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 18:43 . 18:44:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:40 .. 18:44:52 -rw-rw-r-- 1 jenkins jenkins 6 Jan 13 18:40 .dockerignore 18:44:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 18:40 .git 18:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:40 .github 18:44:52 -rw-rw-r-- 1 jenkins jenkins 328 Jan 13 18:40 .gitignore 18:44:52 -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 18:40 .golangci.yml 18:44:52 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 13 18:40 Attribution.txt 18:44:52 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 13 18:40 CHANGELOG.md 18:44:52 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 13 18:40 Dockerfile 18:44:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 18:40 GOVERNANCE.md 18:44:52 -rw-rw-r-- 1 jenkins jenkins 656 Jan 13 18:40 Jenkinsfile 18:44:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 18:40 LICENSE 18:44:52 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 13 18:40 Makefile 18:44:52 -rw-rw-r-- 1 jenkins jenkins 620 Jan 13 18:40 OWNERS.md 18:44:52 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 13 18:40 README.md 18:44:52 -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 18:37 VERSION 18:44:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:40 bin 18:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:40 cmd 18:44:52 -rw-r--r-- 1 jenkins jenkins 7631 Jan 13 18:44 coverage.out 18:44:52 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 13 18:40 go.mod 18:44:52 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 13 18:40 go.sum 18:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:40 internal 18:44:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:40 snap 18:44:52 -rw-rw-r-- 1 jenkins jenkins 228 Jan 13 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:53 + 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=d89bb73a5bc37b753b28a7fa2df840f06ac580f8 --label arch=arm64 --label version=0.0.0 . 18:44:53 Sending build context to Docker daemon 2.977MB 18:44:53 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:44:53 Step 2/24 : FROM ${BASE} AS builder 18:44:53 ---> 301b0a7044fe 18:44:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:44:53 ---> Running in e08445167753 18:44:53 Removing intermediate container e08445167753 18:44:53 ---> 88cd959e34e5 18:44:53 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:44:53 ---> Running in c4c921a2ef19 18:44:54 Removing intermediate container c4c921a2ef19 18:44:54 ---> 5aa3419a2178 18:44:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:44:54 ---> Running in d3f00907387b 18:44:54 Removing intermediate container d3f00907387b 18:44:54 ---> 3360701a471f 18:44:54 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:44:54 ---> Running in 331400553e46 18:44:55 Removing intermediate container 331400553e46 18:44:55 ---> a0596a5ad535 18:44:55 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:44:55 ---> Running in 36adea26b0fe 18:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:44:57 OK: 226 MiB in 55 packages 18:44:58 Removing intermediate container 36adea26b0fe 18:44:58 ---> 4ebc37c230fb 18:44:58 Step 8/24 : WORKDIR /device-snmp-go 18:44:58 ---> Running in 044a0685e1ff 18:44:58 Removing intermediate container 044a0685e1ff 18:44:58 ---> 52e767ef99c0 18:44:58 Step 9/24 : COPY go.mod vendor* ./ 18:44:59 ---> f1d68529d3e1 18:44:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:59 ---> Running in c16b7fdc3fc0 18:45:02 Removing intermediate container c16b7fdc3fc0 18:45:02 ---> 4e5284d89bf9 18:45:02 Step 11/24 : COPY . . 18:45:04 ---> c23d31718da1 18:45:04 Step 12/24 : RUN ${MAKE} 18:45:04 ---> Running in 293428c8dc36 18:45:05 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 18:47:42 Removing intermediate container 293428c8dc36 18:47:42 ---> 9ed653c7afbe 18:47:42 Step 13/24 : FROM alpine:3.16 18:47:42 3.16: Pulling from library/alpine 18:47:42 6875df1f5354: Pulling fs layer 18:47:42 6875df1f5354: Verifying Checksum 18:47:42 6875df1f5354: Download complete 18:47:42 6875df1f5354: Pull complete 18:47:42 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:47:42 Status: Downloaded newer image for alpine:3.16 18:47:42 ---> 2b4661558fb8 18:47:42 Step 14/24 : RUN apk add --update --no-cache dumb-init 18:47:42 ---> Running in d50843a0994b 18:47:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:47:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:47:42 (1/1) Installing dumb-init (1.2.5-r1) 18:47:42 Executing busybox-1.35.0-r17.trigger 18:47:42 OK: 5 MiB in 15 packages 18:47:42 Removing intermediate container d50843a0994b 18:47:42 ---> efb05253d6f7 18:47:42 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:47:42 ---> 9081bfb4831a 18:47:42 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:47:42 ---> 7c504d54aea5 18:47:42 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:47:42 ---> 7741838d8e66 18:47:42 Step 18/24 : EXPOSE 59993 18:47:42 ---> Running in 8f7c16c4b829 18:47:42 Removing intermediate container 8f7c16c4b829 18:47:42 ---> 046734be3cf9 18:47:42 Step 19/24 : EXPOSE 161 18:47:42 ---> Running in 0e1a9abfece8 18:47:42 Removing intermediate container 0e1a9abfece8 18:47:42 ---> 992b208cb6cf 18:47:42 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:47:42 ---> Running in a644acad5670 18:47:42 Removing intermediate container a644acad5670 18:47:42 ---> c00c79207aff 18:47:42 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:47:42 ---> Running in 2f3da3e4c662 18:47:42 Removing intermediate container 2f3da3e4c662 18:47:42 ---> 9fc45b6f1341 18:47:42 Step 22/24 : LABEL arch=arm64 18:47:42 ---> Running in ab4ab307d7c7 18:47:42 Removing intermediate container ab4ab307d7c7 18:47:42 ---> fd0213fed8f0 18:47:42 Step 23/24 : LABEL git_sha=d89bb73a5bc37b753b28a7fa2df840f06ac580f8 18:47:42 ---> Running in 29138b960b4c 18:47:42 Removing intermediate container 29138b960b4c 18:47:42 ---> b24ffee7595d 18:47:42 Step 24/24 : LABEL version=0.0.0 18:47:42 ---> Running in 3b9aa89be783 18:47:42 Removing intermediate container 3b9aa89be783 18:47:42 ---> 07a545cae785 18:47:42 [Warning] One or more build-args [ARCH] were not consumed 18:47:42 Successfully built 07a545cae785 18:47:42 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 18:47:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:47:42 18:47:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:47:43 arm64: Pulling from edgex-lftools-log-publisher 18:47:43 8998bd30e6a1: Pulling fs layer 18:47:43 04944245beec: Pulling fs layer 18:47:43 699f458cf7ca: Pulling fs layer 18:47:43 765212b225bb: Pulling fs layer 18:47:43 f23df028b6ca: Pulling fs layer 18:47:43 d65c8cfc05b1: Pulling fs layer 18:47:43 2437ff75d9bd: Pulling fs layer 18:47:43 765212b225bb: Waiting 18:47:43 d65c8cfc05b1: Waiting 18:47:43 f23df028b6ca: Waiting 18:47:43 2437ff75d9bd: Waiting 18:47:43 04944245beec: Verifying Checksum 18:47:43 04944245beec: Download complete 18:47:43 765212b225bb: Verifying Checksum 18:47:43 765212b225bb: Download complete 18:47:43 f23df028b6ca: Verifying Checksum 18:47:43 f23df028b6ca: Download complete 18:47:43 d65c8cfc05b1: Verifying Checksum 18:47:43 d65c8cfc05b1: Download complete 18:47:43 699f458cf7ca: Verifying Checksum 18:47:43 699f458cf7ca: Download complete 18:47:43 8998bd30e6a1: Download complete 18:47:46 2437ff75d9bd: Verifying Checksum 18:47:46 2437ff75d9bd: Download complete 18:47:47 8998bd30e6a1: Pull complete 18:47:48 04944245beec: Pull complete 18:47:48 699f458cf7ca: Pull complete 18:47:49 765212b225bb: Pull complete 18:47:49 f23df028b6ca: Pull complete 18:47:50 d65c8cfc05b1: Pull complete 18:48:05 2437ff75d9bd: Pull complete 18:48:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:48:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:05 prd-ubuntu20.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container 18:48:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:48:07 $ docker top 45086ccadb18bdb970ae0205cc644476cc92171ce318d57cac49a6c0f6911261 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:08 ---> job-cost.sh 18:48:08 lf-activate-venv: SKIPPING 18:48:08 INFO: No Stack... 18:48:08 INFO: Retrieving Pricing Info for: v3-standard-4 18:48:09 INFO: Archiving Costs [Pipeline] sh 18:48:10 + + cutcat -d, /w/workspace/device-snmp-go/2/archives/cost.csv -f6 18:48:10 [Pipeline] lock 18:48:10 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-213-2-stack-cost] 18:48:10 Resource [jenkins-edgexfoundry-device-snmp-go-PR-213-2-stack-cost] did not exist. Created. 18:48:10 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-213-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:48:10 /w/workspace/device-snmp-go/2@tmp/durable-f60830fb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:48:11 + echo total: 0.10999999940395355 [Pipeline] stash 18:48:11 Warning: overwriting stash ‘stack-cost’ 18:48:11 Stashed 1 file(s) [Pipeline] } 18:48:11 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-213-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:48:11 $ docker stop --time=1 45086ccadb18bdb970ae0205cc644476cc92171ce318d57cac49a6c0f6911261 18:48:12 $ docker rm -f --volumes 45086ccadb18bdb970ae0205cc644476cc92171ce318d57cac49a6c0f6911261 [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 18:48:13 provisioning config files... 18:48:13 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-213@tmp/config11010635836821827006tmp [Pipeline] { [Pipeline] sh 18:48:13 + set +x 18:48:13 + curl -s https://codecov.io/bash 18:48:13 + bash -s -- 18:48:13 18:48:13 _____ _ 18:48:13 / ____| | | 18:48:13 | | ___ __| | ___ ___ _____ __ 18:48:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:48:13 | |___| (_) | (_| | __/ (_| (_) \ V / 18:48:13 \_____\___/ \__,_|\___|\___\___/ \_/ 18:48:13 Bash-1.0.6 18:48:13 18:48:13 18:48:13 ==> git version 2.25.1 found 18:48:13 ==> 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 18:48:13 Release-Date: 2020-01-08 18:48:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:48:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:48:13 ==> Jenkins CI detected. 18:48:13 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-213 18:48:13 project root: . 18:48:13 --> token set from env 18:48:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:48:13 ==> Running gcov in . (disable via -X gcov) 18:48:13 ==> Python coveragepy not found 18:48:13 ==> Searching for coverage reports in: 18:48:13 + . 18:48:13 -> Found 1 reports 18:48:13 ==> Detecting git/mercurial file structure 18:48:13 ==> Reading reports 18:48:13 + ./coverage.out bytes=7631 18:48:13 ==> Appending adjustments 18:48:13 https://docs.codecov.io/docs/fixing-reports 18:48:13 + Found adjustments 18:48:13 ==> Gzipping contents 18:48:13 4.0K /tmp/codecov.urbvG3.gz 18:48:13 ==> Uploading reports 18:48:13 url: https://codecov.io 18:48:13 query: branch=PR-213&commit=d89bb73a5bc37b753b28a7fa2df840f06ac580f8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-213%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=213&job=&cmd_args= 18:48:13 -> Pinging Codecov 18:48:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-213&commit=d89bb73a5bc37b753b28a7fa2df840f06ac580f8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-213%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=213&job=&cmd_args= 18:48:14 -> Uploading to 18:48:14 https://storage.googleapis.com/codecov/v4/raw/2023-01-13/6C56EA5C29638FB4528AC87E60AF5AE0/d89bb73a5bc37b753b28a7fa2df840f06ac580f8/42957f0d-8640-4e0b-bc28-50c848acdef4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230113T184813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9dfe8a2795c3d5a38dd5b059d768c2ac386e0123fa578d983414c27bf9f2cff 18:48:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:48:14 Dload Upload Total Spent Left Speed 18:48:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5303 --:--:-- --:--:-- --:--:-- 5303 18:48:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/d89bb73a5bc37b753b28a7fa2df840f06ac580f8 [Pipeline] } 18:48:14 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 18:48:15 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-213/archives ] 18:48:15 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-213/archives 18:48:15 total 16 18:48:15 drwxr-xr-x 3 root root 4096 Jan 13 18:39 . 18:48:15 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 18:39 .. 18:48:15 drwxr-xr-x 2 root root 4096 Jan 13 18:39 cost 18:48:15 -rw-r--r-- 1 root root 86 Jan 13 18:39 cost.csv 18:48:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-213/archives 18:48:15 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-213/archives 18:48:15 total 16 18:48:15 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 18:39 . 18:48:15 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 18:39 .. 18:48:15 drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 18:39 cost 18:48:15 -rw-r--r-- 1 jenkins jenkins 86 Jan 13 18:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:48:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:48:16 ---> package-listing.sh 18:48:16 ++ facter osfamily 18:48:16 ++ tr '[:upper:]' '[:lower:]' 18:48:16 + OS_FAMILY=debian 18:48:16 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-213 18:48:16 + START_PACKAGES=/tmp/packages_start.txt 18:48:16 + END_PACKAGES=/tmp/packages_end.txt 18:48:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:48:16 + PACKAGES=/tmp/packages_start.txt 18:48:16 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-213 ']' 18:48:16 + PACKAGES=/tmp/packages_end.txt 18:48:16 + case "${OS_FAMILY}" in 18:48:16 + dpkg -l 18:48:16 + grep '^ii' 18:48:16 + '[' -f /tmp/packages_start.txt ']' 18:48:16 + '[' -f /tmp/packages_end.txt ']' 18:48:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:48:16 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-213 ']' 18:48:16 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-213/archives/ 18:48:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-213/archives/ [Pipeline] echo 18:48:16 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-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:48:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:17 prd-ubuntu20.04-docker-8c-8g-2245 does not seem to be running inside a container 18:48:17 $ 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-213/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-213 -v /w/workspace/gexfoundry_device-snmp-go_PR-213:/w/workspace/gexfoundry_device-snmp-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-213@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-213@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:48:17 $ docker top dc80b5f9a6a35f9b7564b0c80d02f23457bb05903119e8c0bd0a028d4d985feb -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:18 + touch /tmp/pre-build-complete [Pipeline] sh 18:48:18 + mkdir -p /var/log/sysstat [Pipeline] sh 18:48:18 + ls /var/log/sa-host 18:48:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:18 provisioning config files... 18:48:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-213@tmp/config12876916999354007265tmp [Pipeline] { [Pipeline] echo 18:48:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:48:19 ---> create-netrc.sh [Pipeline] } 18:48:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:48:19 ---> python-tools-install.sh [Pipeline] echo 18:48:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:48:19 ---> sudo-logs.sh 18:48:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:48:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:48:20 ---> job-cost.sh 18:48:20 lf-activate-venv: SKIPPING 18:48:20 DEBUG: total: 0.2199999988079071 18:48:20 INFO: Retrieving Stack Cost... 18:48:20 INFO: Retrieving Pricing Info for: v3-standard-8 18:48:20 INFO: Archiving Costs [Pipeline] echo 18:48:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:48:21 ---> logs-deploy.sh 18:48:21 lf-activate-venv: SKIPPING 18:48:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-213/2 18:48:21 INFO: archiving workspace using pattern(s): 18:48:22 Archives upload complete. 18:48:22 INFO: archiving logs to Nexus