Started by upstream project "edgexfoundry/cd-management/release-lts" build number 68 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 491e0f56b489015368a18893e185d9c317898c06 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-ssh10001926300626449213.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh14954335223453085940.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh8095981463029407733.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh3781494600524520739.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-ssh1922496339454121425.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-2011 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 491e0f56b489015368a18893e185d9c317898c06 (napa) Commit message: "ci(lts-release): LTS release v3.1.1 @d721e73" > git config core.sparsecheckout # timeout=10 > git checkout -f 491e0f56b489015368a18893e185d9c317898c06 # timeout=10 > git rev-list --no-walk 491e0f56b489015368a18893e185d9c317898c06 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:41:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:41:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:41:16 ========================================================= 09:41:16 EdgeX Global Pipelines Version Info 09:41:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:41:17 ------------------- 09:41:17 stable info: 09:41:17 ------------------- 09:41:17 Commited By: Ginny Guan ginny@iotechsys.com 09:41:17 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 09:41:17 Message: update stable to v1.0.260 09:41:18 ------------------- 09:41:18 experimental info: 09:41:18 ------------------- 09:41:18 Commited By: Ginny Guan ginny@iotechsys.com 09:41:18 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:41:18 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 491e0f56b489015368a18893e185d9c317898c06 [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 491e0f5 [Pipeline] echo 09:41:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:18 provisioning config files... 09:41:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config4264620059577396109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:19 ---> ****-login.sh 09:41:19 nexus3.edgexfoundry.org:10001 09:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:19 Configure a credential helper to remove this warning. See 09:41:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:19 09:41:19 Login Succeeded 09:41:19 nexus3.edgexfoundry.org:10002 09:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:19 Configure a credential helper to remove this warning. See 09:41:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:19 09:41:19 Login Succeeded 09:41:19 nexus3.edgexfoundry.org:10003 09:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:19 Configure a credential helper to remove this warning. See 09:41:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:19 09:41:19 Login Succeeded 09:41:19 nexus3.edgexfoundry.org:10004 09:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:19 Configure a credential helper to remove this warning. See 09:41:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:19 09:41:19 Login Succeeded 09:41:19 ****.io 09:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:20 Configure a credential helper to remove this warning. See 09:41:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:20 09:41:20 Login Succeeded 09:41:20 ---> ****-login.sh ends [Pipeline] } 09:41:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:41:20 + git rev-list -1 --merges 491e0f56b489015368a18893e185d9c317898c06~1..491e0f56b489015368a18893e185d9c317898c06 [Pipeline] echo 09:41:20 -----------> git rev-list -1 --merges 491e0f56b489015368a18893e185d9c317898c06~1..491e0f56b489015368a18893e185d9c317898c06 491e0f56b489015368a18893e185d9c317898c06 [false] [Pipeline] sh 09:41:20 + git log --format=format:%s -1 491e0f56b489015368a18893e185d9c317898c06 [Pipeline] echo 09:41:20 ========================================================= 09:41:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 09:41:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:41:21 + git log --format=format:%s -1 491e0f56b489015368a18893e185d9c317898c06 [Pipeline] echo 09:41:21 [semverPrep] GIT_COMMIT: 491e0f56b489015368a18893e185d9c317898c06, Commit Message: ci(lts-release): LTS release v3.1.1 @d721e73 [Pipeline] echo 09:41:21 [semverPrep] This is not a build commit. [Pipeline] sh 09:41:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:41:21 + grep -v github /etc/ssh/ssh_known_hosts 09:41:21 + [ -e /tmp/ssh_known_hosts ] 09:41:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:41:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:41:21 + sudo tee -a /etc/ssh/ssh_known_hosts 09:41:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:21 09:41:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:22 0.1.4: Pulling from edgex-devops/py-git-semver 09:41:22 b85a868b505f: Pulling fs layer 09:41:22 e2be974225ed: Pulling fs layer 09:41:22 339a4e72a1f5: Pulling fs layer 09:41:22 988bab9f4d93: Pulling fs layer 09:41:22 1469e6f7b9e6: Pulling fs layer 09:41:22 eaf3925da568: Pulling fs layer 09:41:22 bab4dde63d76: Pulling fs layer 09:41:22 bde34c3a00c8: Pulling fs layer 09:41:22 b352a97aabf1: Pulling fs layer 09:41:22 4872d77fe225: Pulling fs layer 09:41:22 5851b861e8e6: Pulling fs layer 09:41:22 bde34c3a00c8: Waiting 09:41:22 b352a97aabf1: Waiting 09:41:22 988bab9f4d93: Waiting 09:41:22 4872d77fe225: Waiting 09:41:22 1469e6f7b9e6: Waiting 09:41:22 5851b861e8e6: Waiting 09:41:22 eaf3925da568: Waiting 09:41:22 bab4dde63d76: Waiting 09:41:22 e2be974225ed: Verifying Checksum 09:41:22 e2be974225ed: Download complete 09:41:22 988bab9f4d93: Verifying Checksum 09:41:22 988bab9f4d93: Download complete 09:41:22 1469e6f7b9e6: Verifying Checksum 09:41:22 1469e6f7b9e6: Download complete 09:41:22 eaf3925da568: Download complete 09:41:22 339a4e72a1f5: Verifying Checksum 09:41:22 339a4e72a1f5: Download complete 09:41:22 bde34c3a00c8: Verifying Checksum 09:41:22 bde34c3a00c8: Download complete 09:41:22 b352a97aabf1: Verifying Checksum 09:41:22 b352a97aabf1: Download complete 09:41:22 4872d77fe225: Verifying Checksum 09:41:22 4872d77fe225: Download complete 09:41:22 5851b861e8e6: Verifying Checksum 09:41:22 5851b861e8e6: Download complete 09:41:22 b85a868b505f: Verifying Checksum 09:41:22 b85a868b505f: Download complete 09:41:22 bab4dde63d76: Verifying Checksum 09:41:22 bab4dde63d76: Download complete 09:41:23 b85a868b505f: Pull complete 09:41:23 e2be974225ed: Pull complete 09:41:24 339a4e72a1f5: Pull complete 09:41:24 988bab9f4d93: Pull complete 09:41:24 1469e6f7b9e6: Pull complete 09:41:24 eaf3925da568: Pull complete 09:41:26 bab4dde63d76: Pull complete 09:41:26 bde34c3a00c8: Pull complete 09:41:26 b352a97aabf1: Pull complete 09:41:26 4872d77fe225: Pull complete 09:41:26 5851b861e8e6: Pull complete 09:41:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:41:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:41:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:26 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 09:41:26 $ 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 09:41:29 $ docker top 99c432a8d865a7d4f0ccaf45e8d0d9526de8fed532b2b01e4ffd592bdd558331 -eo pid,comm 09:41:29 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). 09:41:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:41:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:29 [ssh-agent] Looking for ssh-agent implementation... 09:41:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:29 $ docker exec 99c432a8d865a7d4f0ccaf45e8d0d9526de8fed532b2b01e4ffd592bdd558331 ssh-agent 09:41:29 SSH_AUTH_SOCK=/tmp/ssh-H5hDwBOF7UIC/agent.32 09:41:29 SSH_AGENT_PID=38 09:41:29 Running ssh-add (command line suppressed) 09:41:30 Identity added: /w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_1742463573741848102.key (/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_1742463573741848102.key) 09:41:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:30 + git tag --points-at 491e0f56b489015368a18893e185d9c317898c06 [Pipeline] } 09:41:30 $ docker exec --env ******** --env ******** 99c432a8d865a7d4f0ccaf45e8d0d9526de8fed532b2b01e4ffd592bdd558331 ssh-agent -k 09:41:30 unset SSH_AUTH_SOCK; 09:41:30 unset SSH_AGENT_PID; 09:41:30 echo Agent pid 38 killed; 09:41:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:41:30 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent 09:41:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:30 [ssh-agent] Looking for ssh-agent implementation... 09:41:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:30 $ docker exec 99c432a8d865a7d4f0ccaf45e8d0d9526de8fed532b2b01e4ffd592bdd558331 ssh-agent 09:41:30 SSH_AUTH_SOCK=/tmp/ssh-OnWtHdDzyqLU/agent.71 09:41:30 SSH_AGENT_PID=78 09:41:30 Running ssh-add (command line suppressed) 09:41:30 Identity added: /w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_1185866988139184841.key (/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/private_key_1185866988139184841.key) 09:41:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:31 + git semver init 09:41:31 2024-05-31 09:41:31,355 [run_init] DEBUG init version:0.0.0 force:False 09:41:31 2024-05-31 09:41:31,356 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_napa/.semver 09:41:31 2024-05-31 09:41:31,357 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_napa/.semver 09:41:31 2024-05-31 09:41:31,357 [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) 09:41:32 2024-05-31 09:41:32,684 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_napa/.git/info/exclude 09:41:32 2024-05-31 09:41:32,684 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa with force:False 09:41:32 2024-05-31 09:41:32,685 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa 09:41:32 2024-05-31 09:41:32,685 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_napa/.semver/napa 09:41:32 3.1.1 [Pipeline] } 09:41:32 $ docker exec --env ******** --env ******** 99c432a8d865a7d4f0ccaf45e8d0d9526de8fed532b2b01e4ffd592bdd558331 ssh-agent -k 09:41:32 unset SSH_AUTH_SOCK; 09:41:32 unset SSH_AGENT_PID; 09:41:32 echo Agent pid 78 killed; 09:41:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:41:33 + git semver [Pipeline] } 09:41:33 $ docker stop --time=1 99c432a8d865a7d4f0ccaf45e8d0d9526de8fed532b2b01e4ffd592bdd558331 09:41:34 $ docker rm -f --volumes 99c432a8d865a7d4f0ccaf45e8d0d9526de8fed532b2b01e4ffd592bdd558331 [Pipeline] // withDockerContainer [Pipeline] sh 09:41:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:41:35 Stashed 1 file(s) [Pipeline] echo 09:41:35 [edgeXSemver]: initialized semver on version 3.1.1 [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 09:41:35 + git checkout 491e0f56b489015368a18893e185d9c317898c06 09:41:35 HEAD is now at 491e0f5 ci(lts-release): LTS release v3.1.1 @d721e73 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:35 provisioning config files... 09:41:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config9780208065716835465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:36 ---> ****-login.sh 09:41:36 nexus3.edgexfoundry.org:10001 09:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:36 Configure a credential helper to remove this warning. See 09:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:36 09:41:36 Login Succeeded 09:41:36 nexus3.edgexfoundry.org:10002 09:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:36 Configure a credential helper to remove this warning. See 09:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:36 09:41:36 Login Succeeded 09:41:36 nexus3.edgexfoundry.org:10003 09:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:36 Configure a credential helper to remove this warning. See 09:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:36 09:41:36 Login Succeeded 09:41:36 nexus3.edgexfoundry.org:10004 09:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:36 Configure a credential helper to remove this warning. See 09:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:36 09:41:36 Login Succeeded 09:41:36 ****.io 09:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:36 Configure a credential helper to remove this warning. See 09:41:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:36 09:41:36 Login Succeeded 09:41:36 ---> ****-login.sh ends [Pipeline] } 09:41:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:41:36 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:41:37 + grep ^go [0-9].[0-9]* go.mod 09:41:37 + cut -d -f 2 [Pipeline] echo 09:41:37 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:41:37 ========================================================= 09:41:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 09:41:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:37 + 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 . 09:41:37 Sending build context to Docker daemon 47.54MB 09:41:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:41:37 Step 2/12 : FROM ${BASE} AS builder 09:41:37 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 09:41:37 619be1103602: Pulling fs layer 09:41:37 7862e08f4a3e: Pulling fs layer 09:41:37 5df492c9dc93: Pulling fs layer 09:41:37 7629e6793208: Pulling fs layer 09:41:37 4f4fb700ef54: Pulling fs layer 09:41:37 8de7f028bff5: Pulling fs layer 09:41:37 44042ff1420b: Pulling fs layer 09:41:37 5cdaf54b7214: Pulling fs layer 09:41:37 38f3e5a9071a: Pulling fs layer 09:41:37 7629e6793208: Waiting 09:41:37 4f4fb700ef54: Waiting 09:41:37 5cdaf54b7214: Waiting 09:41:37 44042ff1420b: Waiting 09:41:37 8de7f028bff5: Waiting 09:41:37 7862e08f4a3e: Verifying Checksum 09:41:37 7862e08f4a3e: Download complete 09:41:37 7629e6793208: Verifying Checksum 09:41:37 7629e6793208: Download complete 09:41:37 4f4fb700ef54: Verifying Checksum 09:41:37 4f4fb700ef54: Download complete 09:41:37 8de7f028bff5: Verifying Checksum 09:41:37 8de7f028bff5: Download complete 09:41:37 619be1103602: Verifying Checksum 09:41:37 619be1103602: Download complete 09:41:37 44042ff1420b: Verifying Checksum 09:41:37 44042ff1420b: Download complete 09:41:38 619be1103602: Pull complete 09:41:38 38f3e5a9071a: Verifying Checksum 09:41:38 38f3e5a9071a: Download complete 09:41:38 7862e08f4a3e: Pull complete 09:41:38 5df492c9dc93: Verifying Checksum 09:41:38 5df492c9dc93: Download complete 09:41:38 5cdaf54b7214: Verifying Checksum 09:41:38 5cdaf54b7214: Download complete 09:41:41 5df492c9dc93: Pull complete 09:41:41 7629e6793208: Pull complete 09:41:41 4f4fb700ef54: Pull complete 09:41:41 8de7f028bff5: Pull complete 09:41:41 44042ff1420b: Pull complete 09:41:44 5cdaf54b7214: Pull complete 09:41:44 38f3e5a9071a: Pull complete 09:41:44 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 09:41:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 09:41:44 ---> 60b93f829570 09:41:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:41:48 ---> Running in 8eb9a466dc6f 09:41:48 Removing intermediate container 8eb9a466dc6f 09:41:48 ---> c614cc014ea3 09:41:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:41:48 ---> Running in 150ba8cf9e9d 09:41:48 Removing intermediate container 150ba8cf9e9d 09:41:48 ---> 6a551fb5051e 09:41:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:41:48 ---> Running in f14ba54b1a57 09:41:48 Removing intermediate container f14ba54b1a57 09:41:48 ---> 3ceeda8d7ad4 09:41:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:41:48 ---> Running in 171d5ea7ee46 09:41:48 Removing intermediate container 171d5ea7ee46 09:41:48 ---> b3814e1758b6 09:41:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:48 ---> Running in cd6df425ed38 09:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:41:49 (1/4) Installing openssh-keygen (9.3_p2-r1) 09:41:49 (2/4) Installing libedit (20221030.3.1-r1) 09:41:49 (3/4) Installing openssh-client-common (9.3_p2-r1) 09:41:49 (4/4) Installing openssh-client-default (9.3_p2-r1) 09:41:49 Executing busybox-1.36.1-r5.trigger 09:41:49 OK: 268 MiB in 56 packages 09:41:50 Removing intermediate container cd6df425ed38 09:41:50 ---> 30eff280a557 09:41:50 Step 8/12 : WORKDIR /device-snmp-go 09:41:50 ---> Running in 279a7e2bc61c 09:41:50 Removing intermediate container 279a7e2bc61c 09:41:50 ---> 0379fbff3e0f 09:41:50 Step 9/12 : COPY go.mod vendor* ./ 09:41:50 Still waiting to schedule task 09:41:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2003’ 09:41:51 ---> d059da48cacf 09:41:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:51 ---> Running in c97d529b34b0 09:42:13 Removing intermediate container c97d529b34b0 09:42:13 ---> b7ec105f6ebf 09:42:13 Step 11/12 : COPY . . 09:42:15 ---> dcd57fd9f910 09:42:15 Step 12/12 : RUN ${MAKE} 09:42:15 ---> Running in 9e00bff4c743 09:42:15 noop 09:42:15 Removing intermediate container 9e00bff4c743 09:42:15 ---> 67bc5d5d19a3 09:42:15 Successfully built 67bc5d5d19a3 09:42:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:16 + docker inspect -f . ci-base-image-x86_64 09:42:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:16 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 09:42:16 $ 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 09:42:16 $ docker top 63c9d8a2f72ab8249dd52d8eeb72e3b71535bfec85663f7cae50d6cc202f9081 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:16 + go version 09:42:16 go version go1.21.9 linux/amd64 [Pipeline] } 09:42:16 $ docker stop --time=1 63c9d8a2f72ab8249dd52d8eeb72e3b71535bfec85663f7cae50d6cc202f9081 09:42:18 $ docker rm -f --volumes 63c9d8a2f72ab8249dd52d8eeb72e3b71535bfec85663f7cae50d6cc202f9081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:18 + docker inspect -f . ci-base-image-x86_64 09:42:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:18 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 09:42:18 $ 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 09:42:19 $ docker top 7c88c8297c09c5a650addfc955be6b6bfe720c46a37840ff13efc05727fbe643 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_napa [Pipeline] fileExists [Pipeline] sh 09:42:19 + make test 09:42:19 go test ./... -coverprofile=coverage.out 09:42:21 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:42:33 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:42:33 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 09:42:38 go vet ./... 09:42:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:42:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:42:41 ./bin/test-attribution-txt.sh [Pipeline] echo 09:42:41 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:42:42 + go mod tidy [Pipeline] } 09:42:42 $ docker stop --time=1 7c88c8297c09c5a650addfc955be6b6bfe720c46a37840ff13efc05727fbe643 09:42:45 $ docker rm -f --volumes 7c88c8297c09c5a650addfc955be6b6bfe720c46a37840ff13efc05727fbe643 [Pipeline] // withDockerContainer [Pipeline] sh 09:42:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:42:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:42:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:42:46 + ls -al . 09:42:46 total 176 09:42:46 drwxrwxr-x 9 jenkins jenkins 4096 May 31 09:42 . 09:42:46 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:41 .. 09:42:46 -rw-rw-r-- 1 jenkins jenkins 6 May 31 09:41 .dockerignore 09:42:46 drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:42 .git 09:42:46 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 .github 09:42:46 -rw-rw-r-- 1 jenkins jenkins 255 May 31 09:41 .gitignore 09:42:46 -rw-rw-r-- 1 jenkins jenkins 41 May 31 09:41 .golangci.yml 09:42:46 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:41 .semver 09:42:46 -rw-rw-r-- 1 jenkins jenkins 10044 May 31 09:41 Attribution.txt 09:42:46 -rw-rw-r-- 1 jenkins jenkins 11809 May 31 09:41 CHANGELOG.md 09:42:46 -rw-rw-r-- 1 jenkins jenkins 1571 May 31 09:41 Dockerfile 09:42:46 -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:41 GOVERNANCE.md 09:42:46 -rw-rw-r-- 1 jenkins jenkins 656 May 31 09:41 Jenkinsfile 09:42:46 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 09:41 LICENSE 09:42:46 -rw-rw-r-- 1 jenkins jenkins 2240 May 31 09:41 Makefile 09:42:46 -rw-rw-r-- 1 jenkins jenkins 620 May 31 09:41 OWNERS.md 09:42:46 -rw-rw-r-- 1 jenkins jenkins 10477 May 31 09:41 README.md 09:42:46 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 09:42:46 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:41 bin 09:42:46 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 cmd 09:42:46 -rw-r--r-- 1 jenkins jenkins 8837 May 31 09:42 coverage.out 09:42:46 -rw-rw-r-- 1 jenkins jenkins 3635 May 31 09:41 go.mod 09:42:46 -rw-rw-r-- 1 jenkins jenkins 33923 May 31 09:41 go.sum 09:42:46 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 internal 09:42:46 drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:41 vendor 09:42:46 -rw-rw-r-- 1 jenkins jenkins 228 May 31 09:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:46 + 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=491e0f56b489015368a18893e185d9c317898c06 --label arch=amd64 --label version=3.1.1 . 09:42:47 Sending build context to Docker daemon 47.55MB 09:42:47 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 09:42:47 Step 2/25 : FROM ${BASE} AS builder 09:42:47 ---> 67bc5d5d19a3 09:42:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:42:47 ---> Running in 87e341ee7956 09:42:47 Removing intermediate container 87e341ee7956 09:42:47 ---> 66ad36108966 09:42:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:42:47 ---> Running in 405d3ae31265 09:42:47 Removing intermediate container 405d3ae31265 09:42:47 ---> 6d5addc0594f 09:42:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:42:48 ---> Running in c16cf6c5c5f0 09:42:48 Removing intermediate container c16cf6c5c5f0 09:42:48 ---> 333f78ac4343 09:42:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:42:48 ---> Running in f3ba024a5d71 09:42:48 Removing intermediate container f3ba024a5d71 09:42:48 ---> 8b7f6cd4ab4f 09:42:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:42:48 ---> Running in 7b4fa980e85c 09:42:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:42:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:42:48 OK: 268 MiB in 56 packages 09:42:49 Removing intermediate container 7b4fa980e85c 09:42:49 ---> 00df16f7d2cf 09:42:49 Step 8/25 : WORKDIR /device-snmp-go 09:42:49 ---> Running in 122248d5ffcb 09:42:49 Removing intermediate container 122248d5ffcb 09:42:49 ---> 28d510e7ac27 09:42:49 Step 9/25 : COPY go.mod vendor* ./ 09:42:51 ---> 3a895ce5e44b 09:42:51 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:42:51 ---> Running in 74dd17e26286 09:42:51 skipping... 09:42:51 Removing intermediate container 74dd17e26286 09:42:51 ---> f2487a05bddf 09:42:51 Step 11/25 : COPY . . 09:42:54 ---> 066716c1babe 09:42:54 Step 12/25 : RUN ${MAKE} 09:42:54 ---> Running in 8e1b49cab400 09:42:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 09:43:16 Removing intermediate container 8e1b49cab400 09:43:16 ---> 64b4d34fc995 09:43:16 Step 13/25 : FROM alpine:3.18 09:43:16 3.18: Pulling from library/alpine 09:43:16 619be1103602: Already exists 09:43:16 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:43:16 Status: Downloaded newer image for alpine:3.18 09:43:16 ---> d3782b16ccc9 09:43:16 Step 14/25 : RUN apk add --update --no-cache dumb-init 09:43:16 ---> Running in e14ada241b8f 09:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:16 (1/1) Installing dumb-init (1.2.5-r2) 09:43:16 Executing busybox-1.36.1-r5.trigger 09:43:16 OK: 7 MiB in 16 packages 09:43:16 Removing intermediate container e14ada241b8f 09:43:16 ---> a81699b8bd82 09:43:16 Step 15/25 : RUN apk --no-cache upgrade 09:43:16 ---> Running in cff14a1e35d2 09:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:16 Upgrading critical system libraries and apk-tools: 09:43:16 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:43:16 Executing busybox-1.36.1-r5.trigger 09:43:16 Continuing the upgrade transaction with new apk-tools: 09:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:16 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:43:16 Executing busybox-1.36.1-r6.post-upgrade 09:43:16 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:43:16 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:43:16 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:43:16 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:43:16 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:43:16 Executing busybox-1.36.1-r6.trigger 09:43:16 OK: 7 MiB in 16 packages 09:43:16 Removing intermediate container cff14a1e35d2 09:43:16 ---> 38d55e6faa74 09:43:16 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 09:43:17 ---> 21b1539a78ba 09:43:17 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:43:17 ---> 477b5097ab83 09:43:17 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 09:43:17 ---> 16aec706cf60 09:43:17 Step 19/25 : EXPOSE 59993 09:43:17 ---> Running in 5d345b77a520 09:43:17 Removing intermediate container 5d345b77a520 09:43:17 ---> fac3a7041124 09:43:17 Step 20/25 : EXPOSE 161 09:43:17 ---> Running in f3db4148e9cc 09:43:17 Removing intermediate container f3db4148e9cc 09:43:17 ---> 4cc22d439c72 09:43:17 Step 21/25 : ENTRYPOINT ["/device-snmp"] 09:43:17 ---> Running in deab44658fe5 09:43:18 Removing intermediate container deab44658fe5 09:43:18 ---> 7e32786879ca 09:43:18 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:43:18 ---> Running in 2251d9158b69 09:43:18 Removing intermediate container 2251d9158b69 09:43:18 ---> 1ea01c8e7ce6 09:43:18 Step 23/25 : LABEL arch=amd64 09:43:18 ---> Running in 1f117a48d770 09:43:18 Removing intermediate container 1f117a48d770 09:43:18 ---> fe56267b406f 09:43:18 Step 24/25 : LABEL git_sha=491e0f56b489015368a18893e185d9c317898c06 09:43:18 ---> Running in 83af85be5c1f 09:43:18 Removing intermediate container 83af85be5c1f 09:43:18 ---> 98eb07fc8dfb 09:43:18 Step 25/25 : LABEL version=3.1.1 09:43:18 ---> Running in 1b5ddd226e86 09:43:18 Removing intermediate container 1b5ddd226e86 09:43:18 ---> f4bf859259b0 09:43:18 [Warning] One or more build-args [ARCH] were not consumed 09:43:18 Successfully built f4bf859259b0 09:43:18 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:18 provisioning config files... 09:43:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config8851040045707673326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:18 ---> ****-login.sh 09:43:18 nexus3.edgexfoundry.org:10001 09:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:18 Configure a credential helper to remove this warning. See 09:43:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:18 09:43:18 Login Succeeded 09:43:18 nexus3.edgexfoundry.org:10002 09:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:18 Configure a credential helper to remove this warning. See 09:43:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:18 09:43:18 Login Succeeded 09:43:18 nexus3.edgexfoundry.org:10003 09:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:19 Configure a credential helper to remove this warning. See 09:43:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:19 09:43:19 Login Succeeded 09:43:19 nexus3.edgexfoundry.org:10004 09:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:19 Configure a credential helper to remove this warning. See 09:43:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:19 09:43:19 Login Succeeded 09:43:19 ****.io 09:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:19 Configure a credential helper to remove this warning. See 09:43:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:19 09:43:19 Login Succeeded 09:43:19 ---> ****-login.sh ends [Pipeline] } 09:43:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:19 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:43:19 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 09:43:19 491e0f56b489015368a18893e185d9c317898c06 09:43:19 3.1.1 09:43:19 491e0f56b489015368a18893e185d9c317898c06-3.1.1 09:43:19 napa 09:43:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:491e0f56b489015368a18893e185d9c317898c06 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp:491e0f56b489015368a18893e185d9c317898c06 09:43:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:43:20 c61088f3147c: Preparing 09:43:20 e61eece46034: Preparing 09:43:20 3b8e2ff191a2: Preparing 09:43:20 95ed09caf254: Preparing 09:43:20 d98352cf3f7c: Preparing 09:43:20 aedc3bda2944: Preparing 09:43:20 aedc3bda2944: Waiting 09:43:20 d98352cf3f7c: Pushed 09:43:20 e61eece46034: Pushed 09:43:20 aedc3bda2944: Layer already exists 09:43:20 c61088f3147c: Pushed 09:43:21 95ed09caf254: Pushed 09:43:22 3b8e2ff191a2: Pushed 09:43:23 491e0f56b489015368a18893e185d9c317898c06: digest: sha256:a8dbbf5ecca5638f03d6c6f66d9a7b581bbd2102b081d821bc78e664a9dfa26a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:23 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.1 09:43:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:43:23 c61088f3147c: Preparing 09:43:23 e61eece46034: Preparing 09:43:23 3b8e2ff191a2: Preparing 09:43:23 95ed09caf254: Preparing 09:43:23 d98352cf3f7c: Preparing 09:43:23 aedc3bda2944: Preparing 09:43:23 aedc3bda2944: Waiting 09:43:23 95ed09caf254: Layer already exists 09:43:23 3b8e2ff191a2: Layer already exists 09:43:23 c61088f3147c: Layer already exists 09:43:23 e61eece46034: Layer already exists 09:43:23 d98352cf3f7c: Layer already exists 09:43:23 aedc3bda2944: Layer already exists 09:43:23 3.1.1: digest: sha256:a8dbbf5ecca5638f03d6c6f66d9a7b581bbd2102b081d821bc78e664a9dfa26a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:24 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:491e0f56b489015368a18893e185d9c317898c06-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:24 + docker push nexus3.edgexfoundry.org:10004/device-snmp:491e0f56b489015368a18893e185d9c317898c06-3.1.1 09:43:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:43:24 c61088f3147c: Preparing 09:43:24 e61eece46034: Preparing 09:43:24 3b8e2ff191a2: Preparing 09:43:24 95ed09caf254: Preparing 09:43:24 d98352cf3f7c: Preparing 09:43:24 aedc3bda2944: Preparing 09:43:24 aedc3bda2944: Waiting 09:43:24 95ed09caf254: Layer already exists 09:43:24 e61eece46034: Layer already exists 09:43:24 c61088f3147c: Layer already exists 09:43:24 d98352cf3f7c: Layer already exists 09:43:24 3b8e2ff191a2: Layer already exists 09:43:24 aedc3bda2944: Layer already exists 09:43:24 491e0f56b489015368a18893e185d9c317898c06-3.1.1: digest: sha256:a8dbbf5ecca5638f03d6c6f66d9a7b581bbd2102b081d821bc78e664a9dfa26a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:24 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:25 + docker push nexus3.edgexfoundry.org:10004/device-snmp:napa 09:43:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:43:25 c61088f3147c: Preparing 09:43:25 e61eece46034: Preparing 09:43:25 3b8e2ff191a2: Preparing 09:43:25 95ed09caf254: Preparing 09:43:25 d98352cf3f7c: Preparing 09:43:25 aedc3bda2944: Preparing 09:43:25 aedc3bda2944: Waiting 09:43:25 e61eece46034: Layer already exists 09:43:25 3b8e2ff191a2: Layer already exists 09:43:25 95ed09caf254: Layer already exists 09:43:25 d98352cf3f7c: Layer already exists 09:43:25 c61088f3147c: Layer already exists 09:43:25 aedc3bda2944: Layer already exists 09:43:25 napa: digest: sha256:a8dbbf5ecca5638f03d6c6f66d9a7b581bbd2102b081d821bc78e664a9dfa26a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:25 ===================================================== [Pipeline] echo 09:43:25 taggedImages: 09:43:25 - nexus3.edgexfoundry.org:10004/device-snmp:491e0f56b489015368a18893e185d9c317898c06 09:43:25 - nexus3.edgexfoundry.org:10004/device-snmp:3.1.1 09:43:25 - nexus3.edgexfoundry.org:10004/device-snmp:491e0f56b489015368a18893e185d9c317898c06-3.1.1 09:43:25 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:25 09:43:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:25 latest: Pulling from edgex-lftools-log-publisher 09:43:25 5eb5b503b376: Pulling fs layer 09:43:25 5c69ac0246d0: Pulling fs layer 09:43:25 ec43610c2a17: Pulling fs layer 09:43:25 3a2ae6a8a46f: Pulling fs layer 09:43:25 33b1e0a273af: Pulling fs layer 09:43:25 5d3b04190fa2: Pulling fs layer 09:43:25 2f39f015ded8: Pulling fs layer 09:43:25 3a2ae6a8a46f: Waiting 09:43:25 33b1e0a273af: Waiting 09:43:25 2f39f015ded8: Waiting 09:43:25 5d3b04190fa2: Waiting 09:43:25 5c69ac0246d0: Download complete 09:43:25 3a2ae6a8a46f: Verifying Checksum 09:43:25 3a2ae6a8a46f: Download complete 09:43:25 33b1e0a273af: Verifying Checksum 09:43:25 33b1e0a273af: Download complete 09:43:25 5d3b04190fa2: Download complete 09:43:25 ec43610c2a17: Verifying Checksum 09:43:25 ec43610c2a17: Download complete 09:43:26 5eb5b503b376: Verifying Checksum 09:43:26 5eb5b503b376: Download complete 09:43:26 2f39f015ded8: Download complete 09:43:27 5eb5b503b376: Pull complete 09:43:27 5c69ac0246d0: Pull complete 09:43:27 ec43610c2a17: Pull complete 09:43:27 3a2ae6a8a46f: Pull complete 09:43:28 33b1e0a273af: Pull complete 09:43:28 5d3b04190fa2: Pull complete 09:43:32 2f39f015ded8: Pull complete 09:43:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:32 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 09:43:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 09:43:35 $ docker top 27bd30500752464a4da02828e661a6e662a1ad7a37a83a8c8fa3343b6830ba14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:36 ---> job-cost.sh 09:43:36 lf-activate-venv: SKIPPING 09:43:36 INFO: No Stack... 09:43:36 INFO: Retrieving Pricing Info for: v3-standard-8 09:43:37 INFO: Archiving Costs [Pipeline] sh 09:43:37 + cut -d, -f6 09:43:37 + cat /w/workspace/edgexfoundry_device-snmp-go_napa/archives/cost.csv [Pipeline] lock 09:43:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-napa-5-stack-cost] 09:43:37 Resource [jenkins-edgexfoundry-device-snmp-go-napa-5-stack-cost] did not exist. Created. 09:43:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:43:38 + echo total: 0.2199999988079071 [Pipeline] stash 09:43:38 Stashed 1 file(s) [Pipeline] } 09:43:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:43:38 $ docker stop --time=1 27bd30500752464a4da02828e661a6e662a1ad7a37a83a8c8fa3343b6830ba14 09:43:39 $ docker rm -f --volumes 27bd30500752464a4da02828e661a6e662a1ad7a37a83a8c8fa3343b6830ba14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:03:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2483 in /w/workspace/edgexfoundry_device-snmp-go_napa [Pipeline] { [Pipeline] ws 10:03:53 Running in /w/workspace/device-snmp-go/5 [Pipeline] { [Pipeline] checkout 10:03:56 Selected Git installation does not exist. Using Default 10:03:56 The recommended git tool is: NONE 10:04:05 using credential edgex-jenkins-ssh 10:04:05 Cloning the remote Git repository 10:04:05 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 10:04:05 > git init /w/workspace/device-snmp-go/5 # timeout=10 10:04:06 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 10:04:06 > git --version # timeout=10 10:04:06 > git --version # 'git version 2.25.1' 10:04:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 10:04:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:09 Avoid second fetch 10:04:09 Checking out Revision 491e0f56b489015368a18893e185d9c317898c06 (napa) 10:04:10 > git config core.sparsecheckout # timeout=10 10:04:10 > git checkout -f 491e0f56b489015368a18893e185d9c317898c06 # timeout=10 10:04:11 Commit message: "ci(lts-release): LTS release v3.1.1 @d721e73" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:04:15 % Total % Received % Xferd Average Speed Time Time Time Current 10:04:15 Dload Upload Total Spent Left Speed 10:04:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 255k 0 --:--:-- --:--:-- --:--:-- 260k [Pipeline] sh 10:04:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:04:16 + sudo tee /etc/docker/daemon.new 10:04:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:04:16 { 10:04:16 "registry-mirrors": [ 10:04:16 "https://nexus3.edgexfoundry.org:10001" 10:04:16 ], 10:04:16 "bip": "10.250.0.254/24", 10:04:16 "hosts": [ 10:04:16 "tcp://0.0.0.0:5555", 10:04:16 "unix:///var/run/docker.sock" 10:04:16 ], 10:04:16 "mtu": 1458, 10:04:16 "selinux-enabled": true, 10:04:16 "seccomp-profile": "/etc/docker/seccomp.json" 10:04:16 } [Pipeline] sh 10:04:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:04:17 + sudo service docker restart [Pipeline] sh 10:04:35 + git checkout 491e0f56b489015368a18893e185d9c317898c06 10:04:36 HEAD is now at 491e0f5 ci(lts-release): LTS release v3.1.1 @d721e73 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:36 provisioning config files... 10:04:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config15331431938892071690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:36 ---> ****-login.sh 10:04:36 nexus3.edgexfoundry.org:10001 10:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:37 Configure a credential helper to remove this warning. See 10:04:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:37 10:04:37 Login Succeeded 10:04:37 nexus3.edgexfoundry.org:10002 10:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:38 Configure a credential helper to remove this warning. See 10:04:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:38 10:04:38 Login Succeeded 10:04:38 nexus3.edgexfoundry.org:10003 10:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:38 Configure a credential helper to remove this warning. See 10:04:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:38 10:04:38 Login Succeeded 10:04:38 nexus3.edgexfoundry.org:10004 10:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:38 Configure a credential helper to remove this warning. See 10:04:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:38 10:04:38 Login Succeeded 10:04:38 ****.io 10:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:39 Configure a credential helper to remove this warning. See 10:04:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:39 10:04:39 Login Succeeded 10:04:39 ---> ****-login.sh ends [Pipeline] } 10:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:39 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 10:04:40 + grep ^go [0-9].[0-9]* go.mod 10:04:40 + cut -d -f 2 [Pipeline] echo 10:04:40 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:04:40 ========================================================= 10:04:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 10:04:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:40 + 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 . 10:04:43 Sending build context to Docker daemon 37.58MB 10:04:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 10:04:43 Step 2/12 : FROM ${BASE} AS builder 10:04:43 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 10:04:43 c6b39de5b339: Pulling fs layer 10:04:43 a69c41024577: Pulling fs layer 10:04:43 d6de4b400683: Pulling fs layer 10:04:43 35cb2a7552d0: Pulling fs layer 10:04:43 4f4fb700ef54: Pulling fs layer 10:04:43 9e011611b7f5: Pulling fs layer 10:04:43 3bd174042beb: Pulling fs layer 10:04:43 4476f39b5e91: Pulling fs layer 10:04:43 35cb2a7552d0: Waiting 10:04:43 4f4fb700ef54: Waiting 10:04:43 9e011611b7f5: Waiting 10:04:43 3bd174042beb: Waiting 10:04:43 4476f39b5e91: Waiting 10:04:43 a69c41024577: Verifying Checksum 10:04:43 a69c41024577: Download complete 10:04:43 35cb2a7552d0: Verifying Checksum 10:04:43 35cb2a7552d0: Download complete 10:04:43 4f4fb700ef54: Verifying Checksum 10:04:43 4f4fb700ef54: Download complete 10:04:43 9e011611b7f5: Verifying Checksum 10:04:43 9e011611b7f5: Download complete 10:04:43 c6b39de5b339: Verifying Checksum 10:04:43 c6b39de5b339: Download complete 10:04:43 4476f39b5e91: Verifying Checksum 10:04:43 4476f39b5e91: Download complete 10:04:43 c6b39de5b339: Pull complete 10:04:44 a69c41024577: Pull complete 10:04:44 d6de4b400683: Download complete 10:04:46 3bd174042beb: Verifying Checksum 10:04:46 3bd174042beb: Download complete 10:04:58 d6de4b400683: Pull complete 10:04:58 35cb2a7552d0: Pull complete 10:04:58 4f4fb700ef54: Pull complete 10:04:58 9e011611b7f5: Pull complete 10:05:08 3bd174042beb: Pull complete 10:05:08 4476f39b5e91: Pull complete 10:05:08 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 10:05:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 10:05:08 ---> 981a0608b64a 10:05:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:05:11 ---> Running in cf1b89daed9e 10:05:12 Removing intermediate container cf1b89daed9e 10:05:12 ---> 4ed0592728ba 10:05:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:12 ---> Running in 42241a978523 10:05:12 Removing intermediate container 42241a978523 10:05:12 ---> 3f4a8c582b7a 10:05:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:05:12 ---> Running in 52da5442cfca 10:05:13 Removing intermediate container 52da5442cfca 10:05:13 ---> 1113c28eedb4 10:05:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:05:13 ---> Running in 8e8168963a19 10:05:13 Removing intermediate container 8e8168963a19 10:05:13 ---> a7a549ffe724 10:05:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:13 ---> Running in fa625f95664c 10:05:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:05:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:05:15 (1/4) Installing openssh-keygen (9.3_p2-r1) 10:05:15 (2/4) Installing libedit (20221030.3.1-r1) 10:05:15 (3/4) Installing openssh-client-common (9.3_p2-r1) 10:05:15 (4/4) Installing openssh-client-default (9.3_p2-r1) 10:05:15 Executing busybox-1.36.1-r5.trigger 10:05:15 OK: 271 MiB in 56 packages 10:05:17 Removing intermediate container fa625f95664c 10:05:17 ---> b8c6f603fc0f 10:05:17 Step 8/12 : WORKDIR /device-snmp-go 10:05:17 ---> Running in d2c445782571 10:05:17 Removing intermediate container d2c445782571 10:05:17 ---> cb864db5d378 10:05:17 Step 9/12 : COPY go.mod vendor* ./ 10:05:24 ---> 05e4fa1c0eb3 10:05:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:24 ---> Running in 00c67879ddcc 10:06:21 Removing intermediate container 00c67879ddcc 10:06:21 ---> faad52627d13 10:06:21 Step 11/12 : COPY . . 10:06:27 ---> 7ea3e9ec2e73 10:06:27 Step 12/12 : RUN ${MAKE} 10:06:27 ---> Running in 0bcda948a8d1 10:06:27 noop 10:06:28 Removing intermediate container 0bcda948a8d1 10:06:28 ---> 0095d4a31197 10:06:29 Successfully built 0095d4a31197 10:06:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:29 + docker inspect -f . ci-base-image-arm64 10:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:29 prd-ubuntu20.04-docker-arm64-4c-16g-2483 does not seem to be running inside a container 10:06:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:31 $ docker top 9fc49b3fa1b5d6b5adcafcde4276ffe6cc98453506ccc5ad06214b1655e7d4cf -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:32 + go version 10:06:32 go version go1.21.9 linux/arm64 [Pipeline] } 10:06:32 $ docker stop --time=1 9fc49b3fa1b5d6b5adcafcde4276ffe6cc98453506ccc5ad06214b1655e7d4cf 10:06:33 $ docker rm -f --volumes 9fc49b3fa1b5d6b5adcafcde4276ffe6cc98453506ccc5ad06214b1655e7d4cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:34 + docker inspect -f . ci-base-image-arm64 10:06:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:34 prd-ubuntu20.04-docker-arm64-4c-16g-2483 does not seem to be running inside a container 10:06:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:35 $ docker top 4e6db46aab825c9509782b9eb7f02f37cc3c7792023b4fa9163485c9ad2c717b -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:36 + git config --global --add safe.directory /w/workspace/device-snmp-go/5 [Pipeline] fileExists [Pipeline] sh 10:06:37 + make test 10:06:37 go test ./... -coverprofile=coverage.out 10:06:40 ? github.com/edgexfoundry/device-snmp-go [no test files] 10:08:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 10:08:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.055s coverage: 0.0% of statements 10:08:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:08:47 go vet ./... 10:09:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:09:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:09:19 ./bin/test-attribution-txt.sh [Pipeline] echo 10:09:20 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 10:09:20 + go mod tidy [Pipeline] } 10:09:24 $ docker stop --time=1 4e6db46aab825c9509782b9eb7f02f37cc3c7792023b4fa9163485c9ad2c717b 10:09:25 $ docker rm -f --volumes 4e6db46aab825c9509782b9eb7f02f37cc3c7792023b4fa9163485c9ad2c717b [Pipeline] // withDockerContainer [Pipeline] sh 10:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:09:27 Warning: overwriting stash ‘coverage-report’ 10:09:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:09:29 + ls -al . 10:09:29 total 172 10:09:29 drwxrwxr-x 8 jenkins jenkins 4096 May 31 10:06 . 10:09:29 drwxrwxr-x 4 jenkins jenkins 4096 May 31 10:04 .. 10:09:29 -rw-rw-r-- 1 jenkins jenkins 6 May 31 10:04 .dockerignore 10:09:29 drwxrwxr-x 8 jenkins jenkins 4096 May 31 10:04 .git 10:09:29 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 .github 10:09:29 -rw-rw-r-- 1 jenkins jenkins 255 May 31 10:04 .gitignore 10:09:29 -rw-rw-r-- 1 jenkins jenkins 41 May 31 10:04 .golangci.yml 10:09:29 -rw-rw-r-- 1 jenkins jenkins 10044 May 31 10:04 Attribution.txt 10:09:29 -rw-rw-r-- 1 jenkins jenkins 11809 May 31 10:04 CHANGELOG.md 10:09:29 -rw-rw-r-- 1 jenkins jenkins 1571 May 31 10:04 Dockerfile 10:09:29 -rw-rw-r-- 1 jenkins jenkins 677 May 31 10:04 GOVERNANCE.md 10:09:29 -rw-rw-r-- 1 jenkins jenkins 656 May 31 10:04 Jenkinsfile 10:09:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 10:04 LICENSE 10:09:29 -rw-rw-r-- 1 jenkins jenkins 2240 May 31 10:04 Makefile 10:09:29 -rw-rw-r-- 1 jenkins jenkins 620 May 31 10:04 OWNERS.md 10:09:29 -rw-rw-r-- 1 jenkins jenkins 10477 May 31 10:04 README.md 10:09:29 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 10:09:29 drwxrwxr-x 2 jenkins jenkins 4096 May 31 10:04 bin 10:09:29 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 cmd 10:09:29 -rw-r--r-- 1 jenkins jenkins 8837 May 31 10:08 coverage.out 10:09:29 -rw-rw-r-- 1 jenkins jenkins 3635 May 31 10:04 go.mod 10:09:29 -rw-rw-r-- 1 jenkins jenkins 33923 May 31 10:04 go.sum 10:09:29 drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 internal 10:09:29 drwxrwxr-x 6 jenkins jenkins 4096 May 31 10:04 vendor 10:09:29 -rw-rw-r-- 1 jenkins jenkins 228 May 31 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:29 + 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=491e0f56b489015368a18893e185d9c317898c06 --label arch=arm64 --label version=3.1.1 . 10:09:32 Sending build context to Docker daemon 37.59MB 10:09:32 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 10:09:32 Step 2/25 : FROM ${BASE} AS builder 10:09:32 ---> 0095d4a31197 10:09:32 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:09:32 ---> Running in 4cab9ff9cb8b 10:09:32 Removing intermediate container 4cab9ff9cb8b 10:09:32 ---> 55ba3a219f02 10:09:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:09:32 ---> Running in 5677a241a338 10:09:32 Removing intermediate container 5677a241a338 10:09:32 ---> 478c77824267 10:09:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:09:32 ---> Running in 23924868c700 10:09:33 Removing intermediate container 23924868c700 10:09:33 ---> f8280ab2045c 10:09:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:09:33 ---> Running in c9aad4624520 10:09:33 Removing intermediate container c9aad4624520 10:09:33 ---> 21c34ba36b3a 10:09:33 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:09:33 ---> Running in 7bfb004b437d 10:09:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:09:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:09:36 OK: 271 MiB in 56 packages 10:09:37 Removing intermediate container 7bfb004b437d 10:09:37 ---> 88b71d58a27f 10:09:37 Step 8/25 : WORKDIR /device-snmp-go 10:09:37 ---> Running in 26c1291bafd7 10:09:37 Removing intermediate container 26c1291bafd7 10:09:37 ---> f717ccb8aba9 10:09:37 Step 9/25 : COPY go.mod vendor* ./ 10:09:45 ---> 4cfd27ca1ef4 10:09:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:45 ---> Running in 66177b8e8ab1 10:09:45 skipping... 10:09:46 Removing intermediate container 66177b8e8ab1 10:09:46 ---> 2ebaac6fb27c 10:09:46 Step 11/25 : COPY . . 10:09:55 ---> f9bc309768ac 10:09:55 Step 12/25 : RUN ${MAKE} 10:09:55 ---> Running in 1eaff373ea03 10:09:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 10:12:31 Removing intermediate container 1eaff373ea03 10:12:31 ---> 71812fa85bbb 10:12:31 Step 13/25 : FROM alpine:3.18 10:12:31 3.18: Pulling from library/alpine 10:12:31 c6b39de5b339: Already exists 10:12:31 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 10:12:31 Status: Downloaded newer image for alpine:3.18 10:12:31 ---> 33abbf032149 10:12:31 Step 14/25 : RUN apk add --update --no-cache dumb-init 10:12:31 ---> Running in 32e953b9679a 10:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:31 (1/1) Installing dumb-init (1.2.5-r2) 10:12:31 Executing busybox-1.36.1-r5.trigger 10:12:31 OK: 8 MiB in 16 packages 10:12:31 Removing intermediate container 32e953b9679a 10:12:31 ---> b50398516836 10:12:31 Step 15/25 : RUN apk --no-cache upgrade 10:12:31 ---> Running in f2beef2aab55 10:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:31 Upgrading critical system libraries and apk-tools: 10:12:31 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 10:12:31 Executing busybox-1.36.1-r5.trigger 10:12:31 Continuing the upgrade transaction with new apk-tools: 10:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:12:31 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 10:12:31 Executing busybox-1.36.1-r6.post-upgrade 10:12:31 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 10:12:31 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 10:12:31 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 10:12:31 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 10:12:31 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 10:12:31 Executing busybox-1.36.1-r6.trigger 10:12:31 OK: 8 MiB in 16 packages 10:12:31 Removing intermediate container f2beef2aab55 10:12:31 ---> 04156cd808db 10:12:31 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 10:12:32 ---> 9f304bcf0c12 10:12:32 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 10:12:33 ---> 46d705d51718 10:12:33 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 10:12:33 ---> d77e5699ea5d 10:12:33 Step 19/25 : EXPOSE 59993 10:12:33 ---> Running in 10ebd76cbf58 10:12:34 Removing intermediate container 10ebd76cbf58 10:12:34 ---> db7e6dccccf3 10:12:34 Step 20/25 : EXPOSE 161 10:12:34 ---> Running in c4a93cf5201d 10:12:34 Removing intermediate container c4a93cf5201d 10:12:34 ---> c96d81f3bf0c 10:12:34 Step 21/25 : ENTRYPOINT ["/device-snmp"] 10:12:34 ---> Running in 49dfc7ade305 10:12:34 Removing intermediate container 49dfc7ade305 10:12:34 ---> 0bf0a9e5f23b 10:12:34 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:12:34 ---> Running in a7c2563070e5 10:12:35 Removing intermediate container a7c2563070e5 10:12:35 ---> 137f93c9601a 10:12:35 Step 23/25 : LABEL arch=arm64 10:12:35 ---> Running in 801632088d21 10:12:35 Removing intermediate container 801632088d21 10:12:35 ---> cdd8a748d61c 10:12:35 Step 24/25 : LABEL git_sha=491e0f56b489015368a18893e185d9c317898c06 10:12:35 ---> Running in cad3d85718b3 10:12:36 Removing intermediate container cad3d85718b3 10:12:36 ---> e5edf28ddbce 10:12:36 Step 25/25 : LABEL version=3.1.1 10:12:36 ---> Running in b0cd293e1526 10:12:36 Removing intermediate container b0cd293e1526 10:12:36 ---> d279e3aa373c 10:12:36 [Warning] One or more build-args [ARCH] were not consumed 10:12:36 Successfully built d279e3aa373c 10:12:36 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 10:12:37 provisioning config files... 10:12:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config16537525235451742447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:37 ---> ****-login.sh 10:12:37 nexus3.edgexfoundry.org:10001 10:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:37 Configure a credential helper to remove this warning. See 10:12:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:37 10:12:37 Login Succeeded 10:12:37 nexus3.edgexfoundry.org:10002 10:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:38 Configure a credential helper to remove this warning. See 10:12:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:38 10:12:38 Login Succeeded 10:12:38 nexus3.edgexfoundry.org:10003 10:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:38 Configure a credential helper to remove this warning. See 10:12:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:38 10:12:38 Login Succeeded 10:12:38 nexus3.edgexfoundry.org:10004 10:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:39 Configure a credential helper to remove this warning. See 10:12:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:39 10:12:39 Login Succeeded 10:12:39 ****.io 10:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:12:39 Configure a credential helper to remove this warning. See 10:12:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:12:39 10:12:39 Login Succeeded 10:12:39 ---> ****-login.sh ends [Pipeline] } 10:12:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:39 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:12:39 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 10:12:39 491e0f56b489015368a18893e185d9c317898c06 10:12:39 3.1.1 10:12:39 491e0f56b489015368a18893e185d9c317898c06-3.1.1 10:12:39 napa 10:12:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:40 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:491e0f56b489015368a18893e185d9c317898c06 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:40 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:491e0f56b489015368a18893e185d9c317898c06 10:12:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:40 822fdbb202fd: Preparing 10:12:40 a2468ad66139: Preparing 10:12:40 2f7c31f08105: Preparing 10:12:40 aa7a8cd7fed7: Preparing 10:12:40 5b8e9a0c3def: Preparing 10:12:40 7c504f21be85: Preparing 10:12:40 7c504f21be85: Waiting 10:12:40 822fdbb202fd: Pushed 10:12:40 a2468ad66139: Pushed 10:12:40 5b8e9a0c3def: Pushed 10:12:40 7c504f21be85: Layer already exists 10:12:42 aa7a8cd7fed7: Pushed 10:12:46 2f7c31f08105: Pushed 10:12:46 491e0f56b489015368a18893e185d9c317898c06: digest: sha256:4ddb6f1aea1790887b2ef346444882754b7e0c76d4d3da57867d0519e2f93fbc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:46 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.1 10:12:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:47 822fdbb202fd: Preparing 10:12:47 a2468ad66139: Preparing 10:12:47 2f7c31f08105: Preparing 10:12:47 aa7a8cd7fed7: Preparing 10:12:47 5b8e9a0c3def: Preparing 10:12:47 7c504f21be85: Preparing 10:12:47 7c504f21be85: Waiting 10:12:47 a2468ad66139: Layer already exists 10:12:47 aa7a8cd7fed7: Layer already exists 10:12:47 2f7c31f08105: Layer already exists 10:12:47 822fdbb202fd: Layer already exists 10:12:47 5b8e9a0c3def: Layer already exists 10:12:47 7c504f21be85: Layer already exists 10:12:47 3.1.1: digest: sha256:4ddb6f1aea1790887b2ef346444882754b7e0c76d4d3da57867d0519e2f93fbc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:47 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:491e0f56b489015368a18893e185d9c317898c06-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:491e0f56b489015368a18893e185d9c317898c06-3.1.1 10:12:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:48 822fdbb202fd: Preparing 10:12:48 a2468ad66139: Preparing 10:12:48 2f7c31f08105: Preparing 10:12:48 aa7a8cd7fed7: Preparing 10:12:48 5b8e9a0c3def: Preparing 10:12:48 7c504f21be85: Preparing 10:12:48 7c504f21be85: Waiting 10:12:48 822fdbb202fd: Layer already exists 10:12:48 a2468ad66139: Layer already exists 10:12:48 5b8e9a0c3def: Layer already exists 10:12:48 aa7a8cd7fed7: Layer already exists 10:12:48 2f7c31f08105: Layer already exists 10:12:48 7c504f21be85: Layer already exists 10:12:48 491e0f56b489015368a18893e185d9c317898c06-3.1.1: digest: sha256:4ddb6f1aea1790887b2ef346444882754b7e0c76d4d3da57867d0519e2f93fbc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:48 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:napa 10:12:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 10:12:48 822fdbb202fd: Preparing 10:12:48 a2468ad66139: Preparing 10:12:48 2f7c31f08105: Preparing 10:12:48 aa7a8cd7fed7: Preparing 10:12:48 5b8e9a0c3def: Preparing 10:12:48 7c504f21be85: Preparing 10:12:48 7c504f21be85: Waiting 10:12:48 822fdbb202fd: Layer already exists 10:12:48 2f7c31f08105: Layer already exists 10:12:48 aa7a8cd7fed7: Layer already exists 10:12:48 5b8e9a0c3def: Layer already exists 10:12:48 a2468ad66139: Layer already exists 10:12:48 7c504f21be85: Layer already exists 10:12:49 napa: digest: sha256:4ddb6f1aea1790887b2ef346444882754b7e0c76d4d3da57867d0519e2f93fbc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:12:49 ===================================================== [Pipeline] echo 10:12:49 taggedImages: 10:12:49 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:491e0f56b489015368a18893e185d9c317898c06 10:12:49 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.1 10:12:49 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:491e0f56b489015368a18893e185d9c317898c06-3.1.1 10:12:49 - 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 10:12:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:49 10:12:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:12:50 arm64: Pulling from edgex-lftools-log-publisher 10:12:50 8998bd30e6a1: Pulling fs layer 10:12:50 04944245beec: Pulling fs layer 10:12:50 699f458cf7ca: Pulling fs layer 10:12:50 765212b225bb: Pulling fs layer 10:12:50 f23df028b6ca: Pulling fs layer 10:12:50 d65c8cfc05b1: Pulling fs layer 10:12:50 2437ff75d9bd: Pulling fs layer 10:12:50 765212b225bb: Waiting 10:12:50 f23df028b6ca: Waiting 10:12:50 2437ff75d9bd: Waiting 10:12:50 04944245beec: Verifying Checksum 10:12:50 04944245beec: Download complete 10:12:50 765212b225bb: Verifying Checksum 10:12:50 765212b225bb: Download complete 10:12:50 f23df028b6ca: Download complete 10:12:50 d65c8cfc05b1: Verifying Checksum 10:12:50 d65c8cfc05b1: Download complete 10:12:50 699f458cf7ca: Verifying Checksum 10:12:50 699f458cf7ca: Download complete 10:12:50 8998bd30e6a1: Verifying Checksum 10:12:50 8998bd30e6a1: Download complete 10:12:53 2437ff75d9bd: Verifying Checksum 10:12:56 8998bd30e6a1: Pull complete 10:12:56 04944245beec: Pull complete 10:12:58 699f458cf7ca: Pull complete 10:12:58 765212b225bb: Pull complete 10:12:59 f23df028b6ca: Pull complete 10:12:59 d65c8cfc05b1: Pull complete 10:13:17 2437ff75d9bd: Pull complete 10:13:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:13:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:17 prd-ubuntu20.04-docker-arm64-4c-16g-2483 does not seem to be running inside a container 10:13:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:13:20 $ docker top f4ad4a15475745f73a85f6e2b73d8fda1a517b68fd87d83be89f9094473c0d09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:21 ---> job-cost.sh 10:13:21 lf-activate-venv: SKIPPING 10:13:21 INFO: No Stack... 10:13:22 INFO: Retrieving Pricing Info for: v3-standard-4 10:13:23 INFO: Archiving Costs [Pipeline] sh 10:13:23 + cat /w/workspace/device-snmp-go/5/archives/cost.csv 10:13:23 + cut -d, -f6 [Pipeline] lock 10:13:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-napa-5-stack-cost] 10:13:23 Resource [jenkins-edgexfoundry-device-snmp-go-napa-5-stack-cost] did not exist. Created. 10:13:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:24 /w/workspace/device-snmp-go/5@tmp/durable-bceff349/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:13:25 + echo total: 0.10999999940395355 [Pipeline] stash 10:13:25 Warning: overwriting stash ‘stack-cost’ 10:13:25 Stashed 1 file(s) [Pipeline] } 10:13:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:25 $ docker stop --time=1 f4ad4a15475745f73a85f6e2b73d8fda1a517b68fd87d83be89f9094473c0d09 10:13:27 $ docker rm -f --volumes f4ad4a15475745f73a85f6e2b73d8fda1a517b68fd87d83be89f9094473c0d09 [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 10:13:27 provisioning config files... 10:13:27 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config4694353457407166192tmp [Pipeline] { [Pipeline] sh 10:13:27 + set +x 10:13:27 + curl -s https://codecov.io/bash 10:13:27 + bash -s -- 10:13:27 10:13:27 _____ _ 10:13:27 / ____| | | 10:13:27 | | ___ __| | ___ ___ _____ __ 10:13:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:13:27 | |___| (_) | (_| | __/ (_| (_) \ V / 10:13:27 \_____\___/ \__,_|\___|\___\___/ \_/ 10:13:27 Bash-1.0.6 10:13:27 10:13:27 10:13:27 ==> git version 2.25.1 found 10:13:27 ==> 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 10:13:27 Release-Date: 2020-01-08 10:13:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:13:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:13:27 ==> Jenkins CI detected. 10:13:27 current dir:  /w/workspace/edgexfoundry_device-snmp-go_napa 10:13:27 project root: . 10:13:27 --> token set from env 10:13:27 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 10:13:27 ==> Running gcov in . (disable via -X gcov) 10:13:27 ==> Python coveragepy not found 10:13:27 ==> Searching for coverage reports in: 10:13:27 + . 10:13:27 -> Found 1 reports 10:13:27 ==> Detecting git/mercurial file structure 10:13:27 ==> Reading reports 10:13:28 + ./coverage.out bytes=8837 10:13:28 ==> Appending adjustments 10:13:28 https://docs.codecov.io/docs/fixing-reports 10:13:28 + Found adjustments 10:13:28 ==> Gzipping contents 10:13:28 16K /tmp/codecov.6jGSaC.gz 10:13:28 ==> Uploading reports 10:13:28 url: https://codecov.io 10:13:28 query: branch=napa&commit=491e0f56b489015368a18893e185d9c317898c06&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:13:28 -> Pinging Codecov 10:13:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=491e0f56b489015368a18893e185d9c317898c06&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:13:28 -> Uploading to 10:13:28 https://storage.googleapis.com/codecov/v4/raw/2024-05-31/6C56EA5C29638FB4528AC87E60AF5AE0/491e0f56b489015368a18893e185d9c317898c06/b4002441-9682-41ee-b0cb-9406b751dbb3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240531%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240531T101328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=549874e800933ef8e56a07050d7fac8685f294747d0c6eea8535983ae950b80d 10:13:28 % Total % Received % Xferd Average Speed Time Time Time Current 10:13:28 Dload Upload Total Spent Left Speed 10:13:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12902 0 0 100 12902 0 63245 --:--:-- --:--:-- --:--:-- 62936 100 12902 0 0 100 12902 0 54669 --:--:-- --:--:-- --:--:-- 54438 10:13:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/491e0f56b489015368a18893e185d9c317898c06 [Pipeline] } 10:13:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:13:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:13:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:29 10:13:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:29 latest: Pulling from edgex-devops/edgex-snyk-go 10:13:29 619be1103602: Already exists 10:13:29 f8ea3408117e: Pulling fs layer 10:13:29 91320369b822: Pulling fs layer 10:13:29 0406650e8295: Pulling fs layer 10:13:29 4f4fb700ef54: Pulling fs layer 10:13:29 96d80e3f36e1: Pulling fs layer 10:13:29 bcf3aedb951c: Pulling fs layer 10:13:29 96d80e3f36e1: Waiting 10:13:29 4f4fb700ef54: Waiting 10:13:29 0406650e8295: Verifying Checksum 10:13:29 f8ea3408117e: Verifying Checksum 10:13:29 f8ea3408117e: Download complete 10:13:29 4f4fb700ef54: Verifying Checksum 10:13:29 4f4fb700ef54: Download complete 10:13:29 f8ea3408117e: Pull complete 10:13:29 96d80e3f36e1: Verifying Checksum 10:13:29 96d80e3f36e1: Download complete 10:13:29 91320369b822: Verifying Checksum 10:13:29 91320369b822: Download complete 10:13:30 bcf3aedb951c: Verifying Checksum 10:13:30 bcf3aedb951c: Download complete 10:13:33 91320369b822: Pull complete 10:13:33 0406650e8295: Pull complete 10:13:33 4f4fb700ef54: Pull complete 10:13:33 96d80e3f36e1: Pull complete 10:13:35 bcf3aedb951c: Pull complete 10:13:35 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 10:13:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:13:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:35 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 10:13:35 $ 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:latest cat 10:13:39 $ docker top 8206b4b37d725ab202c352a465b2d7f3922bdea3ce71e1d5d25babcb29037c2e -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_napa [Pipeline] echo 10:13:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:napa' [Pipeline] sh 10:13:40 + set -o pipefail 10:13:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:napa' 10:13:42 10:13:42 Monitoring /w/workspace/edgexfoundry_device-snmp-go_napa (github.com/edgexfoundry/device-snmp-go)... 10:13:42 10:13:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6d7ad7ea-cfb3-436e-92df-52d37e4e6ab5/history/36ae8f6c-79fa-4a08-887a-4877cc7d71e2 10:13:42 10:13:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:13:42 10:13:43 10:13:43 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 10:13:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:13:43 $ docker stop --time=1 8206b4b37d725ab202c352a465b2d7f3922bdea3ce71e1d5d25babcb29037c2e 10:13:45 $ docker rm -f --volumes 8206b4b37d725ab202c352a465b2d7f3922bdea3ce71e1d5d25babcb29037c2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:45 + git log --format=format:%s -1 491e0f56b489015368a18893e185d9c317898c06 [Pipeline] sh 10:13:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:13:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:13:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:46 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 10:13: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 10:13:46 $ docker top 8f213700c9baf29bff32ccb76adf80f2bb871efe100a6e93ad8d909aec3f2ee9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:13:46 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:13:47 + git semver [Pipeline] } 10:13:47 $ docker stop --time=1 8f213700c9baf29bff32ccb76adf80f2bb871efe100a6e93ad8d909aec3f2ee9 10:13:48 $ docker rm -f --volumes 8f213700c9baf29bff32ccb76adf80f2bb871efe100a6e93ad8d909aec3f2ee9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:49 10:13:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:49 0.23.1-centos7: Pulling from edgex-lftools 10:13:49 ab5ef0e58194: Pulling fs layer 10:13:49 9712f1f96733: Pulling fs layer 10:13:49 63f879dbbcfc: Pulling fs layer 10:13:49 0d9ebad4ef96: Pulling fs layer 10:13:49 e9a5061849ea: Pulling fs layer 10:13:49 d747dcd14b5f: Pulling fs layer 10:13:49 2de7ff778b66: Pulling fs layer 10:13:49 e9a5061849ea: Waiting 10:13:49 d747dcd14b5f: Waiting 10:13:49 2de7ff778b66: Waiting 10:13:49 0d9ebad4ef96: Waiting 10:13:49 9712f1f96733: Download complete 10:13:49 63f879dbbcfc: Verifying Checksum 10:13:49 63f879dbbcfc: Download complete 10:13:49 0d9ebad4ef96: Verifying Checksum 10:13:49 0d9ebad4ef96: Download complete 10:13:49 d747dcd14b5f: Verifying Checksum 10:13:49 d747dcd14b5f: Download complete 10:13:49 e9a5061849ea: Verifying Checksum 10:13:49 e9a5061849ea: Download complete 10:13:49 ab5ef0e58194: Verifying Checksum 10:13:49 ab5ef0e58194: Download complete 10:13:49 2de7ff778b66: Verifying Checksum 10:13:49 2de7ff778b66: Download complete 10:13:52 ab5ef0e58194: Pull complete 10:13:52 9712f1f96733: Pull complete 10:13:53 63f879dbbcfc: Pull complete 10:13:56 0d9ebad4ef96: Pull complete 10:13:56 e9a5061849ea: Pull complete 10:13:56 d747dcd14b5f: Pull complete 10:13:57 2de7ff778b66: Pull complete 10:13:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:13:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:13:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:57 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 10:13:57 $ 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 10:14:01 $ docker top c59180394719d38c1db1b6a6e59a5219e8802c623ea66f6559f72338a8f13260 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:14:01 provisioning config files... 10:14:01 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config15319374535268011936tmp 10:14:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config6859113251523160376tmp 10:14:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config14491722220899526004tmp [Pipeline] { [Pipeline] echo 10:14:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:14:02 ---> sigul-configuration.sh 10:14:02 gpg: directory `/root/.gnupg' created 10:14:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:14:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:14:02 gpg: keyring `/root/.gnupg/secring.gpg' created 10:14:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:14:02 gpg: CAST5 encrypted data 10:14:02 gpg: encrypted with 1 passphrase 10:14:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:14:02 + mkdir /home/jenkins 10:14:02 + mkdir /home/jenkins/sigul [Pipeline] sh 10:14:02 + 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 10:14:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:14:03 ---> sigul-install.sh 10:14:03 Sigul already installed; skipping installation. [Pipeline] sh 10:14:03 + git tag --list 10:14:03 1.0.0 10:14:03 v0.0.0 10:14:03 v1.1.0 10:14:03 v1.1.1 10:14:03 v1.2.2 10:14:03 v1.3.0 10:14:03 v1.3.1 10:14:03 v2.0.0 10:14:03 v2.1.0 10:14:03 v2.1.1 10:14:03 v2.2.0 10:14:03 v2.3.0 10:14:03 v3.0 10:14:03 v3.0.0 10:14:03 v3.1 10:14:03 v3.1.0 10:14:03 v3.1.0-dev.1 10:14:03 v3.1.0-dev.10 10:14:03 v3.1.0-dev.11 10:14:03 v3.1.0-dev.12 10:14:03 v3.1.0-dev.13 10:14:03 v3.1.0-dev.2 10:14:03 v3.1.0-dev.3 10:14:03 v3.1.0-dev.4 10:14:03 v3.1.0-dev.5 10:14:03 v3.1.0-dev.6 10:14:03 v3.1.0-dev.7 10:14:03 v3.1.0-dev.8 10:14:03 v3.1.0-dev.9 10:14:03 v3.1.1 10:14:03 v3.1.1-dev.1 10:14:03 v3.2.0-dev.1 10:14:03 v3.2.0-dev.2 10:14:03 v3.2.0-dev.3 10:14:03 v3.2.0-dev.4 10:14:03 v3.2.0-dev.5 10:14:03 v3.2.0-dev.6 10:14:03 v3.2.0-dev.7 10:14:03 v3.2.0-dev.8 [Pipeline] sh 10:14:03 + lftools sign git-tag v3.1.1 10:14:04 Signing Git tag with Sigul... 10:14:04 Signing v3.1.1 [Pipeline] echo 10:14:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:14:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:14:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:14:05 $ docker stop --time=1 c59180394719d38c1db1b6a6e59a5219e8802c623ea66f6559f72338a8f13260 10:14:06 $ docker rm -f --volumes c59180394719d38c1db1b6a6e59a5219e8802c623ea66f6559f72338a8f13260 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:14:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:07 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 10:14:07 $ 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 10:14:07 $ docker top 85b808d560a2b42626fc624eecdbd8c28582e91e8d5e5db071f7777b68d37ba6 -eo pid,comm 10:14:07 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). 10:14:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:14:07 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:08 + git semver [Pipeline] } 10:14:08 $ docker stop --time=1 85b808d560a2b42626fc624eecdbd8c28582e91e8d5e5db071f7777b68d37ba6 10:14:09 $ docker rm -f --volumes 85b808d560a2b42626fc624eecdbd8c28582e91e8d5e5db071f7777b68d37ba6 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:14:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:14:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:10 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 10:14:10 $ 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 10:14:10 $ docker top 848e44aa158593371bf024270bc34780b315989bec9a243ac3609860b9115036 -eo pid,comm 10:14:10 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). 10:14:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:14:10 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:11 + git semver [Pipeline] } 10:14:11 $ docker stop --time=1 848e44aa158593371bf024270bc34780b315989bec9a243ac3609860b9115036 10:14:12 $ docker rm -f --volumes 848e44aa158593371bf024270bc34780b315989bec9a243ac3609860b9115036 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:14:13 + [ -d /w/workspace/edgexfoundry_device-snmp-go_napa/archives ] 10:14:13 + ls -al /w/workspace/edgexfoundry_device-snmp-go_napa/archives 10:14:13 total 16 10:14:13 drwxr-xr-x 3 root root 4096 May 31 09:43 . 10:14:13 drwxrwxr-x 10 jenkins jenkins 4096 May 31 10:14 .. 10:14:13 drwxr-xr-x 2 root root 4096 May 31 09:43 cost 10:14:13 -rw-r--r-- 1 root root 84 May 31 09:43 cost.csv 10:14:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_napa/archives 10:14:13 + ls -al /w/workspace/edgexfoundry_device-snmp-go_napa/archives 10:14:13 total 16 10:14:13 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:43 . 10:14:13 drwxrwxr-x 10 jenkins jenkins 4096 May 31 10:14 .. 10:14:13 drwxr-xr-x 2 jenkins jenkins 4096 May 31 09:43 cost 10:14:13 -rw-r--r-- 1 jenkins jenkins 84 May 31 09:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:14:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:14:14 ---> package-listing.sh 10:14:14 ++ facter osfamily 10:14:14 ++ tr '[:upper:]' '[:lower:]' 10:14:14 + OS_FAMILY=debian 10:14:14 + workspace=/w/workspace/edgexfoundry_device-snmp-go_napa 10:14:14 + START_PACKAGES=/tmp/packages_start.txt 10:14:14 + END_PACKAGES=/tmp/packages_end.txt 10:14:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:14:14 + PACKAGES=/tmp/packages_start.txt 10:14:14 + '[' /w/workspace/edgexfoundry_device-snmp-go_napa ']' 10:14:14 + PACKAGES=/tmp/packages_end.txt 10:14:14 + case "${OS_FAMILY}" in 10:14:14 + dpkg -l 10:14:14 + grep '^ii' 10:14:14 + '[' -f /tmp/packages_start.txt ']' 10:14:14 + '[' -f /tmp/packages_end.txt ']' 10:14:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:14:14 + '[' /w/workspace/edgexfoundry_device-snmp-go_napa ']' 10:14:14 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_napa/archives/ 10:14:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_napa/archives/ [Pipeline] echo 10:14:14 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 10:14:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:14:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:15 prd-ubuntu20.04-docker-8c-8g-2011 does not seem to be running inside a container 10:14:15 $ 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 10:14:15 $ docker top bd54e6236593664e783f7ec6c172c4b90d657be37cf8f4db49d10da5ebdcbb7d -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:16 + touch /tmp/pre-build-complete [Pipeline] sh 10:14:16 + mkdir -p /var/log/sysstat [Pipeline] sh 10:14:16 + ls /var/log/sa-host 10:14:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:16 provisioning config files... 10:14:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_napa@tmp/config1323689539367520223tmp [Pipeline] { [Pipeline] echo 10:14:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:14:17 ---> create-netrc.sh [Pipeline] } 10:14:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:14:17 ---> python-tools-install.sh [Pipeline] echo 10:14:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:14:17 ---> sudo-logs.sh 10:14:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:14:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:14:18 ---> job-cost.sh 10:14:18 lf-activate-venv: SKIPPING 10:14:18 DEBUG: total: 0.2199999988079071 10:14:18 INFO: Retrieving Stack Cost... 10:14:18 INFO: Retrieving Pricing Info for: v3-standard-8 10:14:18 INFO: Archiving Costs [Pipeline] echo 10:14:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:14:19 ---> logs-deploy.sh 10:14:19 lf-activate-venv: SKIPPING 10:14:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/napa/5 10:14:19 INFO: archiving workspace using pattern(s): 10:14:20 Archives upload complete. 10:14:20 INFO: archiving logs to Nexus