Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 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-ssh18355904200902219980.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh18049657276445110810.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1820006350921042467.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6335022715640958753.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3655476327251458352.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10335’ Running on prd-ubuntu20.04-docker-8c-8g-10338 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#324)" > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 # timeout=10 > git rev-list --no-walk e3ad67b18069b788d3b650faffca04e548476692 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-25T00:02:04.071Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-25T00:02:04.132Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-25T00:02:04.150Z] ========================================================= [2023-10-25T00:02:04.150Z] EdgeX Global Pipelines Version Info [2023-10-25T00:02:04.150Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:02:04.853Z] ------------------- [2023-10-25T00:02:04.853Z] stable info: [2023-10-25T00:02:04.853Z] ------------------- [2023-10-25T00:02:04.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-25T00:02:04.853Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T00:02:04.853Z] Message: update stable to v1.0.254 [2023-10-25T00:02:05.422Z] ------------------- [2023-10-25T00:02:05.422Z] experimental info: [2023-10-25T00:02:05.422Z] ------------------- [2023-10-25T00:02:05.422Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-25T00:02:05.422Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T00:02:05.422Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-25T00:02:05.561Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-10-25T00:02:05.571Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-10-25T00:02:05.583Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-25T00:02:05.594Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-25T00:02:05.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-25T00:02:05.616Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-25T00:02:05.629Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-25T00:02:05.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-25T00:02:05.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-25T00:02:05.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-25T00:02:05.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-25T00:02:05.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-10-25T00:02:05.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-25T00:02:05.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-25T00:02:05.741Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T00:02:05.754Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T00:02:05.766Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T00:02:05.780Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T00:02:05.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-25T00:02:05.804Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-25T00:02:05.818Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-25T00:02:05.834Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-25T00:02:05.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-25T00:02:05.866Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-25T00:02:05.878Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-25T00:02:05.890Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-25T00:02:05.902Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-25T00:02:05.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-25T00:02:05.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-25T00:02:05.952Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-25T00:02:05.965Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [Pipeline] echo [2023-10-25T00:02:05.981Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23cb216 [Pipeline] echo [2023-10-25T00:02:05.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T00:02:06.033Z] provisioning config files... [2023-10-25T00:02:06.046Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16895216697503219160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:02:06.345Z] ---> docker-login.sh [2023-10-25T00:02:06.345Z] nexus3.edgexfoundry.org:10001 [2023-10-25T00:02:06.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:06.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:06.604Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:06.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:06.604Z] [2023-10-25T00:02:06.604Z] Login Succeeded [2023-10-25T00:02:06.604Z] nexus3.edgexfoundry.org:10002 [2023-10-25T00:02:06.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:06.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:06.604Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:06.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:06.604Z] [2023-10-25T00:02:06.604Z] Login Succeeded [2023-10-25T00:02:06.604Z] nexus3.edgexfoundry.org:10003 [2023-10-25T00:02:06.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:06.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:06.863Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:06.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:06.863Z] [2023-10-25T00:02:06.863Z] Login Succeeded [2023-10-25T00:02:06.863Z] nexus3.edgexfoundry.org:10004 [2023-10-25T00:02:06.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:06.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:06.863Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:06.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:06.863Z] [2023-10-25T00:02:06.863Z] Login Succeeded [2023-10-25T00:02:06.863Z] docker.io [2023-10-25T00:02:06.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:07.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:07.120Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:07.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:07.120Z] [2023-10-25T00:02:07.120Z] Login Succeeded [2023-10-25T00:02:07.120Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T00:02:07.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-25T00:02:07.543Z] + git rev-list -1 --merges 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520~1..23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [Pipeline] echo [2023-10-25T00:02:07.595Z] -----------> git rev-list -1 --merges 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520~1..23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [false] [Pipeline] sh [2023-10-25T00:02:07.882Z] + git log --format=format:%s -1 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [Pipeline] echo [2023-10-25T00:02:07.896Z] ========================================================= [2023-10-25T00:02:07.896Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-25T00:02:07.896Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T00:02:08.229Z] + git log --format=format:%s -1 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [Pipeline] echo [2023-10-25T00:02:08.240Z] [semverPrep] GIT_COMMIT: 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#324) [Pipeline] echo [2023-10-25T00:02:08.248Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-25T00:02:08.591Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T00:02:08.591Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-25T00:02:08.591Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-25T00:02:08.591Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-25T00:02:08.591Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-25T00:02:08.591Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-25T00:02:08.591Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:02:08.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T00:02:08.934Z] [2023-10-25T00:02:08.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:02:09.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T00:02:09.231Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-25T00:02:09.231Z] b85a868b505f: Pulling fs layer [2023-10-25T00:02:09.231Z] e2be974225ed: Pulling fs layer [2023-10-25T00:02:09.231Z] 339a4e72a1f5: Pulling fs layer [2023-10-25T00:02:09.231Z] 988bab9f4d93: Pulling fs layer [2023-10-25T00:02:09.231Z] 1469e6f7b9e6: Pulling fs layer [2023-10-25T00:02:09.231Z] eaf3925da568: Pulling fs layer [2023-10-25T00:02:09.231Z] bab4dde63d76: Pulling fs layer [2023-10-25T00:02:09.231Z] bde34c3a00c8: Pulling fs layer [2023-10-25T00:02:09.231Z] b352a97aabf1: Pulling fs layer [2023-10-25T00:02:09.231Z] 4872d77fe225: Pulling fs layer [2023-10-25T00:02:09.231Z] 5851b861e8e6: Pulling fs layer [2023-10-25T00:02:09.231Z] 988bab9f4d93: Waiting [2023-10-25T00:02:09.231Z] 1469e6f7b9e6: Waiting [2023-10-25T00:02:09.231Z] eaf3925da568: Waiting [2023-10-25T00:02:09.231Z] bab4dde63d76: Waiting [2023-10-25T00:02:09.231Z] bde34c3a00c8: Waiting [2023-10-25T00:02:09.231Z] b352a97aabf1: Waiting [2023-10-25T00:02:09.231Z] 4872d77fe225: Waiting [2023-10-25T00:02:09.231Z] 5851b861e8e6: Waiting [2023-10-25T00:02:09.231Z] e2be974225ed: Download complete [2023-10-25T00:02:09.231Z] 988bab9f4d93: Verifying Checksum [2023-10-25T00:02:09.231Z] 988bab9f4d93: Download complete [2023-10-25T00:02:09.231Z] 1469e6f7b9e6: Verifying Checksum [2023-10-25T00:02:09.231Z] 1469e6f7b9e6: Download complete [2023-10-25T00:02:09.495Z] 339a4e72a1f5: Verifying Checksum [2023-10-25T00:02:09.495Z] 339a4e72a1f5: Download complete [2023-10-25T00:02:09.495Z] eaf3925da568: Download complete [2023-10-25T00:02:09.495Z] bde34c3a00c8: Download complete [2023-10-25T00:02:09.495Z] b352a97aabf1: Download complete [2023-10-25T00:02:09.495Z] 4872d77fe225: Verifying Checksum [2023-10-25T00:02:09.495Z] 4872d77fe225: Download complete [2023-10-25T00:02:09.495Z] 5851b861e8e6: Verifying Checksum [2023-10-25T00:02:09.495Z] 5851b861e8e6: Download complete [2023-10-25T00:02:09.495Z] b85a868b505f: Verifying Checksum [2023-10-25T00:02:09.495Z] b85a868b505f: Download complete [2023-10-25T00:02:09.753Z] bab4dde63d76: Verifying Checksum [2023-10-25T00:02:09.753Z] bab4dde63d76: Download complete [2023-10-25T00:02:10.689Z] b85a868b505f: Pull complete [2023-10-25T00:02:10.689Z] e2be974225ed: Pull complete [2023-10-25T00:02:11.257Z] 339a4e72a1f5: Pull complete [2023-10-25T00:02:11.257Z] 988bab9f4d93: Pull complete [2023-10-25T00:02:11.515Z] 1469e6f7b9e6: Pull complete [2023-10-25T00:02:11.515Z] eaf3925da568: Pull complete [2023-10-25T00:02:13.413Z] bab4dde63d76: Pull complete [2023-10-25T00:02:13.413Z] bde34c3a00c8: Pull complete [2023-10-25T00:02:13.413Z] b352a97aabf1: Pull complete [2023-10-25T00:02:13.413Z] 4872d77fe225: Pull complete [2023-10-25T00:02:13.413Z] 5851b861e8e6: Pull complete [2023-10-25T00:02:13.413Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-25T00:02:13.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T00:02:13.413Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:02:13.504Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:02:13.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T00:02:17.056Z] $ docker top 905f2d5d16ce172235c7b66c4c6fe908469e627cd50c6ad62342a38f62aae5ab -eo pid,comm [2023-10-25T00:02:17.107Z] 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). [2023-10-25T00:02:17.107Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T00:02:17.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T00:02:17.148Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T00:02:17.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T00:02:17.252Z] $ docker exec 905f2d5d16ce172235c7b66c4c6fe908469e627cd50c6ad62342a38f62aae5ab ssh-agent [2023-10-25T00:02:17.350Z] SSH_AUTH_SOCK=/tmp/ssh-hocMS5MnK99J/agent.32 [2023-10-25T00:02:17.350Z] SSH_AGENT_PID=38 [2023-10-25T00:02:17.356Z] Running ssh-add (command line suppressed) [2023-10-25T00:02:17.450Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17272842807721945933.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17272842807721945933.key) [2023-10-25T00:02:17.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T00:02:17.748Z] + git tag --points-at HEAD [Pipeline] } [2023-10-25T00:02:17.759Z] $ docker exec --env ******** --env ******** 905f2d5d16ce172235c7b66c4c6fe908469e627cd50c6ad62342a38f62aae5ab ssh-agent -k [2023-10-25T00:02:17.850Z] unset SSH_AUTH_SOCK; [2023-10-25T00:02:17.850Z] unset SSH_AGENT_PID; [2023-10-25T00:02:17.850Z] echo Agent pid 38 killed; [2023-10-25T00:02:17.857Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-25T00:02:17.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T00:02:17.883Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T00:02:17.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T00:02:17.993Z] $ docker exec 905f2d5d16ce172235c7b66c4c6fe908469e627cd50c6ad62342a38f62aae5ab ssh-agent [2023-10-25T00:02:18.089Z] SSH_AUTH_SOCK=/tmp/ssh-2DR7L1B267O5/agent.71 [2023-10-25T00:02:18.089Z] SSH_AGENT_PID=77 [2023-10-25T00:02:18.093Z] Running ssh-add (command line suppressed) [2023-10-25T00:02:18.185Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10482541211622401697.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10482541211622401697.key) [2023-10-25T00:02:18.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T00:02:18.482Z] + git semver init [2023-10-25T00:02:18.748Z] 2023-10-25 00:02:18,641 [run_init] DEBUG init version:0.0.0 force:False [2023-10-25T00:02:18.748Z] 2023-10-25 00:02:18,642 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-25T00:02:18.748Z] 2023-10-25 00:02:18,642 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-25T00:02:18.748Z] 2023-10-25 00:02:18,642 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T00:02:19.687Z] 2023-10-25 00:02:19,519 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-10-25T00:02:19.687Z] 2023-10-25 00:02:19,520 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-10-25T00:02:19.687Z] 2023-10-25 00:02:19,520 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:02:19.687Z] 2023-10-25 00:02:19,520 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:02:19.687Z] 3.1.0-dev.9 [Pipeline] } [2023-10-25T00:02:19.699Z] $ docker exec --env ******** --env ******** 905f2d5d16ce172235c7b66c4c6fe908469e627cd50c6ad62342a38f62aae5ab ssh-agent -k [2023-10-25T00:02:19.791Z] unset SSH_AUTH_SOCK; [2023-10-25T00:02:19.792Z] unset SSH_AGENT_PID; [2023-10-25T00:02:19.792Z] echo Agent pid 77 killed; [2023-10-25T00:02:19.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T00:02:20.097Z] + git semver [Pipeline] } [2023-10-25T00:02:20.370Z] $ docker stop --time=1 905f2d5d16ce172235c7b66c4c6fe908469e627cd50c6ad62342a38f62aae5ab [2023-10-25T00:02:21.689Z] $ docker rm -f --volumes 905f2d5d16ce172235c7b66c4c6fe908469e627cd50c6ad62342a38f62aae5ab [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T00:02:22.018Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-25T00:02:22.198Z] Stashed 1 file(s) [Pipeline] echo [2023-10-25T00:02:22.200Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T00:02:22.339Z] provisioning config files... [2023-10-25T00:02:22.348Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4570413535490526545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:02:22.641Z] ---> docker-login.sh [2023-10-25T00:02:22.641Z] nexus3.edgexfoundry.org:10001 [2023-10-25T00:02:22.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:22.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:22.641Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:22.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:22.641Z] [2023-10-25T00:02:22.641Z] Login Succeeded [2023-10-25T00:02:22.641Z] nexus3.edgexfoundry.org:10002 [2023-10-25T00:02:22.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:22.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:22.641Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:22.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:22.641Z] [2023-10-25T00:02:22.641Z] Login Succeeded [2023-10-25T00:02:22.641Z] nexus3.edgexfoundry.org:10003 [2023-10-25T00:02:22.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:22.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:22.899Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:22.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:22.899Z] [2023-10-25T00:02:22.899Z] Login Succeeded [2023-10-25T00:02:22.899Z] nexus3.edgexfoundry.org:10004 [2023-10-25T00:02:22.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:22.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:22.899Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:22.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:22.899Z] [2023-10-25T00:02:22.899Z] Login Succeeded [2023-10-25T00:02:22.899Z] docker.io [2023-10-25T00:02:22.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:02:23.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:02:23.160Z] Configure a credential helper to remove this warning. See [2023-10-25T00:02:23.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:02:23.160Z] [2023-10-25T00:02:23.160Z] Login Succeeded [2023-10-25T00:02:23.160Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T00:02:23.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T00:02:23.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T00:02:23.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T00:02:23.244Z] ========================================================= [2023-10-25T00:02:23.244Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-25T00:02:23.244Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:02:23.549Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T00:02:23.549Z] Sending build context to Docker daemon 5.721MB [2023-10-25T00:02:23.549Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T00:02:23.549Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T00:02:23.549Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-25T00:02:23.549Z] 7264a8db6415: Pulling fs layer [2023-10-25T00:02:23.549Z] c4d48a809fc2: Pulling fs layer [2023-10-25T00:02:23.549Z] 4f1c88b9dad5: Pulling fs layer [2023-10-25T00:02:23.549Z] ad3a456e5733: Pulling fs layer [2023-10-25T00:02:23.549Z] 33e27b845d1e: Pulling fs layer [2023-10-25T00:02:23.549Z] c68163c4e522: Pulling fs layer [2023-10-25T00:02:23.549Z] 50da416c3ac9: Pulling fs layer [2023-10-25T00:02:23.549Z] 23d2d4c4bb30: Pulling fs layer [2023-10-25T00:02:23.549Z] ad3a456e5733: Waiting [2023-10-25T00:02:23.549Z] 33e27b845d1e: Waiting [2023-10-25T00:02:23.549Z] c68163c4e522: Waiting [2023-10-25T00:02:23.549Z] 50da416c3ac9: Waiting [2023-10-25T00:02:23.549Z] 23d2d4c4bb30: Waiting [2023-10-25T00:02:23.549Z] c4d48a809fc2: Verifying Checksum [2023-10-25T00:02:23.549Z] c4d48a809fc2: Download complete [2023-10-25T00:02:23.549Z] ad3a456e5733: Verifying Checksum [2023-10-25T00:02:23.549Z] ad3a456e5733: Download complete [2023-10-25T00:02:23.549Z] 33e27b845d1e: Verifying Checksum [2023-10-25T00:02:23.549Z] 33e27b845d1e: Download complete [2023-10-25T00:02:23.549Z] 7264a8db6415: Verifying Checksum [2023-10-25T00:02:23.549Z] 7264a8db6415: Download complete [2023-10-25T00:02:23.808Z] c68163c4e522: Verifying Checksum [2023-10-25T00:02:23.808Z] c68163c4e522: Download complete [2023-10-25T00:02:23.808Z] 7264a8db6415: Pull complete [2023-10-25T00:02:23.808Z] 23d2d4c4bb30: Verifying Checksum [2023-10-25T00:02:23.808Z] 23d2d4c4bb30: Download complete [2023-10-25T00:02:23.808Z] c4d48a809fc2: Pull complete [2023-10-25T00:02:24.066Z] 4f1c88b9dad5: Verifying Checksum [2023-10-25T00:02:24.066Z] 4f1c88b9dad5: Download complete [2023-10-25T00:02:24.326Z] 50da416c3ac9: Verifying Checksum [2023-10-25T00:02:24.326Z] 50da416c3ac9: Download complete [2023-10-25T00:02:26.852Z] 4f1c88b9dad5: Pull complete [2023-10-25T00:02:27.110Z] ad3a456e5733: Pull complete [2023-10-25T00:02:27.110Z] 33e27b845d1e: Pull complete [2023-10-25T00:02:27.110Z] c68163c4e522: Pull complete [2023-10-25T00:02:29.660Z] 50da416c3ac9: Pull complete [2023-10-25T00:02:29.918Z] 23d2d4c4bb30: Pull complete [2023-10-25T00:02:29.918Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-25T00:02:29.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-25T00:02:29.918Z] ---> 0786185ac409 [2023-10-25T00:02:29.918Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T00:02:35.360Z] ---> Running in e9db5cb86cde [2023-10-25T00:02:35.360Z] Removing intermediate container e9db5cb86cde [2023-10-25T00:02:35.360Z] ---> 99c9a1aca81f [2023-10-25T00:02:35.360Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T00:02:35.360Z] ---> Running in b78fbed33710 [2023-10-25T00:02:35.360Z] Removing intermediate container b78fbed33710 [2023-10-25T00:02:35.360Z] ---> 742ea04de1e6 [2023-10-25T00:02:35.360Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T00:02:35.360Z] ---> Running in 1e87d5a23d0a [2023-10-25T00:02:35.360Z] Removing intermediate container 1e87d5a23d0a [2023-10-25T00:02:35.360Z] ---> 3f03fe326cbe [2023-10-25T00:02:35.360Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T00:02:35.360Z] ---> Running in d2f520545169 [2023-10-25T00:02:35.360Z] Removing intermediate container d2f520545169 [2023-10-25T00:02:35.360Z] ---> 58538757ca71 [2023-10-25T00:02:35.360Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T00:02:35.360Z] ---> Running in 681e5cee84c3 [2023-10-25T00:02:35.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T00:02:35.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T00:02:35.877Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T00:02:35.877Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T00:02:35.877Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T00:02:35.877Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T00:02:35.877Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T00:02:35.877Z] OK: 268 MiB in 56 packages [2023-10-25T00:02:36.445Z] Removing intermediate container 681e5cee84c3 [2023-10-25T00:02:36.445Z] ---> a7394a78cd53 [2023-10-25T00:02:36.445Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-25T00:02:36.445Z] ---> Running in 9dabffe48185 [2023-10-25T00:02:36.704Z] Removing intermediate container 9dabffe48185 [2023-10-25T00:02:36.704Z] ---> e31a39f43d49 [2023-10-25T00:02:36.704Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-25T00:02:36.704Z] ---> d18f0422ba91 [2023-10-25T00:02:36.704Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T00:02:36.704Z] ---> Running in 847ee36d5225 [2023-10-25T00:02:37.308Z] Still waiting to schedule task [2023-10-25T00:02:37.309Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10336’ [2023-10-25T00:03:23.392Z] Removing intermediate container 847ee36d5225 [2023-10-25T00:03:23.392Z] ---> 73d4bf529ac5 [2023-10-25T00:03:23.392Z] Step 11/12 : COPY . . [2023-10-25T00:03:24.327Z] ---> 4d54c14d74e2 [2023-10-25T00:03:24.327Z] Step 12/12 : RUN ${MAKE} [2023-10-25T00:03:24.327Z] ---> Running in 0f28a9b43a29 [2023-10-25T00:03:24.327Z] noop [2023-10-25T00:03:24.585Z] Removing intermediate container 0f28a9b43a29 [2023-10-25T00:03:24.585Z] ---> f6af3f32b903 [2023-10-25T00:03:24.585Z] Successfully built f6af3f32b903 [2023-10-25T00:03:24.844Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:03:25.161Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T00:03:25.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:03:25.233Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:03:25.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-25T00:03:25.572Z] $ docker top e0c5bdf7a86f10378a694261dfc87aa2cc9e6c6a07b7a9786ae8a721624bf9b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T00:03:25.912Z] + go version [2023-10-25T00:03:25.912Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-25T00:03:25.920Z] $ docker stop --time=1 e0c5bdf7a86f10378a694261dfc87aa2cc9e6c6a07b7a9786ae8a721624bf9b5 [2023-10-25T00:03:27.177Z] $ docker rm -f --volumes e0c5bdf7a86f10378a694261dfc87aa2cc9e6c6a07b7a9786ae8a721624bf9b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:03:27.555Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T00:03:27.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:03:27.620Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:03:27.654Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-25T00:03:27.974Z] $ docker top 42d86727c373bb33e39d4afbba863a2e1e4b913a89af29e17215194e472e33bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T00:03:28.314Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-25T00:03:28.610Z] + make test [2023-10-25T00:03:28.610Z] go test ./... -coverprofile=coverage.out [2023-10-25T00:03:29.989Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-25T00:03:39.958Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-25T00:03:39.958Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2023-10-25T00:03:45.218Z] go vet ./... [2023-10-25T00:03:47.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T00:03:47.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T00:03:47.744Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T00:03:48.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T00:03:48.026Z] $ docker stop --time=1 42d86727c373bb33e39d4afbba863a2e1e4b913a89af29e17215194e472e33bc [2023-10-25T00:03:51.391Z] $ docker rm -f --volumes 42d86727c373bb33e39d4afbba863a2e1e4b913a89af29e17215194e472e33bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T00:03:51.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T00:03:51.903Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-25T00:03:52.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T00:03:52.738Z] + ls -al . [2023-10-25T00:03:52.738Z] total 172 [2023-10-25T00:03:52.738Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 00:03 . [2023-10-25T00:03:52.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 00:02 .. [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 25 00:02 .dockerignore [2023-10-25T00:03:52.738Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 00:03 .git [2023-10-25T00:03:52.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:02 .github [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 263 Oct 25 00:02 .gitignore [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 00:02 .golangci.yml [2023-10-25T00:03:52.738Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 00:02 .semver [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 25 00:02 Attribution.txt [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 25 00:02 CHANGELOG.md [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 25 00:02 Dockerfile [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 00:02 GOVERNANCE.md [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 25 00:02 Jenkinsfile [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 00:02 LICENSE [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 25 00:02 Makefile [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 00:02 OWNERS.md [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 10477 Oct 25 00:02 README.md [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 00:02 VERSION [2023-10-25T00:03:52.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 00:02 bin [2023-10-25T00:03:52.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:02 cmd [2023-10-25T00:03:52.738Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 25 00:03 coverage.out [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 25 00:02 go.mod [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 34822 Oct 25 00:02 go.sum [2023-10-25T00:03:52.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:02 internal [2023-10-25T00:03:52.738Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 25 00:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:03:53.098Z] + 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=23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 --label arch=amd64 --label version=3.1.0-dev.9 . [2023-10-25T00:03:53.098Z] Sending build context to Docker daemon 5.731MB [2023-10-25T00:03:53.098Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T00:03:53.099Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-25T00:03:53.099Z] ---> f6af3f32b903 [2023-10-25T00:03:53.099Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-25T00:03:53.357Z] ---> Running in 47dc1e337288 [2023-10-25T00:03:53.357Z] Removing intermediate container 47dc1e337288 [2023-10-25T00:03:53.357Z] ---> a31147709df6 [2023-10-25T00:03:53.357Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T00:03:53.357Z] ---> Running in 917e7fab6aff [2023-10-25T00:03:53.357Z] Removing intermediate container 917e7fab6aff [2023-10-25T00:03:53.357Z] ---> b501b20a5c80 [2023-10-25T00:03:53.357Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T00:03:53.357Z] ---> Running in 4f73c716cf6c [2023-10-25T00:03:53.357Z] Removing intermediate container 4f73c716cf6c [2023-10-25T00:03:53.357Z] ---> 8502eb55c9a9 [2023-10-25T00:03:53.357Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T00:03:53.617Z] ---> Running in 5eaa4e6cb9f6 [2023-10-25T00:03:53.617Z] Removing intermediate container 5eaa4e6cb9f6 [2023-10-25T00:03:53.617Z] ---> a6bcc17b5b39 [2023-10-25T00:03:53.617Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T00:03:53.617Z] ---> Running in 4a8dbcef0f4b [2023-10-25T00:03:53.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T00:03:54.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T00:03:54.393Z] OK: 268 MiB in 56 packages [2023-10-25T00:03:54.652Z] Removing intermediate container 4a8dbcef0f4b [2023-10-25T00:03:54.652Z] ---> fd5ab8fb3b79 [2023-10-25T00:03:54.652Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-25T00:03:54.652Z] ---> Running in bbf4438ecb55 [2023-10-25T00:03:54.910Z] Removing intermediate container bbf4438ecb55 [2023-10-25T00:03:54.910Z] ---> 9ca904c387cf [2023-10-25T00:03:54.910Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-25T00:03:54.910Z] ---> b1b07e951bd3 [2023-10-25T00:03:54.910Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T00:03:54.910Z] ---> Running in 9cf0cb7caa48 [2023-10-25T00:03:55.478Z] Removing intermediate container 9cf0cb7caa48 [2023-10-25T00:03:55.478Z] ---> 1e1bfda4d371 [2023-10-25T00:03:55.478Z] Step 11/24 : COPY . . [2023-10-25T00:03:56.047Z] ---> 9ec59ad95cdf [2023-10-25T00:03:56.047Z] Step 12/24 : RUN ${MAKE} [2023-10-25T00:03:56.047Z] ---> Running in 30b781d55534 [2023-10-25T00:03:56.305Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-25T00:04:18.266Z] Removing intermediate container 30b781d55534 [2023-10-25T00:04:18.266Z] ---> 79d9ce9cb548 [2023-10-25T00:04:18.266Z] Step 13/24 : FROM alpine:3.18 [2023-10-25T00:04:18.266Z] 3.18: Pulling from library/alpine [2023-10-25T00:04:18.266Z] 96526aa774ef: Pulling fs layer [2023-10-25T00:04:18.266Z] 96526aa774ef: Verifying Checksum [2023-10-25T00:04:18.266Z] 96526aa774ef: Download complete [2023-10-25T00:04:18.266Z] 96526aa774ef: Pull complete [2023-10-25T00:04:18.266Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T00:04:18.266Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T00:04:18.266Z] ---> 8ca4688f4f35 [2023-10-25T00:04:18.266Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-25T00:04:18.266Z] ---> Running in fa15e00a7c33 [2023-10-25T00:04:18.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T00:04:18.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T00:04:18.266Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-25T00:04:18.266Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T00:04:18.266Z] OK: 7 MiB in 16 packages [2023-10-25T00:04:18.266Z] Removing intermediate container fa15e00a7c33 [2023-10-25T00:04:18.266Z] ---> a32d3d84cb0e [2023-10-25T00:04:18.266Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-25T00:04:18.266Z] ---> e4c6c2b6fc31 [2023-10-25T00:04:18.266Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-25T00:04:18.266Z] ---> 4ef3afaa17cc [2023-10-25T00:04:18.266Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-25T00:04:18.266Z] ---> 5838d0850256 [2023-10-25T00:04:18.266Z] Step 18/24 : EXPOSE 59993 [2023-10-25T00:04:18.266Z] ---> Running in 7250490a4538 [2023-10-25T00:04:18.266Z] Removing intermediate container 7250490a4538 [2023-10-25T00:04:18.266Z] ---> e72496586e8a [2023-10-25T00:04:18.266Z] Step 19/24 : EXPOSE 161 [2023-10-25T00:04:18.266Z] ---> Running in 3c404eb56a9f [2023-10-25T00:04:18.525Z] Removing intermediate container 3c404eb56a9f [2023-10-25T00:04:18.525Z] ---> 0b03b92fbe0d [2023-10-25T00:04:18.525Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-25T00:04:18.525Z] ---> Running in 87d4de737d4d [2023-10-25T00:04:18.525Z] Removing intermediate container 87d4de737d4d [2023-10-25T00:04:18.525Z] ---> f4488ddbab69 [2023-10-25T00:04:18.525Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T00:04:18.525Z] ---> Running in 37389960f35e [2023-10-25T00:04:18.525Z] Removing intermediate container 37389960f35e [2023-10-25T00:04:18.525Z] ---> 40fe2cddaeeb [2023-10-25T00:04:18.525Z] Step 22/24 : LABEL arch=amd64 [2023-10-25T00:04:18.783Z] ---> Running in 9d571d5b528e [2023-10-25T00:04:18.783Z] Removing intermediate container 9d571d5b528e [2023-10-25T00:04:18.783Z] ---> 4add58373733 [2023-10-25T00:04:18.783Z] Step 23/24 : LABEL git_sha=23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [2023-10-25T00:04:18.783Z] ---> Running in 3de8dcd1c416 [2023-10-25T00:04:18.783Z] Removing intermediate container 3de8dcd1c416 [2023-10-25T00:04:18.783Z] ---> 2395519e20fa [2023-10-25T00:04:18.783Z] Step 24/24 : LABEL version=3.1.0-dev.9 [2023-10-25T00:04:18.783Z] ---> Running in 10309f043584 [2023-10-25T00:04:18.783Z] Removing intermediate container 10309f043584 [2023-10-25T00:04:18.783Z] ---> 683622a32e6a [2023-10-25T00:04:18.783Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T00:04:18.783Z] Successfully built 683622a32e6a [2023-10-25T00:04:18.783Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T00:04:18.864Z] provisioning config files... [2023-10-25T00:04:18.872Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13146484167765738741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:04:19.163Z] ---> docker-login.sh [2023-10-25T00:04:19.163Z] nexus3.edgexfoundry.org:10001 [2023-10-25T00:04:19.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:04:19.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:04:19.163Z] Configure a credential helper to remove this warning. See [2023-10-25T00:04:19.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:04:19.163Z] [2023-10-25T00:04:19.163Z] Login Succeeded [2023-10-25T00:04:19.163Z] nexus3.edgexfoundry.org:10002 [2023-10-25T00:04:19.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:04:19.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:04:19.163Z] Configure a credential helper to remove this warning. See [2023-10-25T00:04:19.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:04:19.163Z] [2023-10-25T00:04:19.163Z] Login Succeeded [2023-10-25T00:04:19.163Z] nexus3.edgexfoundry.org:10003 [2023-10-25T00:04:19.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:04:19.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:04:19.427Z] Configure a credential helper to remove this warning. See [2023-10-25T00:04:19.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:04:19.427Z] [2023-10-25T00:04:19.427Z] Login Succeeded [2023-10-25T00:04:19.427Z] nexus3.edgexfoundry.org:10004 [2023-10-25T00:04:19.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:04:19.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:04:19.427Z] Configure a credential helper to remove this warning. See [2023-10-25T00:04:19.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:04:19.427Z] [2023-10-25T00:04:19.427Z] Login Succeeded [2023-10-25T00:04:19.427Z] docker.io [2023-10-25T00:04:19.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:04:19.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:04:19.687Z] Configure a credential helper to remove this warning. See [2023-10-25T00:04:19.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:04:19.687Z] [2023-10-25T00:04:19.687Z] Login Succeeded [2023-10-25T00:04:19.687Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T00:04:19.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T00:04:19.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T00:04:19.740Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-10-25T00:04:19.740Z] 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [2023-10-25T00:04:19.740Z] latest [2023-10-25T00:04:19.740Z] 3.1.0-dev.9 [2023-10-25T00:04:19.740Z] 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9 [2023-10-25T00:04:19.740Z] main [2023-10-25T00:04:19.740Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:20.066Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:20.378Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [2023-10-25T00:04:20.378Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-25T00:04:20.378Z] 345d7c1fe1a8: Preparing [2023-10-25T00:04:20.378Z] eafa3b40a0fd: Preparing [2023-10-25T00:04:20.378Z] dba34f36df1b: Preparing [2023-10-25T00:04:20.378Z] df876378ee03: Preparing [2023-10-25T00:04:20.378Z] cc2447e1835a: Preparing [2023-10-25T00:04:20.378Z] cc2447e1835a: Layer already exists [2023-10-25T00:04:20.378Z] 345d7c1fe1a8: Pushed [2023-10-25T00:04:20.378Z] df876378ee03: Pushed [2023-10-25T00:04:20.378Z] eafa3b40a0fd: Pushed [2023-10-25T00:04:22.913Z] dba34f36df1b: Pushed [2023-10-25T00:04:23.172Z] 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520: digest: sha256:e820cb8dfe4f087d882f6eaef9c54e0a9563ac39cc122d52a4478da7b9456230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:23.490Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:23.806Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-25T00:04:23.806Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-25T00:04:23.806Z] 345d7c1fe1a8: Preparing [2023-10-25T00:04:23.806Z] eafa3b40a0fd: Preparing [2023-10-25T00:04:23.806Z] dba34f36df1b: Preparing [2023-10-25T00:04:23.806Z] df876378ee03: Preparing [2023-10-25T00:04:23.806Z] cc2447e1835a: Preparing [2023-10-25T00:04:23.806Z] cc2447e1835a: Layer already exists [2023-10-25T00:04:23.806Z] df876378ee03: Layer already exists [2023-10-25T00:04:23.806Z] 345d7c1fe1a8: Layer already exists [2023-10-25T00:04:23.806Z] eafa3b40a0fd: Layer already exists [2023-10-25T00:04:23.806Z] dba34f36df1b: Layer already exists [2023-10-25T00:04:23.806Z] latest: digest: sha256:e820cb8dfe4f087d882f6eaef9c54e0a9563ac39cc122d52a4478da7b9456230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:24.136Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:24.447Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.9 [2023-10-25T00:04:24.447Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-25T00:04:24.447Z] 345d7c1fe1a8: Preparing [2023-10-25T00:04:24.447Z] eafa3b40a0fd: Preparing [2023-10-25T00:04:24.447Z] dba34f36df1b: Preparing [2023-10-25T00:04:24.447Z] df876378ee03: Preparing [2023-10-25T00:04:24.447Z] cc2447e1835a: Preparing [2023-10-25T00:04:24.447Z] eafa3b40a0fd: Layer already exists [2023-10-25T00:04:24.447Z] dba34f36df1b: Layer already exists [2023-10-25T00:04:24.447Z] 345d7c1fe1a8: Layer already exists [2023-10-25T00:04:24.447Z] df876378ee03: Layer already exists [2023-10-25T00:04:24.447Z] cc2447e1835a: Layer already exists [2023-10-25T00:04:24.447Z] 3.1.0-dev.9: digest: sha256:e820cb8dfe4f087d882f6eaef9c54e0a9563ac39cc122d52a4478da7b9456230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:24.775Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:25.081Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9 [2023-10-25T00:04:25.081Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-25T00:04:25.081Z] 345d7c1fe1a8: Preparing [2023-10-25T00:04:25.081Z] eafa3b40a0fd: Preparing [2023-10-25T00:04:25.081Z] dba34f36df1b: Preparing [2023-10-25T00:04:25.081Z] df876378ee03: Preparing [2023-10-25T00:04:25.081Z] cc2447e1835a: Preparing [2023-10-25T00:04:25.081Z] 345d7c1fe1a8: Layer already exists [2023-10-25T00:04:25.081Z] cc2447e1835a: Layer already exists [2023-10-25T00:04:25.081Z] dba34f36df1b: Layer already exists [2023-10-25T00:04:25.081Z] eafa3b40a0fd: Layer already exists [2023-10-25T00:04:25.081Z] df876378ee03: Layer already exists [2023-10-25T00:04:25.081Z] 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9: digest: sha256:e820cb8dfe4f087d882f6eaef9c54e0a9563ac39cc122d52a4478da7b9456230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:25.392Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:25.694Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-10-25T00:04:25.694Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-25T00:04:25.694Z] 345d7c1fe1a8: Preparing [2023-10-25T00:04:25.694Z] eafa3b40a0fd: Preparing [2023-10-25T00:04:25.694Z] dba34f36df1b: Preparing [2023-10-25T00:04:25.694Z] df876378ee03: Preparing [2023-10-25T00:04:25.694Z] cc2447e1835a: Preparing [2023-10-25T00:04:25.694Z] df876378ee03: Layer already exists [2023-10-25T00:04:25.694Z] dba34f36df1b: Layer already exists [2023-10-25T00:04:25.694Z] cc2447e1835a: Layer already exists [2023-10-25T00:04:25.694Z] 345d7c1fe1a8: Layer already exists [2023-10-25T00:04:25.694Z] eafa3b40a0fd: Layer already exists [2023-10-25T00:04:25.694Z] main: digest: sha256:e820cb8dfe4f087d882f6eaef9c54e0a9563ac39cc122d52a4478da7b9456230 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T00:04:25.731Z] ===================================================== [Pipeline] echo [2023-10-25T00:04:25.738Z] taggedImages: [2023-10-25T00:04:25.738Z] - nexus3.edgexfoundry.org:10004/device-snmp:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [2023-10-25T00:04:25.738Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-25T00:04:25.738Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.9 [2023-10-25T00:04:25.738Z] - nexus3.edgexfoundry.org:10004/device-snmp:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9 [2023-10-25T00:04:25.738Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:26.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T00:04:26.088Z] [2023-10-25T00:04:26.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:04:26.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T00:04:26.384Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-25T00:04:26.384Z] 5eb5b503b376: Pulling fs layer [2023-10-25T00:04:26.384Z] 5c69ac0246d0: Pulling fs layer [2023-10-25T00:04:26.384Z] ec43610c2a17: Pulling fs layer [2023-10-25T00:04:26.384Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-25T00:04:26.384Z] 33b1e0a273af: Pulling fs layer [2023-10-25T00:04:26.384Z] 5d3b04190fa2: Pulling fs layer [2023-10-25T00:04:26.384Z] 2f39f015ded8: Pulling fs layer [2023-10-25T00:04:26.384Z] 3a2ae6a8a46f: Waiting [2023-10-25T00:04:26.384Z] 5d3b04190fa2: Waiting [2023-10-25T00:04:26.384Z] 2f39f015ded8: Waiting [2023-10-25T00:04:26.384Z] 33b1e0a273af: Waiting [2023-10-25T00:04:26.384Z] 5c69ac0246d0: Verifying Checksum [2023-10-25T00:04:26.384Z] 5c69ac0246d0: Download complete [2023-10-25T00:04:26.384Z] 3a2ae6a8a46f: Download complete [2023-10-25T00:04:26.384Z] 33b1e0a273af: Verifying Checksum [2023-10-25T00:04:26.384Z] 33b1e0a273af: Download complete [2023-10-25T00:04:26.384Z] 5d3b04190fa2: Download complete [2023-10-25T00:04:26.384Z] ec43610c2a17: Verifying Checksum [2023-10-25T00:04:26.384Z] ec43610c2a17: Download complete [2023-10-25T00:04:26.641Z] 5eb5b503b376: Verifying Checksum [2023-10-25T00:04:26.641Z] 5eb5b503b376: Download complete [2023-10-25T00:04:27.210Z] 2f39f015ded8: Download complete [2023-10-25T00:04:27.776Z] 5eb5b503b376: Pull complete [2023-10-25T00:04:28.035Z] 5c69ac0246d0: Pull complete [2023-10-25T00:04:28.603Z] ec43610c2a17: Pull complete [2023-10-25T00:04:28.603Z] 3a2ae6a8a46f: Pull complete [2023-10-25T00:04:28.603Z] 33b1e0a273af: Pull complete [2023-10-25T00:04:28.862Z] 5d3b04190fa2: Pull complete [2023-10-25T00:04:33.048Z] 2f39f015ded8: Pull complete [2023-10-25T00:04:33.048Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-25T00:04:33.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T00:04:33.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:04:33.123Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:04:33.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T00:04:37.065Z] $ docker top 640902337ac986351099a8a6ed2e73d42ce569102ce518139b40b2df5289c5f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:04:37.443Z] ---> job-cost.sh [2023-10-25T00:04:37.443Z] lf-activate-venv: SKIPPING [2023-10-25T00:04:37.443Z] INFO: No Stack... [2023-10-25T00:04:37.700Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T00:04:37.961Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T00:04:38.252Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-10-25T00:04:38.253Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T00:04:38.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-95-stack-cost] [2023-10-25T00:04:38.272Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-95-stack-cost] did not exist. Created. [2023-10-25T00:04:38.272Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T00:04:38.575Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-25T00:04:38.602Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T00:04:38.608Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T00:04:38.625Z] $ docker stop --time=1 640902337ac986351099a8a6ed2e73d42ce569102ce518139b40b2df5289c5f3 [2023-10-25T00:04:39.785Z] $ docker rm -f --volumes 640902337ac986351099a8a6ed2e73d42ce569102ce518139b40b2df5289c5f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-25T00:05:40.574Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10341 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-10-25T00:05:40.588Z] Running in /w/workspace/device-snmp-go/95 [Pipeline] { [Pipeline] checkout [2023-10-25T00:05:40.627Z] Selected Git installation does not exist. Using Default [2023-10-25T00:05:40.627Z] The recommended git tool is: NONE [2023-10-25T00:05:46.835Z] using credential edgex-jenkins-ssh [2023-10-25T00:05:46.851Z] Cloning the remote Git repository [2023-10-25T00:05:46.901Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-10-25T00:05:47.035Z] > git init /w/workspace/device-snmp-go/95 # timeout=10 [2023-10-25T00:05:47.200Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-10-25T00:05:47.201Z] > git --version # timeout=10 [2023-10-25T00:05:47.223Z] > git --version # 'git version 2.25.1' [2023-10-25T00:05:47.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-25T00:05:47.404Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T00:05:52.099Z] Avoid second fetch [2023-10-25T00:05:52.100Z] Checking out Revision 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 (main) [2023-10-25T00:05:51.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-10-25T00:05:51.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T00:05:52.118Z] > git config core.sparsecheckout # timeout=10 [2023-10-25T00:05:52.196Z] > git checkout -f 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 # timeout=10 [2023-10-25T00:05:52.732Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#324)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T00:05:53.675Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-25T00:05:53.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T00:05:53.675Z] Dload Upload Total Spent Left Speed [2023-10-25T00:05:53.675Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh [2023-10-25T00:05:54.317Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-25T00:05:54.659Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-10-25T00:05:54.659Z] /etc/docker/daemon.json [2023-10-25T00:05:54.659Z] { [2023-10-25T00:05:54.659Z] "registry-mirrors": [ [2023-10-25T00:05:54.659Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-25T00:05:54.659Z] ], [2023-10-25T00:05:54.659Z] "bip": "10.250.0.254/24", [2023-10-25T00:05:54.659Z] "hosts": [ [2023-10-25T00:05:54.659Z] "tcp://0.0.0.0:5555", [2023-10-25T00:05:54.659Z] "unix:///var/run/docker.sock" [2023-10-25T00:05:54.659Z] ], [2023-10-25T00:05:54.659Z] "mtu": 1458, [2023-10-25T00:05:54.659Z] "selinux-enabled": true, [2023-10-25T00:05:54.659Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-25T00:05:54.659Z] } [Pipeline] sh [2023-10-25T00:05:55.007Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-25T00:05:55.370Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T00:06:13.652Z] provisioning config files... [2023-10-25T00:06:13.678Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/95@tmp/config9818538925640779657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:06:14.036Z] ---> docker-login.sh [2023-10-25T00:06:14.036Z] nexus3.edgexfoundry.org:10001 [2023-10-25T00:06:14.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:06:14.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:06:14.578Z] Configure a credential helper to remove this warning. See [2023-10-25T00:06:14.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:06:14.578Z] [2023-10-25T00:06:14.578Z] Login Succeeded [2023-10-25T00:06:14.578Z] nexus3.edgexfoundry.org:10002 [2023-10-25T00:06:14.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:06:15.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:06:15.117Z] Configure a credential helper to remove this warning. See [2023-10-25T00:06:15.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:06:15.117Z] [2023-10-25T00:06:15.117Z] Login Succeeded [2023-10-25T00:06:15.117Z] nexus3.edgexfoundry.org:10003 [2023-10-25T00:06:15.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:06:15.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:06:15.385Z] Configure a credential helper to remove this warning. See [2023-10-25T00:06:15.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:06:15.385Z] [2023-10-25T00:06:15.385Z] Login Succeeded [2023-10-25T00:06:15.385Z] nexus3.edgexfoundry.org:10004 [2023-10-25T00:06:15.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:06:15.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:06:15.655Z] Configure a credential helper to remove this warning. See [2023-10-25T00:06:15.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:06:15.655Z] [2023-10-25T00:06:15.655Z] Login Succeeded [2023-10-25T00:06:15.655Z] docker.io [2023-10-25T00:06:15.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:06:16.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:06:16.193Z] Configure a credential helper to remove this warning. See [2023-10-25T00:06:16.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:06:16.193Z] [2023-10-25T00:06:16.193Z] Login Succeeded [2023-10-25T00:06:16.193Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T00:06:16.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T00:06:16.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T00:06:16.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T00:06:16.483Z] ========================================================= [2023-10-25T00:06:16.483Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-25T00:06:16.483Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:06:16.829Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T00:06:17.096Z] Sending build context to Docker daemon 2.938MB [2023-10-25T00:06:17.096Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T00:06:17.096Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T00:06:17.365Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-25T00:06:17.365Z] 9fda8d8052c6: Pulling fs layer [2023-10-25T00:06:17.365Z] 5d54e960e981: Pulling fs layer [2023-10-25T00:06:17.365Z] c4a7e357bf2a: Pulling fs layer [2023-10-25T00:06:17.365Z] f0e02332f6b5: Pulling fs layer [2023-10-25T00:06:17.365Z] cefa15bbcfad: Pulling fs layer [2023-10-25T00:06:17.365Z] 17808c966233: Pulling fs layer [2023-10-25T00:06:17.365Z] f4c1fc716caa: Pulling fs layer [2023-10-25T00:06:17.365Z] f0e02332f6b5: Waiting [2023-10-25T00:06:17.365Z] cefa15bbcfad: Waiting [2023-10-25T00:06:17.365Z] 17808c966233: Waiting [2023-10-25T00:06:17.365Z] f4c1fc716caa: Waiting [2023-10-25T00:06:17.365Z] 5d54e960e981: Download complete [2023-10-25T00:06:17.365Z] f0e02332f6b5: Verifying Checksum [2023-10-25T00:06:17.365Z] f0e02332f6b5: Download complete [2023-10-25T00:06:17.365Z] cefa15bbcfad: Verifying Checksum [2023-10-25T00:06:17.365Z] cefa15bbcfad: Download complete [2023-10-25T00:06:17.365Z] 9fda8d8052c6: Verifying Checksum [2023-10-25T00:06:17.365Z] 9fda8d8052c6: Download complete [2023-10-25T00:06:17.950Z] f4c1fc716caa: Verifying Checksum [2023-10-25T00:06:17.950Z] f4c1fc716caa: Download complete [2023-10-25T00:06:19.360Z] c4a7e357bf2a: Verifying Checksum [2023-10-25T00:06:19.360Z] c4a7e357bf2a: Download complete [2023-10-25T00:06:19.947Z] 17808c966233: Verifying Checksum [2023-10-25T00:06:19.947Z] 17808c966233: Download complete [2023-10-25T00:06:19.947Z] 9fda8d8052c6: Pull complete [2023-10-25T00:06:20.543Z] 5d54e960e981: Pull complete [2023-10-25T00:06:35.575Z] c4a7e357bf2a: Pull complete [2023-10-25T00:06:35.575Z] f0e02332f6b5: Pull complete [2023-10-25T00:06:35.575Z] cefa15bbcfad: Pull complete [2023-10-25T00:06:43.820Z] 17808c966233: Pull complete [2023-10-25T00:06:45.771Z] f4c1fc716caa: Pull complete [2023-10-25T00:06:45.771Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-25T00:06:45.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-25T00:06:45.771Z] ---> ea914061e18c [2023-10-25T00:06:45.771Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T00:06:46.356Z] ---> Running in b44105cf317c [2023-10-25T00:06:46.623Z] Removing intermediate container b44105cf317c [2023-10-25T00:06:46.623Z] ---> 3eb4b82e9359 [2023-10-25T00:06:46.623Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T00:06:46.903Z] ---> Running in bcead64a2cb7 [2023-10-25T00:06:47.171Z] Removing intermediate container bcead64a2cb7 [2023-10-25T00:06:47.171Z] ---> 1ebd64eb7f6a [2023-10-25T00:06:47.171Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T00:06:47.441Z] ---> Running in cb0a97135c24 [2023-10-25T00:06:47.707Z] Removing intermediate container cb0a97135c24 [2023-10-25T00:06:47.707Z] ---> f1d424635993 [2023-10-25T00:06:47.707Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T00:06:47.707Z] ---> Running in 1ffacf784816 [2023-10-25T00:06:47.975Z] Removing intermediate container 1ffacf784816 [2023-10-25T00:06:47.975Z] ---> 9a1ba62bdfd9 [2023-10-25T00:06:47.975Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T00:06:48.244Z] ---> Running in 65917a50cbbe [2023-10-25T00:06:49.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T00:06:49.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T00:06:51.171Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T00:06:51.171Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T00:06:51.171Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T00:06:51.171Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T00:06:51.171Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T00:06:51.171Z] OK: 270 MiB in 56 packages [2023-10-25T00:06:52.583Z] Removing intermediate container 65917a50cbbe [2023-10-25T00:06:52.583Z] ---> 84d76b5856aa [2023-10-25T00:06:52.583Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-25T00:06:52.583Z] ---> Running in 228e1a91127c [2023-10-25T00:06:52.853Z] Removing intermediate container 228e1a91127c [2023-10-25T00:06:52.853Z] ---> 1ff264ca243d [2023-10-25T00:06:52.853Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-25T00:06:53.454Z] ---> ca6187474337 [2023-10-25T00:06:53.454Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T00:06:53.454Z] ---> Running in d9eaea40bf0e [2023-10-25T00:08:30.196Z] Removing intermediate container d9eaea40bf0e [2023-10-25T00:08:30.196Z] ---> 29a6b6fafec5 [2023-10-25T00:08:30.196Z] Step 11/12 : COPY . . [2023-10-25T00:08:30.196Z] ---> 167821419baf [2023-10-25T00:08:30.196Z] Step 12/12 : RUN ${MAKE} [2023-10-25T00:08:30.196Z] ---> Running in d77cb7918594 [2023-10-25T00:08:30.196Z] noop [2023-10-25T00:08:30.196Z] Removing intermediate container d77cb7918594 [2023-10-25T00:08:30.196Z] ---> 7fb2e27b65e2 [2023-10-25T00:08:30.196Z] Successfully built 7fb2e27b65e2 [2023-10-25T00:08:30.196Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:08:30.551Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T00:08:30.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:08:30.783Z] prd-ubuntu20.04-docker-arm64-4c-16g-10341 does not seem to be running inside a container [2023-10-25T00:08:30.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/95 -v /w/workspace/device-snmp-go/95:/w/workspace/device-snmp-go/95:rw,z -v /w/workspace/device-snmp-go/95@tmp:/w/workspace/device-snmp-go/95@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-arm64 cat [2023-10-25T00:08:32.173Z] $ docker top 3cfd5f12ba45a83846078a418ebc18b778b0ddcc465a4498781f4f4479dc38e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T00:08:33.039Z] + go version [2023-10-25T00:08:33.039Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-25T00:08:33.066Z] $ docker stop --time=1 3cfd5f12ba45a83846078a418ebc18b778b0ddcc465a4498781f4f4479dc38e6 [2023-10-25T00:08:37.350Z] $ docker rm -f --volumes 3cfd5f12ba45a83846078a418ebc18b778b0ddcc465a4498781f4f4479dc38e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:08:37.907Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T00:08:37.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:08:38.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-10341 does not seem to be running inside a container [2023-10-25T00:08:38.224Z] $ 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/95 -v /w/workspace/device-snmp-go/95:/w/workspace/device-snmp-go/95:rw,z -v /w/workspace/device-snmp-go/95@tmp:/w/workspace/device-snmp-go/95@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-arm64 cat [2023-10-25T00:08:39.589Z] $ docker top 00b5f019a853d3735b9fa222528d051ec6e87d073ab4b245ec0731fc0c9fd2cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T00:08:40.451Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/95 [Pipeline] fileExists [Pipeline] sh [2023-10-25T00:08:41.104Z] + make test [2023-10-25T00:08:41.104Z] go test ./... -coverprofile=coverage.out [2023-10-25T00:08:45.389Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-25T00:10:37.083Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-25T00:10:37.083Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements [2023-10-25T00:10:37.083Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-25T00:10:37.083Z] go vet ./... [2023-10-25T00:10:59.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T00:10:59.155Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T00:10:59.155Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T00:10:59.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T00:10:59.195Z] $ docker stop --time=1 00b5f019a853d3735b9fa222528d051ec6e87d073ab4b245ec0731fc0c9fd2cb [2023-10-25T00:11:01.103Z] $ docker rm -f --volumes 00b5f019a853d3735b9fa222528d051ec6e87d073ab4b245ec0731fc0c9fd2cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T00:11:02.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T00:11:02.316Z] Warning: overwriting stash ‘coverage-report’ [2023-10-25T00:11:02.789Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T00:11:03.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T00:11:03.512Z] + ls -al . [2023-10-25T00:11:03.512Z] total 168 [2023-10-25T00:11:03.512Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 00:08 . [2023-10-25T00:11:03.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 00:05 .. [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 25 00:05 .dockerignore [2023-10-25T00:11:03.512Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 00:05 .git [2023-10-25T00:11:03.512Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:05 .github [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 263 Oct 25 00:05 .gitignore [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 00:05 .golangci.yml [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 25 00:05 Attribution.txt [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 25 00:05 CHANGELOG.md [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 25 00:05 Dockerfile [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 00:05 GOVERNANCE.md [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 25 00:05 Jenkinsfile [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 00:05 LICENSE [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 25 00:05 Makefile [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 00:05 OWNERS.md [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 10477 Oct 25 00:05 README.md [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 00:02 VERSION [2023-10-25T00:11:03.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 00:05 bin [2023-10-25T00:11:03.512Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:05 cmd [2023-10-25T00:11:03.512Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 25 00:10 coverage.out [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 25 00:05 go.mod [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 34822 Oct 25 00:05 go.sum [2023-10-25T00:11:03.512Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 00:05 internal [2023-10-25T00:11:03.512Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 25 00:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:11:03.855Z] + 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=23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 --label arch=arm64 --label version=3.1.0-dev.9 . [2023-10-25T00:11:04.123Z] Sending build context to Docker daemon 2.948MB [2023-10-25T00:11:04.390Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T00:11:04.390Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-25T00:11:04.390Z] ---> 7fb2e27b65e2 [2023-10-25T00:11:04.390Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-25T00:11:04.390Z] ---> Running in dd4a0feb8e0d [2023-10-25T00:11:04.660Z] Removing intermediate container dd4a0feb8e0d [2023-10-25T00:11:04.660Z] ---> 9e8351403c7e [2023-10-25T00:11:04.660Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T00:11:04.931Z] ---> Running in 57da12621f0e [2023-10-25T00:11:05.205Z] Removing intermediate container 57da12621f0e [2023-10-25T00:11:05.205Z] ---> 7263390c01f9 [2023-10-25T00:11:05.205Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-25T00:11:05.205Z] ---> Running in e11ce5263d75 [2023-10-25T00:11:05.472Z] Removing intermediate container e11ce5263d75 [2023-10-25T00:11:05.472Z] ---> 2059bfa5bac3 [2023-10-25T00:11:05.472Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T00:11:05.739Z] ---> Running in c39adc1b4d7e [2023-10-25T00:11:06.006Z] Removing intermediate container c39adc1b4d7e [2023-10-25T00:11:06.006Z] ---> 9d48c57d115a [2023-10-25T00:11:06.006Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T00:11:06.006Z] ---> Running in b39424422d5b [2023-10-25T00:11:06.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T00:11:07.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T00:11:08.968Z] OK: 270 MiB in 56 packages [2023-10-25T00:11:09.928Z] Removing intermediate container b39424422d5b [2023-10-25T00:11:09.928Z] ---> e85e16697e74 [2023-10-25T00:11:09.928Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-25T00:11:10.195Z] ---> Running in cac7070196f7 [2023-10-25T00:11:10.460Z] Removing intermediate container cac7070196f7 [2023-10-25T00:11:10.460Z] ---> 849bb806bd5b [2023-10-25T00:11:10.460Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-25T00:11:11.052Z] ---> 39f0a6b83839 [2023-10-25T00:11:11.052Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T00:11:11.052Z] ---> Running in b2e622435afa [2023-10-25T00:11:13.636Z] Removing intermediate container b2e622435afa [2023-10-25T00:11:13.636Z] ---> 938ddd86f760 [2023-10-25T00:11:13.636Z] Step 11/24 : COPY . . [2023-10-25T00:11:14.218Z] ---> c6ac7243b369 [2023-10-25T00:11:14.218Z] Step 12/24 : RUN ${MAKE} [2023-10-25T00:11:14.218Z] ---> Running in ecc8b48bec31 [2023-10-25T00:11:15.185Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-25T00:13:06.850Z] Removing intermediate container ecc8b48bec31 [2023-10-25T00:13:06.850Z] ---> 71dd412f6520 [2023-10-25T00:13:06.850Z] Step 13/24 : FROM alpine:3.18 [2023-10-25T00:13:06.850Z] 3.18: Pulling from library/alpine [2023-10-25T00:13:06.850Z] 579b34f0a95b: Pulling fs layer [2023-10-25T00:13:06.850Z] 579b34f0a95b: Verifying Checksum [2023-10-25T00:13:06.851Z] 579b34f0a95b: Download complete [2023-10-25T00:13:06.851Z] 579b34f0a95b: Pull complete [2023-10-25T00:13:06.851Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T00:13:06.851Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T00:13:06.851Z] ---> 3cc203321400 [2023-10-25T00:13:06.851Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-25T00:13:06.851Z] ---> Running in 1107822bcd40 [2023-10-25T00:13:06.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T00:13:07.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T00:13:08.547Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-25T00:13:08.547Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T00:13:08.547Z] OK: 8 MiB in 16 packages [2023-10-25T00:13:09.517Z] Removing intermediate container 1107822bcd40 [2023-10-25T00:13:09.517Z] ---> 48f1703ed718 [2023-10-25T00:13:09.518Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-25T00:13:10.930Z] ---> 190b1071e573 [2023-10-25T00:13:10.930Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-25T00:13:11.511Z] ---> a772b9492fbd [2023-10-25T00:13:11.511Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-25T00:13:12.097Z] ---> 3a11f3c55dbb [2023-10-25T00:13:12.097Z] Step 18/24 : EXPOSE 59993 [2023-10-25T00:13:12.097Z] ---> Running in f704934ac028 [2023-10-25T00:13:12.365Z] Removing intermediate container f704934ac028 [2023-10-25T00:13:12.365Z] ---> 55f4d5cc804b [2023-10-25T00:13:12.365Z] Step 19/24 : EXPOSE 161 [2023-10-25T00:13:12.365Z] ---> Running in 7ff0d9222d1a [2023-10-25T00:13:12.633Z] Removing intermediate container 7ff0d9222d1a [2023-10-25T00:13:12.633Z] ---> a1ddd02078c4 [2023-10-25T00:13:12.633Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-25T00:13:12.901Z] ---> Running in d606dcffff3f [2023-10-25T00:13:13.174Z] Removing intermediate container d606dcffff3f [2023-10-25T00:13:13.174Z] ---> 70c09e08014e [2023-10-25T00:13:13.174Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T00:13:13.174Z] ---> Running in 7184eda4f943 [2023-10-25T00:13:13.763Z] Removing intermediate container 7184eda4f943 [2023-10-25T00:13:13.763Z] ---> 1613a4638ac8 [2023-10-25T00:13:13.763Z] Step 22/24 : LABEL arch=arm64 [2023-10-25T00:13:13.763Z] ---> Running in d8afdf512442 [2023-10-25T00:13:14.031Z] Removing intermediate container d8afdf512442 [2023-10-25T00:13:14.031Z] ---> 7e5e498bd70a [2023-10-25T00:13:14.031Z] Step 23/24 : LABEL git_sha=23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [2023-10-25T00:13:14.031Z] ---> Running in 6730b800c5fc [2023-10-25T00:13:14.614Z] Removing intermediate container 6730b800c5fc [2023-10-25T00:13:14.614Z] ---> fe0502caea81 [2023-10-25T00:13:14.614Z] Step 24/24 : LABEL version=3.1.0-dev.9 [2023-10-25T00:13:14.614Z] ---> Running in 8cae051602c4 [2023-10-25T00:13:14.883Z] Removing intermediate container 8cae051602c4 [2023-10-25T00:13:14.883Z] ---> 701519f6477f [2023-10-25T00:13:14.883Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T00:13:14.883Z] Successfully built 701519f6477f [2023-10-25T00:13:14.883Z] 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 [2023-10-25T00:13:15.009Z] provisioning config files... [2023-10-25T00:13:15.029Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/95@tmp/config6418361839325288959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:13:15.373Z] ---> docker-login.sh [2023-10-25T00:13:15.373Z] nexus3.edgexfoundry.org:10001 [2023-10-25T00:13:15.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:13:15.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:13:15.641Z] Configure a credential helper to remove this warning. See [2023-10-25T00:13:15.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:13:15.641Z] [2023-10-25T00:13:15.641Z] Login Succeeded [2023-10-25T00:13:15.641Z] nexus3.edgexfoundry.org:10002 [2023-10-25T00:13:15.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:13:15.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:13:15.912Z] Configure a credential helper to remove this warning. See [2023-10-25T00:13:15.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:13:15.912Z] [2023-10-25T00:13:15.912Z] Login Succeeded [2023-10-25T00:13:15.912Z] nexus3.edgexfoundry.org:10003 [2023-10-25T00:13:16.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:13:16.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:13:16.443Z] Configure a credential helper to remove this warning. See [2023-10-25T00:13:16.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:13:16.443Z] [2023-10-25T00:13:16.443Z] Login Succeeded [2023-10-25T00:13:16.443Z] nexus3.edgexfoundry.org:10004 [2023-10-25T00:13:16.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:13:16.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:13:16.711Z] Configure a credential helper to remove this warning. See [2023-10-25T00:13:16.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:13:16.711Z] [2023-10-25T00:13:16.711Z] Login Succeeded [2023-10-25T00:13:16.711Z] docker.io [2023-10-25T00:13:16.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T00:13:17.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T00:13:17.241Z] Configure a credential helper to remove this warning. See [2023-10-25T00:13:17.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T00:13:17.241Z] [2023-10-25T00:13:17.241Z] Login Succeeded [2023-10-25T00:13:17.241Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T00:13:17.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T00:13:17.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T00:13:17.295Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-10-25T00:13:17.295Z] 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [2023-10-25T00:13:17.295Z] latest [2023-10-25T00:13:17.295Z] 3.1.0-dev.9 [2023-10-25T00:13:17.295Z] 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9 [2023-10-25T00:13:17.295Z] main [2023-10-25T00:13:17.295Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:17.623Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:17.957Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [2023-10-25T00:13:17.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-25T00:13:17.957Z] 33a7e09c6bd5: Preparing [2023-10-25T00:13:17.957Z] 17a191ba270e: Preparing [2023-10-25T00:13:17.957Z] 066f52a8371b: Preparing [2023-10-25T00:13:17.957Z] 6bc4a6dfbd49: Preparing [2023-10-25T00:13:17.957Z] 5f4d9fc4d98d: Preparing [2023-10-25T00:13:17.957Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T00:13:18.222Z] 17a191ba270e: Pushed [2023-10-25T00:13:18.222Z] 33a7e09c6bd5: Pushed [2023-10-25T00:13:18.222Z] 6bc4a6dfbd49: Pushed [2023-10-25T00:13:23.544Z] 066f52a8371b: Pushed [2023-10-25T00:13:23.544Z] 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520: digest: sha256:cfe1675783f0a01ceed38441652d1581f6dd4c5c254838a566769a99de9ac365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:23.881Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:24.214Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-25T00:13:24.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-25T00:13:24.214Z] 33a7e09c6bd5: Preparing [2023-10-25T00:13:24.214Z] 17a191ba270e: Preparing [2023-10-25T00:13:24.214Z] 066f52a8371b: Preparing [2023-10-25T00:13:24.214Z] 6bc4a6dfbd49: Preparing [2023-10-25T00:13:24.214Z] 5f4d9fc4d98d: Preparing [2023-10-25T00:13:24.214Z] 33a7e09c6bd5: Layer already exists [2023-10-25T00:13:24.214Z] 066f52a8371b: Layer already exists [2023-10-25T00:13:24.214Z] 6bc4a6dfbd49: Layer already exists [2023-10-25T00:13:24.214Z] 17a191ba270e: Layer already exists [2023-10-25T00:13:24.214Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T00:13:24.214Z] latest: digest: sha256:cfe1675783f0a01ceed38441652d1581f6dd4c5c254838a566769a99de9ac365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:24.549Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:24.877Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.9 [2023-10-25T00:13:24.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-25T00:13:24.877Z] 33a7e09c6bd5: Preparing [2023-10-25T00:13:24.877Z] 17a191ba270e: Preparing [2023-10-25T00:13:24.877Z] 066f52a8371b: Preparing [2023-10-25T00:13:24.877Z] 6bc4a6dfbd49: Preparing [2023-10-25T00:13:24.877Z] 5f4d9fc4d98d: Preparing [2023-10-25T00:13:24.877Z] 17a191ba270e: Layer already exists [2023-10-25T00:13:24.877Z] 066f52a8371b: Layer already exists [2023-10-25T00:13:24.877Z] 6bc4a6dfbd49: Layer already exists [2023-10-25T00:13:24.877Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T00:13:24.877Z] 33a7e09c6bd5: Layer already exists [2023-10-25T00:13:24.877Z] 3.1.0-dev.9: digest: sha256:cfe1675783f0a01ceed38441652d1581f6dd4c5c254838a566769a99de9ac365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:25.218Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:25.676Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9 [2023-10-25T00:13:25.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-25T00:13:25.677Z] 33a7e09c6bd5: Preparing [2023-10-25T00:13:25.677Z] 17a191ba270e: Preparing [2023-10-25T00:13:25.677Z] 066f52a8371b: Preparing [2023-10-25T00:13:25.677Z] 6bc4a6dfbd49: Preparing [2023-10-25T00:13:25.677Z] 5f4d9fc4d98d: Preparing [2023-10-25T00:13:25.677Z] 17a191ba270e: Layer already exists [2023-10-25T00:13:25.677Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T00:13:25.677Z] 066f52a8371b: Layer already exists [2023-10-25T00:13:25.677Z] 6bc4a6dfbd49: Layer already exists [2023-10-25T00:13:25.677Z] 33a7e09c6bd5: Layer already exists [2023-10-25T00:13:25.948Z] 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9: digest: sha256:cfe1675783f0a01ceed38441652d1581f6dd4c5c254838a566769a99de9ac365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:26.356Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:26.713Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-10-25T00:13:26.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-25T00:13:26.713Z] 33a7e09c6bd5: Preparing [2023-10-25T00:13:26.713Z] 17a191ba270e: Preparing [2023-10-25T00:13:26.713Z] 066f52a8371b: Preparing [2023-10-25T00:13:26.713Z] 6bc4a6dfbd49: Preparing [2023-10-25T00:13:26.713Z] 5f4d9fc4d98d: Preparing [2023-10-25T00:13:26.713Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T00:13:26.713Z] 33a7e09c6bd5: Layer already exists [2023-10-25T00:13:26.713Z] 6bc4a6dfbd49: Layer already exists [2023-10-25T00:13:26.713Z] 066f52a8371b: Layer already exists [2023-10-25T00:13:26.713Z] 17a191ba270e: Layer already exists [2023-10-25T00:13:26.713Z] main: digest: sha256:cfe1675783f0a01ceed38441652d1581f6dd4c5c254838a566769a99de9ac365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T00:13:26.756Z] ===================================================== [Pipeline] echo [2023-10-25T00:13:26.763Z] taggedImages: [2023-10-25T00:13:26.763Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [2023-10-25T00:13:26.763Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-25T00:13:26.763Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.9 [2023-10-25T00:13:26.763Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:23cb2162db5ff9c1f8a3f7ed618905d70ecaa520-3.1.0-dev.9 [2023-10-25T00:13:26.763Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:27.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T00:13:27.145Z] [2023-10-25T00:13:27.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:13:27.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T00:13:27.696Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-25T00:13:27.696Z] 8998bd30e6a1: Pulling fs layer [2023-10-25T00:13:27.696Z] 04944245beec: Pulling fs layer [2023-10-25T00:13:27.696Z] 699f458cf7ca: Pulling fs layer [2023-10-25T00:13:27.696Z] 765212b225bb: Pulling fs layer [2023-10-25T00:13:27.696Z] f23df028b6ca: Pulling fs layer [2023-10-25T00:13:27.696Z] d65c8cfc05b1: Pulling fs layer [2023-10-25T00:13:27.696Z] 2437ff75d9bd: Pulling fs layer [2023-10-25T00:13:27.696Z] 765212b225bb: Waiting [2023-10-25T00:13:27.696Z] f23df028b6ca: Waiting [2023-10-25T00:13:27.696Z] d65c8cfc05b1: Waiting [2023-10-25T00:13:27.696Z] 2437ff75d9bd: Waiting [2023-10-25T00:13:27.965Z] 04944245beec: Verifying Checksum [2023-10-25T00:13:27.965Z] 04944245beec: Download complete [2023-10-25T00:13:27.965Z] 765212b225bb: Download complete [2023-10-25T00:13:27.965Z] f23df028b6ca: Verifying Checksum [2023-10-25T00:13:27.965Z] f23df028b6ca: Download complete [2023-10-25T00:13:27.965Z] d65c8cfc05b1: Verifying Checksum [2023-10-25T00:13:27.965Z] d65c8cfc05b1: Download complete [2023-10-25T00:13:28.235Z] 699f458cf7ca: Verifying Checksum [2023-10-25T00:13:28.236Z] 699f458cf7ca: Download complete [2023-10-25T00:13:28.504Z] 8998bd30e6a1: Verifying Checksum [2023-10-25T00:13:28.504Z] 8998bd30e6a1: Download complete [2023-10-25T00:13:31.094Z] 2437ff75d9bd: Verifying Checksum [2023-10-25T00:13:31.094Z] 2437ff75d9bd: Download complete [2023-10-25T00:13:33.712Z] 8998bd30e6a1: Pull complete [2023-10-25T00:13:33.979Z] 04944245beec: Pull complete [2023-10-25T00:13:35.378Z] 699f458cf7ca: Pull complete [2023-10-25T00:13:35.642Z] 765212b225bb: Pull complete [2023-10-25T00:13:36.596Z] f23df028b6ca: Pull complete [2023-10-25T00:13:36.596Z] d65c8cfc05b1: Pull complete [2023-10-25T00:13:51.575Z] 2437ff75d9bd: Pull complete [2023-10-25T00:13:51.575Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-25T00:13:51.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T00:13:51.575Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:13:51.764Z] prd-ubuntu20.04-docker-arm64-4c-16g-10341 does not seem to be running inside a container [2023-10-25T00:13:51.842Z] $ 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/95 -v /w/workspace/device-snmp-go/95:/w/workspace/device-snmp-go/95:rw,z -v /w/workspace/device-snmp-go/95@tmp:/w/workspace/device-snmp-go/95@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:arm64 cat [2023-10-25T00:13:54.466Z] $ docker top 7fef745890d00bedf0adc061418f22c28185cccc87f1f8f6a7d10c7f54cf1132 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:13:55.289Z] ---> job-cost.sh [2023-10-25T00:13:55.289Z] lf-activate-venv: SKIPPING [2023-10-25T00:13:55.289Z] INFO: No Stack... [2023-10-25T00:13:55.554Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-25T00:13:56.512Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T00:13:57.141Z] + cat /w/workspace/device-snmp-go/95/archives/cost.csv [2023-10-25T00:13:57.141Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T00:13:57.201Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-95-stack-cost] [2023-10-25T00:13:57.208Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-95-stack-cost] did not exist. Created. [2023-10-25T00:13:57.208Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T00:13:57.867Z] /w/workspace/device-snmp-go/95@tmp/durable-54755263/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-25T00:13:58.525Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-25T00:13:58.538Z] Warning: overwriting stash ‘stack-cost’ [2023-10-25T00:13:58.587Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T00:13:58.595Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T00:13:58.618Z] $ docker stop --time=1 7fef745890d00bedf0adc061418f22c28185cccc87f1f8f6a7d10c7f54cf1132 [2023-10-25T00:14:00.101Z] $ docker rm -f --volumes 7fef745890d00bedf0adc061418f22c28185cccc87f1f8f6a7d10c7f54cf1132 [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 [2023-10-25T00:14:00.462Z] provisioning config files... [2023-10-25T00:14:00.468Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16495427156579921981tmp [Pipeline] { [Pipeline] sh [2023-10-25T00:14:00.757Z] + set +x [2023-10-25T00:14:00.757Z] + curl -s https://codecov.io/bash [2023-10-25T00:14:00.757Z] + bash -s -- [2023-10-25T00:14:00.757Z] [2023-10-25T00:14:00.757Z] _____ _ [2023-10-25T00:14:00.757Z] / ____| | | [2023-10-25T00:14:00.757Z] | | ___ __| | ___ ___ _____ __ [2023-10-25T00:14:00.757Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-25T00:14:00.757Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-25T00:14:00.757Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-25T00:14:00.757Z] Bash-1.0.6 [2023-10-25T00:14:00.757Z] [2023-10-25T00:14:00.757Z] [2023-10-25T00:14:00.757Z] ==> git version 2.25.1 found [2023-10-25T00:14:00.757Z] ==> 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 [2023-10-25T00:14:00.757Z] Release-Date: 2020-01-08 [2023-10-25T00:14:00.757Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-25T00:14:00.757Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-25T00:14:00.757Z] ==> Jenkins CI detected. [2023-10-25T00:14:00.757Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-10-25T00:14:00.757Z] project root: . [2023-10-25T00:14:00.757Z] --> token set from env [2023-10-25T00:14:00.757Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-25T00:14:00.757Z] ==> Running gcov in . (disable via -X gcov) [2023-10-25T00:14:00.757Z] ==> Python coveragepy not found [2023-10-25T00:14:00.757Z] ==> Searching for coverage reports in: [2023-10-25T00:14:00.757Z] + . [2023-10-25T00:14:00.757Z] -> Found 1 reports [2023-10-25T00:14:00.757Z] ==> Detecting git/mercurial file structure [2023-10-25T00:14:00.757Z] ==> Reading reports [2023-10-25T00:14:00.757Z] + ./coverage.out bytes=8837 [2023-10-25T00:14:00.757Z] ==> Appending adjustments [2023-10-25T00:14:00.757Z] https://docs.codecov.io/docs/fixing-reports [2023-10-25T00:14:01.017Z] + Found adjustments [2023-10-25T00:14:01.017Z] ==> Gzipping contents [2023-10-25T00:14:01.017Z] 4.0K /tmp/codecov.iVX7S7.gz [2023-10-25T00:14:01.017Z] ==> Uploading reports [2023-10-25T00:14:01.017Z] url: https://codecov.io [2023-10-25T00:14:01.017Z] query: branch=main&commit=23cb2162db5ff9c1f8a3f7ed618905d70ecaa520&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T00:14:01.017Z] -> Pinging Codecov [2023-10-25T00:14:01.017Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=23cb2162db5ff9c1f8a3f7ed618905d70ecaa520&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T00:14:01.017Z] -> Uploading to [2023-10-25T00:14:01.017Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-25/6C56EA5C29638FB4528AC87E60AF5AE0/23cb2162db5ff9c1f8a3f7ed618905d70ecaa520/da62af92-9d9d-4d19-92fa-48853b73ebae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T001400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54f6897fdfa6db78a5fd024acfe434001a8e08d23f66c76aa1e66425f4e9a3ef [2023-10-25T00:14:01.017Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T00:14:01.017Z] Dload Upload Total Spent Left Speed [2023-10-25T00:14:01.276Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 13932 --:--:-- --:--:-- --:--:-- 13798 100 1435 0 0 100 1435 0 4965 --:--:-- --:--:-- --:--:-- 4965 [2023-10-25T00:14:01.534Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [Pipeline] } [2023-10-25T00:14:01.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-25T00:14:01.649Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-25T00:14:01.659Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:14:01.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T00:14:01.949Z] [2023-10-25T00:14:01.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:14:02.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T00:14:02.251Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-25T00:14:02.251Z] df9b9388f04a: Pulling fs layer [2023-10-25T00:14:02.251Z] 52dc419b0ee2: Pulling fs layer [2023-10-25T00:14:02.251Z] 25bc292e5bac: Pulling fs layer [2023-10-25T00:14:02.251Z] 114826534d7a: Pulling fs layer [2023-10-25T00:14:02.251Z] 4657fd5d0bcf: Pulling fs layer [2023-10-25T00:14:02.251Z] 6ad1cebc031e: Pulling fs layer [2023-10-25T00:14:02.251Z] 8a3aa393b2d8: Pulling fs layer [2023-10-25T00:14:02.251Z] 6ad1cebc031e: Waiting [2023-10-25T00:14:02.252Z] 4657fd5d0bcf: Waiting [2023-10-25T00:14:02.252Z] 8a3aa393b2d8: Waiting [2023-10-25T00:14:02.252Z] 114826534d7a: Waiting [2023-10-25T00:14:02.252Z] 25bc292e5bac: Verifying Checksum [2023-10-25T00:14:02.252Z] 25bc292e5bac: Download complete [2023-10-25T00:14:02.252Z] 52dc419b0ee2: Verifying Checksum [2023-10-25T00:14:02.252Z] 52dc419b0ee2: Download complete [2023-10-25T00:14:02.252Z] 4657fd5d0bcf: Download complete [2023-10-25T00:14:02.252Z] df9b9388f04a: Download complete [2023-10-25T00:14:02.511Z] df9b9388f04a: Pull complete [2023-10-25T00:14:02.511Z] 6ad1cebc031e: Verifying Checksum [2023-10-25T00:14:02.511Z] 6ad1cebc031e: Download complete [2023-10-25T00:14:02.511Z] 52dc419b0ee2: Pull complete [2023-10-25T00:14:02.511Z] 25bc292e5bac: Pull complete [2023-10-25T00:14:03.204Z] 114826534d7a: Verifying Checksum [2023-10-25T00:14:03.204Z] 114826534d7a: Download complete [2023-10-25T00:14:03.204Z] 8a3aa393b2d8: Verifying Checksum [2023-10-25T00:14:03.204Z] 8a3aa393b2d8: Download complete [2023-10-25T00:14:06.485Z] 114826534d7a: Pull complete [2023-10-25T00:14:06.485Z] 4657fd5d0bcf: Pull complete [2023-10-25T00:14:06.485Z] 6ad1cebc031e: Pull complete [2023-10-25T00:14:09.014Z] 8a3aa393b2d8: Pull complete [2023-10-25T00:14:09.014Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-25T00:14:09.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T00:14:09.014Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:14:09.089Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:14:09.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-25T00:14:16.541Z] $ docker top 24230ea23ebe76ac337ed182809962dd941db72f7512c611a7485e2400123e4b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-25T00:14:16.605Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-10-25T00:14:16.884Z] + set -o pipefail [2023-10-25T00:14:16.884Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-10-25T00:24:54.153Z] [2023-10-25T00:24:54.153Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-10-25T00:24:54.153Z] [2023-10-25T00:24:54.153Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/b947d383-dcd3-449c-8c1a-bd9da00c39fa [2023-10-25T00:24:54.153Z] [2023-10-25T00:24:54.153Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-25T00:24:54.153Z] [2023-10-25T00:24:54.153Z] [2023-10-25T00:24:54.153Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-25T00:24:54.153Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-25T00:24:54.153Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-25T00:24:54.166Z] $ docker stop --time=1 24230ea23ebe76ac337ed182809962dd941db72f7512c611a7485e2400123e4b [2023-10-25T00:24:55.490Z] $ docker rm -f --volumes 24230ea23ebe76ac337ed182809962dd941db72f7512c611a7485e2400123e4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T00:24:56.178Z] + git log --format=format:%s -1 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 [Pipeline] sh [2023-10-25T00:24:56.468Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T00:24:56.469Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:24:56.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T00:24:56.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:24:56.843Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:24:56.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T00:24:57.368Z] $ docker top b30a61bebb9fb90d78746636de70de0c7eb26a927472ed8d572efdef20717252 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T00:24:57.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T00:24:57.451Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T00:24:57.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T00:24:57.572Z] $ docker exec b30a61bebb9fb90d78746636de70de0c7eb26a927472ed8d572efdef20717252 ssh-agent [2023-10-25T00:24:57.690Z] SSH_AUTH_SOCK=/tmp/ssh-fCTM6R4sAEdL/agent.33 [2023-10-25T00:24:57.690Z] SSH_AGENT_PID=40 [2023-10-25T00:24:57.695Z] Running ssh-add (command line suppressed) [2023-10-25T00:24:57.799Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13575773818104099355.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13575773818104099355.key) [2023-10-25T00:24:57.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T00:24:58.101Z] + git semver tag [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,275 [run_tag] DEBUG tag force:False [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,275 [check_head_tag] DEBUG check head tag [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,275 [execute] INFO git cat-file --batch-check [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,279 [execute] INFO git cat-file --batch [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,289 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,290 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,290 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T00:24:58.361Z] 2023-10-25 00:24:58,296 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:24:58.361Z] 3.1.0-dev.9 [Pipeline] } [2023-10-25T00:24:58.370Z] $ docker exec --env ******** --env ******** b30a61bebb9fb90d78746636de70de0c7eb26a927472ed8d572efdef20717252 ssh-agent -k [2023-10-25T00:24:58.469Z] unset SSH_AUTH_SOCK; [2023-10-25T00:24:58.470Z] unset SSH_AGENT_PID; [2023-10-25T00:24:58.470Z] echo Agent pid 40 killed; [2023-10-25T00:24:58.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T00:24:58.778Z] + git semver [Pipeline] } [2023-10-25T00:24:59.049Z] $ docker stop --time=1 b30a61bebb9fb90d78746636de70de0c7eb26a927472ed8d572efdef20717252 [2023-10-25T00:25:00.341Z] $ docker rm -f --volumes b30a61bebb9fb90d78746636de70de0c7eb26a927472ed8d572efdef20717252 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:25:00.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T00:25:00.726Z] [2023-10-25T00:25:00.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:25:01.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T00:25:01.020Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-25T00:25:01.020Z] ab5ef0e58194: Pulling fs layer [2023-10-25T00:25:01.020Z] 9712f1f96733: Pulling fs layer [2023-10-25T00:25:01.020Z] 63f879dbbcfc: Pulling fs layer [2023-10-25T00:25:01.020Z] 0d9ebad4ef96: Pulling fs layer [2023-10-25T00:25:01.020Z] e9a5061849ea: Pulling fs layer [2023-10-25T00:25:01.020Z] d747dcd14b5f: Pulling fs layer [2023-10-25T00:25:01.020Z] 2de7ff778b66: Pulling fs layer [2023-10-25T00:25:01.020Z] d747dcd14b5f: Waiting [2023-10-25T00:25:01.020Z] 2de7ff778b66: Waiting [2023-10-25T00:25:01.020Z] e9a5061849ea: Waiting [2023-10-25T00:25:01.020Z] 0d9ebad4ef96: Waiting [2023-10-25T00:25:01.020Z] 9712f1f96733: Download complete [2023-10-25T00:25:01.278Z] 63f879dbbcfc: Verifying Checksum [2023-10-25T00:25:01.278Z] 63f879dbbcfc: Download complete [2023-10-25T00:25:01.538Z] 0d9ebad4ef96: Verifying Checksum [2023-10-25T00:25:01.538Z] 0d9ebad4ef96: Download complete [2023-10-25T00:25:01.538Z] d747dcd14b5f: Verifying Checksum [2023-10-25T00:25:01.538Z] d747dcd14b5f: Download complete [2023-10-25T00:25:01.538Z] e9a5061849ea: Verifying Checksum [2023-10-25T00:25:01.538Z] e9a5061849ea: Download complete [2023-10-25T00:25:01.538Z] ab5ef0e58194: Verifying Checksum [2023-10-25T00:25:01.538Z] ab5ef0e58194: Download complete [2023-10-25T00:25:01.796Z] 2de7ff778b66: Verifying Checksum [2023-10-25T00:25:01.796Z] 2de7ff778b66: Download complete [2023-10-25T00:25:04.321Z] ab5ef0e58194: Pull complete [2023-10-25T00:25:04.321Z] 9712f1f96733: Pull complete [2023-10-25T00:25:04.884Z] 63f879dbbcfc: Pull complete [2023-10-25T00:25:08.215Z] 0d9ebad4ef96: Pull complete [2023-10-25T00:25:08.473Z] e9a5061849ea: Pull complete [2023-10-25T00:25:08.473Z] d747dcd14b5f: Pull complete [2023-10-25T00:25:09.405Z] 2de7ff778b66: Pull complete [2023-10-25T00:25:09.405Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-25T00:25:09.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T00:25:09.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:25:09.496Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:25:09.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-25T00:25:13.250Z] $ docker top f13dbc5f040e2cbec1e87954e3e31705d512bc8ebe04e268dcf271364aa3782b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-25T00:25:13.319Z] provisioning config files... [2023-10-25T00:25:13.327Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12891193197558882568tmp [2023-10-25T00:25:13.337Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5913828288214611107tmp [2023-10-25T00:25:13.346Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13077517831300228760tmp [Pipeline] { [Pipeline] echo [2023-10-25T00:25:13.363Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:13.643Z] ---> sigul-configuration.sh [2023-10-25T00:25:13.643Z] gpg: directory `/root/.gnupg' created [2023-10-25T00:25:13.643Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-25T00:25:13.643Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-25T00:25:13.643Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-25T00:25:13.643Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-25T00:25:13.643Z] gpg: CAST5 encrypted data [2023-10-25T00:25:13.643Z] gpg: encrypted with 1 passphrase [2023-10-25T00:25:13.643Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-25T00:25:13.928Z] + mkdir /home/jenkins [2023-10-25T00:25:13.928Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-25T00:25:14.210Z] + 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 [2023-10-25T00:25:14.218Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:14.501Z] ---> sigul-install.sh [2023-10-25T00:25:14.501Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-25T00:25:14.787Z] + git tag --list [2023-10-25T00:25:14.787Z] 1.0.0 [2023-10-25T00:25:14.787Z] v0.0.0 [2023-10-25T00:25:14.787Z] v1.1.0 [2023-10-25T00:25:14.787Z] v1.1.1 [2023-10-25T00:25:14.787Z] v1.2.2 [2023-10-25T00:25:14.787Z] v1.3.0 [2023-10-25T00:25:14.787Z] v1.3.1 [2023-10-25T00:25:14.787Z] v2.0.0 [2023-10-25T00:25:14.787Z] v2.1.0 [2023-10-25T00:25:14.787Z] v2.1.1 [2023-10-25T00:25:14.787Z] v2.2.0 [2023-10-25T00:25:14.787Z] v2.3.0 [2023-10-25T00:25:14.787Z] v3.0 [2023-10-25T00:25:14.787Z] v3.0.0 [2023-10-25T00:25:14.787Z] v3.1.0-dev.1 [2023-10-25T00:25:14.787Z] v3.1.0-dev.2 [2023-10-25T00:25:14.787Z] v3.1.0-dev.3 [2023-10-25T00:25:14.787Z] v3.1.0-dev.4 [2023-10-25T00:25:14.787Z] v3.1.0-dev.5 [2023-10-25T00:25:14.787Z] v3.1.0-dev.6 [2023-10-25T00:25:14.787Z] v3.1.0-dev.7 [2023-10-25T00:25:14.787Z] v3.1.0-dev.8 [2023-10-25T00:25:14.787Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-25T00:25:15.072Z] + lftools sign git-tag v3.1.0-dev.9 [2023-10-25T00:25:15.640Z] Signing Git tag with Sigul... [2023-10-25T00:25:15.640Z] Signing v3.1.0-dev.9 [Pipeline] echo [2023-10-25T00:25:15.908Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:16.190Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-25T00:25:16.197Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-25T00:25:16.219Z] $ docker stop --time=1 f13dbc5f040e2cbec1e87954e3e31705d512bc8ebe04e268dcf271364aa3782b [2023-10-25T00:25:17.500Z] $ docker rm -f --volumes f13dbc5f040e2cbec1e87954e3e31705d512bc8ebe04e268dcf271364aa3782b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-25T00:25:17.901Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T00:25:17.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:25:18.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T00:25:18.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:25:18.257Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:25:18.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T00:25:18.609Z] $ docker top 3597d75cf28aee058956860cde0df7351c336934497e659a7f43c9007599d5f3 -eo pid,comm [2023-10-25T00:25:18.650Z] 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). [2023-10-25T00:25:18.650Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T00:25:18.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T00:25:18.693Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T00:25:18.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T00:25:18.797Z] $ docker exec 3597d75cf28aee058956860cde0df7351c336934497e659a7f43c9007599d5f3 ssh-agent [2023-10-25T00:25:18.897Z] SSH_AUTH_SOCK=/tmp/ssh-3PBVQYYEmUmu/agent.31 [2023-10-25T00:25:18.897Z] SSH_AGENT_PID=37 [2023-10-25T00:25:18.901Z] Running ssh-add (command line suppressed) [2023-10-25T00:25:18.998Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_307158293879335008.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_307158293879335008.key) [2023-10-25T00:25:19.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T00:25:19.302Z] + git semver bump pre [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,472 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,473 [bump_version] DEBUG bumped version:3.1.0-dev.10 [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,473 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,473 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,474 [execute] INFO git cat-file --batch-check [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,480 [execute] INFO git cat-file --batch [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T00:25:19.561Z] 2023-10-25 00:25:19,484 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:25:19.561Z] 3.1.0-dev.10 [Pipeline] } [2023-10-25T00:25:19.569Z] $ docker exec --env ******** --env ******** 3597d75cf28aee058956860cde0df7351c336934497e659a7f43c9007599d5f3 ssh-agent -k [2023-10-25T00:25:19.671Z] unset SSH_AUTH_SOCK; [2023-10-25T00:25:19.671Z] unset SSH_AGENT_PID; [2023-10-25T00:25:19.671Z] echo Agent pid 37 killed; [2023-10-25T00:25:19.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T00:25:19.991Z] + git semver [Pipeline] } [2023-10-25T00:25:20.262Z] $ docker stop --time=1 3597d75cf28aee058956860cde0df7351c336934497e659a7f43c9007599d5f3 [2023-10-25T00:25:21.524Z] $ docker rm -f --volumes 3597d75cf28aee058956860cde0df7351c336934497e659a7f43c9007599d5f3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T00:25:21.868Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T00:25:21.868Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:25:22.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T00:25:22.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:25:22.288Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:25:22.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T00:25:22.699Z] $ docker top f71516176ff737d94d57293e1ee375d79d9254d6afb3f591eef518c41362b85a -eo pid,comm [2023-10-25T00:25:22.743Z] 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). [2023-10-25T00:25:22.743Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T00:25:22.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T00:25:22.780Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T00:25:22.900Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T00:25:22.903Z] $ docker exec f71516176ff737d94d57293e1ee375d79d9254d6afb3f591eef518c41362b85a ssh-agent [2023-10-25T00:25:23.009Z] SSH_AUTH_SOCK=/tmp/ssh-e34PjcWAwIRr/agent.31 [2023-10-25T00:25:23.009Z] SSH_AGENT_PID=37 [2023-10-25T00:25:23.013Z] Running ssh-add (command line suppressed) [2023-10-25T00:25:23.111Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1435244405182750195.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1435244405182750195.key) [2023-10-25T00:25:23.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T00:25:23.407Z] + git semver push [2023-10-25T00:25:23.666Z] 2023-10-25 00:25:23,576 [run_push] DEBUG push [2023-10-25T00:25:23.666Z] 2023-10-25 00:25:23,576 [execute] INFO git cat-file --batch-check [2023-10-25T00:25:23.666Z] 2023-10-25 00:25:23,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T00:25:23.666Z] 2023-10-25 00:25:23,581 [execute] INFO git rev-list aebdc802949850811c3e2d29a451d53c8025169e -- [2023-10-25T00:25:23.666Z] 2023-10-25 00:25:23,582 [execute] DEBUG Popen(['git', 'rev-list', 'aebdc802949850811c3e2d29a451d53c8025169e', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T00:25:23.666Z] 2023-10-25 00:25:23,589 [execute] INFO git fetch -v origin [2023-10-25T00:25:23.666Z] 2023-10-25 00:25:23,590 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-25T00:25:24.234Z] 2023-10-25 00:25:24,132 [run_push] DEBUG no remote changes detected [2023-10-25T00:25:24.234Z] 2023-10-25 00:25:24,132 [execute] INFO git push origin semver [2023-10-25T00:25:24.234Z] 2023-10-25 00:25:24,133 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T00:25:25.171Z] 2023-10-25 00:25:24,891 [run_push] DEBUG push all version tags [2023-10-25T00:25:25.171Z] 2023-10-25 00:25:24,892 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-25T00:25:25.171Z] 2023-10-25 00:25:24,892 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T00:25:25.737Z] 2023-10-25 00:25:25,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-25T00:25:25.737Z] 3.1.0-dev.10 [Pipeline] } [2023-10-25T00:25:25.745Z] $ docker exec --env ******** --env ******** f71516176ff737d94d57293e1ee375d79d9254d6afb3f591eef518c41362b85a ssh-agent -k [2023-10-25T00:25:25.848Z] unset SSH_AUTH_SOCK; [2023-10-25T00:25:25.848Z] unset SSH_AGENT_PID; [2023-10-25T00:25:25.848Z] echo Agent pid 37 killed; [2023-10-25T00:25:25.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T00:25:26.161Z] + git semver [Pipeline] } [2023-10-25T00:25:26.431Z] $ docker stop --time=1 f71516176ff737d94d57293e1ee375d79d9254d6afb3f591eef518c41362b85a [2023-10-25T00:25:27.719Z] $ docker rm -f --volumes f71516176ff737d94d57293e1ee375d79d9254d6afb3f591eef518c41362b85a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-25T00:25:28.290Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-10-25T00:25:28.290Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-25T00:25:28.290Z] total 16 [2023-10-25T00:25:28.290Z] drwxr-xr-x 3 root root 4096 Oct 25 00:04 . [2023-10-25T00:25:28.290Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 00:25 .. [2023-10-25T00:25:28.290Z] drwxr-xr-x 2 root root 4096 Oct 25 00:04 cost [2023-10-25T00:25:28.290Z] -rw-r--r-- 1 root root 85 Oct 25 00:04 cost.csv [2023-10-25T00:25:28.290Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-25T00:25:28.290Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-25T00:25:28.290Z] total 16 [2023-10-25T00:25:28.290Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 00:04 . [2023-10-25T00:25:28.290Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 00:25 .. [2023-10-25T00:25:28.290Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 00:04 cost [2023-10-25T00:25:28.290Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 25 00:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:28.576Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:29.427Z] ---> package-listing.sh [2023-10-25T00:25:29.427Z] ++ facter osfamily [2023-10-25T00:25:29.427Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-25T00:25:29.687Z] + OS_FAMILY=debian [2023-10-25T00:25:29.687Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-10-25T00:25:29.687Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-25T00:25:29.687Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-25T00:25:29.687Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-25T00:25:29.687Z] + PACKAGES=/tmp/packages_start.txt [2023-10-25T00:25:29.687Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-25T00:25:29.687Z] + PACKAGES=/tmp/packages_end.txt [2023-10-25T00:25:29.687Z] + case "${OS_FAMILY}" in [2023-10-25T00:25:29.687Z] + dpkg -l [2023-10-25T00:25:29.687Z] + grep '^ii' [2023-10-25T00:25:29.687Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-25T00:25:29.687Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-25T00:25:29.687Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-25T00:25:29.687Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-25T00:25:29.687Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-10-25T00:25:29.687Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2023-10-25T00:25:29.695Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-25T00:25:29.970Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T00:25:30.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T00:25:30.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T00:25:30.596Z] prd-ubuntu20.04-docker-8c-8g-10338 does not seem to be running inside a container [2023-10-25T00:25:30.621Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T00:25:30.798Z] $ docker top d371c9b2d3ccb39e1789438463bb5a1ffe4775d586bcffa1cb0cfa076f512a44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T00:25:31.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-25T00:25:31.426Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-25T00:25:31.708Z] + ls /var/log/sa-host [2023-10-25T00:25:31.708Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T00:25:31.864Z] provisioning config files... [2023-10-25T00:25:31.871Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4369518377840824476tmp [Pipeline] { [Pipeline] echo [2023-10-25T00:25:31.885Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:32.163Z] ---> create-netrc.sh [Pipeline] } [2023-10-25T00:25:32.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:32.510Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-25T00:25:32.518Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:32.799Z] ---> sudo-logs.sh [2023-10-25T00:25:32.799Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-25T00:25:32.829Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:33.110Z] ---> job-cost.sh [2023-10-25T00:25:33.110Z] lf-activate-venv: SKIPPING [2023-10-25T00:25:33.110Z] DEBUG: total: 0.2199999988079071 [2023-10-25T00:25:33.110Z] INFO: Retrieving Stack Cost... [2023-10-25T00:25:33.370Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T00:25:33.938Z] INFO: Archiving Costs [Pipeline] echo [2023-10-25T00:25:33.949Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T00:25:34.230Z] ---> logs-deploy.sh [2023-10-25T00:25:34.230Z] lf-activate-venv: SKIPPING [2023-10-25T00:25:34.230Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/95 [2023-10-25T00:25:34.230Z] INFO: archiving workspace using pattern(s): [2023-10-25T00:25:35.167Z] Archives upload complete. [2023-10-25T00:25:35.167Z] INFO: archiving logs to Nexus