Started by upstream project "edgexfoundry/cd-management/release-lts" build number 100 originally caused by: Started by user Cloud Tsai Replayed #97 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc530643a45e43a40de0f3bf07a8eacb42855caa 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-ssh5947276215063840316.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh9883121955431951703.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3913738430281463434.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh10830847038939176433.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13710444779257320025.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-40618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-40619’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-41143’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-41144’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41145’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41146’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41147’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41148’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41149’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41153’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41155 in /w/workspace/gexfoundry_device-snmp-go_odessa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_odessa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dc530643a45e43a40de0f3bf07a8eacb42855caa (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @1b78132" > git config core.sparsecheckout # timeout=10 > git checkout -f dc530643a45e43a40de0f3bf07a8eacb42855caa # timeout=10 > git rev-list --no-walk dc530643a45e43a40de0f3bf07a8eacb42855caa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:10:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:10:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:10:33 ========================================================= 11:10:33 EdgeX Global Pipelines Version Info 11:10:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:10:34 ------------------- 11:10:34 stable info: 11:10:34 ------------------- 11:10:34 Commited By: Cherry Wang cherry@iotechsys.com 11:10:34 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 11:10:34 Message: update stable to v1.0.271 11:10:34 ------------------- 11:10:34 experimental info: 11:10:34 ------------------- 11:10:34 Commited By: **** collab-it+edgex@linuxfoundation.org 11:10:34 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 11:10:34 Message: update experimental to v1.0.272 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc53064 [Pipeline] echo 11:10:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:35 provisioning config files... 11:10:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config13317710392537217930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:35 ---> ****-login.sh 11:10:35 nexus3.edgexfoundry.org:10001 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:35 Configure a credential helper to remove this warning. See 11:10:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:35 11:10:35 Login Succeeded 11:10:35 nexus3.edgexfoundry.org:10002 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:35 Configure a credential helper to remove this warning. See 11:10:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:35 11:10:35 Login Succeeded 11:10:35 nexus3.edgexfoundry.org:10003 11:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:36 Configure a credential helper to remove this warning. See 11:10:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:36 11:10:36 Login Succeeded 11:10:36 nexus3.edgexfoundry.org:10004 11:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:36 Configure a credential helper to remove this warning. See 11:10:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:36 11:10:36 Login Succeeded 11:10:36 ****.io 11:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:36 Configure a credential helper to remove this warning. See 11:10:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:36 11:10:36 Login Succeeded 11:10:36 ---> ****-login.sh ends [Pipeline] } 11:10:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:10:36 + git rev-list -1 --merges dc530643a45e43a40de0f3bf07a8eacb42855caa~1..dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] echo 11:10:36 -----------> git rev-list -1 --merges dc530643a45e43a40de0f3bf07a8eacb42855caa~1..dc530643a45e43a40de0f3bf07a8eacb42855caa dc530643a45e43a40de0f3bf07a8eacb42855caa [false] [Pipeline] sh 11:10:37 + git log --format=format:%s -1 dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] echo 11:10:37 ========================================================= 11:10:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 11:10:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:37 + git log --format=format:%s -1 dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] echo 11:10:37 [semverPrep] GIT_COMMIT: dc530643a45e43a40de0f3bf07a8eacb42855caa, Commit Message: ci(lts-release): LTS release v4.0.0 @1b78132 [Pipeline] echo 11:10:37 [semverPrep] This is not a build commit. [Pipeline] sh 11:10:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:10:38 + grep -v github /etc/ssh/ssh_known_hosts 11:10:38 + [ -e /tmp/ssh_known_hosts ] 11:10:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:10:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:10:38 + sudo tee -a /etc/ssh/ssh_known_hosts 11:10:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:38 11:10:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:38 0.1.4: Pulling from edgex-devops/py-git-semver 11:10:38 b85a868b505f: Pulling fs layer 11:10:38 e2be974225ed: Pulling fs layer 11:10:38 339a4e72a1f5: Pulling fs layer 11:10:38 988bab9f4d93: Pulling fs layer 11:10:38 1469e6f7b9e6: Pulling fs layer 11:10:38 eaf3925da568: Pulling fs layer 11:10:38 bab4dde63d76: Pulling fs layer 11:10:38 bde34c3a00c8: Pulling fs layer 11:10:38 b352a97aabf1: Pulling fs layer 11:10:38 4872d77fe225: Pulling fs layer 11:10:38 5851b861e8e6: Pulling fs layer 11:10:38 bab4dde63d76: Waiting 11:10:38 bde34c3a00c8: Waiting 11:10:38 988bab9f4d93: Waiting 11:10:38 1469e6f7b9e6: Waiting 11:10:38 eaf3925da568: Waiting 11:10:38 b352a97aabf1: Waiting 11:10:38 4872d77fe225: Waiting 11:10:38 5851b861e8e6: Waiting 11:10:38 e2be974225ed: Download complete 11:10:38 988bab9f4d93: Verifying Checksum 11:10:38 988bab9f4d93: Download complete 11:10:38 1469e6f7b9e6: Verifying Checksum 11:10:38 1469e6f7b9e6: Download complete 11:10:38 eaf3925da568: Verifying Checksum 11:10:38 eaf3925da568: Download complete 11:10:39 339a4e72a1f5: Verifying Checksum 11:10:39 339a4e72a1f5: Download complete 11:10:39 bde34c3a00c8: Download complete 11:10:39 b352a97aabf1: Verifying Checksum 11:10:39 b352a97aabf1: Download complete 11:10:39 4872d77fe225: Verifying Checksum 11:10:39 4872d77fe225: Download complete 11:10:39 5851b861e8e6: Download complete 11:10:39 b85a868b505f: Verifying Checksum 11:10:39 b85a868b505f: Download complete 11:10:39 bab4dde63d76: Verifying Checksum 11:10:39 bab4dde63d76: Download complete 11:10:40 b85a868b505f: Pull complete 11:10:40 e2be974225ed: Pull complete 11:10:41 339a4e72a1f5: Pull complete 11:10:41 988bab9f4d93: Pull complete 11:10:41 1469e6f7b9e6: Pull complete 11:10:41 eaf3925da568: Pull complete 11:10:43 bab4dde63d76: Pull complete 11:10:43 bde34c3a00c8: Pull complete 11:10:43 b352a97aabf1: Pull complete 11:10:43 4872d77fe225: Pull complete 11:10:43 5851b861e8e6: Pull complete 11:10:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:10:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:43 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:10:45 $ docker top 7f96b688dcbdae60439cc06f01a342e926f797d1b243f3c51a067b05eacbe58b -eo pid,comm 11:10:45 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). 11:10:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:10:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:45 [ssh-agent] Looking for ssh-agent implementation... 11:10:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:45 $ docker exec 7f96b688dcbdae60439cc06f01a342e926f797d1b243f3c51a067b05eacbe58b ssh-agent 11:10:45 SSH_AUTH_SOCK=/tmp/ssh-AUfd6Db8Y2cz/agent.31 11:10:45 SSH_AGENT_PID=37 11:10:45 Running ssh-add (command line suppressed) 11:10:45 Identity added: /w/workspace/gexfoundry_device-snmp-go_odessa@tmp/private_key_9484041833953813943.key (/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/private_key_9484041833953813943.key) 11:10:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:45 + git tag --points-at dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] } 11:10:45 $ docker exec --env ******** --env ******** 7f96b688dcbdae60439cc06f01a342e926f797d1b243f3c51a067b05eacbe58b ssh-agent -k 11:10:45 unset SSH_AUTH_SOCK; 11:10:45 unset SSH_AGENT_PID; 11:10:45 echo Agent pid 37 killed; 11:10:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:10:46 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 11:10:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:46 [ssh-agent] Looking for ssh-agent implementation... 11:10:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:46 $ docker exec 7f96b688dcbdae60439cc06f01a342e926f797d1b243f3c51a067b05eacbe58b ssh-agent 11:10:46 SSH_AUTH_SOCK=/tmp/ssh-EIRpvVTZbm5W/agent.70 11:10:46 SSH_AGENT_PID=76 11:10:46 Running ssh-add (command line suppressed) 11:10:46 Identity added: /w/workspace/gexfoundry_device-snmp-go_odessa@tmp/private_key_13475758777047199311.key (/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/private_key_13475758777047199311.key) 11:10:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:46 + git semver init 11:10:46 2025-03-12 11:10:46,903 [run_init] DEBUG init version:0.0.0 force:False 11:10:46 2025-03-12 11:10:46,904 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_odessa/.semver 11:10:46 2025-03-12 11:10:46,905 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_odessa/.semver 11:10:46 2025-03-12 11:10:46,905 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_odessa/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_odessa, universal_newlines=False, shell=None, istream=None) 11:10:48 2025-03-12 11:10:48,750 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_odessa/.git/info/exclude 11:10:48 2025-03-12 11:10:48,751 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_odessa/.semver/odessa with force:False 11:10:48 2025-03-12 11:10:48,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_odessa/.semver/odessa 11:10:48 2025-03-12 11:10:48,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_odessa/.semver/odessa 11:10:48 4.0.0 [Pipeline] } 11:10:48 $ docker exec --env ******** --env ******** 7f96b688dcbdae60439cc06f01a342e926f797d1b243f3c51a067b05eacbe58b ssh-agent -k 11:10:49 unset SSH_AUTH_SOCK; 11:10:49 unset SSH_AGENT_PID; 11:10:49 echo Agent pid 76 killed; 11:10:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:49 + git semver [Pipeline] } 11:10:49 $ docker stop --time=1 7f96b688dcbdae60439cc06f01a342e926f797d1b243f3c51a067b05eacbe58b 11:10:50 $ docker rm -f --volumes 7f96b688dcbdae60439cc06f01a342e926f797d1b243f3c51a067b05eacbe58b [Pipeline] // withDockerContainer [Pipeline] sh 11:10:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:10:51 Stashed 1 file(s) [Pipeline] echo 11:10:51 [edgeXSemver]: initialized semver on version 4.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 11:10:52 + git checkout dc530643a45e43a40de0f3bf07a8eacb42855caa 11:10:52 HEAD is now at dc53064 ci(lts-release): LTS release v4.0.0 @1b78132 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:52 provisioning config files... 11:10:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config5106213899013077217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:52 ---> ****-login.sh 11:10:52 nexus3.edgexfoundry.org:10001 11:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:52 Configure a credential helper to remove this warning. See 11:10:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:52 11:10:52 Login Succeeded 11:10:52 nexus3.edgexfoundry.org:10002 11:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:52 Configure a credential helper to remove this warning. See 11:10:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:52 11:10:52 Login Succeeded 11:10:52 nexus3.edgexfoundry.org:10003 11:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:52 Configure a credential helper to remove this warning. See 11:10:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:52 11:10:52 Login Succeeded 11:10:52 nexus3.edgexfoundry.org:10004 11:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:52 Configure a credential helper to remove this warning. See 11:10:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:52 11:10:52 Login Succeeded 11:10:52 ****.io 11:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:52 Configure a credential helper to remove this warning. See 11:10:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:52 11:10:52 Login Succeeded 11:10:52 ---> ****-login.sh ends [Pipeline] } 11:10:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:53 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:10:53 + grep ^go [0-9].[0-9]* go.mod 11:10:53 + cut -d -f 2 [Pipeline] echo 11:10:53 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:10:53 ========================================================= 11:10:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 11:10:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 11:10:54 Sending build context to Docker daemon 70.46MB 11:10:54 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:10:54 Step 2/12 : FROM ${BASE} AS builder 11:10:54 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 11:10:54 0a9a5dfd008f: Pulling fs layer 11:10:54 8833042f23b5: Pulling fs layer 11:10:54 6ca661eb024f: Pulling fs layer 11:10:54 b5acb76e9680: Pulling fs layer 11:10:54 4f4fb700ef54: Pulling fs layer 11:10:54 012bb1f9d321: Pulling fs layer 11:10:54 97255f1bc79d: Pulling fs layer 11:10:54 454448c9edf9: Pulling fs layer 11:10:54 15f87924ceaf: Pulling fs layer 11:10:54 b5acb76e9680: Waiting 11:10:54 4f4fb700ef54: Waiting 11:10:54 012bb1f9d321: Waiting 11:10:54 97255f1bc79d: Waiting 11:10:54 454448c9edf9: Waiting 11:10:54 15f87924ceaf: Waiting 11:10:54 8833042f23b5: Verifying Checksum 11:10:54 8833042f23b5: Download complete 11:10:54 b5acb76e9680: Verifying Checksum 11:10:54 4f4fb700ef54: Verifying Checksum 11:10:54 4f4fb700ef54: Download complete 11:10:54 012bb1f9d321: Download complete 11:10:54 0a9a5dfd008f: Download complete 11:10:54 97255f1bc79d: Verifying Checksum 11:10:54 97255f1bc79d: Download complete 11:10:54 0a9a5dfd008f: Pull complete 11:10:54 15f87924ceaf: Verifying Checksum 11:10:54 15f87924ceaf: Download complete 11:10:54 8833042f23b5: Pull complete 11:10:54 6ca661eb024f: Download complete 11:10:55 454448c9edf9: Verifying Checksum 11:10:55 454448c9edf9: Download complete 11:10:59 6ca661eb024f: Pull complete 11:10:59 b5acb76e9680: Pull complete 11:10:59 4f4fb700ef54: Pull complete 11:10:59 012bb1f9d321: Pull complete 11:10:59 97255f1bc79d: Pull complete 11:11:01 454448c9edf9: Pull complete 11:11:01 15f87924ceaf: Pull complete 11:11:01 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 11:11:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 11:11:01 ---> bc3d7bf65e23 11:11:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:11:03 ---> Running in a343c87fb4e3 11:11:03 Removing intermediate container a343c87fb4e3 11:11:03 ---> b1d3fc7b7548 11:11:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:11:03 ---> Running in d761b55a1030 11:11:03 Removing intermediate container d761b55a1030 11:11:03 ---> 074e6924f277 11:11:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:11:03 ---> Running in 626d6bf1fee0 11:11:03 Removing intermediate container 626d6bf1fee0 11:11:03 ---> 30d98688f6bc 11:11:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:11:03 ---> Running in 1331518ca121 11:11:03 Removing intermediate container 1331518ca121 11:11:03 ---> e3dae90995eb 11:11:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:03 ---> Running in 8749578aaff6 11:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:11:04 (1/4) Installing openssh-keygen (9.7_p1-r5) 11:11:04 (2/4) Installing libedit (20240517.3.1-r0) 11:11:04 (3/4) Installing openssh-client-common (9.7_p1-r5) 11:11:04 (4/4) Installing openssh-client-default (9.7_p1-r5) 11:11:05 Executing busybox-1.36.1-r29.trigger 11:11:05 OK: 252 MiB in 62 packages 11:11:05 Removing intermediate container 8749578aaff6 11:11:05 ---> f5ea409b2aea 11:11:05 Step 8/12 : WORKDIR /device-snmp-go 11:11:05 ---> Running in 871075500ed1 11:11:05 Removing intermediate container 871075500ed1 11:11:05 ---> 9a51c76f8be9 11:11:05 Step 9/12 : COPY go.mod vendor* ./ 11:11:06 Still waiting to schedule task 11:11:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41157’ is offline 11:11:08 ---> b3394568ee5f 11:11:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:08 ---> Running in e86f1bb8d1f3 11:11:34 Removing intermediate container e86f1bb8d1f3 11:11:34 ---> 7b8a71fc7dd5 11:11:34 Step 11/12 : COPY . . 11:11:37 ---> 3358dd44a0fc 11:11:37 Step 12/12 : RUN ${MAKE} 11:11:37 ---> Running in 9aedfd98de10 11:11:37 noop 11:11:37 Removing intermediate container 9aedfd98de10 11:11:37 ---> d39fa849a672 11:11:37 Successfully built d39fa849a672 11:11:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:38 + docker inspect -f . ci-base-image-x86_64 11:11:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:38 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:11:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** ci-base-image-x86_64 cat 11:11:38 $ docker top 92b5e5ddc55ef7aaeb628b43df228ca7b88d8f0d7114b4cc2078ac4cf949c36d -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:38 + go version 11:11:38 go version go1.23.7 linux/amd64 [Pipeline] } 11:11:38 $ docker stop --time=1 92b5e5ddc55ef7aaeb628b43df228ca7b88d8f0d7114b4cc2078ac4cf949c36d 11:11:40 $ docker rm -f --volumes 92b5e5ddc55ef7aaeb628b43df228ca7b88d8f0d7114b4cc2078ac4cf949c36d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:40 + docker inspect -f . ci-base-image-x86_64 11:11:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:40 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** ci-base-image-x86_64 cat 11:11:41 $ docker top 13fb1edf8255d0cdf9e3919e2b8401bf62ea4d67a7c2a92e3f19c732c2c47659 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_odessa [Pipeline] fileExists [Pipeline] sh 11:11:41 + make test 11:11:41 go test ./... -coverprofile=coverage.out 11:11:42 ? github.com/edgexfoundry/device-snmp-go [no test files] 11:12:00 github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements 11:12:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 11:12:12 go vet ./... 11:12:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:12:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:12:18 ./bin/test-attribution-txt.sh [Pipeline] echo 11:12:18 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:12:18 + go mod tidy [Pipeline] } 11:12:19 $ docker stop --time=1 13fb1edf8255d0cdf9e3919e2b8401bf62ea4d67a7c2a92e3f19c732c2c47659 11:12:21 $ docker rm -f --volumes 13fb1edf8255d0cdf9e3919e2b8401bf62ea4d67a7c2a92e3f19c732c2c47659 [Pipeline] // withDockerContainer [Pipeline] sh 11:12:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:12:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:22 + ls -al . 11:12:22 total 240 11:12:22 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 11:11 . 11:12:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:10 .. 11:12:22 -rw-rw-r-- 1 jenkins jenkins 6 Mar 12 11:10 .dockerignore 11:12:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:12 .git 11:12:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:10 .github 11:12:22 -rw-rw-r-- 1 jenkins jenkins 255 Mar 12 11:10 .gitignore 11:12:22 -rw-rw-r-- 1 jenkins jenkins 199 Mar 12 11:10 .golangci.yml 11:12:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:10 .semver 11:12:22 -rw-rw-r-- 1 jenkins jenkins 18843 Mar 12 11:10 Attribution.txt 11:12:22 -rw-rw-r-- 1 jenkins jenkins 12273 Mar 12 11:10 CHANGELOG.md 11:12:22 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 12 11:10 Dockerfile 11:12:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 11:10 GOVERNANCE.md 11:12:22 -rw-rw-r-- 1 jenkins jenkins 656 Mar 12 11:10 Jenkinsfile 11:12:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 11:10 LICENSE 11:12:22 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 12 11:10 Makefile 11:12:22 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 11:10 OWNERS.md 11:12:22 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 12 11:10 README.md 11:12:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:10 VERSION 11:12:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:10 bin 11:12:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:10 cmd 11:12:22 -rw-r--r-- 1 jenkins jenkins 8903 Mar 12 11:12 coverage.out 11:12:22 -rw-rw-r-- 1 jenkins jenkins 6106 Mar 12 11:10 go.mod 11:12:22 -rw-rw-r-- 1 jenkins jenkins 86945 Mar 12 11:10 go.sum 11:12:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:10 internal 11:12:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:10 vendor 11:12:22 -rw-rw-r-- 1 jenkins jenkins 228 Mar 12 11:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:23 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=dc530643a45e43a40de0f3bf07a8eacb42855caa --label arch=amd64 --label version=4.0.0 . 11:12:23 Sending build context to Docker daemon 70.47MB 11:12:23 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 11:12:23 Step 2/25 : FROM ${BASE} AS builder 11:12:23 ---> d39fa849a672 11:12:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 11:12:23 ---> Running in faef1100cfb8 11:12:23 Removing intermediate container faef1100cfb8 11:12:23 ---> bf1eb8315311 11:12:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:12:23 ---> Running in b1db68613a5e 11:12:24 Removing intermediate container b1db68613a5e 11:12:24 ---> 9bb36ef9700e 11:12:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:12:24 ---> Running in c1cc0aba10ad 11:12:24 Removing intermediate container c1cc0aba10ad 11:12:24 ---> b8d45d1ee888 11:12:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 11:12:24 ---> Running in cb274ff485a8 11:12:24 Removing intermediate container cb274ff485a8 11:12:24 ---> 66e2dff9c016 11:12:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:24 ---> Running in 0c36fdc5c6db 11:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:12:25 OK: 252 MiB in 62 packages 11:12:25 Removing intermediate container 0c36fdc5c6db 11:12:25 ---> bc0ba6ddc28e 11:12:25 Step 8/25 : WORKDIR /device-snmp-go 11:12:25 ---> Running in f87f207a61de 11:12:25 Removing intermediate container f87f207a61de 11:12:25 ---> d1c1effb3494 11:12:25 Step 9/25 : COPY go.mod vendor* ./ 11:12:27 ---> 11807cd62718 11:12:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:12:27 ---> Running in b383c2853727 11:12:27 skipping... 11:12:28 Removing intermediate container b383c2853727 11:12:28 ---> d58296a1b43f 11:12:28 Step 11/25 : COPY . . 11:12:30 ---> e2bfa1d251d9 11:12:30 Step 12/25 : RUN ${MAKE} 11:12:30 ---> Running in bc15e742c5d5 11:12:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 11:13:02 Removing intermediate container bc15e742c5d5 11:13:02 ---> 3baf2d6cac39 11:13:02 Step 13/25 : FROM alpine:3.20 11:13:02 3.20: Pulling from library/alpine 11:13:02 0a9a5dfd008f: Already exists 11:13:02 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:13:02 Status: Downloaded newer image for alpine:3.20 11:13:02 ---> ff221270b9fb 11:13:02 Step 14/25 : RUN apk add --update --no-cache dumb-init 11:13:02 ---> Running in 4e16506c7be3 11:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:13:02 (1/1) Installing dumb-init (1.2.5-r3) 11:13:02 Executing busybox-1.36.1-r29.trigger 11:13:02 OK: 8 MiB in 15 packages 11:13:02 Removing intermediate container 4e16506c7be3 11:13:02 ---> 830341ee9c37 11:13:02 Step 15/25 : RUN apk --no-cache upgrade 11:13:02 ---> Running in f571624fc065 11:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:13:02 OK: 8 MiB in 15 packages 11:13:02 Removing intermediate container f571624fc065 11:13:02 ---> 93efb76a16c0 11:13:02 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 11:13:02 ---> 5cdef3e1ce48 11:13:02 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 11:13:02 ---> f1c01082ec86 11:13:02 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 11:13:02 ---> 1abed0c1f1dc 11:13:02 Step 19/25 : EXPOSE 59993 11:13:02 ---> Running in a5ed3de00c50 11:13:02 Removing intermediate container a5ed3de00c50 11:13:02 ---> 7394eaef234a 11:13:02 Step 20/25 : EXPOSE 161 11:13:02 ---> Running in cb1b423aa634 11:13:02 Removing intermediate container cb1b423aa634 11:13:02 ---> af25a0c670ed 11:13:02 Step 21/25 : ENTRYPOINT ["/device-snmp"] 11:13:02 ---> Running in 1ec57b817382 11:13:02 Removing intermediate container 1ec57b817382 11:13:02 ---> 224cffa47171 11:13:02 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:13:02 ---> Running in 6579da96355c 11:13:02 Removing intermediate container 6579da96355c 11:13:02 ---> 3f7ac6061d89 11:13:02 Step 23/25 : LABEL arch=amd64 11:13:02 ---> Running in 9204c4cf9c2a 11:13:02 Removing intermediate container 9204c4cf9c2a 11:13:02 ---> 289172832276 11:13:02 Step 24/25 : LABEL git_sha=dc530643a45e43a40de0f3bf07a8eacb42855caa 11:13:02 ---> Running in 08d2a09eed2c 11:13:02 Removing intermediate container 08d2a09eed2c 11:13:02 ---> 4c66441ef358 11:13:02 Step 25/25 : LABEL version=4.0.0 11:13:02 ---> Running in bbc4d7379302 11:13:02 Removing intermediate container bbc4d7379302 11:13:02 ---> 7b79501ff53b 11:13:02 [Warning] One or more build-args [ARCH] were not consumed 11:13:02 Successfully built 7b79501ff53b 11:13:02 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:02 provisioning config files... 11:13:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config1277616471518348147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:03 ---> ****-login.sh 11:13:03 nexus3.edgexfoundry.org:10001 11:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:03 Configure a credential helper to remove this warning. See 11:13:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:03 11:13:03 Login Succeeded 11:13:03 nexus3.edgexfoundry.org:10002 11:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:03 Configure a credential helper to remove this warning. See 11:13:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:03 11:13:03 Login Succeeded 11:13:03 nexus3.edgexfoundry.org:10003 11:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:03 Configure a credential helper to remove this warning. See 11:13:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:03 11:13:03 Login Succeeded 11:13:03 nexus3.edgexfoundry.org:10004 11:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:03 Configure a credential helper to remove this warning. See 11:13:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:03 11:13:03 Login Succeeded 11:13:03 ****.io 11:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:03 Configure a credential helper to remove this warning. See 11:13:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:03 11:13:03 Login Succeeded 11:13:03 ---> ****-login.sh ends [Pipeline] } 11:13:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:13:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:13:03 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 11:13:03 dc530643a45e43a40de0f3bf07a8eacb42855caa 11:13:03 4.0.0 11:13:03 dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0 11:13:03 odessa 11:13:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:04 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:04 + docker push nexus3.edgexfoundry.org:10004/device-snmp:dc530643a45e43a40de0f3bf07a8eacb42855caa 11:13:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:13:04 397b9b86772d: Preparing 11:13:04 3ee37c24f175: Preparing 11:13:04 ba3e83587c57: Preparing 11:13:04 fca0cbc81076: Preparing 11:13:04 c26401aa99bd: Preparing 11:13:04 994456c4fd7b: Preparing 11:13:04 994456c4fd7b: Waiting 11:13:04 397b9b86772d: Pushed 11:13:04 3ee37c24f175: Pushed 11:13:04 c26401aa99bd: Pushed 11:13:04 fca0cbc81076: Pushed 11:13:04 994456c4fd7b: Layer already exists 11:13:08 ba3e83587c57: Pushed 11:13:08 dc530643a45e43a40de0f3bf07a8eacb42855caa: digest: sha256:800b036718351f89f6e12dcd858beac624a8814d2e673946c5f543a26e49c4d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:08 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp:4.0.0 11:13:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:13:09 397b9b86772d: Preparing 11:13:09 3ee37c24f175: Preparing 11:13:09 ba3e83587c57: Preparing 11:13:09 fca0cbc81076: Preparing 11:13:09 c26401aa99bd: Preparing 11:13:09 994456c4fd7b: Preparing 11:13:09 994456c4fd7b: Waiting 11:13:09 fca0cbc81076: Layer already exists 11:13:09 3ee37c24f175: Layer already exists 11:13:09 c26401aa99bd: Layer already exists 11:13:09 397b9b86772d: Layer already exists 11:13:09 ba3e83587c57: Layer already exists 11:13:09 994456c4fd7b: Layer already exists 11:13:09 4.0.0: digest: sha256:800b036718351f89f6e12dcd858beac624a8814d2e673946c5f543a26e49c4d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:09 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp:dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0 11:13:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:13:09 397b9b86772d: Preparing 11:13:09 3ee37c24f175: Preparing 11:13:09 ba3e83587c57: Preparing 11:13:09 fca0cbc81076: Preparing 11:13:09 c26401aa99bd: Preparing 11:13:09 994456c4fd7b: Preparing 11:13:09 994456c4fd7b: Waiting 11:13:09 ba3e83587c57: Layer already exists 11:13:09 c26401aa99bd: Layer already exists 11:13:09 fca0cbc81076: Layer already exists 11:13:09 3ee37c24f175: Layer already exists 11:13:09 397b9b86772d: Layer already exists 11:13:09 994456c4fd7b: Layer already exists 11:13:09 dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0: digest: sha256:800b036718351f89f6e12dcd858beac624a8814d2e673946c5f543a26e49c4d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:10 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp:odessa 11:13:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:13:10 397b9b86772d: Preparing 11:13:10 3ee37c24f175: Preparing 11:13:10 ba3e83587c57: Preparing 11:13:10 fca0cbc81076: Preparing 11:13:10 c26401aa99bd: Preparing 11:13:10 994456c4fd7b: Preparing 11:13:10 994456c4fd7b: Waiting 11:13:10 ba3e83587c57: Layer already exists 11:13:10 fca0cbc81076: Layer already exists 11:13:10 c26401aa99bd: Layer already exists 11:13:10 397b9b86772d: Layer already exists 11:13:10 3ee37c24f175: Layer already exists 11:13:10 994456c4fd7b: Layer already exists 11:13:10 odessa: digest: sha256:800b036718351f89f6e12dcd858beac624a8814d2e673946c5f543a26e49c4d7 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:13:10 ===================================================== [Pipeline] echo 11:13:10 taggedImages: 11:13:10 - nexus3.edgexfoundry.org:10004/device-snmp:dc530643a45e43a40de0f3bf07a8eacb42855caa 11:13:10 - nexus3.edgexfoundry.org:10004/device-snmp:4.0.0 11:13:10 - nexus3.edgexfoundry.org:10004/device-snmp:dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0 11:13:10 - nexus3.edgexfoundry.org:10004/device-snmp:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:11 11:13:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:11 latest: Pulling from edgex-lftools-log-publisher 11:13:11 5eb5b503b376: Pulling fs layer 11:13:11 5c69ac0246d0: Pulling fs layer 11:13:11 ec43610c2a17: Pulling fs layer 11:13:11 3a2ae6a8a46f: Pulling fs layer 11:13:11 33b1e0a273af: Pulling fs layer 11:13:11 5d3b04190fa2: Pulling fs layer 11:13:11 2f39f015ded8: Pulling fs layer 11:13:11 33b1e0a273af: Waiting 11:13:11 3a2ae6a8a46f: Waiting 11:13:11 2f39f015ded8: Waiting 11:13:11 5d3b04190fa2: Waiting 11:13:11 5c69ac0246d0: Verifying Checksum 11:13:11 5c69ac0246d0: Download complete 11:13:11 3a2ae6a8a46f: Download complete 11:13:11 ec43610c2a17: Verifying Checksum 11:13:11 ec43610c2a17: Download complete 11:13:11 33b1e0a273af: Verifying Checksum 11:13:11 33b1e0a273af: Download complete 11:13:11 5d3b04190fa2: Verifying Checksum 11:13:11 5d3b04190fa2: Download complete 11:13:11 5eb5b503b376: Verifying Checksum 11:13:11 5eb5b503b376: Download complete 11:13:12 2f39f015ded8: Download complete 11:13:12 5eb5b503b376: Pull complete 11:13:13 5c69ac0246d0: Pull complete 11:13:13 ec43610c2a17: Pull complete 11:13:13 3a2ae6a8a46f: Pull complete 11:13:13 33b1e0a273af: Pull complete 11:13:13 5d3b04190fa2: Pull complete 11:13:18 2f39f015ded8: Pull complete 11:13:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:18 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:13:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:13:19 $ docker top 41910f10adf9f7aca9e730fd1938f6234c2af2cc0b148e0b91beaa59321023c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:19 ---> job-cost.sh 11:13:19 lf-activate-venv: SKIPPING 11:13:19 INFO: No Stack... 11:13:20 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:20 INFO: Archiving Costs [Pipeline] sh 11:13:20 + cat /w/workspace/gexfoundry_device-snmp-go_odessa/archives/cost.csv 11:13:20 + cut -d, -f6 [Pipeline] lock 11:13:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-4-stack-cost] 11:13:20 Resource [jenkins-edgexfoundry-device-snmp-go-odessa-4-stack-cost] did not exist. Created. 11:13:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:21 + echo total: 0.2199999988079071 [Pipeline] stash 11:13:21 Stashed 1 file(s) [Pipeline] } 11:13:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:21 $ docker stop --time=1 41910f10adf9f7aca9e730fd1938f6234c2af2cc0b148e0b91beaa59321023c2 11:13:22 $ docker rm -f --volumes 41910f10adf9f7aca9e730fd1938f6234c2af2cc0b148e0b91beaa59321023c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:14:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41162 in /w/workspace/gexfoundry_device-snmp-go_odessa [Pipeline] { [Pipeline] ws 11:14:02 Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout 11:14:05 Selected Git installation does not exist. Using Default 11:14:05 The recommended git tool is: NONE 11:14:12 using credential edgex-jenkins-ssh 11:14:12 Cloning the remote Git repository 11:14:12 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 11:14:12 > git init /w/workspace/device-snmp-go/4 # timeout=10 11:14:12 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:14:12 > git --version # timeout=10 11:14:12 > git --version # 'git version 2.25.1' 11:14:12 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:14:16 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:14:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:14:17 Avoid second fetch 11:14:17 Checking out Revision dc530643a45e43a40de0f3bf07a8eacb42855caa (odessa) 11:14:17 > git config core.sparsecheckout # timeout=10 11:14:17 > git checkout -f dc530643a45e43a40de0f3bf07a8eacb42855caa # timeout=10 11:14:20 Commit message: "ci(lts-release): LTS release v4.0.0 @1b78132" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:14:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:14:25 % Total % Received % Xferd Average Speed Time Time Time Current 11:14:25 Dload Upload Total Spent Left Speed 11:14:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh 11:14:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:14:25 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 11:14:25 11:14:25 { 11:14:25 "registry-mirrors": [ 11:14:25 "https://nexus3.edgexfoundry.org:10001" 11:14:25 ], 11:14:25 "bip": "10.250.0.254/24", 11:14:25 "hosts": [ 11:14:25 "tcp://0.0.0.0:5555", 11:14:25 "unix:///var/run/docker.sock" 11:14:25 ], 11:14:25 "mtu": 1458, 11:14:25 "selinux-enabled": true, 11:14:25 "seccomp-profile": "/etc/docker/seccomp.json" 11:14:25 } [Pipeline] sh 11:14:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:14:26 + sudo service docker restart [Pipeline] sh 11:14:45 + git checkout dc530643a45e43a40de0f3bf07a8eacb42855caa 11:14:45 HEAD is now at dc53064 ci(lts-release): LTS release v4.0.0 @1b78132 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:14:46 provisioning config files... 11:14:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config16708010818288144069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:14:46 ---> ****-login.sh 11:14:46 nexus3.edgexfoundry.org:10001 11:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:14:47 Configure a credential helper to remove this warning. See 11:14:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:14:47 11:14:47 Login Succeeded 11:14:47 nexus3.edgexfoundry.org:10002 11:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:14:48 Configure a credential helper to remove this warning. See 11:14:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:14:48 11:14:48 Login Succeeded 11:14:48 nexus3.edgexfoundry.org:10003 11:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:14:48 Configure a credential helper to remove this warning. See 11:14:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:14:48 11:14:48 Login Succeeded 11:14:48 nexus3.edgexfoundry.org:10004 11:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:14:49 Configure a credential helper to remove this warning. See 11:14:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:14:49 11:14:49 Login Succeeded 11:14:49 ****.io 11:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:14:49 Configure a credential helper to remove this warning. See 11:14:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:14:49 11:14:49 Login Succeeded 11:14:49 ---> ****-login.sh ends [Pipeline] } 11:14:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:14:50 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:14:50 + + cut -d -f 2grep 11:14:50 ^go [0-9].[0-9]* go.mod [Pipeline] echo 11:14:50 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:14:50 ========================================================= 11:14:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 11:14:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 11:14:55 Sending build context to Docker daemon 55.6MB 11:14:55 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:14:55 Step 2/12 : FROM ${BASE} AS builder 11:14:55 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 11:14:55 94e9d8af2201: Pulling fs layer 11:14:55 345fe9f21930: Pulling fs layer 11:14:55 b40fc9e46828: Pulling fs layer 11:14:55 c9804373a1e5: Pulling fs layer 11:14:55 4f4fb700ef54: Pulling fs layer 11:14:55 f5a772c54f75: Pulling fs layer 11:14:55 e2dd1b2a9dca: Pulling fs layer 11:14:55 0a0502178392: Pulling fs layer 11:14:55 c9804373a1e5: Waiting 11:14:55 4f4fb700ef54: Waiting 11:14:55 f5a772c54f75: Waiting 11:14:55 e2dd1b2a9dca: Waiting 11:14:55 0a0502178392: Waiting 11:14:55 345fe9f21930: Verifying Checksum 11:14:55 345fe9f21930: Download complete 11:14:55 c9804373a1e5: Verifying Checksum 11:14:55 c9804373a1e5: Download complete 11:14:55 4f4fb700ef54: Verifying Checksum 11:14:55 4f4fb700ef54: Download complete 11:14:56 f5a772c54f75: Verifying Checksum 11:14:56 f5a772c54f75: Download complete 11:14:56 94e9d8af2201: Verifying Checksum 11:14:56 94e9d8af2201: Download complete 11:14:56 0a0502178392: Verifying Checksum 11:14:56 0a0502178392: Download complete 11:14:56 94e9d8af2201: Pull complete 11:14:58 345fe9f21930: Pull complete 11:14:58 b40fc9e46828: Verifying Checksum 11:14:59 e2dd1b2a9dca: Verifying Checksum 11:14:59 e2dd1b2a9dca: Download complete 11:15:14 b40fc9e46828: Pull complete 11:15:14 c9804373a1e5: Pull complete 11:15:14 4f4fb700ef54: Pull complete 11:15:14 f5a772c54f75: Pull complete 11:15:24 e2dd1b2a9dca: Pull complete 11:15:25 0a0502178392: Pull complete 11:15:25 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 11:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 11:15:25 ---> 72db82c1953f 11:15:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:15:28 ---> Running in 6a5ba8156d8c 11:15:28 Removing intermediate container 6a5ba8156d8c 11:15:28 ---> eece93b0d8fb 11:15:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:15:28 ---> Running in a163d863d13a 11:15:29 Removing intermediate container a163d863d13a 11:15:29 ---> b9ab8453dcac 11:15:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:15:29 ---> Running in 8b5498ef36fe 11:15:29 Removing intermediate container 8b5498ef36fe 11:15:29 ---> 1b6130b5af79 11:15:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:15:29 ---> Running in 95f0abd7fff1 11:15:30 Removing intermediate container 95f0abd7fff1 11:15:30 ---> 2cf479c0a4c6 11:15:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:15:30 ---> Running in 66fb0a20c544 11:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:15:34 (1/4) Installing openssh-keygen (9.7_p1-r5) 11:15:34 (2/4) Installing libedit (20240517.3.1-r0) 11:15:34 (3/4) Installing openssh-client-common (9.7_p1-r5) 11:15:34 (4/4) Installing openssh-client-default (9.7_p1-r5) 11:15:34 Executing busybox-1.36.1-r29.trigger 11:15:34 OK: 244 MiB in 62 packages 11:15:35 Removing intermediate container 66fb0a20c544 11:15:35 ---> bc53b93aef69 11:15:35 Step 8/12 : WORKDIR /device-snmp-go 11:15:35 ---> Running in 7273b2e86983 11:15:36 Removing intermediate container 7273b2e86983 11:15:36 ---> b0eab4f40e31 11:15:36 Step 9/12 : COPY go.mod vendor* ./ 11:15:51 ---> 2cb9175a52d6 11:15:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:15:51 ---> Running in 4df20b6f3217 11:17:58 Removing intermediate container 4df20b6f3217 11:17:58 ---> 40c6229c8640 11:17:58 Step 11/12 : COPY . . 11:17:58 ---> 110846b202c3 11:17:58 Step 12/12 : RUN ${MAKE} 11:17:58 ---> Running in 371e2815b12d 11:17:59 noop 11:18:00 Removing intermediate container 371e2815b12d 11:18:00 ---> 9469b4a8b201 11:18:00 Successfully built 9469b4a8b201 11:18:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:01 + docker inspect -f . ci-base-image-arm64 11:18:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:01 prd-ubuntu20.04-docker-arm64-4c-16g-41162 does not seem to be running inside a container 11:18:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:18:03 $ docker top 9e69ece35faf665c00da4a6fdccbcff87a988ddcd8324f65b22a6cd147c50bab -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:04 + go version 11:18:04 go version go1.23.7 linux/arm64 [Pipeline] } 11:18:04 $ docker stop --time=1 9e69ece35faf665c00da4a6fdccbcff87a988ddcd8324f65b22a6cd147c50bab 11:18:05 $ docker rm -f --volumes 9e69ece35faf665c00da4a6fdccbcff87a988ddcd8324f65b22a6cd147c50bab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:06 + docker inspect -f . ci-base-image-arm64 11:18:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:06 prd-ubuntu20.04-docker-arm64-4c-16g-41162 does not seem to be running inside a container 11:18:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:18:08 $ docker top c23ef9740912c47adae888070e6f07c3b3a94c3ad373c559766da5969532f887 -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:09 + git config --global --add safe.directory /w/workspace/device-snmp-go/4 [Pipeline] fileExists [Pipeline] sh 11:18:10 + make test 11:18:10 go test ./... -coverprofile=coverage.out 11:18:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 11:22:52 github.com/edgexfoundry/device-snmp-go/cmd coverage: 0.0% of statements 11:22:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements 11:22:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:22:56 go vet ./... 11:24:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:24:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:24:04 ./bin/test-attribution-txt.sh [Pipeline] echo 11:24:04 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:24:05 + go mod tidy [Pipeline] } 11:24:11 $ docker stop --time=1 c23ef9740912c47adae888070e6f07c3b3a94c3ad373c559766da5969532f887 11:24:14 $ docker rm -f --volumes c23ef9740912c47adae888070e6f07c3b3a94c3ad373c559766da5969532f887 [Pipeline] // withDockerContainer [Pipeline] sh 11:24:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:24:16 Warning: overwriting stash ‘coverage-report’ 11:24:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:24:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:24:19 + ls -al . 11:24:19 total 236 11:24:19 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:18 . 11:24:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:14 .. 11:24:19 -rw-rw-r-- 1 jenkins jenkins 6 Mar 12 11:14 .dockerignore 11:24:19 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:14 .git 11:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:14 .github 11:24:19 -rw-rw-r-- 1 jenkins jenkins 255 Mar 12 11:14 .gitignore 11:24:19 -rw-rw-r-- 1 jenkins jenkins 199 Mar 12 11:14 .golangci.yml 11:24:19 -rw-rw-r-- 1 jenkins jenkins 18843 Mar 12 11:14 Attribution.txt 11:24:19 -rw-rw-r-- 1 jenkins jenkins 12273 Mar 12 11:14 CHANGELOG.md 11:24:19 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 12 11:14 Dockerfile 11:24:19 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 11:14 GOVERNANCE.md 11:24:19 -rw-rw-r-- 1 jenkins jenkins 656 Mar 12 11:14 Jenkinsfile 11:24:19 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 11:14 LICENSE 11:24:19 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 12 11:14 Makefile 11:24:19 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 11:14 OWNERS.md 11:24:19 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 12 11:14 README.md 11:24:19 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:10 VERSION 11:24:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:14 bin 11:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:14 cmd 11:24:19 -rw-r--r-- 1 jenkins jenkins 8903 Mar 12 11:22 coverage.out 11:24:19 -rw-rw-r-- 1 jenkins jenkins 6106 Mar 12 11:14 go.mod 11:24:19 -rw-rw-r-- 1 jenkins jenkins 86945 Mar 12 11:14 go.sum 11:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:14 internal 11:24:19 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:14 vendor 11:24:19 -rw-rw-r-- 1 jenkins jenkins 228 Mar 12 11:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:24:19 + 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=dc530643a45e43a40de0f3bf07a8eacb42855caa --label arch=arm64 --label version=4.0.0 . 11:24:24 Sending build context to Docker daemon 55.61MB 11:24:24 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 11:24:24 Step 2/25 : FROM ${BASE} AS builder 11:24:24 ---> 9469b4a8b201 11:24:24 Step 3/25 : ARG ADD_BUILD_TAGS="" 11:24:24 ---> Running in 7d930a2f5acb 11:24:25 Removing intermediate container 7d930a2f5acb 11:24:25 ---> 96f6f279e4e5 11:24:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:24:25 ---> Running in b064a5f67baf 11:24:25 Removing intermediate container b064a5f67baf 11:24:25 ---> b0f80d12282a 11:24:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:24:25 ---> Running in dd296640643c 11:24:25 Removing intermediate container dd296640643c 11:24:25 ---> 4f45521a489b 11:24:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 11:24:26 ---> Running in df59b6deb72a 11:24:26 Removing intermediate container df59b6deb72a 11:24:26 ---> 019fdebf0984 11:24:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:24:26 ---> Running in 5a7fe2a83a0b 11:24:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:24:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:24:30 OK: 244 MiB in 62 packages 11:24:31 Removing intermediate container 5a7fe2a83a0b 11:24:31 ---> 4c1d20814e5e 11:24:31 Step 8/25 : WORKDIR /device-snmp-go 11:24:31 ---> Running in cff99e74218f 11:24:31 Removing intermediate container cff99e74218f 11:24:31 ---> 781b1ae8dfcb 11:24:31 Step 9/25 : COPY go.mod vendor* ./ 11:24:50 ---> 64bcd6e86cf8 11:24:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:24:50 ---> Running in 48e0b3a827e2 11:24:50 skipping... 11:24:50 Removing intermediate container 48e0b3a827e2 11:24:50 ---> 3dbedce01070 11:24:50 Step 11/25 : COPY . . 11:25:05 ---> 04b05db5662f 11:25:05 Step 12/25 : RUN ${MAKE} 11:25:05 ---> Running in c468fb4fc4d2 11:25:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 11:29:31 Removing intermediate container c468fb4fc4d2 11:29:31 ---> bd71cad00838 11:29:31 Step 13/25 : FROM alpine:3.20 11:29:31 3.20: Pulling from library/alpine 11:29:31 94e9d8af2201: Already exists 11:29:31 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:29:31 Status: Downloaded newer image for alpine:3.20 11:29:31 ---> 7aab056cecc6 11:29:31 Step 14/25 : RUN apk add --update --no-cache dumb-init 11:29:31 ---> Running in 40dd2d072303 11:29:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:29:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:29:34 (1/1) Installing dumb-init (1.2.5-r3) 11:29:34 Executing busybox-1.36.1-r29.trigger 11:29:34 OK: 9 MiB in 15 packages 11:29:35 Removing intermediate container 40dd2d072303 11:29:35 ---> 5c64cc35e07c 11:29:35 Step 15/25 : RUN apk --no-cache upgrade 11:29:35 ---> Running in 0349b20e51b6 11:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:29:38 OK: 9 MiB in 15 packages 11:29:39 Removing intermediate container 0349b20e51b6 11:29:39 ---> c68120404cd7 11:29:39 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 11:29:41 ---> 7929fb4513fe 11:29:41 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 11:29:41 ---> 057a0780fa7b 11:29:41 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 11:29:42 ---> 9938afa2ba27 11:29:42 Step 19/25 : EXPOSE 59993 11:29:42 ---> Running in d09bba21a1b0 11:29:42 Removing intermediate container d09bba21a1b0 11:29:42 ---> b95643065776 11:29:42 Step 20/25 : EXPOSE 161 11:29:42 ---> Running in 61cad278f93e 11:29:43 Removing intermediate container 61cad278f93e 11:29:43 ---> f3c02c03214b 11:29:43 Step 21/25 : ENTRYPOINT ["/device-snmp"] 11:29:43 ---> Running in 14737652cd2c 11:29:43 Removing intermediate container 14737652cd2c 11:29:43 ---> 09e61dc5ed58 11:29:43 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:29:43 ---> Running in c3e8cf36a17d 11:29:44 Removing intermediate container c3e8cf36a17d 11:29:44 ---> 2e12d9c1c600 11:29:44 Step 23/25 : LABEL arch=arm64 11:29:44 ---> Running in 78d8642da72d 11:29:44 Removing intermediate container 78d8642da72d 11:29:44 ---> ab087ea9da51 11:29:44 Step 24/25 : LABEL git_sha=dc530643a45e43a40de0f3bf07a8eacb42855caa 11:29:44 ---> Running in 6232d8fe8ec0 11:29:44 Removing intermediate container 6232d8fe8ec0 11:29:44 ---> 70159b0bafad 11:29:44 Step 25/25 : LABEL version=4.0.0 11:29:44 ---> Running in ea2e09ab83b9 11:29:45 Removing intermediate container ea2e09ab83b9 11:29:45 ---> 73521ee3a88b 11:29:45 [Warning] One or more build-args [ARCH] were not consumed 11:29:46 Successfully built 73521ee3a88b 11:29:46 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 11:29:46 provisioning config files... 11:29:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config6108947868343862956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:29:47 ---> ****-login.sh 11:29:47 nexus3.edgexfoundry.org:10001 11:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:29:47 Configure a credential helper to remove this warning. See 11:29:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:29:47 11:29:47 Login Succeeded 11:29:47 nexus3.edgexfoundry.org:10002 11:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:29:47 Configure a credential helper to remove this warning. See 11:29:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:29:47 11:29:47 Login Succeeded 11:29:47 nexus3.edgexfoundry.org:10003 11:29:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:29:48 Configure a credential helper to remove this warning. See 11:29:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:29:48 11:29:48 Login Succeeded 11:29:48 nexus3.edgexfoundry.org:10004 11:29:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:29:48 Configure a credential helper to remove this warning. See 11:29:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:29:48 11:29:48 Login Succeeded 11:29:48 ****.io 11:29:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:29:49 Configure a credential helper to remove this warning. See 11:29:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:29:49 11:29:49 Login Succeeded 11:29:49 ---> ****-login.sh ends [Pipeline] } 11:29:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:29:49 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:29:49 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 11:29:49 dc530643a45e43a40de0f3bf07a8eacb42855caa 11:29:49 4.0.0 11:29:49 dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0 11:29:49 odessa 11:29:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:49 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc530643a45e43a40de0f3bf07a8eacb42855caa 11:29:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:29:50 20b81c082b87: Preparing 11:29:50 c0dad699017f: Preparing 11:29:50 c7926c06c815: Preparing 11:29:50 0481003e2e93: Preparing 11:29:50 b8f614bbb7b0: Preparing 11:29:50 dd9c8f8612c8: Preparing 11:29:50 dd9c8f8612c8: Waiting 11:29:50 b8f614bbb7b0: Pushed 11:29:50 0481003e2e93: Pushed 11:29:50 c0dad699017f: Pushed 11:29:50 20b81c082b87: Pushed 11:29:50 dd9c8f8612c8: Layer already exists 11:30:00 c7926c06c815: Pushed 11:30:00 dc530643a45e43a40de0f3bf07a8eacb42855caa: digest: sha256:9aa8d3c8d1b496b7584ff938df4ff656a2a03ede90589d165666a53e6a71a90d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:00 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:4.0.0 11:30:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:30:01 20b81c082b87: Preparing 11:30:01 c0dad699017f: Preparing 11:30:01 c7926c06c815: Preparing 11:30:01 0481003e2e93: Preparing 11:30:01 b8f614bbb7b0: Preparing 11:30:01 dd9c8f8612c8: Preparing 11:30:01 dd9c8f8612c8: Waiting 11:30:01 c7926c06c815: Layer already exists 11:30:01 c0dad699017f: Layer already exists 11:30:01 20b81c082b87: Layer already exists 11:30:01 0481003e2e93: Layer already exists 11:30:01 b8f614bbb7b0: Layer already exists 11:30:01 dd9c8f8612c8: Layer already exists 11:30:01 4.0.0: digest: sha256:9aa8d3c8d1b496b7584ff938df4ff656a2a03ede90589d165666a53e6a71a90d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:01 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:02 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0 11:30:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:30:02 20b81c082b87: Preparing 11:30:02 c0dad699017f: Preparing 11:30:02 c7926c06c815: Preparing 11:30:02 0481003e2e93: Preparing 11:30:02 b8f614bbb7b0: Preparing 11:30:02 dd9c8f8612c8: Preparing 11:30:02 dd9c8f8612c8: Waiting 11:30:02 c7926c06c815: Layer already exists 11:30:02 c0dad699017f: Layer already exists 11:30:02 b8f614bbb7b0: Layer already exists 11:30:02 0481003e2e93: Layer already exists 11:30:02 20b81c082b87: Layer already exists 11:30:02 dd9c8f8612c8: Layer already exists 11:30:02 dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0: digest: sha256:9aa8d3c8d1b496b7584ff938df4ff656a2a03ede90589d165666a53e6a71a90d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:02 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:03 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:odessa 11:30:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:30:03 20b81c082b87: Preparing 11:30:03 c0dad699017f: Preparing 11:30:03 c7926c06c815: Preparing 11:30:03 0481003e2e93: Preparing 11:30:03 b8f614bbb7b0: Preparing 11:30:03 dd9c8f8612c8: Preparing 11:30:03 dd9c8f8612c8: Waiting 11:30:03 c7926c06c815: Layer already exists 11:30:03 0481003e2e93: Layer already exists 11:30:03 b8f614bbb7b0: Layer already exists 11:30:03 20b81c082b87: Layer already exists 11:30:03 c0dad699017f: Layer already exists 11:30:03 dd9c8f8612c8: Layer already exists 11:30:03 odessa: digest: sha256:9aa8d3c8d1b496b7584ff938df4ff656a2a03ede90589d165666a53e6a71a90d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:30:03 ===================================================== [Pipeline] echo 11:30:03 taggedImages: 11:30:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc530643a45e43a40de0f3bf07a8eacb42855caa 11:30:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:4.0.0 11:30:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc530643a45e43a40de0f3bf07a8eacb42855caa-4.0.0 11:30:03 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:30:04 11:30:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:30:04 arm64: Pulling from edgex-lftools-log-publisher 11:30:04 8998bd30e6a1: Pulling fs layer 11:30:04 04944245beec: Pulling fs layer 11:30:04 699f458cf7ca: Pulling fs layer 11:30:04 765212b225bb: Pulling fs layer 11:30:04 f23df028b6ca: Pulling fs layer 11:30:04 d65c8cfc05b1: Pulling fs layer 11:30:04 2437ff75d9bd: Pulling fs layer 11:30:04 765212b225bb: Waiting 11:30:04 f23df028b6ca: Waiting 11:30:04 d65c8cfc05b1: Waiting 11:30:04 2437ff75d9bd: Waiting 11:30:04 04944245beec: Verifying Checksum 11:30:04 04944245beec: Download complete 11:30:04 765212b225bb: Verifying Checksum 11:30:04 765212b225bb: Download complete 11:30:04 f23df028b6ca: Verifying Checksum 11:30:04 f23df028b6ca: Download complete 11:30:04 d65c8cfc05b1: Verifying Checksum 11:30:04 d65c8cfc05b1: Download complete 11:30:04 699f458cf7ca: Verifying Checksum 11:30:04 699f458cf7ca: Download complete 11:30:05 8998bd30e6a1: Verifying Checksum 11:30:05 8998bd30e6a1: Download complete 11:30:08 2437ff75d9bd: Verifying Checksum 11:30:08 2437ff75d9bd: Download complete 11:30:10 8998bd30e6a1: Pull complete 11:30:10 04944245beec: Pull complete 11:30:12 699f458cf7ca: Pull complete 11:30:12 765212b225bb: Pull complete 11:30:13 f23df028b6ca: Pull complete 11:30:14 d65c8cfc05b1: Pull complete 11:30:32 2437ff75d9bd: Pull complete 11:30:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:30:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:30:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:30:32 prd-ubuntu20.04-docker-arm64-4c-16g-41162 does not seem to be running inside a container 11:30:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:30:36 $ docker top b13af17e1ad0ca5c8ff81950d3e57d3381ee8a40d2ff74f3257ed182d4c4bf49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:30:37 ---> job-cost.sh 11:30:37 lf-activate-venv: SKIPPING 11:30:37 INFO: No Stack... 11:30:37 INFO: Retrieving Pricing Info for: v3-standard-4 11:30:38 INFO: Archiving Costs [Pipeline] sh 11:30:38 + cat /w/workspace/device-snmp-go/4/archives/cost.csv 11:30:38 + cut -d, -f6 [Pipeline] lock 11:30:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-4-stack-cost] 11:30:38 Resource [jenkins-edgexfoundry-device-snmp-go-odessa-4-stack-cost] did not exist. Created. 11:30:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:30:39 /w/workspace/device-snmp-go/4@tmp/durable-9a690102/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:30:40 + echo total: 0.10999999940395355 [Pipeline] stash 11:30:40 Warning: overwriting stash ‘stack-cost’ 11:30:41 Stashed 1 file(s) [Pipeline] } 11:30:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:30:41 $ docker stop --time=1 b13af17e1ad0ca5c8ff81950d3e57d3381ee8a40d2ff74f3257ed182d4c4bf49 11:30:42 $ docker rm -f --volumes b13af17e1ad0ca5c8ff81950d3e57d3381ee8a40d2ff74f3257ed182d4c4bf49 [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 11:30:43 provisioning config files... 11:30:43 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config17026817837989272713tmp [Pipeline] { [Pipeline] sh 11:30:43 + set +x 11:30:43 + curl -s https://codecov.io/bash 11:30:43 + bash -s -- 11:30:43 11:30:43 _____ _ 11:30:43 / ____| | | 11:30:43 | | ___ __| | ___ ___ _____ __ 11:30:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:30:43 | |___| (_) | (_| | __/ (_| (_) \ V / 11:30:43 \_____\___/ \__,_|\___|\___\___/ \_/ 11:30:43 Bash-1.0.6 11:30:43 11:30:43 11:30:43 ==> git version 2.25.1 found 11:30:43 ==> 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 11:30:43 Release-Date: 2020-01-08 11:30:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:30:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:30:43 ==> Jenkins CI detected. 11:30:43 current dir:  /w/workspace/gexfoundry_device-snmp-go_odessa 11:30:43 project root: . 11:30:43 --> token set from env 11:30:43 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 11:30:43 ==> Running gcov in . (disable via -X gcov) 11:30:44 ==> Python coveragepy not found 11:30:44 ==> Searching for coverage reports in: 11:30:44 + . 11:30:44 -> Found 1 reports 11:30:44 ==> Detecting git/mercurial file structure 11:30:44 ==> Reading reports 11:30:44 + ./coverage.out bytes=8903 11:30:44 ==> Appending adjustments 11:30:44 https://docs.codecov.io/docs/fixing-reports 11:30:44 + Found adjustments 11:30:44 ==> Gzipping contents 11:30:44 28K /tmp/codecov.rojFuI.gz 11:30:44 ==> Uploading reports 11:30:44 url: https://codecov.io 11:30:44 query: branch=odessa&commit=dc530643a45e43a40de0f3bf07a8eacb42855caa&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:30:44 -> Pinging Codecov 11:30:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=dc530643a45e43a40de0f3bf07a8eacb42855caa&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:30:44 -> Uploading to 11:30:44 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-snmp-go/dc530643a45e43a40de0f3bf07a8eacb42855caa/84f1fc68-5d7e-499c-95fc-445b12773001.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T113044Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=5dc74d377d78016314503c1ce3e2824505ce7dbc41365c25785387e27b3c058f 11:30:44 % Total % Received % Xferd Average Speed Time Time Time Current 11:30:44 Dload Upload Total Spent Left Speed 11:30:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25993 0 0 100 25993 0 183k --:--:-- --:--:-- --:--:-- 183k 11:30:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] } 11:30:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:30:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:30:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:30:45 11:30:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:30:45 latest: Pulling from edgex-devops/edgex-snyk-go 11:30:45 43c4264eed91: Pulling fs layer 11:30:45 4cc291be95ef: Pulling fs layer 11:30:45 2ac1f1163629: Pulling fs layer 11:30:45 5c3c966382ef: Pulling fs layer 11:30:45 4f4fb700ef54: Pulling fs layer 11:30:45 d9c7d2e4e75e: Pulling fs layer 11:30:45 9c3e1370e548: Pulling fs layer 11:30:45 4f4fb700ef54: Waiting 11:30:45 d9c7d2e4e75e: Waiting 11:30:45 9c3e1370e548: Waiting 11:30:45 5c3c966382ef: Waiting 11:30:45 4cc291be95ef: Download complete 11:30:45 5c3c966382ef: Verifying Checksum 11:30:45 5c3c966382ef: Download complete 11:30:45 4f4fb700ef54: Verifying Checksum 11:30:45 4f4fb700ef54: Download complete 11:30:45 43c4264eed91: Download complete 11:30:45 43c4264eed91: Pull complete 11:30:45 d9c7d2e4e75e: Verifying Checksum 11:30:45 d9c7d2e4e75e: Download complete 11:30:45 4cc291be95ef: Pull complete 11:30:45 2ac1f1163629: Verifying Checksum 11:30:45 2ac1f1163629: Download complete 11:30:46 9c3e1370e548: Verifying Checksum 11:30:46 9c3e1370e548: Download complete 11:30:49 2ac1f1163629: Pull complete 11:30:49 5c3c966382ef: Pull complete 11:30:49 4f4fb700ef54: Pull complete 11:30:49 d9c7d2e4e75e: Pull complete 11:30:53 9c3e1370e548: Pull complete 11:30:53 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 11:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:30:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:30:53 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:30:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 11:30:55 $ docker top 4a1f6a69f2f6b8504ae3c662e6eea8b58e59bb316aa028a29b2e29f80968de18 -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_odessa [Pipeline] echo 11:30:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:odessa' [Pipeline] sh 11:30:55 + set -o pipefail 11:30:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:odessa' 11:30:59 11:30:59 Monitoring /w/workspace/gexfoundry_device-snmp-go_odessa (github.com/edgexfoundry/device-snmp-go)... 11:30:59 11:30:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/260d3e8b-2ced-4b14-8e38-6f866c7ee329/history/e8d3e724-1a03-4aa1-9fcd-44f63de8c30c 11:30:59 11:30:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:30:59 11:30:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:30:59 11:30:59 11:30:59 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 11:30:59 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 11:30:59 $ docker stop --time=1 4a1f6a69f2f6b8504ae3c662e6eea8b58e59bb316aa028a29b2e29f80968de18 11:31:01 $ docker rm -f --volumes 4a1f6a69f2f6b8504ae3c662e6eea8b58e59bb316aa028a29b2e29f80968de18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:31:01 + git log --format=format:%s -1 dc530643a45e43a40de0f3bf07a8eacb42855caa [Pipeline] sh 11:31:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:31:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:31:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:31:02 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:31:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:31:03 $ docker top 89d8b2f0c072511a9c94ba32f3b90b60665a25bd314a7cd3d140171964217d29 -eo pid,comm 11:31:03 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). 11:31:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:31:03 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:31:03 + git semver [Pipeline] } 11:31:03 $ docker stop --time=1 89d8b2f0c072511a9c94ba32f3b90b60665a25bd314a7cd3d140171964217d29 11:31:04 $ docker rm -f --volumes 89d8b2f0c072511a9c94ba32f3b90b60665a25bd314a7cd3d140171964217d29 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:31:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:31:05 11:31:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:31:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:31:05 0.23.1-centos7: Pulling from edgex-lftools 11:31:05 ab5ef0e58194: Pulling fs layer 11:31:05 9712f1f96733: Pulling fs layer 11:31:05 63f879dbbcfc: Pulling fs layer 11:31:05 0d9ebad4ef96: Pulling fs layer 11:31:05 e9a5061849ea: Pulling fs layer 11:31:05 d747dcd14b5f: Pulling fs layer 11:31:05 2de7ff778b66: Pulling fs layer 11:31:05 e9a5061849ea: Waiting 11:31:05 2de7ff778b66: Waiting 11:31:05 d747dcd14b5f: Waiting 11:31:05 0d9ebad4ef96: Waiting 11:31:05 9712f1f96733: Verifying Checksum 11:31:05 9712f1f96733: Download complete 11:31:05 63f879dbbcfc: Verifying Checksum 11:31:05 63f879dbbcfc: Download complete 11:31:05 e9a5061849ea: Verifying Checksum 11:31:05 e9a5061849ea: Download complete 11:31:06 d747dcd14b5f: Download complete 11:31:06 0d9ebad4ef96: Verifying Checksum 11:31:06 0d9ebad4ef96: Download complete 11:31:06 ab5ef0e58194: Verifying Checksum 11:31:06 ab5ef0e58194: Download complete 11:31:06 2de7ff778b66: Verifying Checksum 11:31:06 2de7ff778b66: Download complete 11:31:09 ab5ef0e58194: Pull complete 11:31:09 9712f1f96733: Pull complete 11:31:09 63f879dbbcfc: Pull complete 11:31:13 0d9ebad4ef96: Pull complete 11:31:13 e9a5061849ea: Pull complete 11:31:13 d747dcd14b5f: Pull complete 11:31:14 2de7ff778b66: Pull complete 11:31:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:31:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:31:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:31:14 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:31:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:31:16 $ docker top 72a8905049f892f6f5f18dd569bbddab4cbb47fe62fb743cba24bec96f0f13ec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:31:17 provisioning config files... 11:31:17 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config14605136108947308589tmp 11:31:17 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config14929003924458107465tmp 11:31:17 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config9761678882767971858tmp [Pipeline] { [Pipeline] echo 11:31:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:31:17 ---> sigul-configuration.sh 11:31:17 gpg: directory `/root/.gnupg' created 11:31:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:31:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:31:17 gpg: keyring `/root/.gnupg/secring.gpg' created 11:31:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:31:17 gpg: CAST5 encrypted data 11:31:17 gpg: encrypted with 1 passphrase 11:31:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:31:17 + mkdir /home/jenkins 11:31:17 + mkdir /home/jenkins/sigul [Pipeline] sh 11:31:17 + 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 11:31:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:31:18 ---> sigul-install.sh 11:31:18 Sigul already installed; skipping installation. [Pipeline] sh 11:31:18 + git tag --list 11:31:18 1.0.0 11:31:18 v0.0.0 11:31:18 v1.1.0 11:31:18 v1.1.1 11:31:18 v1.2.2 11:31:18 v1.3.0 11:31:18 v1.3.1 11:31:18 v2.0.0 11:31:18 v2.1.0 11:31:18 v2.1.1 11:31:18 v2.2.0 11:31:18 v2.3.0 11:31:18 v3.0 11:31:18 v3.0.0 11:31:18 v3.1 11:31:18 v3.1.0 11:31:18 v3.1.0-dev.1 11:31:18 v3.1.0-dev.10 11:31:18 v3.1.0-dev.11 11:31:18 v3.1.0-dev.12 11:31:18 v3.1.0-dev.13 11:31:18 v3.1.0-dev.2 11:31:18 v3.1.0-dev.3 11:31:18 v3.1.0-dev.4 11:31:18 v3.1.0-dev.5 11:31:18 v3.1.0-dev.6 11:31:18 v3.1.0-dev.7 11:31:18 v3.1.0-dev.8 11:31:18 v3.1.0-dev.9 11:31:18 v3.1.1 11:31:18 v3.1.1-dev.1 11:31:18 v3.2.0-dev.1 11:31:18 v3.2.0-dev.10 11:31:18 v3.2.0-dev.2 11:31:18 v3.2.0-dev.3 11:31:18 v3.2.0-dev.4 11:31:18 v3.2.0-dev.5 11:31:18 v3.2.0-dev.6 11:31:18 v3.2.0-dev.7 11:31:18 v3.2.0-dev.8 11:31:18 v3.2.0-dev.9 11:31:18 v4.0 11:31:18 v4.0.0 11:31:18 v4.0.0-dev.1 11:31:18 v4.0.0-dev.2 11:31:18 v4.0.0-dev.3 11:31:18 v4.0.0-dev.4 [Pipeline] sh 11:31:18 + lftools sign git-tag v4.0.0 11:31:19 Signing Git tag with Sigul... 11:31:19 Signing v4.0.0 [Pipeline] echo 11:31:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:31:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:31:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:31:20 $ docker stop --time=1 72a8905049f892f6f5f18dd569bbddab4cbb47fe62fb743cba24bec96f0f13ec 11:31:21 $ docker rm -f --volumes 72a8905049f892f6f5f18dd569bbddab4cbb47fe62fb743cba24bec96f0f13ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:31:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:31:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:31:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:31:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:31:22 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:31:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:31:22 $ docker top 50c85db11c2df147fff31e82a03fd1ae1aecbc5771e43b581dfb66e483873f6a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:31:22 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:31:23 + git semver [Pipeline] } 11:31:23 $ docker stop --time=1 50c85db11c2df147fff31e82a03fd1ae1aecbc5771e43b581dfb66e483873f6a 11:31:24 $ docker rm -f --volumes 50c85db11c2df147fff31e82a03fd1ae1aecbc5771e43b581dfb66e483873f6a [Pipeline] // withDockerContainer [Pipeline] sh 11:31:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:31:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:31:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:31:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:31:25 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:31:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:31:25 $ docker top a0d02988220deaf19269a14de0fb4fee48eade5626afaae11cf22d53456cf17c -eo pid,comm 11:31:25 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). 11:31:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:31:25 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:31:26 + git semver [Pipeline] } 11:31:26 $ docker stop --time=1 a0d02988220deaf19269a14de0fb4fee48eade5626afaae11cf22d53456cf17c 11:31:27 $ docker rm -f --volumes a0d02988220deaf19269a14de0fb4fee48eade5626afaae11cf22d53456cf17c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:31:28 + [ -d /w/workspace/gexfoundry_device-snmp-go_odessa/archives ] 11:31:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_odessa/archives 11:31:28 total 16 11:31:28 drwxr-xr-x 3 root root 4096 Mar 12 11:13 . 11:31:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:31 .. 11:31:28 drwxr-xr-x 2 root root 4096 Mar 12 11:13 cost 11:31:28 -rw-r--r-- 1 root root 86 Mar 12 11:13 cost.csv 11:31:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_odessa/archives 11:31:28 + ls -al /w/workspace/gexfoundry_device-snmp-go_odessa/archives 11:31:28 total 16 11:31:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:13 . 11:31:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:31 .. 11:31:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 11:13 cost 11:31:28 -rw-r--r-- 1 jenkins jenkins 86 Mar 12 11:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:31:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:31:29 ---> package-listing.sh 11:31:29 ++ facter osfamily 11:31:29 ++ tr '[:upper:]' '[:lower:]' 11:31:29 + OS_FAMILY=debian 11:31:29 + workspace=/w/workspace/gexfoundry_device-snmp-go_odessa 11:31:29 + START_PACKAGES=/tmp/packages_start.txt 11:31:29 + END_PACKAGES=/tmp/packages_end.txt 11:31:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:31:29 + PACKAGES=/tmp/packages_start.txt 11:31:29 + '[' /w/workspace/gexfoundry_device-snmp-go_odessa ']' 11:31:29 + PACKAGES=/tmp/packages_end.txt 11:31:29 + case "${OS_FAMILY}" in 11:31:29 + dpkg -l 11:31:29 + grep '^ii' 11:31:29 + '[' -f /tmp/packages_start.txt ']' 11:31:29 + '[' -f /tmp/packages_end.txt ']' 11:31:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:31:29 + '[' /w/workspace/gexfoundry_device-snmp-go_odessa ']' 11:31:29 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_odessa/archives/ 11:31:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_odessa/archives/ [Pipeline] echo 11:31:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:31:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:31:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:31:30 prd-ubuntu20.04-docker-8c-8g-41155 does not seem to be running inside a container 11:31:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_odessa -v /w/workspace/gexfoundry_device-snmp-go_odessa:/w/workspace/gexfoundry_device-snmp-go_odessa:rw,z -v /w/workspace/gexfoundry_device-snmp-go_odessa@tmp:/w/workspace/gexfoundry_device-snmp-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:31:30 $ docker top 4f5dddd40c38758421d2cdf1af25c2c7e31849fed2c47768a0c02feec2a4d30e -eo pid,comm [Pipeline] { [Pipeline] sh 11:31:31 + touch /tmp/pre-build-complete [Pipeline] sh 11:31:31 + mkdir -p /var/log/sysstat [Pipeline] sh 11:31:31 + ls /var/log/sa-host 11:31:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:31:31 provisioning config files... 11:31:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_odessa@tmp/config9498472766017770210tmp [Pipeline] { [Pipeline] echo 11:31:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:31:32 ---> create-netrc.sh [Pipeline] } 11:31:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:31:32 ---> python-tools-install.sh [Pipeline] echo 11:31:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:31:32 ---> sudo-logs.sh 11:31:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:31:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:31:33 ---> job-cost.sh 11:31:33 lf-activate-venv: SKIPPING 11:31:33 DEBUG: total: 0.2199999988079071 11:31:33 INFO: Retrieving Stack Cost... 11:31:33 INFO: Retrieving Pricing Info for: v3-standard-8 11:31:34 INFO: Archiving Costs [Pipeline] echo 11:31:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:31:34 ---> logs-deploy.sh 11:31:34 lf-activate-venv: SKIPPING 11:31:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/odessa/4 11:31:34 INFO: archiving workspace using pattern(s): 11:31:35 Archives upload complete. 11:31:35 INFO: archiving logs to Nexus