Started by upstream project "edgexfoundry/cd-management/release-lts" build number 54 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a5a8eecad0964d203a89aaaae76bac199dfc367d 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-ssh1557064299501663189.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11498811497266972346.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh572018077870359112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1189630326500829458.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16099044784476362547.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.21 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-18181 in /w/workspace/edgexfoundry_device-snmp-go_napa [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/edgexfoundry_device-snmp-go_napa # 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 Avoid second fetch Checking out Revision a5a8eecad0964d203a89aaaae76bac199dfc367d (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @b852d33" > git config core.sparsecheckout # timeout=10 > git checkout -f a5a8eecad0964d203a89aaaae76bac199dfc367d # timeout=10 > git rev-list --no-walk a5a8eecad0964d203a89aaaae76bac199dfc367d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:16:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:16:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:16:25 ========================================================= 22:16:25 EdgeX Global Pipelines Version Info 22:16:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:16:26 ------------------- 22:16:26 stable info: 22:16:26 ------------------- 22:16:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:16:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:16:26 Message: update stable to v1.0.258 22:16:26 ------------------- 22:16:26 experimental info: 22:16:26 ------------------- 22:16:26 Commited By: **** collab-it+edgex@linuxfoundation.org 22:16:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:16:26 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5a8eec [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:27 provisioning config files... 22:16:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config2005692950427609363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:27 ---> docker-login.sh 22:16:27 nexus3.edgexfoundry.org:10001 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 nexus3.edgexfoundry.org:10002 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 nexus3.edgexfoundry.org:10003 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 nexus3.edgexfoundry.org:10004 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 docker.io 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 ---> docker-login.sh ends [Pipeline] } 22:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:16:29 + git rev-list -1 --merges a5a8eecad0964d203a89aaaae76bac199dfc367d~1..a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] echo 22:16:29 -----------> git rev-list -1 --merges a5a8eecad0964d203a89aaaae76bac199dfc367d~1..a5a8eecad0964d203a89aaaae76bac199dfc367d a5a8eecad0964d203a89aaaae76bac199dfc367d [false] [Pipeline] sh 22:16:29 + git log --format=format:%s -1 a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] echo 22:16:29 ========================================================= 22:16:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:16:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:30 + git log --format=format:%s -1 a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] echo 22:16:30 [semverPrep] GIT_COMMIT: a5a8eecad0964d203a89aaaae76bac199dfc367d, Commit Message: ci(lts-release): LTS release v3.1.0 @b852d33 [Pipeline] echo 22:16:30 [semverPrep] This is not a build commit. [Pipeline] sh 22:16:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:16:30 + grep -v github /etc/ssh/ssh_known_hosts 22:16:30 + [ -e /tmp/ssh_known_hosts ] 22:16:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:16:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:16:30 + sudo tee -a /etc/ssh/ssh_known_hosts 22:16:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:30 22:16:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:31 0.1.4: Pulling from edgex-devops/py-git-semver 22:16:31 b85a868b505f: Pulling fs layer 22:16:31 e2be974225ed: Pulling fs layer 22:16:31 339a4e72a1f5: Pulling fs layer 22:16:31 988bab9f4d93: Pulling fs layer 22:16:31 1469e6f7b9e6: Pulling fs layer 22:16:31 eaf3925da568: Pulling fs layer 22:16:31 bab4dde63d76: Pulling fs layer 22:16:31 bde34c3a00c8: Pulling fs layer 22:16:31 b352a97aabf1: Pulling fs layer 22:16:31 1469e6f7b9e6: Waiting 22:16:31 4872d77fe225: Pulling fs layer 22:16:31 5851b861e8e6: Pulling fs layer 22:16:31 eaf3925da568: Waiting 22:16:31 bab4dde63d76: Waiting 22:16:31 b352a97aabf1: Waiting 22:16:31 4872d77fe225: Waiting 22:16:31 bde34c3a00c8: Waiting 22:16:31 988bab9f4d93: Waiting 22:16:31 e2be974225ed: Verifying Checksum 22:16:31 e2be974225ed: Download complete 22:16:31 988bab9f4d93: Download complete 22:16:31 339a4e72a1f5: Verifying Checksum 22:16:31 339a4e72a1f5: Download complete 22:16:31 1469e6f7b9e6: Verifying Checksum 22:16:31 1469e6f7b9e6: Download complete 22:16:31 eaf3925da568: Verifying Checksum 22:16:31 eaf3925da568: Download complete 22:16:31 bde34c3a00c8: Download complete 22:16:31 b352a97aabf1: Verifying Checksum 22:16:31 b352a97aabf1: Download complete 22:16:31 4872d77fe225: Verifying Checksum 22:16:31 4872d77fe225: Download complete 22:16:31 5851b861e8e6: Verifying Checksum 22:16:31 5851b861e8e6: Download complete 22:16:31 b85a868b505f: Verifying Checksum 22:16:31 b85a868b505f: Download complete 22:16:31 bab4dde63d76: Verifying Checksum 22:16:31 bab4dde63d76: Download complete 22:16:32 b85a868b505f: Pull complete 22:16:32 e2be974225ed: Pull complete 22:16:33 339a4e72a1f5: Pull complete 22:16:33 988bab9f4d93: Pull complete 22:16:33 1469e6f7b9e6: Pull complete 22:16:33 eaf3925da568: Pull complete 22:16:35 bab4dde63d76: Pull complete 22:16:35 bde34c3a00c8: Pull complete 22:16:35 b352a97aabf1: Pull complete 22:16:35 4872d77fe225: Pull complete 22:16:35 5851b861e8e6: Pull complete 22:16:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:16:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:35 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:16:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:16:47 $ docker top 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 -eo pid,comm 22:16:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:16:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:47 [ssh-agent] Looking for ssh-agent implementation... 22:16:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:47 $ docker exec 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 ssh-agent 22:16:47 SSH_AUTH_SOCK=/tmp/ssh-jpzwWjDcA0Gw/agent.14 22:16:47 SSH_AGENT_PID=20 22:16:47 Running ssh-add (command line suppressed) 22:16:47 Identity added: /w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_7035306213678552471.key (/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_7035306213678552471.key) 22:16:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:47 + git tag --points-at a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] } 22:16:48 $ docker exec --env ******** --env ******** 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 ssh-agent -k 22:16:48 unset SSH_AUTH_SOCK; 22:16:48 unset SSH_AGENT_PID; 22:16:48 echo Agent pid 20 killed; 22:16:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:16:48 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent 22:16:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:48 [ssh-agent] Looking for ssh-agent implementation... 22:16:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:48 $ docker exec 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 ssh-agent 22:16:48 SSH_AUTH_SOCK=/tmp/ssh-rwkVPNMb5u1u/agent.52 22:16:48 SSH_AGENT_PID=59 22:16:48 Running ssh-add (command line suppressed) 22:16:48 Identity added: /w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_16285093147198532101.key (/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_16285093147198532101.key) 22:16:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:48 + git semver init 22:16:49 2023-11-15 22:16:49,351 [run_init] DEBUG init version:0.0.0 force:False 22:16:49 2023-11-15 22:16:49,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_napa/.semver 22:16:49 2023-11-15 22:16:49,353 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_napa/.semver 22:16:49 2023-11-15 22:16:49,354 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_napa, universal_newlines=False, shell=None, istream=None) 22:16:50 2023-11-15 22:16:50,627 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_napa/.git/info/exclude 22:16:50 2023-11-15 22:16:50,627 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa with force:False 22:16:50 2023-11-15 22:16:50,627 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa 22:16:50 2023-11-15 22:16:50,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa 22:16:50 3.1.0 [Pipeline] } 22:16:50 $ docker exec --env ******** --env ******** 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 ssh-agent -k 22:16:50 unset SSH_AUTH_SOCK; 22:16:50 unset SSH_AGENT_PID; 22:16:50 echo Agent pid 59 killed; 22:16:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:51 + git semver [Pipeline] } 22:16:51 $ docker stop --time=1 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 22:16:53 $ docker rm -f --volumes 1e254a4e61c5696f7e986470c8cfcac67f05d7ff0292d6d7eeccce7c0d431916 [Pipeline] // withDockerContainer [Pipeline] sh 22:16:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:16:53 Stashed 1 file(s) [Pipeline] echo 22:16:53 [edgeXSemver]: initialized semver on version 3.1.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] sh 22:16:53 + git checkout a5a8eecad0964d203a89aaaae76bac199dfc367d 22:16:53 HEAD is now at a5a8eec ci(lts-release): LTS release v3.1.0 @b852d33 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:53 provisioning config files... 22:16:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config12171545296178447900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:54 ---> docker-login.sh 22:16:54 nexus3.edgexfoundry.org:10001 22:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:54 Configure a credential helper to remove this warning. See 22:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:54 22:16:54 Login Succeeded 22:16:54 nexus3.edgexfoundry.org:10002 22:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:54 Configure a credential helper to remove this warning. See 22:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:54 22:16:54 Login Succeeded 22:16:54 nexus3.edgexfoundry.org:10003 22:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:54 Configure a credential helper to remove this warning. See 22:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:54 22:16:54 Login Succeeded 22:16:54 nexus3.edgexfoundry.org:10004 22:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:54 Configure a credential helper to remove this warning. See 22:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:54 22:16:54 Login Succeeded 22:16:54 docker.io 22:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:55 Configure a credential helper to remove this warning. See 22:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:55 22:16:55 Login Succeeded 22:16:55 ---> docker-login.sh ends [Pipeline] } 22:16:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:16:55 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:16:55 + + grep ^go [0-9].[0-9]*cut go.mod -d 22:16:55 -f 2 [Pipeline] echo 22:16:55 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:16:55 ========================================================= 22:16:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 22:16:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:16:55 Sending build context to Docker daemon 43.31MB 22:16:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:16:55 Step 2/12 : FROM ${BASE} AS builder 22:16:56 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:16:56 7264a8db6415: Pulling fs layer 22:16:56 c4d48a809fc2: Pulling fs layer 22:16:56 4f1c88b9dad5: Pulling fs layer 22:16:56 ad3a456e5733: Pulling fs layer 22:16:56 f0163c21ed6d: Pulling fs layer 22:16:56 04c35c34e31e: Pulling fs layer 22:16:56 0c7b0fd20c02: Pulling fs layer 22:16:56 d22eed83c68c: Pulling fs layer 22:16:56 f0163c21ed6d: Waiting 22:16:56 ad3a456e5733: Waiting 22:16:56 04c35c34e31e: Waiting 22:16:56 0c7b0fd20c02: Waiting 22:16:56 d22eed83c68c: Waiting 22:16:56 c4d48a809fc2: Download complete 22:16:56 ad3a456e5733: Verifying Checksum 22:16:56 ad3a456e5733: Download complete 22:16:56 f0163c21ed6d: Verifying Checksum 22:16:56 f0163c21ed6d: Download complete 22:16:56 7264a8db6415: Verifying Checksum 22:16:56 7264a8db6415: Download complete 22:16:56 04c35c34e31e: Verifying Checksum 22:16:56 04c35c34e31e: Download complete 22:16:56 7264a8db6415: Pull complete 22:16:56 c4d48a809fc2: Pull complete 22:16:56 d22eed83c68c: Verifying Checksum 22:16:56 d22eed83c68c: Download complete 22:16:56 4f1c88b9dad5: Verifying Checksum 22:16:56 4f1c88b9dad5: Download complete 22:16:57 0c7b0fd20c02: Verifying Checksum 22:16:59 4f1c88b9dad5: Pull complete 22:16:59 ad3a456e5733: Pull complete 22:16:59 f0163c21ed6d: Pull complete 22:16:59 04c35c34e31e: Pull complete 22:17:02 0c7b0fd20c02: Pull complete 22:17:02 d22eed83c68c: Pull complete 22:17:02 Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de 22:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 22:17:02 ---> 8a661f5c53af 22:17:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:17:08 Still waiting to schedule task 22:17:08 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:17:13 ---> Running in 9ec90e3ad5c4 22:17:13 Removing intermediate container 9ec90e3ad5c4 22:17:13 ---> 5f1da9712d55 22:17:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:17:14 ---> Running in 247b5b212dce 22:17:15 Removing intermediate container 247b5b212dce 22:17:15 ---> 8c8172bffba8 22:17:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:17:16 ---> Running in 8f0d877082ca 22:17:16 Removing intermediate container 8f0d877082ca 22:17:16 ---> 579c54d7195c 22:17:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:17:17 ---> Running in 331d7c99cb28 22:17:18 Removing intermediate container 331d7c99cb28 22:17:18 ---> c31e238c3f49 22:17:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:18 ---> Running in 247a01f0d42f 22:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:17:19 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:17:19 (2/4) Installing libedit (20221030.3.1-r1) 22:17:19 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:17:19 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:17:20 Executing busybox-1.36.1-r5.trigger 22:17:20 OK: 268 MiB in 56 packages 22:17:22 Removing intermediate container 247a01f0d42f 22:17:22 ---> 83440923fc4f 22:17:22 Step 8/12 : WORKDIR /device-snmp-go 22:17:23 ---> Running in f854c3e59cbe 22:17:24 Removing intermediate container f854c3e59cbe 22:17:24 ---> bd98ad89e505 22:17:24 Step 9/12 : COPY go.mod vendor* ./ 22:17:31 ---> bd10e392c12b 22:17:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:31 ---> Running in 7c54b393f163 22:18:38 Removing intermediate container 7c54b393f163 22:18:38 ---> 984401c18588 22:18:38 Step 11/12 : COPY . . 22:18:38 ---> b188d2c534e9 22:18:38 Step 12/12 : RUN ${MAKE} 22:18:38 ---> Running in b85cacafe7e4 22:18:38 noop 22:18:38 Removing intermediate container b85cacafe7e4 22:18:38 ---> 6cace646f6fc 22:18:38 Successfully built 6cace646f6fc 22:18:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:39 + docker inspect -f . ci-base-image-x86_64 22:18:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:39 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:18:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** ci-base-image-x86_64 cat 22:18:40 $ docker top 8de45e0a8e695e252c23253498c57f74f45bf5e0b23d1452b13067e1fbb607d5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:41 + go version 22:18:41 go version go1.21.0 linux/amd64 [Pipeline] } 22:18:41 $ docker stop --time=1 8de45e0a8e695e252c23253498c57f74f45bf5e0b23d1452b13067e1fbb607d5 22:18:43 $ docker rm -f --volumes 8de45e0a8e695e252c23253498c57f74f45bf5e0b23d1452b13067e1fbb607d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:43 + docker inspect -f . ci-base-image-x86_64 22:18:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:43 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** ci-base-image-x86_64 cat 22:18:45 $ docker top 911958d77ac883f8fe04da24dc193cf21b634a10c745f17994b75c1239463803 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:45 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_napa [Pipeline] fileExists [Pipeline] sh 22:18:45 + make test 22:18:45 go test ./... -coverprofile=coverage.out 22:18:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:19:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:19:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 22:19:10 go vet ./... 22:19:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:12 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:12 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:19:13 + go mod tidy [Pipeline] } 22:19:13 $ docker stop --time=1 911958d77ac883f8fe04da24dc193cf21b634a10c745f17994b75c1239463803 22:19:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18199 in /w/workspace/edgexfoundry_device-snmp-go_napa 22:19:22 $ docker rm -f --volumes 911958d77ac883f8fe04da24dc193cf21b634a10c745f17994b75c1239463803 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 22:19:22 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 22:19:22 Selected Git installation does not exist. Using Default 22:19:22 The recommended git tool is: NONE 22:19:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:19:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:23 + ls -al . 22:19:23 total 176 22:19:23 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 22:18 . 22:19:23 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:16 .. 22:19:23 -rw-rw-r-- 1 jenkins jenkins 6 Nov 15 22:16 .dockerignore 22:19:23 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:19 .git 22:19:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 .github 22:19:23 -rw-rw-r-- 1 jenkins jenkins 255 Nov 15 22:16 .gitignore 22:19:23 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:16 .golangci.yml 22:19:23 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:16 .semver 22:19:23 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 15 22:16 Attribution.txt 22:19:23 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 15 22:16 CHANGELOG.md 22:19:23 -rw-rw-r-- 1 jenkins jenkins 1571 Nov 15 22:16 Dockerfile 22:19:23 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:16 GOVERNANCE.md 22:19:23 -rw-rw-r-- 1 jenkins jenkins 656 Nov 15 22:16 Jenkinsfile 22:19:23 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:16 LICENSE 22:19:23 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 15 22:16 Makefile 22:19:23 -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:16 OWNERS.md 22:19:23 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 15 22:16 README.md 22:19:23 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION 22:19:23 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:16 bin 22:19:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 cmd 22:19:23 -rw-r--r-- 1 jenkins jenkins 8837 Nov 15 22:19 coverage.out 22:19:23 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 15 22:16 go.mod 22:19:23 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 15 22:16 go.sum 22:19:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 internal 22:19:23 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:16 vendor 22:19:23 -rw-rw-r-- 1 jenkins jenkins 228 Nov 15 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:23 + 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=a5a8eecad0964d203a89aaaae76bac199dfc367d --label arch=amd64 --label version=3.1.0 . 22:19:23 Sending build context to Docker daemon 43.32MB 22:19:23 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:19:23 Step 2/25 : FROM ${BASE} AS builder 22:19:23 ---> 6cace646f6fc 22:19:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:19:25 ---> Running in 3bdc4101b2a6 22:19:25 Removing intermediate container 3bdc4101b2a6 22:19:25 ---> 7d169a604333 22:19:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:25 ---> Running in 0ee6e0573a81 22:19:25 Removing intermediate container 0ee6e0573a81 22:19:25 ---> 97147090eee7 22:19:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:19:25 ---> Running in d318c236f7b9 22:19:25 Removing intermediate container d318c236f7b9 22:19:25 ---> 79e59dfbc761 22:19:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:19:25 ---> Running in 671dacd60fa5 22:19:25 Removing intermediate container 671dacd60fa5 22:19:25 ---> 339de98327e9 22:19:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:25 ---> Running in bd7cb6f79ed1 22:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:19:26 OK: 268 MiB in 56 packages 22:19:26 Removing intermediate container bd7cb6f79ed1 22:19:26 ---> a9fe813ddbdc 22:19:26 Step 8/25 : WORKDIR /device-snmp-go 22:19:28 ---> Running in 79097ddfb044 22:19:29 Removing intermediate container 79097ddfb044 22:19:29 ---> da1747ca6c27 22:19:29 Step 9/25 : COPY go.mod vendor* ./ 22:19:30 using credential edgex-jenkins-ssh 22:19:30 Cloning the remote Git repository 22:19:30 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 22:19:30 > git init /w/workspace/device-snmp-go/2 # timeout=10 22:19:30 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:19:30 > git --version # timeout=10 22:19:30 > git --version # 'git version 2.25.1' 22:19:30 using GIT_SSH to set credentials SSH Credentials for GitHub 22:19:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:32 ---> e008342c8c35 22:19:32 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:33 ---> Running in 7b81cbfc47ac 22:19:34 Avoid second fetch 22:19:34 Checking out Revision a5a8eecad0964d203a89aaaae76bac199dfc367d (napa) 22:19:33 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:19:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:34 skipping... 22:19:34 > git config core.sparsecheckout # timeout=10 22:19:34 > git checkout -f a5a8eecad0964d203a89aaaae76bac199dfc367d # timeout=10 22:19:36 Commit message: "ci(lts-release): LTS release v3.1.0 @b852d33" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:19:37 % Total % Received % Xferd Average Speed Time Time Time Current 22:19:37 Dload Upload Total Spent Left Speed 22:19:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 156k 0 --:--:-- --:--:-- --:--:-- 158k 22:19:37 Removing intermediate container 7b81cbfc47ac 22:19:37 ---> 3c18a8e36224 22:19:37 Step 11/25 : COPY . . [Pipeline] sh 22:19:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:19:38 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 22:19:38 /etc/docker/daemon.new 22:19:38 { 22:19:38 "registry-mirrors": [ 22:19:38 "https://nexus3.edgexfoundry.org:10001" 22:19:38 ], 22:19:38 "bip": "10.250.0.254/24", 22:19:38 "hosts": [ 22:19:38 "tcp://0.0.0.0:5555", 22:19:38 "unix:///var/run/docker.sock" 22:19:38 ], 22:19:38 "mtu": 1458, 22:19:38 "selinux-enabled": true, 22:19:38 "seccomp-profile": "/etc/docker/seccomp.json" 22:19:38 } [Pipeline] sh 22:19:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:19:38 + sudo service docker restart 22:19:40 ---> 2ff8d2969271 22:19:40 Step 12/25 : RUN ${MAKE} 22:19:40 ---> Running in 2aad0691e9a5 22:19:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [Pipeline] sh 22:19:57 + git checkout a5a8eecad0964d203a89aaaae76bac199dfc367d 22:19:57 HEAD is now at a5a8eec ci(lts-release): LTS release v3.1.0 @b852d33 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:57 provisioning config files... 22:19:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config1127591511642191024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:58 ---> docker-login.sh 22:19:58 nexus3.edgexfoundry.org:10001 22:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:59 Configure a credential helper to remove this warning. See 22:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:59 22:19:59 Login Succeeded 22:19:59 nexus3.edgexfoundry.org:10002 22:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:59 Configure a credential helper to remove this warning. See 22:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:59 22:19:59 Login Succeeded 22:19:59 nexus3.edgexfoundry.org:10003 22:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:00 Configure a credential helper to remove this warning. See 22:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:00 22:20:00 Login Succeeded 22:20:00 nexus3.edgexfoundry.org:10004 22:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:00 Configure a credential helper to remove this warning. See 22:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:00 22:20:00 Login Succeeded 22:20:00 docker.io 22:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:01 Configure a credential helper to remove this warning. See 22:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:01 22:20:01 Login Succeeded 22:20:01 ---> docker-login.sh ends [Pipeline] } 22:20:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:20:01 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:20:01 + grep ^go [0-9].[0-9]* go.mod 22:20:01 + cut -d -f 2 [Pipeline] echo 22:20:01 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:20:01 ========================================================= 22:20:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 22:20:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:02 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:20:05 Sending build context to Docker daemon 35.21MB 22:20:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:20:05 Step 2/12 : FROM ${BASE} AS builder 22:20:05 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 22:20:05 9fda8d8052c6: Pulling fs layer 22:20:05 5d54e960e981: Pulling fs layer 22:20:05 c4a7e357bf2a: Pulling fs layer 22:20:05 f0e02332f6b5: Pulling fs layer 22:20:05 57b776a6bec4: Pulling fs layer 22:20:05 8b19151f9e34: Pulling fs layer 22:20:05 eb6a9f2d7ee3: Pulling fs layer 22:20:05 57b776a6bec4: Waiting 22:20:05 8b19151f9e34: Waiting 22:20:05 f0e02332f6b5: Waiting 22:20:05 eb6a9f2d7ee3: Waiting 22:20:05 5d54e960e981: Download complete 22:20:05 f0e02332f6b5: Verifying Checksum 22:20:05 f0e02332f6b5: Download complete 22:20:05 57b776a6bec4: Verifying Checksum 22:20:05 57b776a6bec4: Download complete 22:20:05 9fda8d8052c6: Verifying Checksum 22:20:05 9fda8d8052c6: Download complete 22:20:05 eb6a9f2d7ee3: Verifying Checksum 22:20:05 eb6a9f2d7ee3: Download complete 22:20:06 9fda8d8052c6: Pull complete 22:20:07 5d54e960e981: Pull complete 22:20:07 Removing intermediate container 2aad0691e9a5 22:20:07 ---> 04ca6e6bd286 22:20:07 Step 13/25 : FROM alpine:3.18 22:20:07 3.18: Pulling from library/alpine 22:20:07 c4a7e357bf2a: Verifying Checksum 22:20:07 c4a7e357bf2a: Download complete 22:20:07 96526aa774ef: Pulling fs layer 22:20:07 96526aa774ef: Verifying Checksum 22:20:07 96526aa774ef: Download complete 22:20:08 8b19151f9e34: Verifying Checksum 22:20:08 8b19151f9e34: Download complete 22:20:08 96526aa774ef: Pull complete 22:20:09 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:20:09 Status: Downloaded newer image for alpine:3.18 22:20:09 ---> 8ca4688f4f35 22:20:09 Step 14/25 : RUN apk add --update --no-cache dumb-init 22:20:11 ---> Running in 61504a6e459c 22:20:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:20:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:20:13 (1/1) Installing dumb-init (1.2.5-r2) 22:20:13 Executing busybox-1.36.1-r2.trigger 22:20:13 OK: 7 MiB in 16 packages 22:20:14 Removing intermediate container 61504a6e459c 22:20:14 ---> f111b0b78fef 22:20:14 Step 15/25 : RUN apk --no-cache upgrade 22:20:15 ---> Running in 1df3d3cb642f 22:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:20:15 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:20:15 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:20:15 Executing busybox-1.36.1-r5.post-upgrade 22:20:15 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:20:15 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:20:15 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:20:15 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:20:15 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:20:15 Executing busybox-1.36.1-r5.trigger 22:20:15 OK: 7 MiB in 16 packages 22:20:20 Removing intermediate container 1df3d3cb642f 22:20:20 ---> f31d4830ed85 22:20:20 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 22:20:21 ---> eacd908cdf83 22:20:21 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:20:22 ---> 4847ee49919e 22:20:22 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 22:20:22 ---> 9f3a8a7f1c81 22:20:22 Step 19/25 : EXPOSE 59993 22:20:23 ---> Running in 8d51f26e008a 22:20:23 c4a7e357bf2a: Pull complete 22:20:23 f0e02332f6b5: Pull complete 22:20:23 57b776a6bec4: Pull complete 22:20:24 Removing intermediate container 8d51f26e008a 22:20:24 ---> 55cf510f7e65 22:20:24 Step 20/25 : EXPOSE 161 22:20:24 ---> Running in 7c0750054646 22:20:25 Removing intermediate container 7c0750054646 22:20:25 ---> 1e87ca079467 22:20:25 Step 21/25 : ENTRYPOINT ["/device-snmp"] 22:20:25 ---> Running in 3e6f92311495 22:20:26 Removing intermediate container 3e6f92311495 22:20:26 ---> 051247eda1d1 22:20:26 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:20:26 ---> Running in 07f57e13704e 22:20:27 Removing intermediate container 07f57e13704e 22:20:27 ---> 86cc264272a1 22:20:27 Step 23/25 : LABEL arch=amd64 22:20:27 ---> Running in c7f5c2a46d02 22:20:28 Removing intermediate container c7f5c2a46d02 22:20:28 ---> 1fe34602c907 22:20:28 Step 24/25 : LABEL git_sha=a5a8eecad0964d203a89aaaae76bac199dfc367d 22:20:28 ---> Running in 07518b9c998d 22:20:28 Removing intermediate container 07518b9c998d 22:20:28 ---> a7174b4253fe 22:20:28 Step 25/25 : LABEL version=3.1.0 22:20:29 ---> Running in b6488ab21bc7 22:20:31 Removing intermediate container b6488ab21bc7 22:20:31 ---> f0bfd0cd2166 22:20:31 [Warning] One or more build-args [ARCH] were not consumed 22:20:31 Successfully built f0bfd0cd2166 22:20:31 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:31 provisioning config files... 22:20:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config17209233754172951136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:32 ---> docker-login.sh 22:20:32 nexus3.edgexfoundry.org:10001 22:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:32 Configure a credential helper to remove this warning. See 22:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:32 22:20:32 Login Succeeded 22:20:32 nexus3.edgexfoundry.org:10002 22:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:32 Configure a credential helper to remove this warning. See 22:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:32 22:20:32 Login Succeeded 22:20:32 nexus3.edgexfoundry.org:10003 22:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:32 Configure a credential helper to remove this warning. See 22:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:32 22:20:32 Login Succeeded 22:20:32 nexus3.edgexfoundry.org:10004 22:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:32 Configure a credential helper to remove this warning. See 22:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:32 22:20:32 Login Succeeded 22:20:32 docker.io 22:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:32 Configure a credential helper to remove this warning. See 22:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:32 22:20:32 Login Succeeded 22:20:32 ---> docker-login.sh ends [Pipeline] } 22:20:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:20:32 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:20:32 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 22:20:32 a5a8eecad0964d203a89aaaae76bac199dfc367d 22:20:32 3.1.0 22:20:32 a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 22:20:32 napa 22:20:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:32 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:33 8b19151f9e34: Pull complete 22:20:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d 22:20:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:20:33 cb66b194aa3c: Preparing 22:20:33 50cae49baad2: Preparing 22:20:33 feb3347238e8: Preparing 22:20:33 6c8ebaedf3b8: Preparing 22:20:33 52b774a29947: Preparing 22:20:33 cc2447e1835a: Preparing 22:20:33 cc2447e1835a: Waiting 22:20:33 cb66b194aa3c: Pushed 22:20:33 52b774a29947: Pushed 22:20:33 cc2447e1835a: Layer already exists 22:20:33 50cae49baad2: Pushed 22:20:34 6c8ebaedf3b8: Pushed 22:20:35 eb6a9f2d7ee3: Pull complete 22:20:35 Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff 22:20:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 22:20:35 ---> ca1e05e92614 22:20:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:20:36 feb3347238e8: Pushed 22:20:37 a5a8eecad0964d203a89aaaae76bac199dfc367d: digest: sha256:efa6d969e702acd5945fd9274469cdfcb5507918fadaaa90ff06be09fa0fc339 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:37 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0 22:20:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:20:37 cb66b194aa3c: Preparing 22:20:37 50cae49baad2: Preparing 22:20:37 feb3347238e8: Preparing 22:20:37 6c8ebaedf3b8: Preparing 22:20:37 52b774a29947: Preparing 22:20:37 cc2447e1835a: Preparing 22:20:37 cc2447e1835a: Waiting 22:20:37 6c8ebaedf3b8: Layer already exists 22:20:37 50cae49baad2: Layer already exists 22:20:37 feb3347238e8: Layer already exists 22:20:37 cb66b194aa3c: Layer already exists 22:20:37 52b774a29947: Layer already exists 22:20:37 cc2447e1835a: Layer already exists 22:20:37 3.1.0: digest: sha256:efa6d969e702acd5945fd9274469cdfcb5507918fadaaa90ff06be09fa0fc339 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 22:20:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:20:38 cb66b194aa3c: Preparing 22:20:38 50cae49baad2: Preparing 22:20:38 feb3347238e8: Preparing 22:20:38 6c8ebaedf3b8: Preparing 22:20:38 52b774a29947: Preparing 22:20:38 cc2447e1835a: Preparing 22:20:38 cc2447e1835a: Waiting 22:20:38 feb3347238e8: Layer already exists 22:20:38 50cae49baad2: Layer already exists 22:20:38 6c8ebaedf3b8: Layer already exists 22:20:38 52b774a29947: Layer already exists 22:20:38 cc2447e1835a: Layer already exists 22:20:38 cb66b194aa3c: Layer already exists 22:20:38 a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0: digest: sha256:efa6d969e702acd5945fd9274469cdfcb5507918fadaaa90ff06be09fa0fc339 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:38 ---> Running in ca90eea42843 22:20:38 Removing intermediate container ca90eea42843 22:20:38 ---> 43df6c151039 22:20:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:20:38 ---> Running in 8c5ed8d2aad5 22:20:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:39 + docker push nexus3.edgexfoundry.org:10004/device-snmp:napa 22:20:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 22:20:39 cb66b194aa3c: Preparing 22:20:39 50cae49baad2: Preparing 22:20:39 feb3347238e8: Preparing 22:20:39 6c8ebaedf3b8: Preparing 22:20:39 52b774a29947: Preparing 22:20:39 cc2447e1835a: Preparing 22:20:39 cc2447e1835a: Waiting 22:20:39 52b774a29947: Layer already exists 22:20:39 cb66b194aa3c: Layer already exists 22:20:39 50cae49baad2: Layer already exists 22:20:39 feb3347238e8: Layer already exists 22:20:39 6c8ebaedf3b8: Layer already exists 22:20:39 cc2447e1835a: Layer already exists 22:20:39 napa: digest: sha256:efa6d969e702acd5945fd9274469cdfcb5507918fadaaa90ff06be09fa0fc339 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:20:39 ===================================================== [Pipeline] echo 22:20:39 taggedImages: 22:20:39 - nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d 22:20:39 - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0 22:20:39 - nexus3.edgexfoundry.org:10004/device-snmp:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 22:20:39 - nexus3.edgexfoundry.org:10004/device-snmp:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 22:20:39 Removing intermediate container 8c5ed8d2aad5 22:20:39 ---> a1701c274ff6 22:20:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:20:39 ---> Running in aa1dc10e230a [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:39 22:20:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 22:20:39 Removing intermediate container aa1dc10e230a 22:20:39 ---> aff3f3ee1558 22:20:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:20:39 ---> Running in 9faa22875794 [Pipeline] sh 22:20:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:40 Removing intermediate container 9faa22875794 22:20:40 ---> 1b855357c788 22:20:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:20:40 ---> Running in 311a18a8b7c5 22:20:40 latest: Pulling from edgex-lftools-log-publisher 22:20:40 5eb5b503b376: Pulling fs layer 22:20:40 5c69ac0246d0: Pulling fs layer 22:20:40 ec43610c2a17: Pulling fs layer 22:20:40 3a2ae6a8a46f: Pulling fs layer 22:20:40 33b1e0a273af: Pulling fs layer 22:20:40 5d3b04190fa2: Pulling fs layer 22:20:40 2f39f015ded8: Pulling fs layer 22:20:40 33b1e0a273af: Waiting 22:20:40 3a2ae6a8a46f: Waiting 22:20:40 2f39f015ded8: Waiting 22:20:40 5c69ac0246d0: Download complete 22:20:40 3a2ae6a8a46f: Verifying Checksum 22:20:40 3a2ae6a8a46f: Download complete 22:20:40 33b1e0a273af: Verifying Checksum 22:20:40 33b1e0a273af: Download complete 22:20:40 5d3b04190fa2: Download complete 22:20:40 ec43610c2a17: Verifying Checksum 22:20:40 ec43610c2a17: Download complete 22:20:40 5eb5b503b376: Verifying Checksum 22:20:40 5eb5b503b376: Download complete 22:20:41 2f39f015ded8: Download complete 22:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:20:41 5eb5b503b376: Pull complete 22:20:42 5c69ac0246d0: Pull complete 22:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:20:42 ec43610c2a17: Pull complete 22:20:42 3a2ae6a8a46f: Pull complete 22:20:42 33b1e0a273af: Pull complete 22:20:43 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:20:43 (2/4) Installing libedit (20221030.3.1-r1) 22:20:43 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:20:43 5d3b04190fa2: Pull complete 22:20:43 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:20:43 Executing busybox-1.36.1-r5.trigger 22:20:43 OK: 271 MiB in 56 packages 22:20:45 Removing intermediate container 311a18a8b7c5 22:20:45 ---> 00fb91e311b3 22:20:45 Step 8/12 : WORKDIR /device-snmp-go 22:20:45 ---> Running in 3bc564a741cd 22:20:46 Removing intermediate container 3bc564a741cd 22:20:46 ---> c0600aa90e4e 22:20:46 Step 9/12 : COPY go.mod vendor* ./ 22:20:48 2f39f015ded8: Pull complete 22:20:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:20:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:48 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:20:48 $ 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/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:20:54 ---> f0940fac2a32 22:20:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:20:54 ---> Running in 19c88d7d4f87 22:21:02 $ docker top b94ddc596b5d03ce62f7fb6c22fa898baa3288fcd442ed1e1391b261720e9b15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:03 ---> job-cost.sh 22:21:03 lf-activate-venv: SKIPPING 22:21:03 INFO: No Stack... 22:21:03 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:04 INFO: Archiving Costs [Pipeline] sh 22:21:04 + + cut -d, -f6cat 22:21:04 /w/workspace/edgexfoundry_device-snmp-go_napa/archives/cost.csv [Pipeline] lock 22:21:04 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] 22:21:04 Resource [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] did not exist. Created. 22:21:04 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:04 + echo total: 0.2199999988079071 [Pipeline] stash 22:21:04 Stashed 1 file(s) [Pipeline] } 22:21:04 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:04 $ docker stop --time=1 b94ddc596b5d03ce62f7fb6c22fa898baa3288fcd442ed1e1391b261720e9b15 22:21:07 $ docker rm -f --volumes b94ddc596b5d03ce62f7fb6c22fa898baa3288fcd442ed1e1391b261720e9b15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:22:31 Removing intermediate container 19c88d7d4f87 22:22:31 ---> bb89e06c5bc2 22:22:31 Step 11/12 : COPY . . 22:22:31 ---> e7d727e5d8e4 22:22:31 Step 12/12 : RUN ${MAKE} 22:22:31 ---> Running in 13b22a792571 22:22:31 noop 22:22:31 Removing intermediate container 13b22a792571 22:22:31 ---> 64e86a427c51 22:22:31 Successfully built 64e86a427c51 22:22:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:31 + docker inspect -f . ci-base-image-arm64 22:22:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:31 prd-ubuntu20.04-docker-arm64-4c-16g-18199 does not seem to be running inside a container 22:22:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:22:33 $ docker top 0ad1f8c28ec1eb73b177832104b386d80300ffaa497b17a75164a26b287246de -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:34 + go version 22:22:34 go version go1.21.0 linux/arm64 [Pipeline] } 22:22:34 $ docker stop --time=1 0ad1f8c28ec1eb73b177832104b386d80300ffaa497b17a75164a26b287246de 22:22:36 $ docker rm -f --volumes 0ad1f8c28ec1eb73b177832104b386d80300ffaa497b17a75164a26b287246de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:36 + docker inspect -f . ci-base-image-arm64 22:22:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:37 prd-ubuntu20.04-docker-arm64-4c-16g-18199 does not seem to be running inside a container 22:22:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:22:38 $ docker top 72c72deb18ee0c12b3a0fa2163796e7e1052c6840f2e399b2b38650c66f25046 -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:39 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 22:22:40 + make test 22:22:40 go test ./... -coverprofile=coverage.out 22:22:43 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:25:35 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:25:35 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 22:25:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:25:35 go vet ./... 22:25:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:25:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:25:57 ./bin/test-attribution-txt.sh [Pipeline] echo 22:25:57 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:25:58 + go mod tidy [Pipeline] } 22:26:03 $ docker stop --time=1 72c72deb18ee0c12b3a0fa2163796e7e1052c6840f2e399b2b38650c66f25046 22:26:06 $ docker rm -f --volumes 72c72deb18ee0c12b3a0fa2163796e7e1052c6840f2e399b2b38650c66f25046 [Pipeline] // withDockerContainer [Pipeline] sh 22:26:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:26:07 Warning: overwriting stash ‘coverage-report’ 22:26:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:26:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:26:09 + ls -al . 22:26:09 total 172 22:26:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:22 . 22:26:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:19 .. 22:26:09 -rw-rw-r-- 1 jenkins jenkins 6 Nov 15 22:19 .dockerignore 22:26:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:19 .git 22:26:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 .github 22:26:09 -rw-rw-r-- 1 jenkins jenkins 255 Nov 15 22:19 .gitignore 22:26:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:19 .golangci.yml 22:26:09 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 15 22:19 Attribution.txt 22:26:09 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 15 22:19 CHANGELOG.md 22:26:09 -rw-rw-r-- 1 jenkins jenkins 1571 Nov 15 22:19 Dockerfile 22:26:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:19 GOVERNANCE.md 22:26:09 -rw-rw-r-- 1 jenkins jenkins 656 Nov 15 22:19 Jenkinsfile 22:26:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:19 LICENSE 22:26:09 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 15 22:19 Makefile 22:26:09 -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:19 OWNERS.md 22:26:09 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 15 22:19 README.md 22:26:09 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION 22:26:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:19 bin 22:26:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 cmd 22:26:09 -rw-r--r-- 1 jenkins jenkins 8837 Nov 15 22:25 coverage.out 22:26:09 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 15 22:19 go.mod 22:26:09 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 15 22:19 go.sum 22:26:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 internal 22:26:09 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:19 vendor 22:26:09 -rw-rw-r-- 1 jenkins jenkins 228 Nov 15 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:10 + 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=a5a8eecad0964d203a89aaaae76bac199dfc367d --label arch=arm64 --label version=3.1.0 . 22:26:12 Sending build context to Docker daemon 35.22MB 22:26:12 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 22:26:12 Step 2/25 : FROM ${BASE} AS builder 22:26:12 ---> 64e86a427c51 22:26:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:26:13 ---> Running in 00c28e0713b6 22:26:13 Removing intermediate container 00c28e0713b6 22:26:13 ---> 3a5f9f9d6831 22:26:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:13 ---> Running in 9700b1e28e86 22:26:14 Removing intermediate container 9700b1e28e86 22:26:14 ---> ae5d36337af6 22:26:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:26:14 ---> Running in f202db033ffc 22:26:14 Removing intermediate container f202db033ffc 22:26:14 ---> f3f0772ef42b 22:26:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:26:14 ---> Running in 8579d60cc0d4 22:26:15 Removing intermediate container 8579d60cc0d4 22:26:15 ---> bbee4f3a124e 22:26:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:26:15 ---> Running in f1595e1827bb 22:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:26:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:26:19 OK: 271 MiB in 56 packages 22:26:19 Removing intermediate container f1595e1827bb 22:26:19 ---> 39423ab40ef7 22:26:19 Step 8/25 : WORKDIR /device-snmp-go 22:26:19 ---> Running in 2a4be17f712e 22:26:20 Removing intermediate container 2a4be17f712e 22:26:20 ---> e36d80050491 22:26:20 Step 9/25 : COPY go.mod vendor* ./ 22:26:28 ---> fd98a965a781 22:26:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:28 ---> Running in d064634f58e0 22:26:30 skipping... 22:26:30 Removing intermediate container d064634f58e0 22:26:30 ---> 85771168bf3e 22:26:30 Step 11/25 : COPY . . 22:26:40 ---> 78e3ed3ea60f 22:26:40 Step 12/25 : RUN ${MAKE} 22:26:40 ---> Running in fd1d7576eb59 22:26:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 22:29:03 Removing intermediate container fd1d7576eb59 22:29:03 ---> 7bb2b53f484a 22:29:03 Step 13/25 : FROM alpine:3.18 22:29:03 3.18: Pulling from library/alpine 22:29:03 579b34f0a95b: Pulling fs layer 22:29:03 579b34f0a95b: Verifying Checksum 22:29:03 579b34f0a95b: Download complete 22:29:03 579b34f0a95b: Pull complete 22:29:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:29:03 Status: Downloaded newer image for alpine:3.18 22:29:03 ---> 3cc203321400 22:29:03 Step 14/25 : RUN apk add --update --no-cache dumb-init 22:29:03 ---> Running in 674e068219a7 22:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:29:03 (1/1) Installing dumb-init (1.2.5-r2) 22:29:03 Executing busybox-1.36.1-r2.trigger 22:29:03 OK: 8 MiB in 16 packages 22:29:03 Removing intermediate container 674e068219a7 22:29:03 ---> 717d0fed65ce 22:29:03 Step 15/25 : RUN apk --no-cache upgrade 22:29:03 ---> Running in 10432e85018c 22:29:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:29:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:29:06 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:29:06 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:29:06 Executing busybox-1.36.1-r5.post-upgrade 22:29:06 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:29:06 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:29:06 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:29:06 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:29:06 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:29:06 Executing busybox-1.36.1-r5.trigger 22:29:06 OK: 8 MiB in 16 packages 22:29:07 Removing intermediate container 10432e85018c 22:29:07 ---> 108b08df4439 22:29:07 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 22:29:09 ---> 15feac3ffb5e 22:29:09 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:29:09 ---> 99c1e42327ea 22:29:09 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 22:29:10 ---> 49591e1bc434 22:29:10 Step 19/25 : EXPOSE 59993 22:29:10 ---> Running in db6451d741e6 22:29:10 Removing intermediate container db6451d741e6 22:29:10 ---> 103eecd801a8 22:29:10 Step 20/25 : EXPOSE 161 22:29:11 ---> Running in 009e125329b1 22:29:11 Removing intermediate container 009e125329b1 22:29:11 ---> f78d23543a0f 22:29:11 Step 21/25 : ENTRYPOINT ["/device-snmp"] 22:29:11 ---> Running in b0d9745c7496 22:29:11 Removing intermediate container b0d9745c7496 22:29:11 ---> 22eb2c5acfca 22:29:11 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:29:11 ---> Running in 1a3059d1a3ff 22:29:12 Removing intermediate container 1a3059d1a3ff 22:29:12 ---> 8b9d83fa9925 22:29:12 Step 23/25 : LABEL arch=arm64 22:29:12 ---> Running in aa64f5affc42 22:29:12 Removing intermediate container aa64f5affc42 22:29:12 ---> 208e1349a3e6 22:29:12 Step 24/25 : LABEL git_sha=a5a8eecad0964d203a89aaaae76bac199dfc367d 22:29:12 ---> Running in a191f4162ae9 22:29:13 Removing intermediate container a191f4162ae9 22:29:13 ---> 1e16f8734c38 22:29:13 Step 25/25 : LABEL version=3.1.0 22:29:13 ---> Running in b0393c94dff5 22:29:13 Removing intermediate container b0393c94dff5 22:29:13 ---> 1e42ea7fe4bf 22:29:13 [Warning] One or more build-args [ARCH] were not consumed 22:29:13 Successfully built 1e42ea7fe4bf 22:29:13 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:29:14 provisioning config files... 22:29:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config2863194420901958327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:14 ---> docker-login.sh 22:29:14 nexus3.edgexfoundry.org:10001 22:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:14 Configure a credential helper to remove this warning. See 22:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:14 22:29:14 Login Succeeded 22:29:14 nexus3.edgexfoundry.org:10002 22:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:15 Configure a credential helper to remove this warning. See 22:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:15 22:29:15 Login Succeeded 22:29:15 nexus3.edgexfoundry.org:10003 22:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:15 Configure a credential helper to remove this warning. See 22:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:15 22:29:15 Login Succeeded 22:29:15 nexus3.edgexfoundry.org:10004 22:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:15 Configure a credential helper to remove this warning. See 22:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:15 22:29:15 Login Succeeded 22:29:15 docker.io 22:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:16 Configure a credential helper to remove this warning. See 22:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:16 22:29:16 Login Succeeded 22:29:16 ---> docker-login.sh ends [Pipeline] } 22:29:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:29:16 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:29:16 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 22:29:16 a5a8eecad0964d203a89aaaae76bac199dfc367d 22:29:16 3.1.0 22:29:16 a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 22:29:16 napa 22:29:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:16 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d 22:29:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:29:17 01ad30557664: Preparing 22:29:17 441990b5e489: Preparing 22:29:17 b81313cd31ae: Preparing 22:29:17 a85cd0a75aad: Preparing 22:29:17 bc61a4e0044f: Preparing 22:29:17 5f4d9fc4d98d: Preparing 22:29:17 5f4d9fc4d98d: Waiting 22:29:17 bc61a4e0044f: Pushed 22:29:17 441990b5e489: Pushed 22:29:17 01ad30557664: Pushed 22:29:17 5f4d9fc4d98d: Layer already exists 22:29:19 a85cd0a75aad: Pushed 22:29:24 b81313cd31ae: Pushed 22:29:24 a5a8eecad0964d203a89aaaae76bac199dfc367d: digest: sha256:43a55cca5d3737f51c4232511e40c52ca31c3932537c2756225296c59a99dbdf size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:24 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:25 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0 22:29:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:29:25 01ad30557664: Preparing 22:29:25 441990b5e489: Preparing 22:29:25 b81313cd31ae: Preparing 22:29:25 a85cd0a75aad: Preparing 22:29:25 bc61a4e0044f: Preparing 22:29:25 5f4d9fc4d98d: Preparing 22:29:25 5f4d9fc4d98d: Waiting 22:29:25 441990b5e489: Layer already exists 22:29:25 01ad30557664: Layer already exists 22:29:25 a85cd0a75aad: Layer already exists 22:29:25 bc61a4e0044f: Layer already exists 22:29:25 b81313cd31ae: Layer already exists 22:29:25 5f4d9fc4d98d: Layer already exists 22:29:25 3.1.0: digest: sha256:43a55cca5d3737f51c4232511e40c52ca31c3932537c2756225296c59a99dbdf size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:25 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:26 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 22:29:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:29:26 01ad30557664: Preparing 22:29:26 441990b5e489: Preparing 22:29:26 b81313cd31ae: Preparing 22:29:26 a85cd0a75aad: Preparing 22:29:26 bc61a4e0044f: Preparing 22:29:26 5f4d9fc4d98d: Preparing 22:29:26 5f4d9fc4d98d: Waiting 22:29:26 a85cd0a75aad: Layer already exists 22:29:26 441990b5e489: Layer already exists 22:29:26 bc61a4e0044f: Layer already exists 22:29:26 01ad30557664: Layer already exists 22:29:26 b81313cd31ae: Layer already exists 22:29:26 5f4d9fc4d98d: Layer already exists 22:29:26 a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0: digest: sha256:43a55cca5d3737f51c4232511e40c52ca31c3932537c2756225296c59a99dbdf size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:26 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:napa 22:29:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 22:29:27 01ad30557664: Preparing 22:29:27 441990b5e489: Preparing 22:29:27 b81313cd31ae: Preparing 22:29:27 a85cd0a75aad: Preparing 22:29:27 bc61a4e0044f: Preparing 22:29:27 5f4d9fc4d98d: Preparing 22:29:27 5f4d9fc4d98d: Waiting 22:29:27 a85cd0a75aad: Layer already exists 22:29:27 b81313cd31ae: Layer already exists 22:29:27 441990b5e489: Layer already exists 22:29:27 01ad30557664: Layer already exists 22:29:27 bc61a4e0044f: Layer already exists 22:29:27 5f4d9fc4d98d: Layer already exists 22:29:27 napa: digest: sha256:43a55cca5d3737f51c4232511e40c52ca31c3932537c2756225296c59a99dbdf size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:29:27 ===================================================== [Pipeline] echo 22:29:27 taggedImages: 22:29:27 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d 22:29:27 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0 22:29:27 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a5a8eecad0964d203a89aaaae76bac199dfc367d-3.1.0 22:29:27 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:27 22:29:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:28 arm64: Pulling from edgex-lftools-log-publisher 22:29:28 8998bd30e6a1: Pulling fs layer 22:29:28 04944245beec: Pulling fs layer 22:29:28 699f458cf7ca: Pulling fs layer 22:29:28 765212b225bb: Pulling fs layer 22:29:28 f23df028b6ca: Pulling fs layer 22:29:28 d65c8cfc05b1: Pulling fs layer 22:29:28 2437ff75d9bd: Pulling fs layer 22:29:28 765212b225bb: Waiting 22:29:28 f23df028b6ca: Waiting 22:29:28 d65c8cfc05b1: Waiting 22:29:28 2437ff75d9bd: Waiting 22:29:28 04944245beec: Verifying Checksum 22:29:28 04944245beec: Download complete 22:29:28 765212b225bb: Verifying Checksum 22:29:28 765212b225bb: Download complete 22:29:28 f23df028b6ca: Verifying Checksum 22:29:28 f23df028b6ca: Download complete 22:29:28 d65c8cfc05b1: Verifying Checksum 22:29:28 d65c8cfc05b1: Download complete 22:29:28 699f458cf7ca: Verifying Checksum 22:29:28 699f458cf7ca: Download complete 22:29:28 8998bd30e6a1: Verifying Checksum 22:29:28 8998bd30e6a1: Download complete 22:29:31 2437ff75d9bd: Verifying Checksum 22:29:31 2437ff75d9bd: Download complete 22:29:34 8998bd30e6a1: Pull complete 22:29:34 04944245beec: Pull complete 22:29:36 699f458cf7ca: Pull complete 22:29:36 765212b225bb: Pull complete 22:29:37 f23df028b6ca: Pull complete 22:29:37 d65c8cfc05b1: Pull complete 22:29:55 2437ff75d9bd: Pull complete 22:29:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:56 prd-ubuntu20.04-docker-arm64-4c-16g-18199 does not seem to be running inside a container 22:29:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:29:59 $ docker top f1c97dd6da8dc7b0fedab6708041e08654afca5d05762d28f19af088dc29dd9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:00 ---> job-cost.sh 22:30:00 lf-activate-venv: SKIPPING 22:30:00 INFO: No Stack... 22:30:00 INFO: Retrieving Pricing Info for: v3-standard-4 22:30:01 INFO: Archiving Costs [Pipeline] sh 22:30:01 + + cat /w/workspace/device-snmp-go/2/archives/cost.csv 22:30:01 cut -d, -f6 [Pipeline] lock 22:30:01 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] 22:30:01 Resource [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] did not exist. Created. 22:30:01 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:02 /w/workspace/device-snmp-go/2@tmp/durable-0168243f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:30:03 + echo total: 0.10999999940395355 [Pipeline] stash 22:30:03 Warning: overwriting stash ‘stack-cost’ 22:30:03 Stashed 1 file(s) [Pipeline] } 22:30:03 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:03 $ docker stop --time=1 f1c97dd6da8dc7b0fedab6708041e08654afca5d05762d28f19af088dc29dd9b 22:30:05 $ docker rm -f --volumes f1c97dd6da8dc7b0fedab6708041e08654afca5d05762d28f19af088dc29dd9b [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 22:30:05 provisioning config files... 22:30:05 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config8473356040176702001tmp [Pipeline] { [Pipeline] sh 22:30:06 + set +x 22:30:06 + curl -s https://codecov.io/bash 22:30:06 + bash -s -- 22:30:06 22:30:06 _____ _ 22:30:06 / ____| | | 22:30:06 | | ___ __| | ___ ___ _____ __ 22:30:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:30:06 | |___| (_) | (_| | __/ (_| (_) \ V / 22:30:06 \_____\___/ \__,_|\___|\___\___/ \_/ 22:30:06 Bash-1.0.6 22:30:06 22:30:06 22:30:06 ==> git version 2.25.1 found 22:30:06 ==> 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 22:30:06 Release-Date: 2020-01-08 22:30:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:30:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:30:06 ==> Jenkins CI detected. 22:30:06 current dir:  /w/workspace/edgexfoundry_device-snmp-go_napa 22:30:06 project root: . 22:30:06 --> token set from env 22:30:06 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 22:30:06 ==> Running gcov in . (disable via -X gcov) 22:30:06 ==> Python coveragepy not found 22:30:06 ==> Searching for coverage reports in: 22:30:06 + . 22:30:06 -> Found 1 reports 22:30:06 ==> Detecting git/mercurial file structure 22:30:06 ==> Reading reports 22:30:06 + ./coverage.out bytes=8837 22:30:06 ==> Appending adjustments 22:30:06 https://docs.codecov.io/docs/fixing-reports 22:30:06 + Found adjustments 22:30:06 ==> Gzipping contents 22:30:06 16K /tmp/codecov.GdaAsS.gz 22:30:06 ==> Uploading reports 22:30:06 url: https://codecov.io 22:30:06 query: branch=napa&commit=a5a8eecad0964d203a89aaaae76bac199dfc367d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:30:06 -> Pinging Codecov 22:30:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=napa&commit=a5a8eecad0964d203a89aaaae76bac199dfc367d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:30:06 -> Uploading to 22:30:06 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/6C56EA5C29638FB4528AC87E60AF5AE0/a5a8eecad0964d203a89aaaae76bac199dfc367d/75b5e3bd-4d16-4e0d-9694-67250f4a0e5b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T223006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3866ce302aa93743e2fb91ba65be1d7a7d37421d6a988fb550eab0296e1b87d 22:30:06 % Total % Received % Xferd Average Speed Time Time Time Current 22:30:06 Dload Upload Total Spent Left Speed 22:30:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12914 0 0 100 12914 0 52926 --:--:-- --:--:-- --:--:-- 52710 100 12914 0 0 100 12914 0 52926 --:--:-- --:--:-- --:--:-- 52710 22:30:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] } 22:30:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:30:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:30:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:07 22:30:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:30:07 df9b9388f04a: Pulling fs layer 22:30:07 52dc419b0ee2: Pulling fs layer 22:30:07 25bc292e5bac: Pulling fs layer 22:30:07 114826534d7a: Pulling fs layer 22:30:07 4657fd5d0bcf: Pulling fs layer 22:30:07 6ad1cebc031e: Pulling fs layer 22:30:07 8a3aa393b2d8: Pulling fs layer 22:30:07 114826534d7a: Waiting 22:30:07 4657fd5d0bcf: Waiting 22:30:07 6ad1cebc031e: Waiting 22:30:07 8a3aa393b2d8: Waiting 22:30:07 25bc292e5bac: Download complete 22:30:07 52dc419b0ee2: Verifying Checksum 22:30:07 52dc419b0ee2: Download complete 22:30:07 4657fd5d0bcf: Verifying Checksum 22:30:07 4657fd5d0bcf: Download complete 22:30:07 df9b9388f04a: Download complete 22:30:07 df9b9388f04a: Pull complete 22:30:07 6ad1cebc031e: Verifying Checksum 22:30:07 6ad1cebc031e: Download complete 22:30:07 52dc419b0ee2: Pull complete 22:30:07 25bc292e5bac: Pull complete 22:30:08 114826534d7a: Download complete 22:30:08 8a3aa393b2d8: Verifying Checksum 22:30:08 8a3aa393b2d8: Download complete 22:30:11 114826534d7a: Pull complete 22:30:11 4657fd5d0bcf: Pull complete 22:30:11 6ad1cebc031e: Pull complete 22:30:14 8a3aa393b2d8: Pull complete 22:30:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:30:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:14 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:30:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:30:18 $ docker top 517bc095a2675e03297f1d4ef1d601e269d450a47acbeb62ed87c640f6e27bde -eo pid,comm [Pipeline] { [Pipeline] echo 22:30:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:napa' [Pipeline] sh 22:30:19 + set -o pipefail 22:30:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:napa' 22:30:21 22:30:21 Monitoring /w/workspace/edgexfoundry_device-snmp-go_napa (github.com/edgexfoundry/device-snmp-go)... 22:30:21 22:30:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/37596618-d31a-4f3f-90b9-e3514e9d2030/history/1309f20e-9087-4449-ad64-9020b55cc700 22:30:21 22:30:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:30:21 22:30:21 22:30:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:30:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:30:21 More details here: https://snyk.co/ue1NS [Pipeline] } 22:30:21 $ docker stop --time=1 517bc095a2675e03297f1d4ef1d601e269d450a47acbeb62ed87c640f6e27bde 22:30:22 $ docker rm -f --volumes 517bc095a2675e03297f1d4ef1d601e269d450a47acbeb62ed87c640f6e27bde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:23 + git log --format=format:%s -1 a5a8eecad0964d203a89aaaae76bac199dfc367d [Pipeline] sh 22:30:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:23 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:30:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:30:24 $ docker top 11e51fe7d21ab716ddb8fc31a975c5f764b67b3d7e08b32b6416e4405aea58ce -eo pid,comm 22:30:24 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). 22:30:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:30:24 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:24 + git semver [Pipeline] } 22:30:24 $ docker stop --time=1 11e51fe7d21ab716ddb8fc31a975c5f764b67b3d7e08b32b6416e4405aea58ce 22:30:25 $ docker rm -f --volumes 11e51fe7d21ab716ddb8fc31a975c5f764b67b3d7e08b32b6416e4405aea58ce [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:26 22:30:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:26 0.23.1-centos7: Pulling from edgex-lftools 22:30:26 ab5ef0e58194: Pulling fs layer 22:30:26 9712f1f96733: Pulling fs layer 22:30:26 63f879dbbcfc: Pulling fs layer 22:30:26 0d9ebad4ef96: Pulling fs layer 22:30:26 e9a5061849ea: Pulling fs layer 22:30:26 d747dcd14b5f: Pulling fs layer 22:30:26 2de7ff778b66: Pulling fs layer 22:30:26 d747dcd14b5f: Waiting 22:30:26 0d9ebad4ef96: Waiting 22:30:26 2de7ff778b66: Waiting 22:30:26 e9a5061849ea: Waiting 22:30:26 9712f1f96733: Verifying Checksum 22:30:26 9712f1f96733: Download complete 22:30:26 63f879dbbcfc: Verifying Checksum 22:30:26 63f879dbbcfc: Download complete 22:30:27 ab5ef0e58194: Verifying Checksum 22:30:27 ab5ef0e58194: Download complete 22:30:27 e9a5061849ea: Verifying Checksum 22:30:27 e9a5061849ea: Download complete 22:30:27 d747dcd14b5f: Verifying Checksum 22:30:27 d747dcd14b5f: Download complete 22:30:27 0d9ebad4ef96: Verifying Checksum 22:30:27 0d9ebad4ef96: Download complete 22:30:27 2de7ff778b66: Verifying Checksum 22:30:27 2de7ff778b66: Download complete 22:30:30 ab5ef0e58194: Pull complete 22:30:30 9712f1f96733: Pull complete 22:30:30 63f879dbbcfc: Pull complete 22:30:34 0d9ebad4ef96: Pull complete 22:30:34 e9a5061849ea: Pull complete 22:30:34 d747dcd14b5f: Pull complete 22:30:35 2de7ff778b66: Pull complete 22:30:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:30:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:35 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:30:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:30:40 $ docker top 419d42fa487deb5454af91ca388d3458cecaec59943d78fcb64bd4e464a82a54 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:30:40 provisioning config files... 22:30:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config3881024783836474867tmp 22:30:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config11223329690578775946tmp 22:30:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config5026443422683767356tmp [Pipeline] { [Pipeline] echo 22:30:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:30:41 ---> sigul-configuration.sh 22:30:41 gpg: directory `/root/.gnupg' created 22:30:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:30:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:30:41 gpg: keyring `/root/.gnupg/secring.gpg' created 22:30:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:30:41 gpg: CAST5 encrypted data 22:30:41 gpg: encrypted with 1 passphrase 22:30:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:30:41 + mkdir /home/jenkins 22:30:41 + mkdir /home/jenkins/sigul [Pipeline] sh 22:30:41 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:30:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:30:42 ---> sigul-install.sh 22:30:42 Sigul already installed; skipping installation. [Pipeline] sh 22:30:42 + git tag --list 22:30:42 1.0.0 22:30:42 v0.0.0 22:30:42 v1.1.0 22:30:42 v1.1.1 22:30:42 v1.2.2 22:30:42 v1.3.0 22:30:42 v1.3.1 22:30:42 v2.0.0 22:30:42 v2.1.0 22:30:42 v2.1.1 22:30:42 v2.2.0 22:30:42 v2.3.0 22:30:42 v3.0 22:30:42 v3.0.0 22:30:42 v3.1.0 22:30:42 v3.1.0-dev.1 22:30:42 v3.1.0-dev.10 22:30:42 v3.1.0-dev.11 22:30:42 v3.1.0-dev.12 22:30:42 v3.1.0-dev.13 22:30:42 v3.1.0-dev.2 22:30:42 v3.1.0-dev.3 22:30:42 v3.1.0-dev.4 22:30:42 v3.1.0-dev.5 22:30:42 v3.1.0-dev.6 22:30:42 v3.1.0-dev.7 22:30:42 v3.1.0-dev.8 22:30:42 v3.1.0-dev.9 [Pipeline] sh 22:30:42 + lftools sign git-tag v3.1.0 22:30:43 Signing Git tag with Sigul... 22:30:43 Signing v3.1.0 [Pipeline] echo 22:30:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:30:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:30:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:30:43 $ docker stop --time=1 419d42fa487deb5454af91ca388d3458cecaec59943d78fcb64bd4e464a82a54 22:30:45 $ docker rm -f --volumes 419d42fa487deb5454af91ca388d3458cecaec59943d78fcb64bd4e464a82a54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:30:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:46 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:30:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:30:46 $ docker top 9dcc6931afa8f6ef78d9b2ae2784a5e15c78a76aba90a8bb17a3681730569dc2 -eo pid,comm 22:30:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:30:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:30:46 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:46 + git semver [Pipeline] } 22:30:47 $ docker stop --time=1 9dcc6931afa8f6ef78d9b2ae2784a5e15c78a76aba90a8bb17a3681730569dc2 22:30:48 $ docker rm -f --volumes 9dcc6931afa8f6ef78d9b2ae2784a5e15c78a76aba90a8bb17a3681730569dc2 [Pipeline] // withDockerContainer [Pipeline] sh 22:30:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:49 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:30:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:30:50 $ docker top cf7e60d872ebc3cb30fd6b95eab4a676d845a849b77cb457dac93f235f76e776 -eo pid,comm 22:30:50 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). 22:30:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:30:50 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:50 + git semver [Pipeline] } 22:30:50 $ docker stop --time=1 cf7e60d872ebc3cb30fd6b95eab4a676d845a849b77cb457dac93f235f76e776 22:30:51 $ docker rm -f --volumes cf7e60d872ebc3cb30fd6b95eab4a676d845a849b77cb457dac93f235f76e776 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 22:30:52 + [ -d /w/workspace/edgexfoundry_device-snmp-go_napa/archives ] 22:30:52 + ls -al /w/workspace/edgexfoundry_device-snmp-go_napa/archives 22:30:52 total 16 22:30:52 drwxr-xr-x 3 root root 4096 Nov 15 22:21 . 22:30:52 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:30 .. 22:30:52 drwxr-xr-x 2 root root 4096 Nov 15 22:21 cost 22:30:52 -rw-r--r-- 1 root root 84 Nov 15 22:21 cost.csv 22:30:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_napa/archives 22:30:52 + ls -al /w/workspace/edgexfoundry_device-snmp-go_napa/archives 22:30:52 total 16 22:30:52 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:21 . 22:30:52 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:30 .. 22:30:52 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 22:21 cost 22:30:52 -rw-r--r-- 1 jenkins jenkins 84 Nov 15 22:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:30:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:30:53 ---> package-listing.sh 22:30:53 ++ facter osfamily 22:30:53 ++ tr '[:upper:]' '[:lower:]' 22:30:53 + OS_FAMILY=debian 22:30:53 + workspace=/w/workspace/edgexfoundry_device-snmp-go_napa 22:30:53 + START_PACKAGES=/tmp/packages_start.txt 22:30:53 + END_PACKAGES=/tmp/packages_end.txt 22:30:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:30:53 + PACKAGES=/tmp/packages_start.txt 22:30:53 + '[' /w/workspace/edgexfoundry_device-snmp-go_napa ']' 22:30:53 + PACKAGES=/tmp/packages_end.txt 22:30:53 + case "${OS_FAMILY}" in 22:30:53 + dpkg -l 22:30:53 + grep '^ii' 22:30:53 + '[' -f /tmp/packages_start.txt ']' 22:30:53 + '[' -f /tmp/packages_end.txt ']' 22:30:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:30:53 + '[' /w/workspace/edgexfoundry_device-snmp-go_napa ']' 22:30:53 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_napa/archives/ 22:30:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_napa/archives/ [Pipeline] echo 22:30:54 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/edgexfoundry_device-snmp-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:30:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:54 prd-ubuntu20.04-docker-8c-8g-18181 does not seem to be running inside a container 22:30:54 $ 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/edgexfoundry_device-snmp-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_napa -v /w/workspace/edgexfoundry_device-snmp-go_napa:/w/workspace/edgexfoundry_device-snmp-go_napa:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_napa@tmp:/w/workspace/edgexfoundry_device-snmp-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:30:55 $ docker top 900ca9281c03dcd72e1a21e254b8e8ed933c1a1e4bb64c50a69075d5067c7633 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:55 + touch /tmp/pre-build-complete [Pipeline] sh 22:30:55 + mkdir -p /var/log/sysstat [Pipeline] sh 22:30:56 + ls /var/log/sa-host 22:30:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:56 provisioning config files... 22:30:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config12038517700801384668tmp [Pipeline] { [Pipeline] echo 22:30:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:30:56 ---> create-netrc.sh [Pipeline] } 22:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:30:56 ---> python-tools-install.sh [Pipeline] echo 22:30:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:30:57 ---> sudo-logs.sh 22:30:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:30:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:30:57 ---> job-cost.sh 22:30:57 lf-activate-venv: SKIPPING 22:30:57 DEBUG: total: 0.2199999988079071 22:30:57 INFO: Retrieving Stack Cost... 22:30:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:30:58 INFO: Archiving Costs [Pipeline] echo 22:30:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:30:58 ---> logs-deploy.sh 22:30:58 lf-activate-venv: SKIPPING 22:30:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/napa/2 22:30:58 INFO: archiving workspace using pattern(s): 22:30:59 Archives upload complete. 22:30:59 INFO: archiving logs to Nexus