Started by upstream project "edgexfoundry/cd-management/release" build number 151 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 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-ssh11627946384257850646.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1518185301343882820.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11346733005847648975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh15165802381152259833.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14475422813295943738.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17543 in /w/workspace/edgexfoundry_device-snmp-go_main [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_main # 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 Avoid second fetch Checking out Revision 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 (main) Commit message: "docs: Add main branch warning (#314)" > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 > git rev-list --no-walk 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:37:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:37:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:37:34 ========================================================= 20:37:34 EdgeX Global Pipelines Version Info 20:37:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:37:35 ------------------- 20:37:35 stable info: 20:37:35 ------------------- 20:37:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:37:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:37:35 Message: update stable to v1.0.249 20:37:35 ------------------- 20:37:35 experimental info: 20:37:35 ------------------- 20:37:35 Commited By: **** collab-it+edgex@linuxfoundation.org 20:37:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:37:35 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:37:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a4f383 [Pipeline] echo 20:37:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:36 provisioning config files... 20:37:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4647921531863801429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:36 ---> docker-login.sh 20:37:36 nexus3.edgexfoundry.org:10001 20:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:37 Configure a credential helper to remove this warning. See 20:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:37 20:37:37 Login Succeeded 20:37:37 nexus3.edgexfoundry.org:10002 20:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:37 Configure a credential helper to remove this warning. See 20:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:37 20:37:37 Login Succeeded 20:37:37 nexus3.edgexfoundry.org:10003 20:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:37 Configure a credential helper to remove this warning. See 20:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:37 20:37:37 Login Succeeded 20:37:37 nexus3.edgexfoundry.org:10004 20:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:37 Configure a credential helper to remove this warning. See 20:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:37 20:37:37 Login Succeeded 20:37:37 docker.io 20:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:37 Configure a credential helper to remove this warning. See 20:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:37 20:37:37 Login Succeeded 20:37:37 ---> docker-login.sh ends [Pipeline] } 20:37:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:37:38 + git rev-list -1 --merges 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0~1..3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo 20:37:38 -----------> git rev-list -1 --merges 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0~1..3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [false] [Pipeline] sh 20:37:38 + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo 20:37:38 ========================================================= 20:37:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 20:37:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:38 + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo 20:37:38 [semverPrep] GIT_COMMIT: 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0, Commit Message: docs: Add main branch warning (#314) [Pipeline] echo 20:37:38 [semverPrep] This is not a build commit. [Pipeline] sh 20:37:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:37:39 + grep -v github /etc/ssh/ssh_known_hosts 20:37:39 + [ -e /tmp/ssh_known_hosts ] 20:37:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:37:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:37:39 + sudo tee -a /etc/ssh/ssh_known_hosts 20:37:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:39 20:37:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:39 0.1.4: Pulling from edgex-devops/py-git-semver 20:37:39 b85a868b505f: Pulling fs layer 20:37:39 e2be974225ed: Pulling fs layer 20:37:39 339a4e72a1f5: Pulling fs layer 20:37:39 988bab9f4d93: Pulling fs layer 20:37:39 1469e6f7b9e6: Pulling fs layer 20:37:39 eaf3925da568: Pulling fs layer 20:37:39 bab4dde63d76: Pulling fs layer 20:37:39 bde34c3a00c8: Pulling fs layer 20:37:39 b352a97aabf1: Pulling fs layer 20:37:39 4872d77fe225: Pulling fs layer 20:37:39 5851b861e8e6: Pulling fs layer 20:37:39 1469e6f7b9e6: Waiting 20:37:39 eaf3925da568: Waiting 20:37:39 bab4dde63d76: Waiting 20:37:39 bde34c3a00c8: Waiting 20:37:39 b352a97aabf1: Waiting 20:37:39 4872d77fe225: Waiting 20:37:39 5851b861e8e6: Waiting 20:37:39 988bab9f4d93: Waiting 20:37:39 e2be974225ed: Download complete 20:37:39 988bab9f4d93: Verifying Checksum 20:37:39 988bab9f4d93: Download complete 20:37:39 1469e6f7b9e6: Verifying Checksum 20:37:39 1469e6f7b9e6: Download complete 20:37:40 eaf3925da568: Verifying Checksum 20:37:40 eaf3925da568: Download complete 20:37:40 339a4e72a1f5: Verifying Checksum 20:37:40 339a4e72a1f5: Download complete 20:37:40 bde34c3a00c8: Verifying Checksum 20:37:40 bde34c3a00c8: Download complete 20:37:40 b352a97aabf1: Verifying Checksum 20:37:40 b352a97aabf1: Download complete 20:37:40 4872d77fe225: Verifying Checksum 20:37:40 4872d77fe225: Download complete 20:37:40 5851b861e8e6: Verifying Checksum 20:37:40 5851b861e8e6: Download complete 20:37:40 b85a868b505f: Verifying Checksum 20:37:40 b85a868b505f: Download complete 20:37:40 bab4dde63d76: Verifying Checksum 20:37:40 bab4dde63d76: Download complete 20:37:41 b85a868b505f: Pull complete 20:37:41 e2be974225ed: Pull complete 20:37:42 339a4e72a1f5: Pull complete 20:37:42 988bab9f4d93: Pull complete 20:37:42 1469e6f7b9e6: Pull complete 20:37:42 eaf3925da568: Pull complete 20:37:44 bab4dde63d76: Pull complete 20:37:44 bde34c3a00c8: Pull complete 20:37:44 b352a97aabf1: Pull complete 20:37:44 4872d77fe225: Pull complete 20:37:44 5851b861e8e6: Pull complete 20:37:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:37:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:44 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:37:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:37:48 $ docker top 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 -eo pid,comm 20:37:48 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). 20:37:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:37:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:37:48 [ssh-agent] Looking for ssh-agent implementation... 20:37:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:37:48 $ docker exec 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 ssh-agent 20:37:48 SSH_AUTH_SOCK=/tmp/ssh-6qsW8Ody5L9R/agent.32 20:37:48 SSH_AGENT_PID=38 20:37:48 Running ssh-add (command line suppressed) 20:37:48 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18349610812603736984.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18349610812603736984.key) 20:37:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:37:48 + git tag --points-at 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } 20:37:49 $ docker exec --env ******** --env ******** 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 ssh-agent -k 20:37:49 unset SSH_AUTH_SOCK; 20:37:49 unset SSH_AGENT_PID; 20:37:49 echo Agent pid 38 killed; 20:37:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:37:49 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0|v3.0.0-dev.28' [Pipeline] sshagent 20:37:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:37:49 [ssh-agent] Looking for ssh-agent implementation... 20:37:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:37:49 $ docker exec 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 ssh-agent 20:37:49 SSH_AUTH_SOCK=/tmp/ssh-J4XlFMkU16UX/agent.71 20:37:49 SSH_AGENT_PID=77 20:37:49 Running ssh-add (command line suppressed) 20:37:49 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8010981942918310422.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8010981942918310422.key) 20:37:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:37:49 + git semver init 20:37:50 2023-05-31 20:37:49,987 [run_init] DEBUG init version:0.0.0 force:False 20:37:50 2023-05-31 20:37:49,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:37:50 2023-05-31 20:37:49,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:37:50 2023-05-31 20:37:49,989 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 20:37:51 2023-05-31 20:37:50,748 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 20:37:51 2023-05-31 20:37:50,749 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 20:37:51 2023-05-31 20:37:50,749 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:37:51 2023-05-31 20:37:50,749 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:37:51 3.0.0 [Pipeline] } 20:37:51 $ docker exec --env ******** --env ******** 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 ssh-agent -k 20:37:51 unset SSH_AUTH_SOCK; 20:37:51 unset SSH_AGENT_PID; 20:37:51 echo Agent pid 77 killed; 20:37:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:37:51 + git semver [Pipeline] } 20:37:51 $ docker stop --time=1 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 20:37:53 $ docker rm -f --volumes 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 [Pipeline] // withDockerContainer [Pipeline] sh 20:37:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:37:53 Stashed 1 file(s) [Pipeline] echo 20:37:53 [edgeXSemver]: initialized semver on version 3.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:53 + git checkout 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:37:53 HEAD is now at 3a4f383 docs: Add main branch warning (#314) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:54 provisioning config files... 20:37:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15862162351953256360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:54 ---> docker-login.sh 20:37:54 nexus3.edgexfoundry.org:10001 20:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:54 Configure a credential helper to remove this warning. See 20:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:54 20:37:54 Login Succeeded 20:37:54 nexus3.edgexfoundry.org:10002 20:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:54 Configure a credential helper to remove this warning. See 20:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:54 20:37:54 Login Succeeded 20:37:54 nexus3.edgexfoundry.org:10003 20:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:54 Configure a credential helper to remove this warning. See 20:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:54 20:37:54 Login Succeeded 20:37:54 nexus3.edgexfoundry.org:10004 20:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:54 Configure a credential helper to remove this warning. See 20:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:54 20:37:54 Login Succeeded 20:37:54 docker.io 20:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:54 Configure a credential helper to remove this warning. See 20:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:54 20:37:54 Login Succeeded 20:37:54 ---> docker-login.sh ends [Pipeline] } 20:37:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:54 ========================================================= 20:37:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:37:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:37:55 Sending build context to Docker daemon 5.87MB 20:37:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:37:55 Step 2/12 : FROM ${BASE} AS builder 20:37:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:37:55 f56be85fc22e: Pulling fs layer 20:37:55 85791d961cd3: Pulling fs layer 20:37:55 d694b5ae8c79: Pulling fs layer 20:37:55 9f32a84ed3da: Pulling fs layer 20:37:55 9f32a84ed3da: Waiting 20:37:55 4d19c01a9841: Pulling fs layer 20:37:55 9325e15d5711: Pulling fs layer 20:37:55 556b6ee489ea: Pulling fs layer 20:37:55 c5a4b2cf53e6: Pulling fs layer 20:37:55 4d19c01a9841: Waiting 20:37:55 9325e15d5711: Waiting 20:37:55 556b6ee489ea: Waiting 20:37:55 c5a4b2cf53e6: Waiting 20:37:55 85791d961cd3: Download complete 20:37:55 9f32a84ed3da: Verifying Checksum 20:37:55 4d19c01a9841: Verifying Checksum 20:37:55 4d19c01a9841: Download complete 20:37:55 f56be85fc22e: Verifying Checksum 20:37:55 f56be85fc22e: Download complete 20:37:55 9325e15d5711: Verifying Checksum 20:37:55 9325e15d5711: Download complete 20:37:55 f56be85fc22e: Pull complete 20:37:55 85791d961cd3: Pull complete 20:37:56 c5a4b2cf53e6: Verifying Checksum 20:37:56 c5a4b2cf53e6: Download complete 20:37:56 d694b5ae8c79: Verifying Checksum 20:37:56 d694b5ae8c79: Download complete 20:37:56 556b6ee489ea: Verifying Checksum 20:37:56 556b6ee489ea: Download complete 20:37:58 d694b5ae8c79: Pull complete 20:37:59 9f32a84ed3da: Pull complete 20:37:59 4d19c01a9841: Pull complete 20:37:59 9325e15d5711: Pull complete 20:38:01 556b6ee489ea: Pull complete 20:38:02 c5a4b2cf53e6: Pull complete 20:38:02 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:38:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:38:02 ---> c4be618373d6 20:38:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:38:07 ---> Running in 198d99ac7017 20:38:07 Removing intermediate container 198d99ac7017 20:38:07 ---> 13a356aced93 20:38:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:38:08 ---> Running in 2b0905ae180d 20:38:08 Removing intermediate container 2b0905ae180d 20:38:08 ---> 25941f6cadfa 20:38:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:38:08 ---> Running in e701c53ef61c 20:38:08 Removing intermediate container e701c53ef61c 20:38:08 ---> b361be1c3293 20:38:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:38:08 ---> Running in 7975e1ed4422 20:38:08 Removing intermediate container 7975e1ed4422 20:38:08 ---> b45fb399ba38 20:38:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:38:08 ---> Running in 8d156c3fa99e 20:38:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:38:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:38:08 Still waiting to schedule task 20:38:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17541’ 20:38:08 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:38:09 (2/4) Installing libedit (20221030.3.1-r0) 20:38:09 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:38:09 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:38:09 Executing busybox-1.35.0-r29.trigger 20:38:09 OK: 269 MiB in 57 packages 20:38:09 Removing intermediate container 8d156c3fa99e 20:38:09 ---> 33de3a9402c7 20:38:09 Step 8/12 : WORKDIR /device-snmp-go 20:38:09 ---> Running in c41338f1c15d 20:38:09 Removing intermediate container c41338f1c15d 20:38:09 ---> 5911d0664c66 20:38:09 Step 9/12 : COPY go.mod vendor* ./ 20:38:09 ---> b575ec9fb289 20:38:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:09 ---> Running in 4b58c45d14f0 20:38:41 Removing intermediate container 4b58c45d14f0 20:38:41 ---> 236ed5481bec 20:38:41 Step 11/12 : COPY . . 20:38:41 ---> 507e183d5b72 20:38:41 Step 12/12 : RUN ${MAKE} 20:38:41 ---> Running in 80fbcc5f6736 20:38:41 noop 20:38:41 Removing intermediate container 80fbcc5f6736 20:38:41 ---> 1d1661d1eb1d 20:38:41 Successfully built 1d1661d1eb1d 20:38:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:42 + docker inspect -f . ci-base-image-x86_64 20:38:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:42 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:38:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:38:42 $ docker top ef3a9a7600c709a20691ca029ff33d5feb708d016f373e705ea290a0afe577b2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:42 + go version 20:38:42 go version go1.20.2 linux/amd64 [Pipeline] } 20:38:42 $ docker stop --time=1 ef3a9a7600c709a20691ca029ff33d5feb708d016f373e705ea290a0afe577b2 20:38:44 $ docker rm -f --volumes ef3a9a7600c709a20691ca029ff33d5feb708d016f373e705ea290a0afe577b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:44 + docker inspect -f . ci-base-image-x86_64 20:38:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:44 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:38:44 $ 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_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:38:44 $ docker top 6e9f6dbdd546b359fb408435eb2023188ae7288efb9b646d122c831b18ea28fb -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:45 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 20:38:45 + make test 20:38:45 go test ./... -coverprofile=coverage.out 20:38:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:38:58 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:38:58 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 20:39:05 go vet ./... 20:39:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:39:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:39:08 ./bin/test-attribution-txt.sh [Pipeline] echo 20:39:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:39:09 $ docker stop --time=1 6e9f6dbdd546b359fb408435eb2023188ae7288efb9b646d122c831b18ea28fb 20:39:13 $ docker rm -f --volumes 6e9f6dbdd546b359fb408435eb2023188ae7288efb9b646d122c831b18ea28fb [Pipeline] // withDockerContainer [Pipeline] sh 20:39:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:39:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:39:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:39:14 + ls -al . 20:39:14 total 172 20:39:14 drwxrwxr-x 9 jenkins jenkins 4096 May 31 20:38 . 20:39:14 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:37 .. 20:39:14 -rw-rw-r-- 1 jenkins jenkins 6 May 31 20:37 .dockerignore 20:39:14 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:37 .git 20:39:14 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 .github 20:39:14 -rw-rw-r-- 1 jenkins jenkins 328 May 31 20:37 .gitignore 20:39:14 -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:37 .golangci.yml 20:39:14 drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:37 .semver 20:39:14 -rw-rw-r-- 1 jenkins jenkins 9056 May 31 20:37 Attribution.txt 20:39:14 -rw-rw-r-- 1 jenkins jenkins 10534 May 31 20:37 CHANGELOG.md 20:39:14 -rw-rw-r-- 1 jenkins jenkins 1423 May 31 20:37 Dockerfile 20:39:14 -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:37 GOVERNANCE.md 20:39:14 -rw-rw-r-- 1 jenkins jenkins 656 May 31 20:37 Jenkinsfile 20:39:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:37 LICENSE 20:39:14 -rw-rw-r-- 1 jenkins jenkins 2114 May 31 20:37 Makefile 20:39:14 -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:37 OWNERS.md 20:39:14 -rw-rw-r-- 1 jenkins jenkins 10559 May 31 20:37 README.md 20:39:14 -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:37 VERSION 20:39:14 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:37 bin 20:39:14 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 cmd 20:39:14 -rw-r--r-- 1 jenkins jenkins 8837 May 31 20:38 coverage.out 20:39:14 -rw-rw-r-- 1 jenkins jenkins 3235 May 31 20:37 go.mod 20:39:14 -rw-rw-r-- 1 jenkins jenkins 31230 May 31 20:37 go.sum 20:39:14 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 internal 20:39:14 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:37 snap 20:39:14 -rw-rw-r-- 1 jenkins jenkins 228 May 31 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:14 + 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=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 --label arch=amd64 --label version=3.0.0 . 20:39:14 Sending build context to Docker daemon 5.88MB 20:39:14 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 20:39:14 Step 2/24 : FROM ${BASE} AS builder 20:39:14 ---> 1d1661d1eb1d 20:39:14 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:39:14 ---> Running in 2c18e4de4803 20:39:14 Removing intermediate container 2c18e4de4803 20:39:14 ---> abb10b9720dc 20:39:14 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:14 ---> Running in 09dfcc74d9b7 20:39:14 Removing intermediate container 09dfcc74d9b7 20:39:14 ---> cc91f4933e24 20:39:14 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:39:14 ---> Running in 51eccad124a6 20:39:15 Removing intermediate container 51eccad124a6 20:39:15 ---> 0ffc85f6544c 20:39:15 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:39:15 ---> Running in a873d4201e50 20:39:15 Removing intermediate container a873d4201e50 20:39:15 ---> 51f41aee6878 20:39:15 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:15 ---> Running in b6a3362a0098 20:39:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:15 OK: 269 MiB in 57 packages 20:39:16 Removing intermediate container b6a3362a0098 20:39:16 ---> e2f826682395 20:39:16 Step 8/24 : WORKDIR /device-snmp-go 20:39:16 ---> Running in 4838ff1f3775 20:39:16 Removing intermediate container 4838ff1f3775 20:39:16 ---> 7582cc3da494 20:39:16 Step 9/24 : COPY go.mod vendor* ./ 20:39:16 ---> c0ba2aaeb801 20:39:16 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:16 ---> Running in 9c0bfeee4f7a 20:39:17 Removing intermediate container 9c0bfeee4f7a 20:39:17 ---> a944fe1553bb 20:39:17 Step 11/24 : COPY . . 20:39:17 ---> 04caf1d69b02 20:39:17 Step 12/24 : RUN ${MAKE} 20:39:17 ---> Running in 4c6964fa29a5 20:39:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 20:39:44 Removing intermediate container 4c6964fa29a5 20:39:44 ---> d7e5f3c21df2 20:39:44 Step 13/24 : FROM alpine:3.17 20:39:44 3.17: Pulling from library/alpine 20:39:44 f56be85fc22e: Already exists 20:39:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:39:44 Status: Downloaded newer image for alpine:3.17 20:39:44 ---> 9ed4aefc74f6 20:39:44 Step 14/24 : RUN apk add --update --no-cache dumb-init 20:39:44 ---> Running in cd582dae7ecc 20:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:44 (1/1) Installing dumb-init (1.2.5-r2) 20:39:44 Executing busybox-1.35.0-r29.trigger 20:39:44 OK: 7 MiB in 16 packages 20:39:44 Removing intermediate container cd582dae7ecc 20:39:44 ---> be437e04176c 20:39:44 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:39:45 ---> 4f1e85c8a93a 20:39:45 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:39:45 ---> cdc7a0aa77ab 20:39:45 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:39:45 ---> d4637b6a50a3 20:39:45 Step 18/24 : EXPOSE 59993 20:39:45 ---> Running in c86c75bc3e8e 20:39:45 Removing intermediate container c86c75bc3e8e 20:39:45 ---> d7f882a3fc56 20:39:45 Step 19/24 : EXPOSE 161 20:39:45 ---> Running in e53a30896767 20:39:45 Removing intermediate container e53a30896767 20:39:45 ---> 252f97f3058f 20:39:45 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:39:45 ---> Running in 8836a70d9063 20:39:45 Removing intermediate container 8836a70d9063 20:39:45 ---> c94cb76b658d 20:39:45 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:39:45 ---> Running in c9ba87824400 20:39:45 Removing intermediate container c9ba87824400 20:39:45 ---> 2fc4f3f0f780 20:39:45 Step 22/24 : LABEL arch=amd64 20:39:45 ---> Running in ef245b60ce36 20:39:45 Removing intermediate container ef245b60ce36 20:39:45 ---> a0ff06ec0b5b 20:39:45 Step 23/24 : LABEL git_sha=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:39:45 ---> Running in 2a15f0905c42 20:39:45 Removing intermediate container 2a15f0905c42 20:39:45 ---> 6791583eb8f0 20:39:45 Step 24/24 : LABEL version=3.0.0 20:39:45 ---> Running in db9677e1a8b0 20:39:45 Removing intermediate container db9677e1a8b0 20:39:45 ---> a6562e21d4ea 20:39:45 [Warning] One or more build-args [ARCH] were not consumed 20:39:45 Successfully built a6562e21d4ea 20:39:45 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:46 provisioning config files... 20:39:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9528232780979234174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:46 ---> docker-login.sh 20:39:46 nexus3.edgexfoundry.org:10001 20:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:46 Configure a credential helper to remove this warning. See 20:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:46 20:39:46 Login Succeeded 20:39:46 nexus3.edgexfoundry.org:10002 20:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:46 Configure a credential helper to remove this warning. See 20:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:46 20:39:46 Login Succeeded 20:39:46 nexus3.edgexfoundry.org:10003 20:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:46 Configure a credential helper to remove this warning. See 20:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:46 20:39:46 Login Succeeded 20:39:46 nexus3.edgexfoundry.org:10004 20:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:46 Configure a credential helper to remove this warning. See 20:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:46 20:39:46 Login Succeeded 20:39:46 docker.io 20:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:47 Configure a credential helper to remove this warning. See 20:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:47 20:39:47 Login Succeeded 20:39:47 ---> docker-login.sh ends [Pipeline] } 20:39:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:39:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:47 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 20:39:47 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:39:47 latest 20:39:47 3.0.0 20:39:47 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 20:39:47 main 20:39:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:47 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:39:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:39:47 0a9f1009ec47: Preparing 20:39:47 2747137c310c: Preparing 20:39:47 41c611e8c50e: Preparing 20:39:47 4bbc49755521: Preparing 20:39:47 f1417ff83b31: Preparing 20:39:47 f1417ff83b31: Layer already exists 20:39:47 2747137c310c: Pushed 20:39:47 4bbc49755521: Pushed 20:39:47 0a9f1009ec47: Pushed 20:39:50 41c611e8c50e: Pushed 20:39:50 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:50 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 20:39:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:39:51 0a9f1009ec47: Preparing 20:39:51 2747137c310c: Preparing 20:39:51 41c611e8c50e: Preparing 20:39:51 4bbc49755521: Preparing 20:39:51 f1417ff83b31: Preparing 20:39:51 2747137c310c: Layer already exists 20:39:51 4bbc49755521: Layer already exists 20:39:51 41c611e8c50e: Layer already exists 20:39:51 f1417ff83b31: Layer already exists 20:39:51 0a9f1009ec47: Layer already exists 20:39:51 latest: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:51 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0 20:39:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:39:51 0a9f1009ec47: Preparing 20:39:51 2747137c310c: Preparing 20:39:51 41c611e8c50e: Preparing 20:39:51 4bbc49755521: Preparing 20:39:51 f1417ff83b31: Preparing 20:39:51 4bbc49755521: Layer already exists 20:39:51 2747137c310c: Layer already exists 20:39:51 41c611e8c50e: Layer already exists 20:39:51 f1417ff83b31: Layer already exists 20:39:51 0a9f1009ec47: Layer already exists 20:39:51 3.0.0: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 20:39:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:39:52 0a9f1009ec47: Preparing 20:39:52 2747137c310c: Preparing 20:39:52 41c611e8c50e: Preparing 20:39:52 4bbc49755521: Preparing 20:39:52 f1417ff83b31: Preparing 20:39:52 f1417ff83b31: Layer already exists 20:39:52 41c611e8c50e: Layer already exists 20:39:52 4bbc49755521: Layer already exists 20:39:52 0a9f1009ec47: Layer already exists 20:39:52 2747137c310c: Layer already exists 20:39:52 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 20:39:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:39:53 0a9f1009ec47: Preparing 20:39:53 2747137c310c: Preparing 20:39:53 41c611e8c50e: Preparing 20:39:53 4bbc49755521: Preparing 20:39:53 f1417ff83b31: Preparing 20:39:53 0a9f1009ec47: Layer already exists 20:39:53 2747137c310c: Layer already exists 20:39:53 41c611e8c50e: Layer already exists 20:39:53 4bbc49755521: Layer already exists 20:39:53 f1417ff83b31: Layer already exists 20:39:53 main: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:39:53 ===================================================== [Pipeline] echo 20:39:53 taggedImages: 20:39:53 - nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:39:53 - nexus3.edgexfoundry.org:10004/device-snmp:latest 20:39:53 - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0 20:39:53 - nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 20:39:53 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:53 20:39:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:54 latest: Pulling from edgex-lftools-log-publisher 20:39:54 5eb5b503b376: Pulling fs layer 20:39:54 5c69ac0246d0: Pulling fs layer 20:39:54 ec43610c2a17: Pulling fs layer 20:39:54 3a2ae6a8a46f: Pulling fs layer 20:39:54 33b1e0a273af: Pulling fs layer 20:39:54 5d3b04190fa2: Pulling fs layer 20:39:54 2f39f015ded8: Pulling fs layer 20:39:54 3a2ae6a8a46f: Waiting 20:39:54 33b1e0a273af: Waiting 20:39:54 5d3b04190fa2: Waiting 20:39:54 2f39f015ded8: Waiting 20:39:54 5c69ac0246d0: Verifying Checksum 20:39:54 5c69ac0246d0: Download complete 20:39:54 3a2ae6a8a46f: Verifying Checksum 20:39:54 3a2ae6a8a46f: Download complete 20:39:54 33b1e0a273af: Verifying Checksum 20:39:54 33b1e0a273af: Download complete 20:39:54 5d3b04190fa2: Verifying Checksum 20:39:54 5d3b04190fa2: Download complete 20:39:54 ec43610c2a17: Verifying Checksum 20:39:54 ec43610c2a17: Download complete 20:39:54 5eb5b503b376: Verifying Checksum 20:39:54 5eb5b503b376: Download complete 20:39:54 2f39f015ded8: Download complete 20:39:55 5eb5b503b376: Pull complete 20:39:56 5c69ac0246d0: Pull complete 20:39:56 ec43610c2a17: Pull complete 20:39:57 3a2ae6a8a46f: Pull complete 20:39:57 33b1e0a273af: Pull complete 20:39:57 5d3b04190fa2: Pull complete 20:40:03 2f39f015ded8: Pull complete 20:40:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:03 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:40:03 $ 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_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:40:10 $ docker top adde2154217c51786ff5f2c8c6d84dfaabfa3cf4e8957fac8a42459b3d01dade -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:11 ---> job-cost.sh 20:40:11 lf-activate-venv: SKIPPING 20:40:11 INFO: No Stack... 20:40:11 INFO: Retrieving Pricing Info for: v3-standard-8 20:40:11 INFO: Archiving Costs [Pipeline] sh 20:40:11 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 20:40:11 + cut -d, -f6 [Pipeline] lock 20:40:11 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] 20:40:11 Resource [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] did not exist. Created. 20:40:11 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:40:12 + echo total: 0.2199999988079071 [Pipeline] stash 20:40:12 Stashed 1 file(s) [Pipeline] } 20:40:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 20:40:12 $ docker stop --time=1 adde2154217c51786ff5f2c8c6d84dfaabfa3cf4e8957fac8a42459b3d01dade 20:40:13 $ docker rm -f --volumes adde2154217c51786ff5f2c8c6d84dfaabfa3cf4e8957fac8a42459b3d01dade [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:40:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17554 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 20:40:37 Running in /w/workspace/device-snmp-go/86 [Pipeline] { [Pipeline] checkout 20:40:37 Selected Git installation does not exist. Using Default 20:40:37 The recommended git tool is: NONE 20:40:44 using credential edgex-jenkins-ssh 20:40:44 Cloning the remote Git repository 20:40:44 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:40:44 > git init /w/workspace/device-snmp-go/86 # timeout=10 20:40:44 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:40:44 > git --version # timeout=10 20:40:44 > git --version # 'git version 2.25.1' 20:40:44 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:46 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:40:47 Avoid second fetch 20:40:47 Checking out Revision 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 (main) 20:40:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:47 > git config core.sparsecheckout # timeout=10 20:40:47 > git checkout -f 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 20:40:47 Commit message: "docs: Add main branch warning (#314)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:40:48 % Total % Received % Xferd Average Speed Time Time Time Current 20:40:48 Dload Upload Total Spent Left Speed 20:40:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 20:40:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:40:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:40:49 + sudo tee /etc/docker/daemon.new 20:40:49 { 20:40:49 "registry-mirrors": [ 20:40:49 "https://nexus3.edgexfoundry.org:10001" 20:40:49 ], 20:40:49 "bip": "10.250.0.254/24", 20:40:49 "hosts": [ 20:40:49 "tcp://0.0.0.0:5555", 20:40:49 "unix:///var/run/docker.sock" 20:40:49 ], 20:40:49 "mtu": 1458, 20:40:49 "selinux-enabled": true, 20:40:49 "seccomp-profile": "/etc/docker/seccomp.json" 20:40:49 } [Pipeline] sh 20:40:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:40:50 + sudo service docker restart [Pipeline] sh 20:41:09 + git checkout 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:41:09 HEAD is now at 3a4f383 docs: Add main branch warning (#314) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:09 provisioning config files... 20:41:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/86@tmp/config17697660479847609737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:09 ---> docker-login.sh 20:41:09 nexus3.edgexfoundry.org:10001 20:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:10 Configure a credential helper to remove this warning. See 20:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:10 20:41:10 Login Succeeded 20:41:10 nexus3.edgexfoundry.org:10002 20:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:10 Configure a credential helper to remove this warning. See 20:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:10 20:41:10 Login Succeeded 20:41:10 nexus3.edgexfoundry.org:10003 20:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:11 Configure a credential helper to remove this warning. See 20:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:11 20:41:11 Login Succeeded 20:41:11 nexus3.edgexfoundry.org:10004 20:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:11 Configure a credential helper to remove this warning. See 20:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:11 20:41:11 Login Succeeded 20:41:11 docker.io 20:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:12 Configure a credential helper to remove this warning. See 20:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:12 20:41:12 Login Succeeded 20:41:12 ---> docker-login.sh ends [Pipeline] } 20:41:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:12 ========================================================= 20:41:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:41:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:41:13 Sending build context to Docker daemon 3.045MB 20:41:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:41:13 Step 2/12 : FROM ${BASE} AS builder 20:41:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:41:13 c41833b44d91: Pulling fs layer 20:41:13 ed15518f5707: Pulling fs layer 20:41:13 feae8fd75edb: Pulling fs layer 20:41:13 242c74f7c9fa: Pulling fs layer 20:41:13 242c74f7c9fa: Waiting 20:41:13 3cdef696dda3: Pulling fs layer 20:41:13 2ced38df9373: Pulling fs layer 20:41:13 58f1dce35555: Pulling fs layer 20:41:13 3cdef696dda3: Waiting 20:41:13 2ced38df9373: Waiting 20:41:13 ed15518f5707: Verifying Checksum 20:41:13 ed15518f5707: Download complete 20:41:13 242c74f7c9fa: Verifying Checksum 20:41:13 242c74f7c9fa: Download complete 20:41:13 3cdef696dda3: Verifying Checksum 20:41:13 3cdef696dda3: Download complete 20:41:13 c41833b44d91: Verifying Checksum 20:41:13 c41833b44d91: Download complete 20:41:14 c41833b44d91: Pull complete 20:41:15 58f1dce35555: Verifying Checksum 20:41:15 58f1dce35555: Download complete 20:41:15 ed15518f5707: Pull complete 20:41:16 feae8fd75edb: Verifying Checksum 20:41:16 feae8fd75edb: Download complete 20:41:16 2ced38df9373: Verifying Checksum 20:41:16 2ced38df9373: Download complete 20:41:29 feae8fd75edb: Pull complete 20:41:29 242c74f7c9fa: Pull complete 20:41:29 3cdef696dda3: Pull complete 20:41:37 2ced38df9373: Pull complete 20:41:40 58f1dce35555: Pull complete 20:41:40 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:41:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:41:40 ---> fadd8f120f05 20:41:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:41:42 ---> Running in f7d1e7427ff3 20:41:42 Removing intermediate container f7d1e7427ff3 20:41:42 ---> 63a7ecefd8b2 20:41:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:42 ---> Running in e23bee197abd 20:41:43 Removing intermediate container e23bee197abd 20:41:43 ---> eb43fe7019bd 20:41:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:41:43 ---> Running in 377def911684 20:41:43 Removing intermediate container 377def911684 20:41:43 ---> 617178db1cda 20:41:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:41:44 ---> Running in 3422a8b047b4 20:41:44 Removing intermediate container 3422a8b047b4 20:41:44 ---> bd93848b44f1 20:41:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:44 ---> Running in b3784560eef8 20:41:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:41:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:41:48 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:41:48 (2/4) Installing libedit (20221030.3.1-r0) 20:41:48 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:41:48 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:41:48 Executing busybox-1.35.0-r29.trigger 20:41:48 OK: 268 MiB in 57 packages 20:41:50 Removing intermediate container b3784560eef8 20:41:50 ---> aa2bad574a91 20:41:50 Step 8/12 : WORKDIR /device-snmp-go 20:41:50 ---> Running in b178fb35250a 20:41:50 Removing intermediate container b178fb35250a 20:41:50 ---> c41bfc78aa94 20:41:50 Step 9/12 : COPY go.mod vendor* ./ 20:41:51 ---> 31730b269132 20:41:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:51 ---> Running in 609f0eabe234 20:43:13 Removing intermediate container 609f0eabe234 20:43:13 ---> e3d6071af76a 20:43:13 Step 11/12 : COPY . . 20:43:13 ---> e19e99e0a70b 20:43:13 Step 12/12 : RUN ${MAKE} 20:43:13 ---> Running in c636e328f998 20:43:13 noop 20:43:13 Removing intermediate container c636e328f998 20:43:13 ---> 5098d406c034 20:43:13 Successfully built 5098d406c034 20:43:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:14 + docker inspect -f . ci-base-image-arm64 20:43:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:14 prd-ubuntu20.04-docker-arm64-4c-16g-17554 does not seem to be running inside a container 20:43:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/86 -v /w/workspace/device-snmp-go/86:/w/workspace/device-snmp-go/86:rw,z -v /w/workspace/device-snmp-go/86@tmp:/w/workspace/device-snmp-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:16 $ docker top 39d589c93d56800fb20109d848322584a610ed6070ca3c74472ac73964892b4b -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:16 + go version 20:43:16 go version go1.20.2 linux/arm64 [Pipeline] } 20:43:17 $ docker stop --time=1 39d589c93d56800fb20109d848322584a610ed6070ca3c74472ac73964892b4b 20:43:18 $ docker rm -f --volumes 39d589c93d56800fb20109d848322584a610ed6070ca3c74472ac73964892b4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:19 + docker inspect -f . ci-base-image-arm64 20:43:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:19 prd-ubuntu20.04-docker-arm64-4c-16g-17554 does not seem to be running inside a container 20:43:19 $ 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/86 -v /w/workspace/device-snmp-go/86:/w/workspace/device-snmp-go/86:rw,z -v /w/workspace/device-snmp-go/86@tmp:/w/workspace/device-snmp-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:21 $ docker top 31a8bdec33e6bcd6894e7cbc45b934c3429d3c2dcee7b7630963af88c11278b1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:22 + git config --global --add safe.directory /w/workspace/device-snmp-go/86 [Pipeline] fileExists [Pipeline] sh 20:43:23 + make test 20:43:23 go test ./... -coverprofile=coverage.out 20:44:09 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:46:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:46:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.054s coverage: 0.0% of statements 20:46:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:46:48 go vet ./... 20:47:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:47:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:47:15 ./bin/test-attribution-txt.sh [Pipeline] echo 20:47:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:47:15 $ docker stop --time=1 31a8bdec33e6bcd6894e7cbc45b934c3429d3c2dcee7b7630963af88c11278b1 20:47:17 $ docker rm -f --volumes 31a8bdec33e6bcd6894e7cbc45b934c3429d3c2dcee7b7630963af88c11278b1 [Pipeline] // withDockerContainer [Pipeline] sh 20:47:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:47:18 Warning: overwriting stash ‘coverage-report’ 20:47:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:47:20 + ls -al . 20:47:20 total 168 20:47:20 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:43 . 20:47:20 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:40 .. 20:47:20 -rw-rw-r-- 1 jenkins jenkins 6 May 31 20:40 .dockerignore 20:47:20 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:41 .git 20:47:20 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 .github 20:47:20 -rw-rw-r-- 1 jenkins jenkins 328 May 31 20:40 .gitignore 20:47:20 -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:40 .golangci.yml 20:47:20 -rw-rw-r-- 1 jenkins jenkins 9056 May 31 20:40 Attribution.txt 20:47:20 -rw-rw-r-- 1 jenkins jenkins 10534 May 31 20:40 CHANGELOG.md 20:47:20 -rw-rw-r-- 1 jenkins jenkins 1423 May 31 20:40 Dockerfile 20:47:20 -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:40 GOVERNANCE.md 20:47:20 -rw-rw-r-- 1 jenkins jenkins 656 May 31 20:40 Jenkinsfile 20:47:20 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:40 LICENSE 20:47:20 -rw-rw-r-- 1 jenkins jenkins 2114 May 31 20:40 Makefile 20:47:20 -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:40 OWNERS.md 20:47:20 -rw-rw-r-- 1 jenkins jenkins 10559 May 31 20:40 README.md 20:47:20 -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:37 VERSION 20:47:20 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:40 bin 20:47:20 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 cmd 20:47:20 -rw-r--r-- 1 jenkins jenkins 8837 May 31 20:46 coverage.out 20:47:20 -rw-rw-r-- 1 jenkins jenkins 3235 May 31 20:40 go.mod 20:47:20 -rw-rw-r-- 1 jenkins jenkins 31230 May 31 20:40 go.sum 20:47:20 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 internal 20:47:20 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:40 snap 20:47:20 -rw-rw-r-- 1 jenkins jenkins 228 May 31 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:20 + 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=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 --label arch=arm64 --label version=3.0.0 . 20:47:20 Sending build context to Docker daemon 3.055MB 20:47:20 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 20:47:20 Step 2/24 : FROM ${BASE} AS builder 20:47:20 ---> 5098d406c034 20:47:20 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:47:20 ---> Running in 422d30ed454e 20:47:21 Removing intermediate container 422d30ed454e 20:47:21 ---> e602b6382b70 20:47:21 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:47:21 ---> Running in 2c260fc4630c 20:47:21 Removing intermediate container 2c260fc4630c 20:47:21 ---> 1d65a22e6407 20:47:21 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:47:21 ---> Running in d8c33f3d3863 20:47:22 Removing intermediate container d8c33f3d3863 20:47:22 ---> eaf219ff551c 20:47:22 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:47:22 ---> Running in 52ae6a7356fa 20:47:22 Removing intermediate container 52ae6a7356fa 20:47:22 ---> c12a06ed6e83 20:47:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:22 ---> Running in ff956602319b 20:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:47:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:47:26 OK: 268 MiB in 57 packages 20:47:27 Removing intermediate container ff956602319b 20:47:27 ---> a217903eadcd 20:47:27 Step 8/24 : WORKDIR /device-snmp-go 20:47:27 ---> Running in 97738834add1 20:47:27 Removing intermediate container 97738834add1 20:47:27 ---> 486fda53002a 20:47:27 Step 9/24 : COPY go.mod vendor* ./ 20:47:28 ---> 02fb0baaf6f5 20:47:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:28 ---> Running in a793b980ba65 20:47:31 Removing intermediate container a793b980ba65 20:47:31 ---> b6cd17e05401 20:47:31 Step 11/24 : COPY . . 20:47:32 ---> 6aafcfd1536a 20:47:32 Step 12/24 : RUN ${MAKE} 20:47:32 ---> Running in 19f615197d6f 20:47:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 20:50:25 Removing intermediate container 19f615197d6f 20:50:25 ---> d4b3b6ed7282 20:50:25 Step 13/24 : FROM alpine:3.17 20:50:25 3.17: Pulling from library/alpine 20:50:25 c41833b44d91: Already exists 20:50:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:50:25 Status: Downloaded newer image for alpine:3.17 20:50:25 ---> 51e60588ff2c 20:50:25 Step 14/24 : RUN apk add --update --no-cache dumb-init 20:50:25 ---> Running in f524b383a0df 20:50:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:50:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:50:26 (1/1) Installing dumb-init (1.2.5-r2) 20:50:26 Executing busybox-1.35.0-r29.trigger 20:50:26 OK: 8 MiB in 16 packages 20:50:27 Removing intermediate container f524b383a0df 20:50:27 ---> bf1b02c9ebac 20:50:27 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:50:28 ---> c103c147adfe 20:50:28 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:50:29 ---> 104ec05f48cb 20:50:29 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:50:29 ---> b4c322bbcc59 20:50:29 Step 18/24 : EXPOSE 59993 20:50:29 ---> Running in 040c3c500108 20:50:30 Removing intermediate container 040c3c500108 20:50:30 ---> 62bb8db729da 20:50:30 Step 19/24 : EXPOSE 161 20:50:30 ---> Running in c1b56932ba80 20:50:30 Removing intermediate container c1b56932ba80 20:50:30 ---> bb9b8f466815 20:50:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:50:30 ---> Running in 08a2eb16650e 20:50:31 Removing intermediate container 08a2eb16650e 20:50:31 ---> 3898455f2be2 20:50:31 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:50:31 ---> Running in 3f231225466f 20:50:31 Removing intermediate container 3f231225466f 20:50:31 ---> c117ee921d66 20:50:31 Step 22/24 : LABEL arch=arm64 20:50:31 ---> Running in a43f47158684 20:50:32 Removing intermediate container a43f47158684 20:50:32 ---> ef46424ee581 20:50:32 Step 23/24 : LABEL git_sha=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:50:32 ---> Running in 89702914a042 20:50:32 Removing intermediate container 89702914a042 20:50:32 ---> e4d2efd84f19 20:50:32 Step 24/24 : LABEL version=3.0.0 20:50:32 ---> Running in cd0875cf5d87 20:50:33 Removing intermediate container cd0875cf5d87 20:50:33 ---> 4f4d5cc637f3 20:50:33 [Warning] One or more build-args [ARCH] were not consumed 20:50:33 Successfully built 4f4d5cc637f3 20:50:33 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 20:50:33 provisioning config files... 20:50:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/86@tmp/config14300891923615411584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:33 ---> docker-login.sh 20:50:33 nexus3.edgexfoundry.org:10001 20:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:34 Configure a credential helper to remove this warning. See 20:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:34 20:50:34 Login Succeeded 20:50:34 nexus3.edgexfoundry.org:10002 20:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:34 Configure a credential helper to remove this warning. See 20:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:34 20:50:34 Login Succeeded 20:50:34 nexus3.edgexfoundry.org:10003 20:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:34 Configure a credential helper to remove this warning. See 20:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:34 20:50:34 Login Succeeded 20:50:35 nexus3.edgexfoundry.org:10004 20:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:35 Configure a credential helper to remove this warning. See 20:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:35 20:50:35 Login Succeeded 20:50:35 docker.io 20:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:35 Configure a credential helper to remove this warning. See 20:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:35 20:50:35 Login Succeeded 20:50:35 ---> docker-login.sh ends [Pipeline] } 20:50:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:50:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:36 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 20:50:36 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:50:36 latest 20:50:36 3.0.0 20:50:36 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 20:50:36 main 20:50:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:36 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:50:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:50:36 73424e2acb80: Preparing 20:50:36 be7aab254db4: Preparing 20:50:36 b9bc828a1a8b: Preparing 20:50:36 9adc9aa6db96: Preparing 20:50:36 26cbea5cba74: Preparing 20:50:36 26cbea5cba74: Layer already exists 20:50:37 be7aab254db4: Pushed 20:50:37 9adc9aa6db96: Pushed 20:50:37 73424e2acb80: Pushed 20:50:43 b9bc828a1a8b: Pushed 20:50:43 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:44 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 20:50:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:50:44 73424e2acb80: Preparing 20:50:44 be7aab254db4: Preparing 20:50:44 b9bc828a1a8b: Preparing 20:50:44 9adc9aa6db96: Preparing 20:50:44 26cbea5cba74: Preparing 20:50:44 be7aab254db4: Layer already exists 20:50:44 73424e2acb80: Layer already exists 20:50:44 b9bc828a1a8b: Layer already exists 20:50:44 9adc9aa6db96: Layer already exists 20:50:44 26cbea5cba74: Layer already exists 20:50:44 latest: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:45 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0 20:50:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:50:45 73424e2acb80: Preparing 20:50:45 be7aab254db4: Preparing 20:50:45 b9bc828a1a8b: Preparing 20:50:45 9adc9aa6db96: Preparing 20:50:45 26cbea5cba74: Preparing 20:50:45 73424e2acb80: Layer already exists 20:50:45 be7aab254db4: Layer already exists 20:50:45 26cbea5cba74: Layer already exists 20:50:45 b9bc828a1a8b: Layer already exists 20:50:45 9adc9aa6db96: Layer already exists 20:50:45 3.0.0: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:46 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 20:50:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:50:46 73424e2acb80: Preparing 20:50:46 be7aab254db4: Preparing 20:50:46 b9bc828a1a8b: Preparing 20:50:46 9adc9aa6db96: Preparing 20:50:46 26cbea5cba74: Preparing 20:50:46 be7aab254db4: Layer already exists 20:50:46 26cbea5cba74: Layer already exists 20:50:46 9adc9aa6db96: Layer already exists 20:50:46 73424e2acb80: Layer already exists 20:50:46 b9bc828a1a8b: Layer already exists 20:50:46 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:47 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 20:50:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:50:47 73424e2acb80: Preparing 20:50:47 be7aab254db4: Preparing 20:50:47 b9bc828a1a8b: Preparing 20:50:47 9adc9aa6db96: Preparing 20:50:47 26cbea5cba74: Preparing 20:50:47 26cbea5cba74: Layer already exists 20:50:47 b9bc828a1a8b: Layer already exists 20:50:47 9adc9aa6db96: Layer already exists 20:50:47 73424e2acb80: Layer already exists 20:50:47 be7aab254db4: Layer already exists 20:50:47 main: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:50:47 ===================================================== [Pipeline] echo 20:50:47 taggedImages: 20:50:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 20:50:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 20:50:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0 20:50:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 20:50:47 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:48 20:50:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:48 arm64: Pulling from edgex-lftools-log-publisher 20:50:48 8998bd30e6a1: Pulling fs layer 20:50:48 04944245beec: Pulling fs layer 20:50:48 699f458cf7ca: Pulling fs layer 20:50:48 765212b225bb: Pulling fs layer 20:50:48 f23df028b6ca: Pulling fs layer 20:50:48 d65c8cfc05b1: Pulling fs layer 20:50:48 2437ff75d9bd: Pulling fs layer 20:50:48 765212b225bb: Waiting 20:50:48 f23df028b6ca: Waiting 20:50:48 d65c8cfc05b1: Waiting 20:50:48 2437ff75d9bd: Waiting 20:50:48 04944245beec: Verifying Checksum 20:50:48 04944245beec: Download complete 20:50:48 765212b225bb: Download complete 20:50:48 f23df028b6ca: Download complete 20:50:48 d65c8cfc05b1: Verifying Checksum 20:50:48 d65c8cfc05b1: Download complete 20:50:49 699f458cf7ca: Verifying Checksum 20:50:49 699f458cf7ca: Download complete 20:50:49 8998bd30e6a1: Verifying Checksum 20:50:49 8998bd30e6a1: Download complete 20:50:51 2437ff75d9bd: Verifying Checksum 20:50:51 2437ff75d9bd: Download complete 20:50:54 8998bd30e6a1: Pull complete 20:50:54 04944245beec: Pull complete 20:50:55 699f458cf7ca: Pull complete 20:50:56 765212b225bb: Pull complete 20:50:57 f23df028b6ca: Pull complete 20:50:57 d65c8cfc05b1: Pull complete 20:51:12 2437ff75d9bd: Pull complete 20:51:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:51:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:12 prd-ubuntu20.04-docker-arm64-4c-16g-17554 does not seem to be running inside a container 20:51:12 $ 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/86 -v /w/workspace/device-snmp-go/86:/w/workspace/device-snmp-go/86:rw,z -v /w/workspace/device-snmp-go/86@tmp:/w/workspace/device-snmp-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:51:15 $ docker top 5d6957c36cc59f94fc51949cf205426a320d55bbdd64c569cf8cfcd9ad69bd69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:16 ---> job-cost.sh 20:51:16 lf-activate-venv: SKIPPING 20:51:16 INFO: No Stack... 20:51:17 INFO: Retrieving Pricing Info for: v3-standard-4 20:51:17 INFO: Archiving Costs [Pipeline] sh 20:51:18 + cat /w/workspace/device-snmp-go/86/archives/cost.csv 20:51:18 + cut -d, -f6 [Pipeline] lock 20:51:18 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] 20:51:18 Resource [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] did not exist. Created. 20:51:18 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:51:19 /w/workspace/device-snmp-go/86@tmp/durable-b6e079a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:51:20 + echo total: 0.10999999940395355 [Pipeline] stash 20:51:20 Warning: overwriting stash ‘stack-cost’ 20:51:20 Stashed 1 file(s) [Pipeline] } 20:51:20 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 20:51:20 $ docker stop --time=1 5d6957c36cc59f94fc51949cf205426a320d55bbdd64c569cf8cfcd9ad69bd69 20:51:21 $ docker rm -f --volumes 5d6957c36cc59f94fc51949cf205426a320d55bbdd64c569cf8cfcd9ad69bd69 [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 20:51:22 provisioning config files... 20:51:22 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4202957234481859269tmp [Pipeline] { [Pipeline] sh 20:51:22 + set +x 20:51:22 + curl -s https://codecov.io/bash 20:51:22 + bash -s -- 20:51:22 20:51:22 _____ _ 20:51:22 / ____| | | 20:51:22 | | ___ __| | ___ ___ _____ __ 20:51:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:51:22 | |___| (_) | (_| | __/ (_| (_) \ V / 20:51:22 \_____\___/ \__,_|\___|\___\___/ \_/ 20:51:22 Bash-1.0.6 20:51:22 20:51:22 20:51:22 ==> git version 2.25.1 found 20:51:22 ==> 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 20:51:22 Release-Date: 2020-01-08 20:51:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:51:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:51:22 ==> Jenkins CI detected. 20:51:22 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 20:51:22 project root: . 20:51:22 --> token set from env 20:51:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:51:22 ==> Running gcov in . (disable via -X gcov) 20:51:22 ==> Python coveragepy not found 20:51:22 ==> Searching for coverage reports in: 20:51:22 + . 20:51:22 -> Found 1 reports 20:51:22 ==> Detecting git/mercurial file structure 20:51:22 ==> Reading reports 20:51:22 + ./coverage.out bytes=8837 20:51:22 ==> Appending adjustments 20:51:22 https://docs.codecov.io/docs/fixing-reports 20:51:22 + Found adjustments 20:51:22 ==> Gzipping contents 20:51:22 4.0K /tmp/codecov.i6alwa.gz 20:51:22 ==> Uploading reports 20:51:22 url: https://codecov.io 20:51:22 query: branch=main&commit=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:51:22 -> Pinging Codecov 20:51:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:51:22 -> Uploading to 20:51:22 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/6C56EA5C29638FB4528AC87E60AF5AE0/3a4f383a77d0147d8cfd096fa38d6fefa237b1d0/a052f7e6-1c4d-4729-87f2-8fbd4535d7e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T205122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24da8497ff16189c1359b26b77573b2179f1def02161d0613ed2a79e3f54b6f7 20:51:22 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:22 Dload Upload Total Spent Left Speed 20:51:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8020 --:--:-- --:--:-- --:--:-- 8020 100 1604 0 0 100 1604 0 8020 --:--:-- --:--:-- --:--:-- 7980 20:51:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } 20:51:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:51:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:51:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:51:23 20:51:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:51:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:51:23 df9b9388f04a: Pulling fs layer 20:51:23 52dc419b0ee2: Pulling fs layer 20:51:23 25bc292e5bac: Pulling fs layer 20:51:23 114826534d7a: Pulling fs layer 20:51:23 4657fd5d0bcf: Pulling fs layer 20:51:23 6ad1cebc031e: Pulling fs layer 20:51:23 8a3aa393b2d8: Pulling fs layer 20:51:23 114826534d7a: Waiting 20:51:23 4657fd5d0bcf: Waiting 20:51:23 6ad1cebc031e: Waiting 20:51:23 8a3aa393b2d8: Waiting 20:51:23 25bc292e5bac: Verifying Checksum 20:51:23 25bc292e5bac: Download complete 20:51:23 52dc419b0ee2: Verifying Checksum 20:51:23 52dc419b0ee2: Download complete 20:51:23 4657fd5d0bcf: Download complete 20:51:23 df9b9388f04a: Download complete 20:51:24 6ad1cebc031e: Verifying Checksum 20:51:24 6ad1cebc031e: Download complete 20:51:24 df9b9388f04a: Pull complete 20:51:24 52dc419b0ee2: Pull complete 20:51:24 114826534d7a: Verifying Checksum 20:51:24 114826534d7a: Download complete 20:51:24 25bc292e5bac: Pull complete 20:51:24 8a3aa393b2d8: Verifying Checksum 20:51:24 8a3aa393b2d8: Download complete 20:51:27 114826534d7a: Pull complete 20:51:27 4657fd5d0bcf: Pull complete 20:51:28 6ad1cebc031e: Pull complete 20:51:31 8a3aa393b2d8: Pull complete 20:51:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:51:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:51:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:31 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:51:31 $ 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_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:51:35 $ docker top be76075e89f52c31eb6abb5486d9911b36c99bbbb89cdd65b8bceab797ecd48b -eo pid,comm [Pipeline] { [Pipeline] echo 20:51:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 20:51:35 + set -o pipefail 20:51:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 20:51:40 20:51:40 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 20:51:40 20:51:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/47334fd7-9245-49ec-94d3-6b793313d2b1 20:51:40 20:51:40 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:51:40 20:51:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:51:40 20:51:40 20:51:40 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:51:40 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:51:40 More details here: https://snyk.co/ue1NS [Pipeline] } 20:51:40 $ docker stop --time=1 be76075e89f52c31eb6abb5486d9911b36c99bbbb89cdd65b8bceab797ecd48b 20:51:43 $ docker rm -f --volumes be76075e89f52c31eb6abb5486d9911b36c99bbbb89cdd65b8bceab797ecd48b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:51:43 + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] sh 20:51:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:51:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:51:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:44 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:51:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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/py-git-semver:0.1.4 cat 20:51:44 $ docker top eb77504d3cd170fabb4c96fd02c9c30fa2170547b1abf864658f7dfacbf05c21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:51:45 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:51:45 + git semver [Pipeline] } 20:51:45 $ docker stop --time=1 eb77504d3cd170fabb4c96fd02c9c30fa2170547b1abf864658f7dfacbf05c21 20:51:46 $ docker rm -f --volumes eb77504d3cd170fabb4c96fd02c9c30fa2170547b1abf864658f7dfacbf05c21 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:47 20:51:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:47 0.23.1-centos7: Pulling from edgex-lftools 20:51:47 ab5ef0e58194: Pulling fs layer 20:51:47 9712f1f96733: Pulling fs layer 20:51:47 63f879dbbcfc: Pulling fs layer 20:51:47 0d9ebad4ef96: Pulling fs layer 20:51:47 e9a5061849ea: Pulling fs layer 20:51:47 d747dcd14b5f: Pulling fs layer 20:51:47 2de7ff778b66: Pulling fs layer 20:51:47 e9a5061849ea: Waiting 20:51:47 d747dcd14b5f: Waiting 20:51:47 2de7ff778b66: Waiting 20:51:47 0d9ebad4ef96: Waiting 20:51:47 9712f1f96733: Verifying Checksum 20:51:47 9712f1f96733: Download complete 20:51:47 63f879dbbcfc: Verifying Checksum 20:51:47 63f879dbbcfc: Download complete 20:51:48 0d9ebad4ef96: Verifying Checksum 20:51:48 0d9ebad4ef96: Download complete 20:51:48 e9a5061849ea: Verifying Checksum 20:51:48 e9a5061849ea: Download complete 20:51:48 d747dcd14b5f: Download complete 20:51:48 ab5ef0e58194: Verifying Checksum 20:51:48 ab5ef0e58194: Download complete 20:51:48 2de7ff778b66: Verifying Checksum 20:51:48 2de7ff778b66: Download complete 20:51:50 ab5ef0e58194: Pull complete 20:51:50 9712f1f96733: Pull complete 20:51:51 63f879dbbcfc: Pull complete 20:51:55 0d9ebad4ef96: Pull complete 20:51:55 e9a5061849ea: Pull complete 20:51:55 d747dcd14b5f: Pull complete 20:51:55 2de7ff778b66: Pull complete 20:51:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:51:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:51:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:56 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:51:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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:0.23.1-centos7 cat 20:52:00 $ docker top 560ff73ad7217490f5541d2d5ec926cedf0f034484e6b9ef95c57b885b435187 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:52:00 provisioning config files... 20:52:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12572764489121922934tmp 20:52:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3299124863098910370tmp 20:52:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5954911337466689429tmp [Pipeline] { [Pipeline] echo 20:52:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:52:01 ---> sigul-configuration.sh 20:52:01 gpg: directory `/root/.gnupg' created 20:52:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:52:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:52:01 gpg: keyring `/root/.gnupg/secring.gpg' created 20:52:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:52:01 gpg: CAST5 encrypted data 20:52:01 gpg: encrypted with 1 passphrase 20:52:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:52:01 + mkdir /home/jenkins 20:52:01 + mkdir /home/jenkins/sigul [Pipeline] sh 20:52:01 + 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 20:52:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:52:02 ---> sigul-install.sh 20:52:02 Sigul already installed; skipping installation. [Pipeline] sh 20:52:02 + git tag --list 20:52:02 1.0.0 20:52:02 v0.0.0 20:52:02 v1.1.0 20:52:02 v1.1.1 20:52:02 v1.2.2 20:52:02 v1.3.0 20:52:02 v1.3.1 20:52:02 v2.0.0 20:52:02 v2.1.0 20:52:02 v2.1.1 20:52:02 v2.1.1-dev.2 20:52:02 v2.1.1-dev.3 20:52:02 v2.2.0 20:52:02 v2.2.1-dev.1 20:52:02 v2.2.1-dev.2 20:52:02 v2.2.1-dev.3 20:52:02 v2.2.1-dev.4 20:52:02 v2.2.1-dev.5 20:52:02 v2.2.1-dev.6 20:52:02 v2.2.1-dev.7 20:52:02 v2.3.0 20:52:02 v2.3.0-dev.10 20:52:02 v2.3.0-dev.11 20:52:02 v2.3.0-dev.12 20:52:02 v2.3.0-dev.13 20:52:02 v2.3.0-dev.14 20:52:02 v2.3.0-dev.15 20:52:02 v2.3.0-dev.16 20:52:02 v2.3.0-dev.17 20:52:02 v2.3.0-dev.18 20:52:02 v2.3.0-dev.19 20:52:02 v2.3.0-dev.20 20:52:02 v2.3.0-dev.21 20:52:02 v2.3.0-dev.22 20:52:02 v2.3.0-dev.23 20:52:02 v2.3.0-dev.24 20:52:02 v2.3.0-dev.7 20:52:02 v2.3.0-dev.8 20:52:02 v2.3.0-dev.9 20:52:02 v3.0.0 20:52:02 v3.0.0-dev.1 20:52:02 v3.0.0-dev.10 20:52:02 v3.0.0-dev.11 20:52:02 v3.0.0-dev.12 20:52:02 v3.0.0-dev.13 20:52:02 v3.0.0-dev.14 20:52:02 v3.0.0-dev.15 20:52:02 v3.0.0-dev.16 20:52:02 v3.0.0-dev.17 20:52:02 v3.0.0-dev.18 20:52:02 v3.0.0-dev.19 20:52:02 v3.0.0-dev.2 20:52:02 v3.0.0-dev.20 20:52:02 v3.0.0-dev.21 20:52:02 v3.0.0-dev.22 20:52:02 v3.0.0-dev.23 20:52:02 v3.0.0-dev.24 20:52:02 v3.0.0-dev.25 20:52:02 v3.0.0-dev.26 20:52:02 v3.0.0-dev.27 20:52:02 v3.0.0-dev.28 20:52:02 v3.0.0-dev.3 20:52:02 v3.0.0-dev.4 20:52:02 v3.0.0-dev.5 20:52:02 v3.0.0-dev.6 20:52:02 v3.0.0-dev.7 20:52:02 v3.0.0-dev.8 20:52:02 v3.0.0-dev.9 [Pipeline] sh 20:52:02 + lftools sign git-tag v3.0.0 20:52:03 Signing Git tag with Sigul... 20:52:03 Signing v3.0.0 [Pipeline] echo 20:52:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:52:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:52:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:52:03 $ docker stop --time=1 560ff73ad7217490f5541d2d5ec926cedf0f034484e6b9ef95c57b885b435187 20:52:05 $ docker rm -f --volumes 560ff73ad7217490f5541d2d5ec926cedf0f034484e6b9ef95c57b885b435187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:52:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:05 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:52:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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/py-git-semver:0.1.4 cat 20:52:06 $ docker top ce7c206be974d4ec7080f10db17b610c9b257ad408130ee01109706fbcf9867e -eo pid,comm 20:52:06 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). 20:52:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:52:06 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:06 + git semver [Pipeline] } 20:52:06 $ docker stop --time=1 ce7c206be974d4ec7080f10db17b610c9b257ad408130ee01109706fbcf9867e 20:52:08 $ docker rm -f --volumes ce7c206be974d4ec7080f10db17b610c9b257ad408130ee01109706fbcf9867e [Pipeline] // withDockerContainer [Pipeline] sh 20:52:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:08 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:52:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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/py-git-semver:0.1.4 cat 20:52:09 $ docker top 1e21386ffa6aacf008be031226b1554fb03a913f5e820b9e6634426fbd190640 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:52:09 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:09 + git semver [Pipeline] } 20:52:09 $ docker stop --time=1 1e21386ffa6aacf008be031226b1554fb03a913f5e820b9e6634426fbd190640 20:52:11 $ docker rm -f --volumes 1e21386ffa6aacf008be031226b1554fb03a913f5e820b9e6634426fbd190640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:52:11 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 20:52:11 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:52:11 total 16 20:52:11 drwxr-xr-x 3 root root 4096 May 31 20:40 . 20:52:11 drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:52 .. 20:52:11 drwxr-xr-x 2 root root 4096 May 31 20:40 cost 20:52:11 -rw-r--r-- 1 root root 85 May 31 20:40 cost.csv 20:52:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:52:11 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:52:11 total 16 20:52:11 drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:40 . 20:52:11 drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:52 .. 20:52:11 drwxr-xr-x 2 jenkins jenkins 4096 May 31 20:40 cost 20:52:11 -rw-r--r-- 1 jenkins jenkins 85 May 31 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:52:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:52:12 ---> package-listing.sh 20:52:12 ++ facter osfamily 20:52:12 ++ tr '[:upper:]' '[:lower:]' 20:52:13 + OS_FAMILY=debian 20:52:13 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 20:52:13 + START_PACKAGES=/tmp/packages_start.txt 20:52:13 + END_PACKAGES=/tmp/packages_end.txt 20:52:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:52:13 + PACKAGES=/tmp/packages_start.txt 20:52:13 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 20:52:13 + PACKAGES=/tmp/packages_end.txt 20:52:13 + case "${OS_FAMILY}" in 20:52:13 + dpkg -l 20:52:13 + grep '^ii' 20:52:13 + '[' -f /tmp/packages_start.txt ']' 20:52:13 + '[' -f /tmp/packages_end.txt ']' 20:52:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:52:13 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 20:52:13 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 20:52:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 20:52:13 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:52:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:14 prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container 20:52:14 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 20:52:14 $ docker top f84df4f396e1bae0480b487da1d99c278946941184348cb84ee497c744ce1adc -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:14 + touch /tmp/pre-build-complete [Pipeline] sh 20:52:14 + mkdir -p /var/log/sysstat [Pipeline] sh 20:52:15 + ls /var/log/sa-host 20:52:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:15 provisioning config files... 20:52:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2039573392484223562tmp [Pipeline] { [Pipeline] echo 20:52:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:52:15 ---> create-netrc.sh [Pipeline] } 20:52:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:52:15 ---> python-tools-install.sh [Pipeline] echo 20:52:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:52:16 ---> sudo-logs.sh 20:52:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:52:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:52:16 ---> job-cost.sh 20:52:16 lf-activate-venv: SKIPPING 20:52:16 DEBUG: total: 0.2199999988079071 20:52:16 INFO: Retrieving Stack Cost... 20:52:16 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:17 INFO: Archiving Costs [Pipeline] echo 20:52:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:52:17 ---> logs-deploy.sh 20:52:17 lf-activate-venv: SKIPPING 20:52:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/86 20:52:17 INFO: archiving workspace using pattern(s): 20:52:18 Archives upload complete. 20:52:18 INFO: archiving logs to Nexus