Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e+965f04e6862849b37eeb3a58b1f16c31f2ab2615 (e79f18e1bbcd707d1de5b692019df2d14fdb3ff5) 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-ssh9775502365310976226.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9494985434027840985.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15004681469950103916.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh3696672419704314901.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-ssh18202760342789155912.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2461 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 > 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 Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e Merge succeeded, producing 3961241f03bc52634397e70c3d3972a5a9dc705a Checking out Revision 3961241f03bc52634397e70c3d3972a5a9dc705a (PR-251) > 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 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3961241f03bc52634397e70c3d3972a5a9dc705a # timeout=10 Commit message: "Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5482301bf7f68f88053f8dd1adf4302c4915f855 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:26:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:26:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:26:58 ========================================================= 15:26:58 EdgeX Global Pipelines Version Info 15:26:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:26:59 ------------------- 15:26:59 stable info: 15:26:59 ------------------- 15:26:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:26:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:26:59 Message: update stable to v1.0.245 15:26:59 ------------------- 15:26:59 experimental info: 15:26:59 ------------------- 15:26:59 Commited By: **** collab-it+edgex@linuxfoundation.org 15:26:59 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:26:59 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:26:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:26:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:26:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:26:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:26:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:26:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:26:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:26:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3961241f03bc52634397e70c3d3972a5a9dc705a [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3961241 [Pipeline] echo 15:27:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:00 provisioning config files... 15:27:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config17869144770338447478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:00 ---> docker-login.sh 15:27:00 nexus3.edgexfoundry.org:10001 15:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:00 Configure a credential helper to remove this warning. See 15:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:00 15:27:00 Login Succeeded 15:27:00 nexus3.edgexfoundry.org:10002 15:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:01 Configure a credential helper to remove this warning. See 15:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:01 15:27:01 Login Succeeded 15:27:01 nexus3.edgexfoundry.org:10003 15:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:01 Configure a credential helper to remove this warning. See 15:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:01 15:27:01 Login Succeeded 15:27:01 nexus3.edgexfoundry.org:10004 15:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:01 Configure a credential helper to remove this warning. See 15:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:01 15:27:01 Login Succeeded 15:27:01 docker.io 15:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:01 Configure a credential helper to remove this warning. See 15:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:01 15:27:01 Login Succeeded 15:27:01 ---> docker-login.sh ends [Pipeline] } 15:27:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:27:02 + git rev-list -1 --merges 3961241f03bc52634397e70c3d3972a5a9dc705a~1..3961241f03bc52634397e70c3d3972a5a9dc705a [Pipeline] echo 15:27:02 -----------> git rev-list -1 --merges 3961241f03bc52634397e70c3d3972a5a9dc705a~1..3961241f03bc52634397e70c3d3972a5a9dc705a 3961241f03bc52634397e70c3d3972a5a9dc705a 15:27:02 3961241f03bc52634397e70c3d3972a5a9dc705a [false] [Pipeline] sh 15:27:02 + git log --format=format:%s -1 3961241f03bc52634397e70c3d3972a5a9dc705a [Pipeline] echo 15:27:02 ========================================================= 15:27:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:27:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:27:02 + git log --format=format:%s -1 3961241f03bc52634397e70c3d3972a5a9dc705a [Pipeline] echo 15:27:02 [semverPrep] GIT_COMMIT: 3961241f03bc52634397e70c3d3972a5a9dc705a, Commit Message: Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD [Pipeline] echo 15:27:02 [semverPrep] This is not a build commit. [Pipeline] sh 15:27:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:27:03 + grep -v github /etc/ssh/ssh_known_hosts 15:27:03 + [ -e /tmp/ssh_known_hosts ] 15:27:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:27:03 + + sudo tee -a /etc/ssh/ssh_known_hosts 15:27:03 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:27:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:27:03 15:27:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:27:03 0.1.4: Pulling from edgex-devops/py-git-semver 15:27:03 b85a868b505f: Pulling fs layer 15:27:03 e2be974225ed: Pulling fs layer 15:27:03 339a4e72a1f5: Pulling fs layer 15:27:03 988bab9f4d93: Pulling fs layer 15:27:03 1469e6f7b9e6: Pulling fs layer 15:27:03 eaf3925da568: Pulling fs layer 15:27:03 bab4dde63d76: Pulling fs layer 15:27:03 bde34c3a00c8: Pulling fs layer 15:27:03 b352a97aabf1: Pulling fs layer 15:27:03 4872d77fe225: Pulling fs layer 15:27:03 5851b861e8e6: Pulling fs layer 15:27:03 988bab9f4d93: Waiting 15:27:03 bde34c3a00c8: Waiting 15:27:03 5851b861e8e6: Waiting 15:27:03 b352a97aabf1: Waiting 15:27:03 1469e6f7b9e6: Waiting 15:27:03 4872d77fe225: Waiting 15:27:03 eaf3925da568: Waiting 15:27:03 e2be974225ed: Verifying Checksum 15:27:03 e2be974225ed: Download complete 15:27:03 988bab9f4d93: Download complete 15:27:03 339a4e72a1f5: Verifying Checksum 15:27:03 339a4e72a1f5: Download complete 15:27:03 eaf3925da568: Verifying Checksum 15:27:03 eaf3925da568: Download complete 15:27:03 1469e6f7b9e6: Verifying Checksum 15:27:03 1469e6f7b9e6: Download complete 15:27:03 bde34c3a00c8: Download complete 15:27:04 b352a97aabf1: Download complete 15:27:04 4872d77fe225: Download complete 15:27:04 5851b861e8e6: Verifying Checksum 15:27:04 5851b861e8e6: Download complete 15:27:04 b85a868b505f: Download complete 15:27:04 bab4dde63d76: Verifying Checksum 15:27:04 bab4dde63d76: Download complete 15:27:05 b85a868b505f: Pull complete 15:27:06 e2be974225ed: Pull complete 15:27:07 339a4e72a1f5: Pull complete 15:27:08 988bab9f4d93: Pull complete 15:27:08 1469e6f7b9e6: Pull complete 15:27:09 eaf3925da568: Pull complete 15:27:12 bab4dde63d76: Pull complete 15:27:13 bde34c3a00c8: Pull complete 15:27:14 b352a97aabf1: Pull complete 15:27:14 4872d77fe225: Pull complete 15:27:15 5851b861e8e6: Pull complete 15:27:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:27:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:27:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:15 prd-ubuntu20.04-docker-8c-8g-2461 does not seem to be running inside a container 15:27:15 $ 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 15:27:19 $ docker top fbda427f32acc79005e9a4fea086104fdc7b8a33e0b2bb01795dfd87772662d2 -eo pid,comm 15:27:19 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). 15:27:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:27:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:19 [ssh-agent] Looking for ssh-agent implementation... 15:27:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:19 $ docker exec fbda427f32acc79005e9a4fea086104fdc7b8a33e0b2bb01795dfd87772662d2 ssh-agent 15:27:19 SSH_AUTH_SOCK=/tmp/ssh-UfJdsU7onnCi/agent.30 15:27:19 SSH_AGENT_PID=36 15:27:19 Running ssh-add (command line suppressed) 15:27:19 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_6018434691915498679.key (/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_6018434691915498679.key) 15:27:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:20 + git tag --points-at HEAD [Pipeline] } 15:27:20 $ docker exec --env ******** --env ******** fbda427f32acc79005e9a4fea086104fdc7b8a33e0b2bb01795dfd87772662d2 ssh-agent -k 15:27:20 unset SSH_AUTH_SOCK; 15:27:20 unset SSH_AGENT_PID; 15:27:20 echo Agent pid 36 killed; 15:27:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:27:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:20 [ssh-agent] Looking for ssh-agent implementation... 15:27:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:20 $ docker exec fbda427f32acc79005e9a4fea086104fdc7b8a33e0b2bb01795dfd87772662d2 ssh-agent 15:27:20 SSH_AUTH_SOCK=/tmp/ssh-4Zv4KOKJfWry/agent.68 15:27:20 SSH_AGENT_PID=74 15:27:20 Running ssh-add (command line suppressed) 15:27:20 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_12724728275986237875.key (/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_12724728275986237875.key) 15:27:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:20 + git semver init 15:27:21 2023-03-16 15:27:21,087 [run_init] DEBUG init version:0.0.0 force:False 15:27:21 2023-03-16 15:27:21,088 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver 15:27:21 2023-03-16 15:27:21,089 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-251/.semver 15:27:21 2023-03-16 15:27:21,089 [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) 15:27:22 2023-03-16 15:27:21,949 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-251/.git/info/exclude 15:27:22 2023-03-16 15:27:21,950 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 with force:False 15:27:22 2023-03-16 15:27:21,950 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 15:27:22 2023-03-16 15:27:21,955 [execute] INFO git cat-file --batch-check 15:27:22 2023-03-16 15:27:21,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) 15:27:22 2023-03-16 15:27:21,961 [execute] INFO git cat-file --batch 15:27:22 2023-03-16 15:27:21,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) 15:27:22 2023-03-16 15:27:21,968 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 15:27:22 0.0.0 [Pipeline] } 15:27:22 $ docker exec --env ******** --env ******** fbda427f32acc79005e9a4fea086104fdc7b8a33e0b2bb01795dfd87772662d2 ssh-agent -k 15:27:22 unset SSH_AUTH_SOCK; 15:27:22 unset SSH_AGENT_PID; 15:27:22 echo Agent pid 74 killed; 15:27:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:27:22 + git semver [Pipeline] } 15:27:22 $ docker stop --time=1 fbda427f32acc79005e9a4fea086104fdc7b8a33e0b2bb01795dfd87772662d2 15:27:24 $ docker rm -f --volumes fbda427f32acc79005e9a4fea086104fdc7b8a33e0b2bb01795dfd87772662d2 [Pipeline] // withDockerContainer [Pipeline] sh 15:27:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:27:25 Stashed 1 file(s) [Pipeline] echo 15:27:25 [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 15:27:25 provisioning config files... 15:27:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config11023653904943635791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:25 ---> docker-login.sh 15:27:25 nexus3.edgexfoundry.org:10001 15:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:25 Configure a credential helper to remove this warning. See 15:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:25 15:27:25 Login Succeeded 15:27:25 nexus3.edgexfoundry.org:10002 15:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:25 Configure a credential helper to remove this warning. See 15:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:25 15:27:25 Login Succeeded 15:27:25 nexus3.edgexfoundry.org:10003 15:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:25 Configure a credential helper to remove this warning. See 15:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:25 15:27:25 Login Succeeded 15:27:25 nexus3.edgexfoundry.org:10004 15:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:25 Configure a credential helper to remove this warning. See 15:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:25 15:27:25 Login Succeeded 15:27:25 docker.io 15:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:26 Configure a credential helper to remove this warning. See 15:27:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:26 15:27:26 Login Succeeded 15:27:26 ---> docker-login.sh ends [Pipeline] } 15:27:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:27:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:27:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:27:26 ========================================================= 15:27:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:27:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:27:26 Sending build context to Docker daemon 5.746MB 15:27:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:27:26 Step 2/12 : FROM ${BASE} AS builder 15:27:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:27:26 63b65145d645: Pulling fs layer 15:27:26 a2d21d5440eb: Pulling fs layer 15:27:26 935e6c44a52c: Pulling fs layer 15:27:26 94cc34f8dd06: Pulling fs layer 15:27:26 30dea6a524f1: Pulling fs layer 15:27:26 a2aff8979fd8: Pulling fs layer 15:27:26 6808be2612f2: Pulling fs layer 15:27:26 f25807f1079a: Pulling fs layer 15:27:26 30dea6a524f1: Waiting 15:27:26 6808be2612f2: Waiting 15:27:26 a2aff8979fd8: Waiting 15:27:26 f25807f1079a: Waiting 15:27:26 a2d21d5440eb: Download complete 15:27:26 94cc34f8dd06: Download complete 15:27:26 30dea6a524f1: Download complete 15:27:26 63b65145d645: Verifying Checksum 15:27:26 63b65145d645: Download complete 15:27:27 a2aff8979fd8: Verifying Checksum 15:27:27 a2aff8979fd8: Download complete 15:27:27 63b65145d645: Pull complete 15:27:27 f25807f1079a: Verifying Checksum 15:27:27 f25807f1079a: Download complete 15:27:27 935e6c44a52c: Verifying Checksum 15:27:27 a2d21d5440eb: Pull complete 15:27:27 6808be2612f2: Verifying Checksum 15:27:27 6808be2612f2: Download complete 15:27:31 935e6c44a52c: Pull complete 15:27:31 94cc34f8dd06: Pull complete 15:27:31 30dea6a524f1: Pull complete 15:27:32 a2aff8979fd8: Pull complete 15:27:34 6808be2612f2: Pull complete 15:27:35 f25807f1079a: Pull complete 15:27:35 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:27:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:27:35 ---> 3b553350e43f 15:27:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:27:40 Still waiting to schedule task 15:27:40 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:27:43 ---> Running in ea52844fa501 15:27:43 Removing intermediate container ea52844fa501 15:27:43 ---> 9bf72d0c58b6 15:27:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:27:43 ---> Running in 2e8084fe6e73 15:27:43 Removing intermediate container 2e8084fe6e73 15:27:43 ---> f49d6f4e8c4c 15:27:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:27:43 ---> Running in 0312f8736a1d 15:27:43 Removing intermediate container 0312f8736a1d 15:27:43 ---> febd10bbd157 15:27:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:27:43 ---> Running in 4cf17d9c61a2 15:27:44 Removing intermediate container 4cf17d9c61a2 15:27:44 ---> 5d24ca50c0bb 15:27:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:27:44 ---> Running in 2a0c2853b9b7 15:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:27:44 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:27:44 (2/4) Installing libedit (20221030.3.1-r0) 15:27:44 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:27:44 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:27:44 Executing busybox-1.35.0-r29.trigger 15:27:44 OK: 269 MiB in 57 packages 15:27:45 Removing intermediate container 2a0c2853b9b7 15:27:45 ---> f79436cbbed7 15:27:45 Step 8/12 : WORKDIR /device-snmp-go 15:27:45 ---> Running in af1bd7d043df 15:27:46 Removing intermediate container af1bd7d043df 15:27:46 ---> cae149605b7e 15:27:46 Step 9/12 : COPY go.mod vendor* ./ 15:27:46 ---> 4fbd578af7cb 15:27:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:27:46 ---> Running in e6e327b14848 15:28:25 Removing intermediate container e6e327b14848 15:28:25 ---> 767f70c387b0 15:28:25 Step 11/12 : COPY . . 15:28:25 ---> 4cf8e752ab11 15:28:25 Step 12/12 : RUN ${MAKE} 15:28:25 ---> Running in 5559f493f579 15:28:25 noop 15:28:25 Removing intermediate container 5559f493f579 15:28:25 ---> 7d5743369786 15:28:25 Successfully built 7d5743369786 15:28:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:26 + docker inspect -f . ci-base-image-x86_64 15:28:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:26 prd-ubuntu20.04-docker-8c-8g-2461 does not seem to be running inside a container 15:28:26 $ 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 15:28:26 $ docker top 696edb55b97d3b35cb9dec03099af054239e3ba00207e18d424c6a3f8a9c0b1d -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:26 + go version 15:28:26 go version go1.20.2 linux/amd64 [Pipeline] } 15:28:26 $ docker stop --time=1 696edb55b97d3b35cb9dec03099af054239e3ba00207e18d424c6a3f8a9c0b1d 15:28:29 $ docker rm -f --volumes 696edb55b97d3b35cb9dec03099af054239e3ba00207e18d424c6a3f8a9c0b1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:30 + docker inspect -f . ci-base-image-x86_64 15:28:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:30 prd-ubuntu20.04-docker-8c-8g-2461 does not seem to be running inside a container 15:28:30 $ 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 15:28:31 $ docker top a5cc1abb866f4f339a31fc73980a4f68587bcbb67de2b8f780329c8192a031e9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-251 [Pipeline] fileExists [Pipeline] sh 15:28:32 + make test 15:28:32 go test ./... -coverprofile=coverage.out 15:28:37 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:28:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:28:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 15:28:53 go vet ./... 15:28:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:28:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:28:57 ./bin/test-attribution-txt.sh [Pipeline] echo 15:28:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:28:57 $ docker stop --time=1 a5cc1abb866f4f339a31fc73980a4f68587bcbb67de2b8f780329c8192a031e9 15:29:00 $ docker rm -f --volumes a5cc1abb866f4f339a31fc73980a4f68587bcbb67de2b8f780329c8192a031e9 [Pipeline] // withDockerContainer [Pipeline] sh 15:29:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:29:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:29:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:29:01 + ls -al . 15:29:01 total 172 15:29:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 15:28 . 15:29:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:26 .. 15:29:01 -rw-rw-r-- 1 jenkins jenkins 6 Mar 16 15:26 .dockerignore 15:29:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:27 .git 15:29:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:26 .github 15:29:01 -rw-rw-r-- 1 jenkins jenkins 328 Mar 16 15:26 .gitignore 15:29:01 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 15:26 .golangci.yml 15:29:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:27 .semver 15:29:01 -rw-rw-r-- 1 jenkins jenkins 9045 Mar 16 15:26 Attribution.txt 15:29:01 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 16 15:26 CHANGELOG.md 15:29:01 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 16 15:26 Dockerfile 15:29:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:26 GOVERNANCE.md 15:29:01 -rw-rw-r-- 1 jenkins jenkins 656 Mar 16 15:26 Jenkinsfile 15:29:01 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 15:26 LICENSE 15:29:01 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 16 15:26 Makefile 15:29:01 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 15:26 OWNERS.md 15:29:01 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 16 15:26 README.md 15:29:01 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 15:27 VERSION 15:29:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:26 bin 15:29:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:26 cmd 15:29:01 -rw-r--r-- 1 jenkins jenkins 7631 Mar 16 15:28 coverage.out 15:29:01 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 16 15:26 go.mod 15:29:01 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 16 15:26 go.sum 15:29:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:26 internal 15:29:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:26 snap 15:29:01 -rw-rw-r-- 1 jenkins jenkins 228 Mar 16 15:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:01 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3961241f03bc52634397e70c3d3972a5a9dc705a --label arch=amd64 --label version=0.0.0 . 15:29:01 Sending build context to Docker daemon 5.754MB 15:29:01 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 15:29:01 Step 2/24 : FROM ${BASE} AS builder 15:29:01 ---> 7d5743369786 15:29:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:29:01 ---> Running in 71f6ba5c8378 15:29:01 Removing intermediate container 71f6ba5c8378 15:29:01 ---> 793fe715d859 15:29:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:29:02 ---> Running in b0bfd3d48784 15:29:02 Removing intermediate container b0bfd3d48784 15:29:02 ---> 23a38e477c8c 15:29:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:29:02 ---> Running in 64276dd09105 15:29:02 Removing intermediate container 64276dd09105 15:29:02 ---> 7dea52580841 15:29:02 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:29:02 ---> Running in 6f8178cf82b8 15:29:02 Removing intermediate container 6f8178cf82b8 15:29:02 ---> 59baefbfaa4f 15:29:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:29:02 ---> Running in b10fcd5b9684 15:29:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:29:03 OK: 269 MiB in 57 packages 15:29:03 Removing intermediate container b10fcd5b9684 15:29:03 ---> a289351c661c 15:29:03 Step 8/24 : WORKDIR /device-snmp-go 15:29:03 ---> Running in 018a7a6d26f8 15:29:03 Removing intermediate container 018a7a6d26f8 15:29:03 ---> 01869e30d92c 15:29:03 Step 9/24 : COPY go.mod vendor* ./ 15:29:03 ---> da142336f934 15:29:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:03 ---> Running in 1597cfcd598c 15:29:04 Removing intermediate container 1597cfcd598c 15:29:04 ---> 5b60515d10d8 15:29:04 Step 11/24 : COPY . . 15:29:05 ---> 8497fbaded18 15:29:05 Step 12/24 : RUN ${MAKE} 15:29:05 ---> Running in f5ae275d86fb 15:29:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:29:27 Removing intermediate container f5ae275d86fb 15:29:27 ---> 4b99128f4540 15:29:27 Step 13/24 : FROM alpine:3.17 15:29:27 3.17: Pulling from library/alpine 15:29:27 63b65145d645: Already exists 15:29:27 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:29:27 Status: Downloaded newer image for alpine:3.17 15:29:27 ---> b2aa39c304c2 15:29:27 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:29:27 ---> Running in ce912e841acc 15:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:29:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:29:28 (1/1) Installing dumb-init (1.2.5-r2) 15:29:28 Executing busybox-1.35.0-r29.trigger 15:29:28 OK: 7 MiB in 16 packages 15:29:28 Removing intermediate container ce912e841acc 15:29:28 ---> d52aaca043b6 15:29:28 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:29:29 ---> 3ea880a522b2 15:29:29 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:29:29 ---> 3b20b5b1d7ce 15:29:29 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:29:29 ---> 26453e6ba306 15:29:29 Step 18/24 : EXPOSE 59993 15:29:29 ---> Running in 672e2b30490e 15:29:29 Removing intermediate container 672e2b30490e 15:29:29 ---> e719ea062de5 15:29:29 Step 19/24 : EXPOSE 161 15:29:29 ---> Running in 6dbb57536b0c 15:29:29 Removing intermediate container 6dbb57536b0c 15:29:29 ---> 24afa11eddd4 15:29:29 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:29:29 ---> Running in fd5cea207927 15:29:30 Removing intermediate container fd5cea207927 15:29:30 ---> 3d756255316d 15:29:30 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:29:30 ---> Running in 7fb97cc5349f 15:29:30 Removing intermediate container 7fb97cc5349f 15:29:30 ---> d0a2ec005f10 15:29:30 Step 22/24 : LABEL arch=amd64 15:29:30 ---> Running in ff2b0a8d8be7 15:29:30 Removing intermediate container ff2b0a8d8be7 15:29:30 ---> 9ab1cf5e2baf 15:29:30 Step 23/24 : LABEL git_sha=3961241f03bc52634397e70c3d3972a5a9dc705a 15:29:30 ---> Running in 9127a8bedf5a 15:29:30 Removing intermediate container 9127a8bedf5a 15:29:30 ---> 53f38eeffe5c 15:29:30 Step 24/24 : LABEL version=0.0.0 15:29:30 ---> Running in 636e5445881b 15:29:30 Removing intermediate container 636e5445881b 15:29:30 ---> 36673e432f20 15:29:30 [Warning] One or more build-args [ARCH] were not consumed 15:29:30 Successfully built 36673e432f20 15:29:30 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 15:29:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:31 15:29:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:31 latest: Pulling from edgex-lftools-log-publisher 15:29:31 5eb5b503b376: Pulling fs layer 15:29:31 5c69ac0246d0: Pulling fs layer 15:29:31 ec43610c2a17: Pulling fs layer 15:29:31 3a2ae6a8a46f: Pulling fs layer 15:29:31 33b1e0a273af: Pulling fs layer 15:29:31 5d3b04190fa2: Pulling fs layer 15:29:31 2f39f015ded8: Pulling fs layer 15:29:31 33b1e0a273af: Waiting 15:29:31 5d3b04190fa2: Waiting 15:29:31 2f39f015ded8: Waiting 15:29:31 3a2ae6a8a46f: Waiting 15:29:31 5c69ac0246d0: Verifying Checksum 15:29:31 5c69ac0246d0: Download complete 15:29:31 3a2ae6a8a46f: Download complete 15:29:31 33b1e0a273af: Verifying Checksum 15:29:31 33b1e0a273af: Download complete 15:29:31 5d3b04190fa2: Verifying Checksum 15:29:31 5d3b04190fa2: Download complete 15:29:31 ec43610c2a17: Verifying Checksum 15:29:31 ec43610c2a17: Download complete 15:29:31 5eb5b503b376: Download complete 15:29:32 2f39f015ded8: Verifying Checksum 15:29:32 2f39f015ded8: Download complete 15:29:33 5eb5b503b376: Pull complete 15:29:33 5c69ac0246d0: Pull complete 15:29:33 ec43610c2a17: Pull complete 15:29:33 3a2ae6a8a46f: Pull complete 15:29:34 33b1e0a273af: Pull complete 15:29:34 5d3b04190fa2: Pull complete 15:29:39 2f39f015ded8: Pull complete 15:29:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:39 prd-ubuntu20.04-docker-8c-8g-2461 does not seem to be running inside a container 15:29:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 15:29:44 $ docker top 460e226567f8d6be71097b9f7cde9f06dba42bc9ae88a9ce0ee0a4dbe02eda85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:29:44 ---> job-cost.sh 15:29:44 lf-activate-venv: SKIPPING 15:29:44 INFO: No Stack... 15:29:44 INFO: Retrieving Pricing Info for: v3-standard-8 15:29:45 INFO: Archiving Costs [Pipeline] sh 15:29:45 + + cat /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/cost.csv 15:29:45 cut -d, -f6 [Pipeline] lock 15:29:45 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-251-5-stack-cost] 15:29:45 Resource [jenkins-edgexfoundry-device-snmp-go-PR-251-5-stack-cost] did not exist. Created. 15:29:45 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-251-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:29:45 + echo total: 0.2199999988079071 [Pipeline] stash 15:29:45 Stashed 1 file(s) [Pipeline] } 15:29:45 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-251-5-stack-cost] [Pipeline] // lock [Pipeline] } 15:29:45 $ docker stop --time=1 460e226567f8d6be71097b9f7cde9f06dba42bc9ae88a9ce0ee0a4dbe02eda85 15:29:46 $ docker rm -f --volumes 460e226567f8d6be71097b9f7cde9f06dba42bc9ae88a9ce0ee0a4dbe02eda85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:30:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2464 in /w/workspace/gexfoundry_device-snmp-go_PR-251 [Pipeline] { [Pipeline] ws 15:30:40 Running in /w/workspace/device-snmp-go/5 [Pipeline] { [Pipeline] checkout 15:30:40 Selected Git installation does not exist. Using Default 15:30:40 The recommended git tool is: NONE 15:30:46 using credential edgex-jenkins-ssh 15:30:46 Cloning the remote Git repository 15:30:46 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:30:47 > git init /w/workspace/device-snmp-go/5 # timeout=10 15:30:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:30:47 > git --version # timeout=10 15:30:47 > git --version # 'git version 2.25.1' 15:30:47 using GIT_SSH to set credentials SSH Credentials for GitHub 15:30:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:30:48 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:30:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:30:49 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:30:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:30:49 using GIT_SSH to set credentials SSH Credentials for GitHub 15:30:49 > 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 15:30:50 Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e 15:30:50 Merge succeeded, producing 43ef23c73842acb0ce973947db1bd46bfd80c9f4 15:30:50 Checking out Revision 43ef23c73842acb0ce973947db1bd46bfd80c9f4 (PR-251) 15:30:50 > git config core.sparsecheckout # timeout=10 15:30:50 > git checkout -f 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e # timeout=10 15:30:50 > git remote # timeout=10 15:30:50 > git config --get remote.origin.url # timeout=10 15:30:50 using GIT_SSH to set credentials SSH Credentials for GitHub 15:30:50 > git merge 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 15:30:50 > git rev-parse HEAD^{commit} # timeout=10 15:30:50 > git config core.sparsecheckout # timeout=10 15:30:50 > git checkout -f 43ef23c73842acb0ce973947db1bd46bfd80c9f4 # timeout=10 15:30:54 Commit message: "Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD" 15:30:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:30:54 > git rev-list --no-walk 5482301bf7f68f88053f8dd1adf4302c4915f855 # timeout=10 15:30:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:30:55 % Total % Received % Xferd Average Speed Time Time Time Current 15:30:55 Dload Upload Total Spent Left Speed 15:30:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 15:30:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:30:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:30:56 + sudo tee /etc/docker/daemon.new 15:30:56 { 15:30:56 "registry-mirrors": [ 15:30:56 "https://nexus3.edgexfoundry.org:10001" 15:30:56 ], 15:30:56 "bip": "10.250.0.254/24", 15:30:56 "hosts": [ 15:30:56 "tcp://0.0.0.0:5555", 15:30:56 "unix:///var/run/docker.sock" 15:30:56 ], 15:30:56 "mtu": 1458, 15:30:56 "selinux-enabled": true, 15:30:56 "seccomp-profile": "/etc/docker/seccomp.json" 15:30:56 } [Pipeline] sh 15:30:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:30:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:15 provisioning config files... 15:31:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config10047117408133722653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:16 ---> docker-login.sh 15:31:16 nexus3.edgexfoundry.org:10001 15:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:16 Configure a credential helper to remove this warning. See 15:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:16 15:31:16 Login Succeeded 15:31:16 nexus3.edgexfoundry.org:10002 15:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:17 Configure a credential helper to remove this warning. See 15:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:17 15:31:17 Login Succeeded 15:31:17 nexus3.edgexfoundry.org:10003 15:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:17 Configure a credential helper to remove this warning. See 15:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:17 15:31:17 Login Succeeded 15:31:17 nexus3.edgexfoundry.org:10004 15:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:17 Configure a credential helper to remove this warning. See 15:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:17 15:31:17 Login Succeeded 15:31:17 docker.io 15:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:18 Configure a credential helper to remove this warning. See 15:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:18 15:31:18 Login Succeeded 15:31:18 ---> docker-login.sh ends [Pipeline] } 15:31:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:31:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:18 ========================================================= 15:31:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:31:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:31:21 Sending build context to Docker daemon 2.984MB 15:31:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:31:21 Step 2/12 : FROM ${BASE} AS builder 15:31:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:31:21 af6eaf76a39c: Pulling fs layer 15:31:21 55522c791124: Pulling fs layer 15:31:21 ce5c4a1c91eb: Pulling fs layer 15:31:21 169dfbe0d373: Pulling fs layer 15:31:21 e1ff8fa3b103: Pulling fs layer 15:31:21 52ebb69f0ebf: Pulling fs layer 15:31:21 5abe8eddf0d5: Pulling fs layer 15:31:21 169dfbe0d373: Waiting 15:31:21 e1ff8fa3b103: Waiting 15:31:21 52ebb69f0ebf: Waiting 15:31:21 5abe8eddf0d5: Waiting 15:31:21 55522c791124: Download complete 15:31:21 169dfbe0d373: Verifying Checksum 15:31:21 169dfbe0d373: Download complete 15:31:21 e1ff8fa3b103: Verifying Checksum 15:31:21 e1ff8fa3b103: Download complete 15:31:21 af6eaf76a39c: Verifying Checksum 15:31:21 af6eaf76a39c: Download complete 15:31:22 af6eaf76a39c: Pull complete 15:31:23 5abe8eddf0d5: Download complete 15:31:23 55522c791124: Pull complete 15:31:24 ce5c4a1c91eb: Verifying Checksum 15:31:24 ce5c4a1c91eb: Download complete 15:31:25 52ebb69f0ebf: Verifying Checksum 15:31:25 52ebb69f0ebf: Download complete 15:31:37 ce5c4a1c91eb: Pull complete 15:31:37 169dfbe0d373: Pull complete 15:31:37 e1ff8fa3b103: Pull complete 15:31:42 52ebb69f0ebf: Pull complete 15:31:44 5abe8eddf0d5: Pull complete 15:31:44 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:31:44 ---> 6cb57ee374ae 15:31:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:31:46 ---> Running in 230ebaaca5c7 15:31:46 Removing intermediate container 230ebaaca5c7 15:31:46 ---> 5b5eb1a29fc9 15:31:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:31:46 ---> Running in 538fb0c8a229 15:31:47 Removing intermediate container 538fb0c8a229 15:31:47 ---> 5f9b9786f827 15:31:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:31:47 ---> Running in fe295aca3575 15:31:47 Removing intermediate container fe295aca3575 15:31:47 ---> 9a93110d5e40 15:31:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:31:47 ---> Running in 407bf523add7 15:31:47 Removing intermediate container 407bf523add7 15:31:47 ---> cea578b03eea 15:31:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:31:48 ---> Running in e3dcf19c7f84 15:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:31:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:31:51 (2/4) Installing libedit (20221030.3.1-r0) 15:31:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:31:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:31:51 Executing busybox-1.35.0-r29.trigger 15:31:51 OK: 268 MiB in 57 packages 15:31:52 Removing intermediate container e3dcf19c7f84 15:31:52 ---> 08badc5e891b 15:31:52 Step 8/12 : WORKDIR /device-snmp-go 15:31:52 ---> Running in 7148faa499e2 15:31:52 Removing intermediate container 7148faa499e2 15:31:52 ---> 979324040401 15:31:52 Step 9/12 : COPY go.mod vendor* ./ 15:31:53 ---> a209e8d22a9c 15:31:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:31:53 ---> Running in 5ebf0b1181fa 15:33:01 Removing intermediate container 5ebf0b1181fa 15:33:01 ---> b58565f9005f 15:33:01 Step 11/12 : COPY . . 15:33:01 ---> 7bb1094f3b8f 15:33:01 Step 12/12 : RUN ${MAKE} 15:33:01 ---> Running in 0eca53a38bb9 15:33:01 noop 15:33:01 Removing intermediate container 0eca53a38bb9 15:33:01 ---> 4b3b5b12002a 15:33:01 Successfully built 4b3b5b12002a 15:33:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:01 + docker inspect -f . ci-base-image-arm64 15:33:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:02 prd-ubuntu20.04-docker-arm64-4c-16g-2464 does not seem to be running inside a container 15:33:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 15:33:03 $ docker top f1bc8bb450b70e72dc9d10cc8ce6f994af6cbaad6d65c94fef529a2b40394863 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:04 + go version 15:33:04 go version go1.20.2 linux/arm64 [Pipeline] } 15:33:04 $ docker stop --time=1 f1bc8bb450b70e72dc9d10cc8ce6f994af6cbaad6d65c94fef529a2b40394863 15:33:05 $ docker rm -f --volumes f1bc8bb450b70e72dc9d10cc8ce6f994af6cbaad6d65c94fef529a2b40394863 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:06 + docker inspect -f . ci-base-image-arm64 15:33:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:06 prd-ubuntu20.04-docker-arm64-4c-16g-2464 does not seem to be running inside a container 15:33:06 $ 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/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 15:33:08 $ docker top b25684ccaa2a865a65141b60c6bb46be4810df0658ff529c173bebd65d4731f7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:08 + git config --global --add safe.directory /w/workspace/device-snmp-go/5 [Pipeline] fileExists [Pipeline] sh 15:33:09 + make test 15:33:09 go test ./... -coverprofile=coverage.out 15:33:48 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:36:10 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:36:10 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 15:36:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:36:10 go vet ./... 15:36:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:36:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:36:37 ./bin/test-attribution-txt.sh [Pipeline] echo 15:36:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:36:37 $ docker stop --time=1 b25684ccaa2a865a65141b60c6bb46be4810df0658ff529c173bebd65d4731f7 15:36:38 $ docker rm -f --volumes b25684ccaa2a865a65141b60c6bb46be4810df0658ff529c173bebd65d4731f7 [Pipeline] // withDockerContainer [Pipeline] sh 15:36:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:36:39 Warning: overwriting stash ‘coverage-report’ 15:36:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:36:41 + ls -al . 15:36:41 total 168 15:36:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:33 . 15:36:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:30 .. 15:36:41 -rw-rw-r-- 1 jenkins jenkins 6 Mar 16 15:30 .dockerignore 15:36:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:30 .git 15:36:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:30 .github 15:36:41 -rw-rw-r-- 1 jenkins jenkins 328 Mar 16 15:30 .gitignore 15:36:41 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 15:30 .golangci.yml 15:36:41 -rw-rw-r-- 1 jenkins jenkins 9045 Mar 16 15:30 Attribution.txt 15:36:41 -rw-rw-r-- 1 jenkins jenkins 8355 Mar 16 15:30 CHANGELOG.md 15:36:41 -rw-rw-r-- 1 jenkins jenkins 1423 Mar 16 15:30 Dockerfile 15:36:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:30 GOVERNANCE.md 15:36:41 -rw-rw-r-- 1 jenkins jenkins 656 Mar 16 15:30 Jenkinsfile 15:36:41 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 15:30 LICENSE 15:36:41 -rw-rw-r-- 1 jenkins jenkins 2114 Mar 16 15:30 Makefile 15:36:41 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 15:30 OWNERS.md 15:36:41 -rw-rw-r-- 1 jenkins jenkins 10054 Mar 16 15:30 README.md 15:36:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 15:27 VERSION 15:36:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:30 bin 15:36:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:30 cmd 15:36:41 -rw-r--r-- 1 jenkins jenkins 7631 Mar 16 15:36 coverage.out 15:36:41 -rw-rw-r-- 1 jenkins jenkins 3326 Mar 16 15:30 go.mod 15:36:41 -rw-rw-r-- 1 jenkins jenkins 32920 Mar 16 15:30 go.sum 15:36:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:30 internal 15:36:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:30 snap 15:36:41 -rw-rw-r-- 1 jenkins jenkins 228 Mar 16 15:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:41 + 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=43ef23c73842acb0ce973947db1bd46bfd80c9f4 --label arch=arm64 --label version=0.0.0 . 15:36:41 Sending build context to Docker daemon 2.992MB 15:36:41 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 15:36:41 Step 2/24 : FROM ${BASE} AS builder 15:36:41 ---> 4b3b5b12002a 15:36:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:36:41 ---> Running in 1451f8aef658 15:36:42 Removing intermediate container 1451f8aef658 15:36:42 ---> 383422e031ed 15:36:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:36:42 ---> Running in 763ac925c2a4 15:36:42 Removing intermediate container 763ac925c2a4 15:36:42 ---> 57c64f8213ba 15:36:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:36:42 ---> Running in 7293588e15bc 15:36:42 Removing intermediate container 7293588e15bc 15:36:42 ---> 27486515956a 15:36:42 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:36:43 ---> Running in aade596c03e8 15:36:43 Removing intermediate container aade596c03e8 15:36:43 ---> 871dac95d379 15:36:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:36:43 ---> Running in ab1003f4d2dd 15:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:36:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:36:46 OK: 268 MiB in 57 packages 15:36:47 Removing intermediate container ab1003f4d2dd 15:36:47 ---> 5638676875b1 15:36:47 Step 8/24 : WORKDIR /device-snmp-go 15:36:47 ---> Running in 806c0de0361c 15:36:47 Removing intermediate container 806c0de0361c 15:36:47 ---> f619de9a42f5 15:36:47 Step 9/24 : COPY go.mod vendor* ./ 15:36:47 ---> 85ccd31a1adc 15:36:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:36:50 ---> Running in 6135c4cc727f 15:36:52 Removing intermediate container 6135c4cc727f 15:36:52 ---> 9257b69d9350 15:36:52 Step 11/24 : COPY . . 15:36:53 ---> 360fd9611090 15:36:53 Step 12/24 : RUN ${MAKE} 15:36:53 ---> Running in 842d6001d12b 15:36:54 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 15:39:00 Removing intermediate container 842d6001d12b 15:39:00 ---> 00505c6fab36 15:39:00 Step 13/24 : FROM alpine:3.17 15:39:01 3.17: Pulling from library/alpine 15:39:01 af6eaf76a39c: Already exists 15:39:01 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:39:01 Status: Downloaded newer image for alpine:3.17 15:39:01 ---> d74e625d9115 15:39:01 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:39:01 ---> Running in 76fb3a7c10ca 15:39:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:39:04 (1/1) Installing dumb-init (1.2.5-r2) 15:39:04 Executing busybox-1.35.0-r29.trigger 15:39:04 OK: 8 MiB in 16 packages 15:39:04 Removing intermediate container 76fb3a7c10ca 15:39:04 ---> 494389cdf06c 15:39:04 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:39:06 ---> ff71a466cc08 15:39:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:39:06 ---> c13d0795ecfa 15:39:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:39:07 ---> 4a2ff2642618 15:39:07 Step 18/24 : EXPOSE 59993 15:39:07 ---> Running in c6cdd40d1809 15:39:07 Removing intermediate container c6cdd40d1809 15:39:07 ---> 1a7c50cbe7d5 15:39:07 Step 19/24 : EXPOSE 161 15:39:07 ---> Running in d2c3033a20c1 15:39:07 Removing intermediate container d2c3033a20c1 15:39:07 ---> 097106990ae0 15:39:07 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:39:07 ---> Running in f3dbb48d9b9b 15:39:08 Removing intermediate container f3dbb48d9b9b 15:39:08 ---> 090b6cc19d35 15:39:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:39:08 ---> Running in 3b9ca4603fb5 15:39:08 Removing intermediate container 3b9ca4603fb5 15:39:08 ---> d71ab88c4184 15:39:08 Step 22/24 : LABEL arch=arm64 15:39:08 ---> Running in 0f668681f015 15:39:08 Removing intermediate container 0f668681f015 15:39:08 ---> 72dfb05c3319 15:39:08 Step 23/24 : LABEL git_sha=43ef23c73842acb0ce973947db1bd46bfd80c9f4 15:39:08 ---> Running in eb2d3b7380a2 15:39:09 Removing intermediate container eb2d3b7380a2 15:39:09 ---> 41eeba4d8ce5 15:39:09 Step 24/24 : LABEL version=0.0.0 15:39:09 ---> Running in 752194ab3dd3 15:39:09 Removing intermediate container 752194ab3dd3 15:39:09 ---> 89c9f78898dc 15:39:09 [Warning] One or more build-args [ARCH] were not consumed 15:39:09 Successfully built 89c9f78898dc 15:39:09 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 15:39:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:39:09 15:39:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:39:10 arm64: Pulling from edgex-lftools-log-publisher 15:39:10 8998bd30e6a1: Pulling fs layer 15:39:10 04944245beec: Pulling fs layer 15:39:10 699f458cf7ca: Pulling fs layer 15:39:10 765212b225bb: Pulling fs layer 15:39:10 f23df028b6ca: Pulling fs layer 15:39:10 d65c8cfc05b1: Pulling fs layer 15:39:10 2437ff75d9bd: Pulling fs layer 15:39:10 f23df028b6ca: Waiting 15:39:10 d65c8cfc05b1: Waiting 15:39:10 2437ff75d9bd: Waiting 15:39:10 765212b225bb: Waiting 15:39:10 04944245beec: Verifying Checksum 15:39:10 04944245beec: Download complete 15:39:10 765212b225bb: Download complete 15:39:10 f23df028b6ca: Verifying Checksum 15:39:10 f23df028b6ca: Download complete 15:39:10 d65c8cfc05b1: Verifying Checksum 15:39:10 d65c8cfc05b1: Download complete 15:39:10 699f458cf7ca: Verifying Checksum 15:39:10 699f458cf7ca: Download complete 15:39:10 8998bd30e6a1: Download complete 15:39:12 2437ff75d9bd: Verifying Checksum 15:39:14 8998bd30e6a1: Pull complete 15:39:15 04944245beec: Pull complete 15:39:16 699f458cf7ca: Pull complete 15:39:16 765212b225bb: Pull complete 15:39:16 f23df028b6ca: Pull complete 15:39:17 d65c8cfc05b1: Pull complete 15:39:32 2437ff75d9bd: Pull complete 15:39:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:39:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:39:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:32 prd-ubuntu20.04-docker-arm64-4c-16g-2464 does not seem to be running inside a container 15:39:32 $ 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/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 15:39:35 $ docker top c7f43eaa58e0bb4eaeea678b2705eb7c619734652a9b075b656aa89cc837ebb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:36 ---> job-cost.sh 15:39:36 lf-activate-venv: SKIPPING 15:39:36 INFO: No Stack... 15:39:36 INFO: Retrieving Pricing Info for: v3-standard-4 15:39:37 INFO: Archiving Costs [Pipeline] sh 15:39:37 + cat /w/workspace/device-snmp-go/5/archives/cost.csv 15:39:37 + cut -d, -f6 [Pipeline] lock 15:39:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-251-5-stack-cost] 15:39:37 Resource [jenkins-edgexfoundry-device-snmp-go-PR-251-5-stack-cost] did not exist. Created. 15:39:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-251-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:39:38 /w/workspace/device-snmp-go/5@tmp/durable-7d9e3d4e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:39:39 + echo total: 0.10999999940395355 [Pipeline] stash 15:39:39 Warning: overwriting stash ‘stack-cost’ 15:39:39 Stashed 1 file(s) [Pipeline] } 15:39:39 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-251-5-stack-cost] [Pipeline] // lock [Pipeline] } 15:39:39 $ docker stop --time=1 c7f43eaa58e0bb4eaeea678b2705eb7c619734652a9b075b656aa89cc837ebb0 15:39:40 $ docker rm -f --volumes c7f43eaa58e0bb4eaeea678b2705eb7c619734652a9b075b656aa89cc837ebb0 [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 15:39:41 provisioning config files... 15:39:41 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config8843907182442183464tmp [Pipeline] { [Pipeline] sh 15:39:41 + set +x 15:39:41 + curl -s https://codecov.io/bash 15:39:41 + bash -s -- 15:39:41 15:39:41 _____ _ 15:39:41 / ____| | | 15:39:41 | | ___ __| | ___ ___ _____ __ 15:39:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:39:41 | |___| (_) | (_| | __/ (_| (_) \ V / 15:39:41 \_____\___/ \__,_|\___|\___\___/ \_/ 15:39:41 Bash-1.0.6 15:39:41 15:39:41 15:39:41 ==> git version 2.25.1 found 15:39:41 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:39:41 Release-Date: 2020-01-08 15:39:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:39:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:39:41 ==> Jenkins CI detected. 15:39:41 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-251 15:39:41 project root: . 15:39:41 --> token set from env 15:39:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:39:41 ==> Running gcov in . (disable via -X gcov) 15:39:41 ==> Python coveragepy not found 15:39:41 ==> Searching for coverage reports in: 15:39:41 + . 15:39:41 -> Found 1 reports 15:39:41 ==> Detecting git/mercurial file structure 15:39:41 ==> Reading reports 15:39:41 + ./coverage.out bytes=7631 15:39:41 ==> Appending adjustments 15:39:41 https://docs.codecov.io/docs/fixing-reports 15:39:41 + Found adjustments 15:39:41 ==> Gzipping contents 15:39:41 4.0K /tmp/codecov.1rfvpQ.gz 15:39:41 ==> Uploading reports 15:39:41 url: https://codecov.io 15:39:41 query: branch=PR-251&commit=3961241f03bc52634397e70c3d3972a5a9dc705a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-251%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=251&job=&cmd_args= 15:39:41 -> Pinging Codecov 15:39:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-251&commit=3961241f03bc52634397e70c3d3972a5a9dc705a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-251%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=251&job=&cmd_args= 15:39:42 -> Uploading to 15:39:42 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/6C56EA5C29638FB4528AC87E60AF5AE0/3961241f03bc52634397e70c3d3972a5a9dc705a/4b852281-cc80-416d-bd8f-00503f6f20e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T153941Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89b7de4c67934b06f35f34646edc0ea3f315b0a6b62b5810a4012b8f9b663340 15:39:42 % Total % Received % Xferd Average Speed Time Time Time Current 15:39:42 Dload Upload Total Spent Left Speed 15:39:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 6495 --:--:-- --:--:-- --:--:-- 6495 15:39:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/3961241f03bc52634397e70c3d3972a5a9dc705a [Pipeline] } 15:39:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:39:43 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-251/archives ] 15:39:43 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 15:39:43 total 16 15:39:43 drwxr-xr-x 3 root root 4096 Mar 16 15:29 . 15:39:43 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:29 .. 15:39:43 drwxr-xr-x 2 root root 4096 Mar 16 15:29 cost 15:39:43 -rw-r--r-- 1 root root 86 Mar 16 15:29 cost.csv 15:39:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 15:39:43 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-251/archives 15:39:43 total 16 15:39:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:29 . 15:39:43 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:29 .. 15:39:43 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 15:29 cost 15:39:43 -rw-r--r-- 1 jenkins jenkins 86 Mar 16 15:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:39:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:39:44 ---> package-listing.sh 15:39:44 ++ facter osfamily 15:39:44 ++ tr '[:upper:]' '[:lower:]' 15:39:44 + OS_FAMILY=debian 15:39:44 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-251 15:39:44 + START_PACKAGES=/tmp/packages_start.txt 15:39:44 + END_PACKAGES=/tmp/packages_end.txt 15:39:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:39:44 + PACKAGES=/tmp/packages_start.txt 15:39:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-251 ']' 15:39:44 + PACKAGES=/tmp/packages_end.txt 15:39:44 + case "${OS_FAMILY}" in 15:39:44 + dpkg -l 15:39:44 + grep '^ii' 15:39:44 + '[' -f /tmp/packages_start.txt ']' 15:39:44 + '[' -f /tmp/packages_end.txt ']' 15:39:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:39:44 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-251 ']' 15:39:44 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/ 15:39:44 + 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 15:39:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:39:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:39:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:45 prd-ubuntu20.04-docker-8c-8g-2461 does not seem to be running inside a container 15:39:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-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 15:39:45 $ docker top a5d4fdf6982f05ad4987726a467a2962cc6c000664501f796cb64255efc6d6c3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:45 + touch /tmp/pre-build-complete [Pipeline] sh 15:39:46 + mkdir -p /var/log/sysstat [Pipeline] sh 15:39:46 + ls /var/log/sa-host 15:39:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:39:46 provisioning config files... 15:39:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config10781989144104334403tmp [Pipeline] { [Pipeline] echo 15:39:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:39:46 ---> create-netrc.sh [Pipeline] } 15:39:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:39:47 ---> python-tools-install.sh [Pipeline] echo 15:39:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:39:47 ---> sudo-logs.sh 15:39:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:39:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:39:47 ---> job-cost.sh 15:39:47 lf-activate-venv: SKIPPING 15:39:47 DEBUG: total: 0.2199999988079071 15:39:47 INFO: Retrieving Stack Cost... 15:39:48 INFO: Retrieving Pricing Info for: v3-standard-8 15:39:48 INFO: Archiving Costs [Pipeline] echo 15:39:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:39:48 ---> logs-deploy.sh 15:39:48 lf-activate-venv: SKIPPING 15:39:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-251/5 15:39:48 INFO: archiving workspace using pattern(s): 15:39:49 Archives upload complete. 15:39:50 INFO: archiving logs to Nexus 15:39:50 ---> uname -a: 15:39:50 Linux prd-ubuntu20-04-docker-8c-8g-2461 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:39:50 15:39:50