Pull request #251 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e+d33e94f3f1180f7604676314315f9cce542fcb85 (c4326efd6845386554b9f558b6ab1c9e5a19307d) 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-ssh6774706915241267998.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-ssh5671696313264285567.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-251/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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14932051195266882878.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-ssh8207816470415792071.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-251/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-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8047362337915931063.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 ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8957’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9331 in /w/workspace/gexfoundry_device-snmp-go_PR-251 [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-251 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d33e94f3f1180f7604676314315f9cce542fcb85 into PR head commit 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e Merge succeeded, producing 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e Checking out Revision 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e (PR-251) > 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/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e # 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 d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e # timeout=10 Commit message: "build(deps): bump golang.org/x/net" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:44:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:44:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:44:06 ========================================================= 02:44:06 EdgeX Global Pipelines Version Info 02:44:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 340a8640ae7276737782a707bc9cad106123ab3e # timeout=10 02:44:07 ------------------- 02:44:07 stable info: 02:44:07 ------------------- 02:44:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:44:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:44:07 Message: update stable to v1.0.244 02:44:07 ------------------- 02:44:07 experimental info: 02:44:07 ------------------- 02:44:07 Commited By: **** collab-it+edgex@linuxfoundation.org 02:44:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:44:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:44:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 02:44:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80c976a [Pipeline] echo 02:44:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:08 provisioning config files... 02:44:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config3126786292038066777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:08 ---> docker-login.sh 02:44:08 nexus3.edgexfoundry.org:10001 02:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:08 Configure a credential helper to remove this warning. See 02:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:08 02:44:08 Login Succeeded 02:44:08 nexus3.edgexfoundry.org:10002 02:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:08 Configure a credential helper to remove this warning. See 02:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:08 02:44:08 Login Succeeded 02:44:08 nexus3.edgexfoundry.org:10003 02:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:09 Configure a credential helper to remove this warning. See 02:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:09 02:44:09 Login Succeeded 02:44:09 nexus3.edgexfoundry.org:10004 02:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:09 Configure a credential helper to remove this warning. See 02:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:09 02:44:09 Login Succeeded 02:44:09 docker.io 02:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:09 Configure a credential helper to remove this warning. See 02:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:09 02:44:09 Login Succeeded 02:44:09 ---> docker-login.sh ends [Pipeline] } 02:44:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:44:09 + git rev-list -1 --merges 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e~1..80c976afe94a2097a3e37d86ffb3c4e3a856bb9e [Pipeline] echo 02:44:10 -----------> git rev-list -1 --merges 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e~1..80c976afe94a2097a3e37d86ffb3c4e3a856bb9e 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e [false] [Pipeline] sh 02:44:10 + git log --format=format:%s -1 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e [Pipeline] echo 02:44:10 ========================================================= 02:44:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:44:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:10 + git log --format=format:%s -1 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e [Pipeline] echo 02:44:10 [semverPrep] GIT_COMMIT: 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e, Commit Message: build(deps): bump golang.org/x/net [Pipeline] echo 02:44:10 [semverPrep] This is not a build commit. [Pipeline] sh 02:44:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:44:11 + grep -v github /etc/ssh/ssh_known_hosts 02:44:11 + [ -e /tmp/ssh_known_hosts ] 02:44:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:44:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:44:11 + sudo tee -a /etc/ssh/ssh_known_hosts 02:44:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:11 02:44:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:11 0.1.4: Pulling from edgex-devops/py-git-semver 02:44:11 b85a868b505f: Pulling fs layer 02:44:11 e2be974225ed: Pulling fs layer 02:44:11 339a4e72a1f5: Pulling fs layer 02:44:11 988bab9f4d93: Pulling fs layer 02:44:11 1469e6f7b9e6: Pulling fs layer 02:44:11 eaf3925da568: Pulling fs layer 02:44:11 bab4dde63d76: Pulling fs layer 02:44:11 bde34c3a00c8: Pulling fs layer 02:44:11 b352a97aabf1: Pulling fs layer 02:44:11 4872d77fe225: Pulling fs layer 02:44:11 5851b861e8e6: Pulling fs layer 02:44:11 988bab9f4d93: Waiting 02:44:11 1469e6f7b9e6: Waiting 02:44:11 eaf3925da568: Waiting 02:44:11 bab4dde63d76: Waiting 02:44:11 bde34c3a00c8: Waiting 02:44:11 b352a97aabf1: Waiting 02:44:11 4872d77fe225: Waiting 02:44:11 5851b861e8e6: Waiting 02:44:11 e2be974225ed: Download complete 02:44:11 988bab9f4d93: Download complete 02:44:11 1469e6f7b9e6: Verifying Checksum 02:44:11 1469e6f7b9e6: Download complete 02:44:11 eaf3925da568: Verifying Checksum 02:44:11 eaf3925da568: Download complete 02:44:11 339a4e72a1f5: Verifying Checksum 02:44:11 339a4e72a1f5: Download complete 02:44:11 bde34c3a00c8: Download complete 02:44:11 b352a97aabf1: Verifying Checksum 02:44:11 b352a97aabf1: Download complete 02:44:11 4872d77fe225: Download complete 02:44:11 5851b861e8e6: Verifying Checksum 02:44:11 5851b861e8e6: Download complete 02:44:11 b85a868b505f: Verifying Checksum 02:44:11 b85a868b505f: Download complete 02:44:12 bab4dde63d76: Verifying Checksum 02:44:12 bab4dde63d76: Download complete 02:44:13 b85a868b505f: Pull complete 02:44:13 e2be974225ed: Pull complete 02:44:13 339a4e72a1f5: Pull complete 02:44:13 988bab9f4d93: Pull complete 02:44:14 1469e6f7b9e6: Pull complete 02:44:14 eaf3925da568: Pull complete 02:44:16 bab4dde63d76: Pull complete 02:44:16 bde34c3a00c8: Pull complete 02:44:16 b352a97aabf1: Pull complete 02:44:16 4872d77fe225: Pull complete 02:44:16 5851b861e8e6: Pull complete 02:44:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:44:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:16 prd-ubuntu20.04-docker-8c-8g-9331 does not seem to be running inside a container 02:44:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:44:18 $ docker top e21647fb9ca4158f0bd45a65b6593c84f0095f1b4f980f90f46ade8e98e32696 -eo pid,comm 02:44:18 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). 02:44:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:18 [ssh-agent] Looking for ssh-agent implementation... 02:44:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:18 $ docker exec e21647fb9ca4158f0bd45a65b6593c84f0095f1b4f980f90f46ade8e98e32696 ssh-agent 02:44:18 SSH_AUTH_SOCK=/tmp/ssh-zNpiUn3fFkZA/agent.33 02:44:18 SSH_AGENT_PID=39 02:44:18 Running ssh-add (command line suppressed) 02:44:18 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_11179118981444895099.key (/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_11179118981444895099.key) 02:44:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:18 + git tag --points-at HEAD [Pipeline] } 02:44:18 $ docker exec --env ******** --env ******** e21647fb9ca4158f0bd45a65b6593c84f0095f1b4f980f90f46ade8e98e32696 ssh-agent -k 02:44:18 unset SSH_AUTH_SOCK; 02:44:18 unset SSH_AGENT_PID; 02:44:18 echo Agent pid 39 killed; 02:44:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:44:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:18 [ssh-agent] Looking for ssh-agent implementation... 02:44:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:19 $ docker exec e21647fb9ca4158f0bd45a65b6593c84f0095f1b4f980f90f46ade8e98e32696 ssh-agent 02:44:19 SSH_AUTH_SOCK=/tmp/ssh-p6PthRdpLDuB/agent.72 02:44:19 SSH_AGENT_PID=78 02:44:19 Running ssh-add (command line suppressed) 02:44:19 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_12571626738381399249.key (/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_12571626738381399249.key) 02:44:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:19 + git semver init 02:44:19 2023-03-09 02:44:19,738 [run_init] DEBUG init version:0.0.0 force:False 02:44:19 2023-03-09 02:44:19,739 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver 02:44:19 2023-03-09 02:44:19,739 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-251/.semver 02:44:19 2023-03-09 02:44:19,739 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251, universal_newlines=False, shell=None, istream=None) 02:44:20 2023-03-09 02:44:20,490 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-251/.git/info/exclude 02:44:20 2023-03-09 02:44:20,491 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 with force:False 02:44:20 2023-03-09 02:44:20,491 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 02:44:20 2023-03-09 02:44:20,496 [execute] INFO git cat-file --batch-check 02:44:20 2023-03-09 02:44:20,497 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) 02:44:20 2023-03-09 02:44:20,504 [execute] INFO git cat-file --batch 02:44:20 2023-03-09 02:44:20,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) 02:44:20 2023-03-09 02:44:20,511 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 02:44:20 0.0.0 [Pipeline] } 02:44:20 $ docker exec --env ******** --env ******** e21647fb9ca4158f0bd45a65b6593c84f0095f1b4f980f90f46ade8e98e32696 ssh-agent -k 02:44:20 unset SSH_AUTH_SOCK; 02:44:20 unset SSH_AGENT_PID; 02:44:20 echo Agent pid 78 killed; 02:44:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:21 + git semver [Pipeline] } 02:44:21 $ docker stop --time=1 e21647fb9ca4158f0bd45a65b6593c84f0095f1b4f980f90f46ade8e98e32696 02:44:22 $ docker rm -f --volumes e21647fb9ca4158f0bd45a65b6593c84f0095f1b4f980f90f46ade8e98e32696 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:44:23 Stashed 1 file(s) [Pipeline] echo 02:44:23 [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 02:44:23 provisioning config files... 02:44:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config13844325157272015741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:23 ---> docker-login.sh 02:44:23 nexus3.edgexfoundry.org:10001 02:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:23 Configure a credential helper to remove this warning. See 02:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:23 02:44:23 Login Succeeded 02:44:23 nexus3.edgexfoundry.org:10002 02:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:23 Configure a credential helper to remove this warning. See 02:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:23 02:44:23 Login Succeeded 02:44:23 nexus3.edgexfoundry.org:10003 02:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:24 Configure a credential helper to remove this warning. See 02:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:24 02:44:24 Login Succeeded 02:44:24 nexus3.edgexfoundry.org:10004 02:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:24 Configure a credential helper to remove this warning. See 02:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:24 02:44:24 Login Succeeded 02:44:24 docker.io 02:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:24 Configure a credential helper to remove this warning. See 02:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:24 02:44:24 Login Succeeded 02:44:24 ---> docker-login.sh ends [Pipeline] } 02:44:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:44:24 ========================================================= 02:44:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:44:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:24 + 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 . 02:44:24 Sending build context to Docker daemon 5.701MB 02:44:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:44:24 Step 2/12 : FROM ${BASE} AS builder 02:44:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:24 213ec9aee27d: Pulling fs layer 02:44:24 4583459ba037: Pulling fs layer 02:44:24 93c1e223e6f2: Pulling fs layer 02:44:24 53926ce57604: Pulling fs layer 02:44:24 21b2b0c7a3f4: Pulling fs layer 02:44:24 22ff95d597cd: Pulling fs layer 02:44:24 12d6caf4c0d1: Pulling fs layer 02:44:24 96b7cbca73a9: Pulling fs layer 02:44:24 a7acece74701: Pulling fs layer 02:44:24 21b2b0c7a3f4: Waiting 02:44:24 22ff95d597cd: Waiting 02:44:24 12d6caf4c0d1: Waiting 02:44:24 96b7cbca73a9: Waiting 02:44:24 a7acece74701: Waiting 02:44:24 53926ce57604: Waiting 02:44:24 93c1e223e6f2: Download complete 02:44:24 4583459ba037: Verifying Checksum 02:44:24 4583459ba037: Download complete 02:44:25 21b2b0c7a3f4: Verifying Checksum 02:44:25 21b2b0c7a3f4: Download complete 02:44:25 22ff95d597cd: Verifying Checksum 02:44:25 22ff95d597cd: Download complete 02:44:25 213ec9aee27d: Verifying Checksum 02:44:25 213ec9aee27d: Download complete 02:44:25 12d6caf4c0d1: Download complete 02:44:25 213ec9aee27d: Pull complete 02:44:25 4583459ba037: Pull complete 02:44:25 93c1e223e6f2: Pull complete 02:44:25 a7acece74701: Verifying Checksum 02:44:25 a7acece74701: Download complete 02:44:25 96b7cbca73a9: Verifying Checksum 02:44:25 53926ce57604: Verifying Checksum 02:44:25 53926ce57604: Download complete 02:44:29 53926ce57604: Pull complete 02:44:29 21b2b0c7a3f4: Pull complete 02:44:29 22ff95d597cd: Pull complete 02:44:29 12d6caf4c0d1: Pull complete 02:44:32 96b7cbca73a9: Pull complete 02:44:33 a7acece74701: Pull complete 02:44:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:44:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:44:33 ---> db6d94c90886 02:44:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:44:34 ---> Running in 644b12b74d43 02:44:34 Removing intermediate container 644b12b74d43 02:44:34 ---> f34d949005f3 02:44:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:34 ---> Running in b6f1287eeb1c 02:44:34 Removing intermediate container b6f1287eeb1c 02:44:34 ---> c5defafeadd6 02:44:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:44:34 ---> Running in d423bedaee8d 02:44:34 Removing intermediate container d423bedaee8d 02:44:34 ---> b0c1df5d7c40 02:44:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:44:34 ---> Running in ee92f3127ade 02:44:34 Removing intermediate container ee92f3127ade 02:44:34 ---> 55bbfe5d04ab 02:44:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:34 ---> Running in f09ba142935c 02:44:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:44:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:44:35 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:44:35 (2/4) Installing libedit (20210910.3.1-r0) 02:44:35 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:44:35 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:44:35 Executing busybox-1.35.0-r17.trigger 02:44:35 OK: 216 MiB in 55 packages 02:44:36 Removing intermediate container f09ba142935c 02:44:36 ---> 797fa373dc75 02:44:36 Step 8/12 : WORKDIR /device-snmp-go 02:44:36 ---> Running in 5a822269e5d6 02:44:36 Removing intermediate container 5a822269e5d6 02:44:36 ---> 1b523bd5d5ca 02:44:36 Step 9/12 : COPY go.mod vendor* ./ 02:44:36 ---> c2a91113bc45 02:44:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:36 ---> Running in 14ab2c7a8f05 02:44:38 Still waiting to schedule task 02:44:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:45:02 Removing intermediate container 14ab2c7a8f05 02:45:02 ---> 6dd7fc315eb8 02:45:02 Step 11/12 : COPY . . 02:45:02 ---> cd2702ba2bb4 02:45:02 Step 12/12 : RUN ${MAKE} 02:45:02 ---> Running in 13c7331f897d 02:45:02 noop 02:45:02 Removing intermediate container 13c7331f897d 02:45:02 ---> 92f29f247378 02:45:02 Successfully built 92f29f247378 02:45:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:03 + docker inspect -f . ci-base-image-x86_64 02:45:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:03 prd-ubuntu20.04-docker-8c-8g-9331 does not seem to be running inside a container 02:45:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:03 $ docker top b52b299855f27eda012410ea1abfcc2d9f259b1deaf4e57368278740de07f7ef -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:03 + go version 02:45:03 go version go1.18.7 linux/amd64 [Pipeline] } 02:45:04 $ docker stop --time=1 b52b299855f27eda012410ea1abfcc2d9f259b1deaf4e57368278740de07f7ef 02:45:05 $ docker rm -f --volumes b52b299855f27eda012410ea1abfcc2d9f259b1deaf4e57368278740de07f7ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:05 + docker inspect -f . ci-base-image-x86_64 02:45:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:05 prd-ubuntu20.04-docker-8c-8g-9331 does not seem to be running inside a container 02:45:05 $ 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-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:06 $ docker top b40a726d449d2db59c8128659942c598b46112748fde1fbbff5f48b0bbcfe80a -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-251 [Pipeline] fileExists [Pipeline] sh 02:45:06 + make test 02:45:06 go test ./... -coverprofile=coverage.out 02:45:07 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:45:17 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:45:17 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 02:45:22 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." 02:45:22 go vet ./... 02:45:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:45:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:45:25 ./bin/test-attribution-txt.sh 02:45:25 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:45:25 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:45:25 $ docker stop --time=1 b40a726d449d2db59c8128659942c598b46112748fde1fbbff5f48b0bbcfe80a 02:45:27 $ docker rm -f --volumes b40a726d449d2db59c8128659942c598b46112748fde1fbbff5f48b0bbcfe80a [Pipeline] // withDockerContainer [Pipeline] sh 02:45:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:45:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:45:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:28 + ls -al . 02:45:28 total 172 02:45:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 02:45 . 02:45:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:44 .. 02:45:28 -rw-rw-r-- 1 jenkins jenkins 6 Mar 9 02:44 .dockerignore 02:45:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:45 .git 02:45:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:44 .github 02:45:28 -rw-rw-r-- 1 jenkins jenkins 328 Mar 9 02:44 .gitignore 02:45:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:44 .golangci.yml 02:45:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:44 .semver 02:45:28 -rw-rw-r-- 1 jenkins jenkins 8828 Mar 9 02:44 Attribution.txt 02:45:28 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 9 02:44 CHANGELOG.md 02:45:28 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 9 02:44 Dockerfile 02:45:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:44 GOVERNANCE.md 02:45:28 -rw-rw-r-- 1 jenkins jenkins 656 Mar 9 02:44 Jenkinsfile 02:45:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:44 LICENSE 02:45:28 -rw-rw-r-- 1 jenkins jenkins 2079 Mar 9 02:44 Makefile 02:45:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 02:44 OWNERS.md 02:45:28 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 9 02:44 README.md 02:45:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:44 VERSION 02:45:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:44 bin 02:45:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:44 cmd 02:45:28 -rw-r--r-- 1 jenkins jenkins 7631 Mar 9 02:45 coverage.out 02:45:28 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 9 02:44 go.mod 02:45:28 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 9 02:44 go.sum 02:45:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:44 internal 02:45:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:44 snap 02:45:28 -rw-rw-r-- 1 jenkins jenkins 228 Mar 9 02:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:28 + 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=80c976afe94a2097a3e37d86ffb3c4e3a856bb9e --label arch=amd64 --label version=0.0.0 . 02:45:28 Sending build context to Docker daemon 5.709MB 02:45:28 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 02:45:28 Step 2/24 : FROM ${BASE} AS builder 02:45:28 ---> 92f29f247378 02:45:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:45:28 ---> Running in 3c115a69bc8d 02:45:29 Removing intermediate container 3c115a69bc8d 02:45:29 ---> e92063c66143 02:45:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:45:29 ---> Running in b97d5cde2e78 02:45:29 Removing intermediate container b97d5cde2e78 02:45:29 ---> 8ad7d8122d0b 02:45:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:45:29 ---> Running in bb62771f21cb 02:45:29 Removing intermediate container bb62771f21cb 02:45:29 ---> cf03675bc6f8 02:45:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:45:29 ---> Running in ab321725e01e 02:45:29 Removing intermediate container ab321725e01e 02:45:29 ---> fef0daacd905 02:45:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:29 ---> Running in 4b88bb43a7f8 02:45:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:45:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:45:30 OK: 216 MiB in 55 packages 02:45:30 Removing intermediate container 4b88bb43a7f8 02:45:30 ---> 26beac30bb1e 02:45:30 Step 8/24 : WORKDIR /device-snmp-go 02:45:30 ---> Running in 9480172c8863 02:45:30 Removing intermediate container 9480172c8863 02:45:30 ---> f673517d143c 02:45:30 Step 9/24 : COPY go.mod vendor* ./ 02:45:30 ---> 7c6fd1d3e4fc 02:45:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:30 ---> Running in 466f3dcea77f 02:45:31 Removing intermediate container 466f3dcea77f 02:45:31 ---> 23c8d1326cb8 02:45:31 Step 11/24 : COPY . . 02:45:32 ---> ad69f78cfb8c 02:45:32 Step 12/24 : RUN ${MAKE} 02:45:32 ---> Running in 442c6b13e3aa 02:45:32 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 02:45:50 Removing intermediate container 442c6b13e3aa 02:45:50 ---> e3dbd6f6bff9 02:45:50 Step 13/24 : FROM alpine:3.16 02:45:50 3.16: Pulling from library/alpine 02:45:50 ef5531b6e74e: Pulling fs layer 02:45:50 ef5531b6e74e: Verifying Checksum 02:45:50 ef5531b6e74e: Download complete 02:45:50 ef5531b6e74e: Pull complete 02:45:50 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:45:50 Status: Downloaded newer image for alpine:3.16 02:45:50 ---> dfd21b5a31f5 02:45:50 Step 14/24 : RUN apk add --update --no-cache dumb-init 02:45:50 ---> Running in 913112c2e203 02:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:45:50 (1/1) Installing dumb-init (1.2.5-r1) 02:45:50 Executing busybox-1.35.0-r17.trigger 02:45:50 OK: 6 MiB in 15 packages 02:45:50 Removing intermediate container 913112c2e203 02:45:50 ---> a74574ae997d 02:45:50 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 02:45:51 ---> 9b31643d2e19 02:45:51 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:45:51 ---> 765959f70a3d 02:45:51 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 02:45:51 ---> d56aa201f0e2 02:45:51 Step 18/24 : EXPOSE 59993 02:45:51 ---> Running in d4110113a2b0 02:45:51 Removing intermediate container d4110113a2b0 02:45:51 ---> 570364eb5e96 02:45:51 Step 19/24 : EXPOSE 161 02:45:51 ---> Running in cb9b82a86c57 02:45:51 Removing intermediate container cb9b82a86c57 02:45:51 ---> 6d3ad574eccc 02:45:51 Step 20/24 : ENTRYPOINT ["/device-snmp"] 02:45:51 ---> Running in 8ae0ad272b4f 02:45:52 Removing intermediate container 8ae0ad272b4f 02:45:52 ---> 4e35bf171df7 02:45:52 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:45:52 ---> Running in c50db469aef0 02:45:52 Removing intermediate container c50db469aef0 02:45:52 ---> 28e9de4503c0 02:45:52 Step 22/24 : LABEL arch=amd64 02:45:52 ---> Running in c0390ab9fe61 02:45:52 Removing intermediate container c0390ab9fe61 02:45:52 ---> 649f3dbd5243 02:45:52 Step 23/24 : LABEL git_sha=80c976afe94a2097a3e37d86ffb3c4e3a856bb9e 02:45:52 ---> Running in 329da9c8fc00 02:45:52 Removing intermediate container 329da9c8fc00 02:45:52 ---> 5ccd8a57c145 02:45:52 Step 24/24 : LABEL version=0.0.0 02:45:52 ---> Running in 2d2f42f88977 02:45:52 Removing intermediate container 2d2f42f88977 02:45:52 ---> e963b8f78ee4 02:45:52 [Warning] One or more build-args [ARCH] were not consumed 02:45:52 Successfully built e963b8f78ee4 02:45:52 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 02:45:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:52 02:45:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:53 latest: Pulling from edgex-lftools-log-publisher 02:45:53 5eb5b503b376: Pulling fs layer 02:45:53 5c69ac0246d0: Pulling fs layer 02:45:53 ec43610c2a17: Pulling fs layer 02:45:53 3a2ae6a8a46f: Pulling fs layer 02:45:53 33b1e0a273af: Pulling fs layer 02:45:53 5d3b04190fa2: Pulling fs layer 02:45:53 2f39f015ded8: Pulling fs layer 02:45:53 3a2ae6a8a46f: Waiting 02:45:53 5d3b04190fa2: Waiting 02:45:53 33b1e0a273af: Waiting 02:45:53 2f39f015ded8: Waiting 02:45:53 5c69ac0246d0: Download complete 02:45:53 3a2ae6a8a46f: Verifying Checksum 02:45:53 3a2ae6a8a46f: Download complete 02:45:53 33b1e0a273af: Verifying Checksum 02:45:53 33b1e0a273af: Download complete 02:45:53 5d3b04190fa2: Download complete 02:45:53 ec43610c2a17: Verifying Checksum 02:45:53 ec43610c2a17: Download complete 02:45:53 5eb5b503b376: Verifying Checksum 02:45:53 5eb5b503b376: Download complete 02:45:54 2f39f015ded8: Download complete 02:45:54 5eb5b503b376: Pull complete 02:45:54 5c69ac0246d0: Pull complete 02:45:55 ec43610c2a17: Pull complete 02:45:55 3a2ae6a8a46f: Pull complete 02:45:55 33b1e0a273af: Pull complete 02:45:55 5d3b04190fa2: Pull complete 02:45:59 2f39f015ded8: Pull complete 02:45:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:59 prd-ubuntu20.04-docker-8c-8g-9331 does not seem to be running inside a container 02:46:00 $ 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-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:46:01 $ docker top a77fa65af727db97b6de0283ac7f6c04427ff0f515b07ab6b7aae86df56e274b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:01 ---> job-cost.sh 02:46:01 lf-activate-venv: SKIPPING 02:46:01 INFO: No Stack... 02:46:02 INFO: Retrieving Pricing Info for: v3-standard-8 02:46:02 INFO: Archiving Costs [Pipeline] sh 02:46:02 + cat /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/cost.csv 02:46:02 + cut -d, -f6 [Pipeline] lock 02:46:02 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-251-2-stack-cost] 02:46:02 Resource [jenkins-edgexfoundry-device-snmp-go-PR-251-2-stack-cost] did not exist. Created. 02:46:02 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-251-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:46:03 + echo total: 0.2199999988079071 [Pipeline] stash 02:46:03 Stashed 1 file(s) [Pipeline] } 02:46:03 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-251-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:46:03 $ docker stop --time=1 a77fa65af727db97b6de0283ac7f6c04427ff0f515b07ab6b7aae86df56e274b 02:46:04 $ docker rm -f --volumes a77fa65af727db97b6de0283ac7f6c04427ff0f515b07ab6b7aae86df56e274b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:48:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9346 in /w/workspace/gexfoundry_device-snmp-go_PR-251 [Pipeline] { [Pipeline] ws 02:48:43 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 02:48:43 Selected Git installation does not exist. Using Default 02:48:43 The recommended git tool is: NONE 02:48:50 using credential edgex-jenkins-ssh 02:48:50 Cloning the remote Git repository 02:48:50 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 02:48:50 > git init /w/workspace/device-snmp-go/2 # timeout=10 02:48:50 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:48:50 > git --version # timeout=10 02:48:50 > git --version # 'git version 2.25.1' 02:48:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:51 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:48:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:53 Merging remotes/origin/main commit d33e94f3f1180f7604676314315f9cce542fcb85 into PR head commit 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e 02:48:53 Merge succeeded, producing 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e 02:48:53 Checking out Revision 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e (PR-251) 02:48:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:48:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:48:52 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:48:53 > git config core.sparsecheckout # timeout=10 02:48:53 > git checkout -f 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e # timeout=10 02:48:53 > git remote # timeout=10 02:48:53 > git config --get remote.origin.url # timeout=10 02:48:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:53 > git merge d33e94f3f1180f7604676314315f9cce542fcb85 # timeout=10 02:48:53 > git rev-parse HEAD^{commit} # timeout=10 02:48:53 > git config core.sparsecheckout # timeout=10 02:48:53 > git checkout -f 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e # timeout=10 02:48:54 Commit message: "build(deps): bump golang.org/x/net" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:48:55 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:55 Dload Upload Total Spent Left Speed 02:48:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 02:48:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:48:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:48:56 + sudo tee /etc/docker/daemon.new 02:48:56 { 02:48:56 "registry-mirrors": [ 02:48:56 "https://nexus3.edgexfoundry.org:10001" 02:48:56 ], 02:48:56 "bip": "10.250.0.254/24", 02:48:56 "hosts": [ 02:48:56 "tcp://0.0.0.0:5555", 02:48:56 "unix:///var/run/docker.sock" 02:48:56 ], 02:48:56 "mtu": 1458, 02:48:56 "selinux-enabled": true, 02:48:56 "seccomp-profile": "/etc/docker/seccomp.json" 02:48:56 } [Pipeline] sh 02:48:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:48:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:15 provisioning config files... 02:49:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config12988471571367130382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:15 ---> docker-login.sh 02:49:15 nexus3.edgexfoundry.org:10001 02:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:16 Configure a credential helper to remove this warning. See 02:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:16 02:49:16 Login Succeeded 02:49:16 nexus3.edgexfoundry.org:10002 02:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:17 Configure a credential helper to remove this warning. See 02:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:17 02:49:17 Login Succeeded 02:49:17 nexus3.edgexfoundry.org:10003 02:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:17 Configure a credential helper to remove this warning. See 02:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:17 02:49:17 Login Succeeded 02:49:17 nexus3.edgexfoundry.org:10004 02:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:17 Configure a credential helper to remove this warning. See 02:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:17 02:49:17 Login Succeeded 02:49:17 docker.io 02:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:18 Configure a credential helper to remove this warning. See 02:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:18 02:49:18 Login Succeeded 02:49:18 ---> docker-login.sh ends [Pipeline] } 02:49:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:49:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:49:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:49:18 ========================================================= 02:49:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:49:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:19 + 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 . 02:49:19 Sending build context to Docker daemon 2.95MB 02:49:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:49:19 Step 2/12 : FROM ${BASE} AS builder 02:49:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:49:19 9b18e9b68314: Pulling fs layer 02:49:19 35d82f9e3411: Pulling fs layer 02:49:19 e16973657156: Pulling fs layer 02:49:19 fc693d55d65f: Pulling fs layer 02:49:19 7e9fc2657dce: Pulling fs layer 02:49:19 dda99020689f: Pulling fs layer 02:49:19 db1c61fa0a46: Pulling fs layer 02:49:19 891c053d2c06: Pulling fs layer 02:49:19 fc693d55d65f: Waiting 02:49:19 7e9fc2657dce: Waiting 02:49:19 dda99020689f: Waiting 02:49:19 db1c61fa0a46: Waiting 02:49:19 891c053d2c06: Waiting 02:49:19 e16973657156: Verifying Checksum 02:49:19 e16973657156: Download complete 02:49:19 35d82f9e3411: Download complete 02:49:19 7e9fc2657dce: Verifying Checksum 02:49:19 7e9fc2657dce: Download complete 02:49:19 dda99020689f: Verifying Checksum 02:49:19 dda99020689f: Download complete 02:49:19 9b18e9b68314: Verifying Checksum 02:49:19 9b18e9b68314: Download complete 02:49:21 9b18e9b68314: Pull complete 02:49:21 891c053d2c06: Verifying Checksum 02:49:21 891c053d2c06: Download complete 02:49:21 35d82f9e3411: Pull complete 02:49:21 e16973657156: Pull complete 02:49:22 db1c61fa0a46: Verifying Checksum 02:49:22 db1c61fa0a46: Download complete 02:49:22 fc693d55d65f: Verifying Checksum 02:49:22 fc693d55d65f: Download complete 02:49:35 fc693d55d65f: Pull complete 02:49:35 7e9fc2657dce: Pull complete 02:49:35 dda99020689f: Pull complete 02:49:44 db1c61fa0a46: Pull complete 02:49:46 891c053d2c06: Pull complete 02:49:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:49:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:49:46 ---> f96f9c87975a 02:49:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:49:46 ---> Running in f6e2a1e3de6f 02:49:46 Removing intermediate container f6e2a1e3de6f 02:49:46 ---> ea6a6d7b1907 02:49:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:49:47 ---> Running in 87aa852800fb 02:49:47 Removing intermediate container 87aa852800fb 02:49:47 ---> e3b79f8d9c62 02:49:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:49:47 ---> Running in 2eb8575672ce 02:49:48 Removing intermediate container 2eb8575672ce 02:49:48 ---> 46e7dcbe85ee 02:49:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:49:48 ---> Running in 854e17117914 02:49:48 Removing intermediate container 854e17117914 02:49:48 ---> 18bb8363e98e 02:49:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:48 ---> Running in e4a6abd07f19 02:49:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:49:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:49:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:49:51 (2/4) Installing libedit (20210910.3.1-r0) 02:49:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:49:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:49:51 Executing busybox-1.35.0-r17.trigger 02:49:51 OK: 226 MiB in 55 packages 02:49:52 Removing intermediate container e4a6abd07f19 02:49:52 ---> a5059b154224 02:49:52 Step 8/12 : WORKDIR /device-snmp-go 02:49:52 ---> Running in 21af79d2b69d 02:49:52 Removing intermediate container 21af79d2b69d 02:49:52 ---> 9bc748017083 02:49:52 Step 9/12 : COPY go.mod vendor* ./ 02:49:53 ---> 52ff941d54d8 02:49:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:53 ---> Running in cf4498dd3563 02:51:01 Removing intermediate container cf4498dd3563 02:51:01 ---> 1d9b62be9b0b 02:51:01 Step 11/12 : COPY . . 02:51:01 ---> 2898c4841dfb 02:51:01 Step 12/12 : RUN ${MAKE} 02:51:01 ---> Running in 5116a4e82b23 02:51:01 noop 02:51:01 Removing intermediate container 5116a4e82b23 02:51:01 ---> 4941b051768c 02:51:01 Successfully built 4941b051768c 02:51:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:02 + docker inspect -f . ci-base-image-arm64 02:51:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:02 prd-ubuntu20.04-docker-arm64-4c-16g-9346 does not seem to be running inside a container 02:51:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:51:03 $ docker top b0ce0f4b3a68ef827c0df22b63bd9effd12cb9c4c649dfb2b850f88c654e0004 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:04 + go version 02:51:04 go version go1.18.7 linux/arm64 [Pipeline] } 02:51:04 $ docker stop --time=1 b0ce0f4b3a68ef827c0df22b63bd9effd12cb9c4c649dfb2b850f88c654e0004 02:51:06 $ docker rm -f --volumes b0ce0f4b3a68ef827c0df22b63bd9effd12cb9c4c649dfb2b850f88c654e0004 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:06 + docker inspect -f . ci-base-image-arm64 02:51:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:07 prd-ubuntu20.04-docker-arm64-4c-16g-9346 does not seem to be running inside a container 02:51:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:51:08 $ docker top 41b4cad61a3b1fed3ddebd74903b28dc7e58ddd48ea6e892d1cc3a8d053b64f6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:09 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 02:51:10 + make test 02:51:10 go test ./... -coverprofile=coverage.out 02:51:11 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:52:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:52:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 02:52:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:52:48 go vet ./... 02:53:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:53:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:53:10 ./bin/test-attribution-txt.sh 02:53:10 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:53:10 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:53:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:53:10 $ docker stop --time=1 41b4cad61a3b1fed3ddebd74903b28dc7e58ddd48ea6e892d1cc3a8d053b64f6 02:53:12 $ docker rm -f --volumes 41b4cad61a3b1fed3ddebd74903b28dc7e58ddd48ea6e892d1cc3a8d053b64f6 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:53:13 Warning: overwriting stash ‘coverage-report’ 02:53:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:15 + ls -al . 02:53:15 total 168 02:53:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:51 . 02:53:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:48 .. 02:53:15 -rw-rw-r-- 1 jenkins jenkins 6 Mar 9 02:48 .dockerignore 02:53:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:48 .git 02:53:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:48 .github 02:53:15 -rw-rw-r-- 1 jenkins jenkins 328 Mar 9 02:48 .gitignore 02:53:15 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:48 .golangci.yml 02:53:15 -rw-rw-r-- 1 jenkins jenkins 8828 Mar 9 02:48 Attribution.txt 02:53:15 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 9 02:48 CHANGELOG.md 02:53:15 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 9 02:48 Dockerfile 02:53:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:48 GOVERNANCE.md 02:53:15 -rw-rw-r-- 1 jenkins jenkins 656 Mar 9 02:48 Jenkinsfile 02:53:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:48 LICENSE 02:53:15 -rw-rw-r-- 1 jenkins jenkins 2079 Mar 9 02:48 Makefile 02:53:15 -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 02:48 OWNERS.md 02:53:15 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 9 02:48 README.md 02:53:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:44 VERSION 02:53:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:48 bin 02:53:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:48 cmd 02:53:15 -rw-r--r-- 1 jenkins jenkins 7631 Mar 9 02:52 coverage.out 02:53:15 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 9 02:48 go.mod 02:53:15 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 9 02:48 go.sum 02:53:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:48 internal 02:53:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:48 snap 02:53:15 -rw-rw-r-- 1 jenkins jenkins 228 Mar 9 02:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:15 + 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=80c976afe94a2097a3e37d86ffb3c4e3a856bb9e --label arch=arm64 --label version=0.0.0 . 02:53:16 Sending build context to Docker daemon 2.958MB 02:53:16 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 02:53:16 Step 2/24 : FROM ${BASE} AS builder 02:53:16 ---> 4941b051768c 02:53:16 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:53:16 ---> Running in 47ad49c8f8e3 02:53:17 Removing intermediate container 47ad49c8f8e3 02:53:17 ---> 84c27600693d 02:53:17 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:53:17 ---> Running in 7888172c1bdd 02:53:17 Removing intermediate container 7888172c1bdd 02:53:17 ---> fe54d1320ac3 02:53:17 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:53:18 ---> Running in 9b6243fe100a 02:53:18 Removing intermediate container 9b6243fe100a 02:53:18 ---> 8e1cdaed87fe 02:53:18 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:53:18 ---> Running in 1ba1e96b2e1d 02:53:19 Removing intermediate container 1ba1e96b2e1d 02:53:19 ---> b84eef335301 02:53:19 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:19 ---> Running in 9e7be6b64c2e 02:53:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:53:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:53:22 OK: 226 MiB in 55 packages 02:53:23 Removing intermediate container 9e7be6b64c2e 02:53:23 ---> 341da5e34f6f 02:53:23 Step 8/24 : WORKDIR /device-snmp-go 02:53:23 ---> Running in d9d23d969ab6 02:53:23 Removing intermediate container d9d23d969ab6 02:53:23 ---> cb1a597a2c5c 02:53:23 Step 9/24 : COPY go.mod vendor* ./ 02:53:24 ---> da2c2a0f662b 02:53:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:24 ---> Running in 2509390bcb29 02:53:28 Removing intermediate container 2509390bcb29 02:53:28 ---> d7dc49bb12b0 02:53:28 Step 11/24 : COPY . . 02:53:29 ---> 8879abaad85b 02:53:29 Step 12/24 : RUN ${MAKE} 02:53:29 ---> Running in 903f463a1d55 02:53:30 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 02:56:22 Removing intermediate container 903f463a1d55 02:56:22 ---> 686d0ce74241 02:56:22 Step 13/24 : FROM alpine:3.16 02:56:22 3.16: Pulling from library/alpine 02:56:22 3760b48202b3: Pulling fs layer 02:56:22 3760b48202b3: Verifying Checksum 02:56:22 3760b48202b3: Download complete 02:56:22 3760b48202b3: Pull complete 02:56:22 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:56:22 Status: Downloaded newer image for alpine:3.16 02:56:22 ---> 4c81e5bf8899 02:56:22 Step 14/24 : RUN apk add --update --no-cache dumb-init 02:56:22 ---> Running in 37480ccc0068 02:56:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:56:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:56:22 (1/1) Installing dumb-init (1.2.5-r1) 02:56:22 Executing busybox-1.35.0-r17.trigger 02:56:22 OK: 5 MiB in 15 packages 02:56:22 Removing intermediate container 37480ccc0068 02:56:22 ---> e0d434daf6ce 02:56:22 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 02:56:22 ---> bdea48e55323 02:56:22 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:56:22 ---> bad5334d8350 02:56:22 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 02:56:22 ---> d40266b642d8 02:56:22 Step 18/24 : EXPOSE 59993 02:56:22 ---> Running in e4f466e52695 02:56:22 Removing intermediate container e4f466e52695 02:56:22 ---> ea78e2285e33 02:56:22 Step 19/24 : EXPOSE 161 02:56:22 ---> Running in e6d6c83f7555 02:56:22 Removing intermediate container e6d6c83f7555 02:56:22 ---> 4bc1f861c721 02:56:22 Step 20/24 : ENTRYPOINT ["/device-snmp"] 02:56:22 ---> Running in 6f66bd886a10 02:56:22 Removing intermediate container 6f66bd886a10 02:56:22 ---> a6c5c94c8d77 02:56:22 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:56:22 ---> Running in 1dd6457228aa 02:56:22 Removing intermediate container 1dd6457228aa 02:56:22 ---> dc53e1415acc 02:56:22 Step 22/24 : LABEL arch=arm64 02:56:22 ---> Running in 4f943e5e4564 02:56:22 Removing intermediate container 4f943e5e4564 02:56:22 ---> d2c4c5b4a3a7 02:56:22 Step 23/24 : LABEL git_sha=80c976afe94a2097a3e37d86ffb3c4e3a856bb9e 02:56:22 ---> Running in 2260d5048896 02:56:22 Removing intermediate container 2260d5048896 02:56:22 ---> da0a11ca2e76 02:56:22 Step 24/24 : LABEL version=0.0.0 02:56:22 ---> Running in ad182bb813b4 02:56:22 Removing intermediate container ad182bb813b4 02:56:22 ---> f33fb22ca92b 02:56:22 [Warning] One or more build-args [ARCH] were not consumed 02:56:22 Successfully built f33fb22ca92b 02:56:22 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 02:56:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:56:22 02:56:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:56:23 arm64: Pulling from edgex-lftools-log-publisher 02:56:23 8998bd30e6a1: Pulling fs layer 02:56:23 04944245beec: Pulling fs layer 02:56:23 699f458cf7ca: Pulling fs layer 02:56:23 765212b225bb: Pulling fs layer 02:56:23 f23df028b6ca: Pulling fs layer 02:56:23 d65c8cfc05b1: Pulling fs layer 02:56:23 2437ff75d9bd: Pulling fs layer 02:56:23 f23df028b6ca: Waiting 02:56:23 d65c8cfc05b1: Waiting 02:56:23 2437ff75d9bd: Waiting 02:56:23 765212b225bb: Waiting 02:56:23 04944245beec: Verifying Checksum 02:56:23 04944245beec: Download complete 02:56:23 765212b225bb: Download complete 02:56:23 f23df028b6ca: Verifying Checksum 02:56:23 f23df028b6ca: Download complete 02:56:23 d65c8cfc05b1: Verifying Checksum 02:56:23 d65c8cfc05b1: Download complete 02:56:24 699f458cf7ca: Verifying Checksum 02:56:24 699f458cf7ca: Download complete 02:56:24 8998bd30e6a1: Verifying Checksum 02:56:24 8998bd30e6a1: Download complete 02:56:27 2437ff75d9bd: Verifying Checksum 02:56:27 2437ff75d9bd: Download complete 02:56:28 8998bd30e6a1: Pull complete 02:56:29 04944245beec: Pull complete 02:56:30 699f458cf7ca: Pull complete 02:56:30 765212b225bb: Pull complete 02:56:31 f23df028b6ca: Pull complete 02:56:31 d65c8cfc05b1: Pull complete 02:56:46 2437ff75d9bd: Pull complete 02:56:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:56:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:56:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:46 prd-ubuntu20.04-docker-arm64-4c-16g-9346 does not seem to be running inside a container 02:56:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:56:50 $ docker top 1b0b7abde0bc4d7e5402bca52438e503147958b43484ffb6aefd24c536a3eaad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:50 ---> job-cost.sh 02:56:50 lf-activate-venv: SKIPPING 02:56:50 INFO: No Stack... 02:56:51 INFO: Retrieving Pricing Info for: v3-standard-4 02:56:52 INFO: Archiving Costs [Pipeline] sh 02:56:53 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 02:56:53 + cut -d, -f6 [Pipeline] lock 02:56:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-251-2-stack-cost] 02:56:53 Resource [jenkins-edgexfoundry-device-snmp-go-PR-251-2-stack-cost] did not exist. Created. 02:56:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-251-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:56:53 /w/workspace/device-snmp-go/2@tmp/durable-8b7ea1c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:56:54 + echo total: 0.10999999940395355 [Pipeline] stash 02:56:54 Warning: overwriting stash ‘stack-cost’ 02:56:54 Stashed 1 file(s) [Pipeline] } 02:56:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-251-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:56:54 $ docker stop --time=1 1b0b7abde0bc4d7e5402bca52438e503147958b43484ffb6aefd24c536a3eaad 02:56:56 $ docker rm -f --volumes 1b0b7abde0bc4d7e5402bca52438e503147958b43484ffb6aefd24c536a3eaad [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 02:56:56 provisioning config files... 02:56:56 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config6485296107752747082tmp [Pipeline] { [Pipeline] sh 02:56:56 + set +x 02:56:56 + bash -s -- 02:56:56 + curl -s https://codecov.io/bash 02:56:56 02:56:56 _____ _ 02:56:56 / ____| | | 02:56:56 | | ___ __| | ___ ___ _____ __ 02:56:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:56:56 | |___| (_) | (_| | __/ (_| (_) \ V / 02:56:56 \_____\___/ \__,_|\___|\___\___/ \_/ 02:56:56 Bash-1.0.6 02:56:56 02:56:56 02:56:56 ==> git version 2.25.1 found 02:56:56 ==> 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 02:56:56 Release-Date: 2020-01-08 02:56:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:56:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:56:56 ==> Jenkins CI detected. 02:56:56 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-251 02:56:56 project root: . 02:56:56 --> token set from env 02:56:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:56:56 ==> Running gcov in . (disable via -X gcov) 02:56:56 ==> Python coveragepy not found 02:56:56 ==> Searching for coverage reports in: 02:56:56 + . 02:56:56 -> Found 1 reports 02:56:56 ==> Detecting git/mercurial file structure 02:56:56 ==> Reading reports 02:56:56 + ./coverage.out bytes=7631 02:56:56 ==> Appending adjustments 02:56:56 https://docs.codecov.io/docs/fixing-reports 02:56:57 + Found adjustments 02:56:57 ==> Gzipping contents 02:56:57 4.0K /tmp/codecov.174Tsj.gz 02:56:57 ==> Uploading reports 02:56:57 url: https://codecov.io 02:56:57 query: branch=PR-251&commit=80c976afe94a2097a3e37d86ffb3c4e3a856bb9e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-251%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=251&job=&cmd_args= 02:56:57 -> Pinging Codecov 02:56:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-251&commit=80c976afe94a2097a3e37d86ffb3c4e3a856bb9e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-251%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=251&job=&cmd_args= 02:56:57 -> Uploading to 02:56:57 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/6C56EA5C29638FB4528AC87E60AF5AE0/80c976afe94a2097a3e37d86ffb3c4e3a856bb9e/11d2cc17-72eb-41a3-a368-9bdc31ce86ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T025657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e14751e68f2b956f856f9b749b6aa193dbe75b4e4027ae4ac48ace7be62917ab 02:56:57 % Total % Received % Xferd Average Speed Time Time Time Current 02:56:57 Dload Upload Total Spent Left Speed 02:56:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5554 --:--:-- --:--:-- --:--:-- 5554 02:56:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/80c976afe94a2097a3e37d86ffb3c4e3a856bb9e [Pipeline] } 02:56:57 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 02:56:58 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-251/archives ] 02:56:58 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 02:56:58 total 16 02:56:58 drwxr-xr-x 3 root root 4096 Mar 9 02:46 . 02:56:58 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:46 .. 02:56:58 drwxr-xr-x 2 root root 4096 Mar 9 02:46 cost 02:56:58 -rw-r--r-- 1 root root 86 Mar 9 02:46 cost.csv 02:56:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 02:56:58 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 02:56:58 total 16 02:56:58 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:46 . 02:56:58 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:46 .. 02:56:58 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:46 cost 02:56:58 -rw-r--r-- 1 jenkins jenkins 86 Mar 9 02:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:56:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:56:59 ---> package-listing.sh 02:56:59 ++ facter osfamily 02:56:59 ++ tr '[:upper:]' '[:lower:]' 02:56:59 + OS_FAMILY=debian 02:56:59 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-251 02:56:59 + START_PACKAGES=/tmp/packages_start.txt 02:56:59 + END_PACKAGES=/tmp/packages_end.txt 02:56:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:56:59 + PACKAGES=/tmp/packages_start.txt 02:56:59 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-251 ']' 02:56:59 + PACKAGES=/tmp/packages_end.txt 02:56:59 + case "${OS_FAMILY}" in 02:56:59 + dpkg -l 02:56:59 + grep '^ii' 02:56:59 + '[' -f /tmp/packages_start.txt ']' 02:56:59 + '[' -f /tmp/packages_end.txt ']' 02:56:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:56:59 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-251 ']' 02:56:59 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/ 02:56:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/ [Pipeline] echo 02:56:59 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-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:56:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:57:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:00 prd-ubuntu20.04-docker-8c-8g-9331 does not seem to be running inside a container 02:57:00 $ 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-251/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-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:57:00 $ docker top 26558055166f775afad616edb45fbfca204c05ecd20f17763341ec3c365969f8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:01 + touch /tmp/pre-build-complete [Pipeline] sh 02:57:01 + mkdir -p /var/log/sysstat [Pipeline] sh 02:57:01 + ls /var/log/sa-host 02:57:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:57:01 provisioning config files... 02:57:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config12008091343752286877tmp [Pipeline] { [Pipeline] echo 02:57:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:57:02 ---> create-netrc.sh [Pipeline] } 02:57:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:57:02 ---> python-tools-install.sh [Pipeline] echo 02:57:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:57:02 ---> sudo-logs.sh 02:57:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:57:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:57:03 ---> job-cost.sh 02:57:03 lf-activate-venv: SKIPPING 02:57:03 DEBUG: total: 0.2199999988079071 02:57:03 INFO: Retrieving Stack Cost... 02:57:03 INFO: Retrieving Pricing Info for: v3-standard-8 02:57:03 INFO: Archiving Costs [Pipeline] echo 02:57:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:57:04 ---> logs-deploy.sh 02:57:04 lf-activate-venv: SKIPPING 02:57:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-251/2 02:57:04 INFO: archiving workspace using pattern(s): 02:57:05 Archives upload complete. 02:57:05 INFO: archiving logs to Nexus