Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab96bded2e0807d2a2691bb0f6e58e8413531895 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-ssh18180894631873735565.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-ssh7971084413753455552.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-ssh11261719124765064060.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-ssh4080141925496719154.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-ssh10435879849669676803.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9492 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 ab96bded2e0807d2a2691bb0f6e58e8413531895 (main) Commit message: "Merge pull request #321 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" > 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 ab96bded2e0807d2a2691bb0f6e58e8413531895 # timeout=10 > git rev-list --no-walk ebe46f8f6b5f4966359c01929413183d007dd065 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-18T05:59:01.434Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-18T05:59:01.482Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-18T05:59:01.495Z] ========================================================= [2023-10-18T05:59:01.496Z] EdgeX Global Pipelines Version Info [2023-10-18T05:59:01.496Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-18T05:59:02.200Z] ------------------- [2023-10-18T05:59:02.200Z] stable info: [2023-10-18T05:59:02.200Z] ------------------- [2023-10-18T05:59:02.200Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-18T05:59:02.200Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T05:59:02.200Z] Message: update stable to v1.0.254 [2023-10-18T05:59:02.771Z] ------------------- [2023-10-18T05:59:02.771Z] experimental info: [2023-10-18T05:59:02.771Z] ------------------- [2023-10-18T05:59:02.771Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-18T05:59:02.771Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T05:59:02.771Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-18T05:59:02.950Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-10-18T05:59:02.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-10-18T05:59:02.975Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-18T05:59:02.989Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-18T05:59:03.001Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-18T05:59:03.013Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-18T05:59:03.028Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-18T05:59:03.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-18T05:59:03.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-18T05:59:03.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-18T05:59:03.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-18T05:59:03.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-10-18T05:59:03.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-18T05:59:03.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-18T05:59:03.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T05:59:03.159Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T05:59:03.170Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T05:59:03.185Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T05:59:03.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-18T05:59:03.215Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-18T05:59:03.232Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-18T05:59:03.246Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-18T05:59:03.262Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-18T05:59:03.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-18T05:59:03.293Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-18T05:59:03.312Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-18T05:59:03.329Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-18T05:59:03.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-18T05:59:03.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-18T05:59:03.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-18T05:59:03.382Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab96bded2e0807d2a2691bb0f6e58e8413531895 [Pipeline] echo [2023-10-18T05:59:03.402Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab96bde [Pipeline] echo [2023-10-18T05:59:03.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T05:59:03.466Z] provisioning config files... [2023-10-18T05:59:03.480Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config383012993727420061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T05:59:03.781Z] ---> docker-login.sh [2023-10-18T05:59:03.781Z] nexus3.edgexfoundry.org:10001 [2023-10-18T05:59:04.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:04.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:04.041Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:04.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:04.041Z] [2023-10-18T05:59:04.041Z] Login Succeeded [2023-10-18T05:59:04.041Z] nexus3.edgexfoundry.org:10002 [2023-10-18T05:59:04.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:04.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:04.299Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:04.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:04.299Z] [2023-10-18T05:59:04.299Z] Login Succeeded [2023-10-18T05:59:04.299Z] nexus3.edgexfoundry.org:10003 [2023-10-18T05:59:04.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:04.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:04.299Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:04.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:04.299Z] [2023-10-18T05:59:04.299Z] Login Succeeded [2023-10-18T05:59:04.299Z] nexus3.edgexfoundry.org:10004 [2023-10-18T05:59:04.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:04.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:04.560Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:04.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:04.560Z] [2023-10-18T05:59:04.560Z] Login Succeeded [2023-10-18T05:59:04.560Z] docker.io [2023-10-18T05:59:04.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:04.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:04.819Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:04.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:04.819Z] [2023-10-18T05:59:04.819Z] Login Succeeded [2023-10-18T05:59:04.819Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T05:59:04.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-18T05:59:05.203Z] + git rev-list -1 --merges ab96bded2e0807d2a2691bb0f6e58e8413531895~1..ab96bded2e0807d2a2691bb0f6e58e8413531895 [Pipeline] echo [2023-10-18T05:59:05.245Z] -----------> git rev-list -1 --merges ab96bded2e0807d2a2691bb0f6e58e8413531895~1..ab96bded2e0807d2a2691bb0f6e58e8413531895 ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T05:59:05.245Z] ab96bded2e0807d2a2691bb0f6e58e8413531895 [false] [Pipeline] sh [2023-10-18T05:59:05.529Z] + git log --format=format:%s -1 ab96bded2e0807d2a2691bb0f6e58e8413531895 [Pipeline] echo [2023-10-18T05:59:05.549Z] ========================================================= [2023-10-18T05:59:05.549Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-18T05:59:05.549Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T05:59:05.891Z] + git log --format=format:%s -1 ab96bded2e0807d2a2691bb0f6e58e8413531895 [Pipeline] echo [2023-10-18T05:59:05.903Z] [semverPrep] GIT_COMMIT: ab96bded2e0807d2a2691bb0f6e58e8413531895, Commit Message: Merge pull request #321 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35 [Pipeline] echo [2023-10-18T05:59:05.914Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-18T05:59:06.282Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T05:59:06.282Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-18T05:59:06.282Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-18T05:59:06.282Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-18T05:59:06.282Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-18T05:59:06.282Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-18T05:59:06.282Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T05:59:06.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T05:59:06.707Z] [2023-10-18T05:59:06.707Z] 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-18T05:59:07.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T05:59:07.004Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-18T05:59:07.004Z] b85a868b505f: Pulling fs layer [2023-10-18T05:59:07.004Z] e2be974225ed: Pulling fs layer [2023-10-18T05:59:07.004Z] 339a4e72a1f5: Pulling fs layer [2023-10-18T05:59:07.004Z] 988bab9f4d93: Pulling fs layer [2023-10-18T05:59:07.004Z] 1469e6f7b9e6: Pulling fs layer [2023-10-18T05:59:07.004Z] eaf3925da568: Pulling fs layer [2023-10-18T05:59:07.004Z] bab4dde63d76: Pulling fs layer [2023-10-18T05:59:07.004Z] bde34c3a00c8: Pulling fs layer [2023-10-18T05:59:07.004Z] b352a97aabf1: Pulling fs layer [2023-10-18T05:59:07.004Z] 4872d77fe225: Pulling fs layer [2023-10-18T05:59:07.004Z] 5851b861e8e6: Pulling fs layer [2023-10-18T05:59:07.004Z] 1469e6f7b9e6: Waiting [2023-10-18T05:59:07.004Z] 4872d77fe225: Waiting [2023-10-18T05:59:07.004Z] 988bab9f4d93: Waiting [2023-10-18T05:59:07.004Z] eaf3925da568: Waiting [2023-10-18T05:59:07.004Z] bde34c3a00c8: Waiting [2023-10-18T05:59:07.004Z] 5851b861e8e6: Waiting [2023-10-18T05:59:07.004Z] b352a97aabf1: Waiting [2023-10-18T05:59:07.004Z] bab4dde63d76: Waiting [2023-10-18T05:59:07.004Z] e2be974225ed: Verifying Checksum [2023-10-18T05:59:07.004Z] e2be974225ed: Download complete [2023-10-18T05:59:07.004Z] 988bab9f4d93: Verifying Checksum [2023-10-18T05:59:07.004Z] 988bab9f4d93: Download complete [2023-10-18T05:59:07.263Z] 1469e6f7b9e6: Verifying Checksum [2023-10-18T05:59:07.263Z] 1469e6f7b9e6: Download complete [2023-10-18T05:59:07.263Z] 339a4e72a1f5: Verifying Checksum [2023-10-18T05:59:07.263Z] 339a4e72a1f5: Download complete [2023-10-18T05:59:07.263Z] eaf3925da568: Verifying Checksum [2023-10-18T05:59:07.263Z] eaf3925da568: Download complete [2023-10-18T05:59:07.263Z] bde34c3a00c8: Verifying Checksum [2023-10-18T05:59:07.263Z] bde34c3a00c8: Download complete [2023-10-18T05:59:07.263Z] b352a97aabf1: Verifying Checksum [2023-10-18T05:59:07.263Z] b352a97aabf1: Download complete [2023-10-18T05:59:07.263Z] 4872d77fe225: Verifying Checksum [2023-10-18T05:59:07.263Z] 4872d77fe225: Download complete [2023-10-18T05:59:07.263Z] 5851b861e8e6: Verifying Checksum [2023-10-18T05:59:07.263Z] 5851b861e8e6: Download complete [2023-10-18T05:59:07.263Z] b85a868b505f: Download complete [2023-10-18T05:59:07.522Z] bab4dde63d76: Verifying Checksum [2023-10-18T05:59:07.522Z] bab4dde63d76: Download complete [2023-10-18T05:59:08.459Z] b85a868b505f: Pull complete [2023-10-18T05:59:08.459Z] e2be974225ed: Pull complete [2023-10-18T05:59:09.026Z] 339a4e72a1f5: Pull complete [2023-10-18T05:59:09.026Z] 988bab9f4d93: Pull complete [2023-10-18T05:59:09.285Z] 1469e6f7b9e6: Pull complete [2023-10-18T05:59:09.285Z] eaf3925da568: Pull complete [2023-10-18T05:59:11.190Z] bab4dde63d76: Pull complete [2023-10-18T05:59:11.190Z] bde34c3a00c8: Pull complete [2023-10-18T05:59:11.190Z] b352a97aabf1: Pull complete [2023-10-18T05:59:11.190Z] 4872d77fe225: Pull complete [2023-10-18T05:59:11.190Z] 5851b861e8e6: Pull complete [2023-10-18T05:59:11.449Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-18T05:59:11.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T05:59:11.449Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T05:59:11.533Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T05:59:11.565Z] $ 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-18T05:59:14.222Z] $ docker top 2727f88ab658e36952c635f8f146c1ebd162e9ad68d153876a613522a56f3446 -eo pid,comm [2023-10-18T05:59:14.273Z] 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-18T05:59:14.273Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T05:59:14.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T05:59:14.314Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T05:59:14.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T05:59:14.432Z] $ docker exec 2727f88ab658e36952c635f8f146c1ebd162e9ad68d153876a613522a56f3446 ssh-agent [2023-10-18T05:59:14.541Z] SSH_AUTH_SOCK=/tmp/ssh-wZoMKVvZ4RCj/agent.32 [2023-10-18T05:59:14.541Z] SSH_AGENT_PID=38 [2023-10-18T05:59:14.547Z] Running ssh-add (command line suppressed) [2023-10-18T05:59:14.651Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17920601091852375511.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17920601091852375511.key) [2023-10-18T05:59:14.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T05:59:14.950Z] + git tag --points-at HEAD [Pipeline] } [2023-10-18T05:59:14.972Z] $ docker exec --env ******** --env ******** 2727f88ab658e36952c635f8f146c1ebd162e9ad68d153876a613522a56f3446 ssh-agent -k [2023-10-18T05:59:15.074Z] unset SSH_AUTH_SOCK; [2023-10-18T05:59:15.074Z] unset SSH_AGENT_PID; [2023-10-18T05:59:15.074Z] echo Agent pid 38 killed; [2023-10-18T05:59:15.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-18T05:59:15.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T05:59:15.109Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T05:59:15.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T05:59:15.231Z] $ docker exec 2727f88ab658e36952c635f8f146c1ebd162e9ad68d153876a613522a56f3446 ssh-agent [2023-10-18T05:59:15.332Z] SSH_AUTH_SOCK=/tmp/ssh-W7YNaQRtYD0N/agent.71 [2023-10-18T05:59:15.332Z] SSH_AGENT_PID=77 [2023-10-18T05:59:15.336Z] Running ssh-add (command line suppressed) [2023-10-18T05:59:15.430Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16803647902139569800.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16803647902139569800.key) [2023-10-18T05:59:15.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T05:59:15.724Z] + git semver init [2023-10-18T05:59:15.982Z] 2023-10-18 05:59:15,887 [run_init] DEBUG init version:0.0.0 force:False [2023-10-18T05:59:15.982Z] 2023-10-18 05:59:15,888 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-18T05:59:15.982Z] 2023-10-18 05:59:15,889 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-10-18T05:59:15.982Z] 2023-10-18 05:59:15,889 [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-18T05:59:16.919Z] 2023-10-18 05:59:16,757 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-10-18T05:59:16.919Z] 2023-10-18 05:59:16,758 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-10-18T05:59:16.919Z] 2023-10-18 05:59:16,758 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T05:59:16.919Z] 2023-10-18 05:59:16,758 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T05:59:16.919Z] 3.1.0-dev.6 [Pipeline] } [2023-10-18T05:59:16.930Z] $ docker exec --env ******** --env ******** 2727f88ab658e36952c635f8f146c1ebd162e9ad68d153876a613522a56f3446 ssh-agent -k [2023-10-18T05:59:17.023Z] unset SSH_AUTH_SOCK; [2023-10-18T05:59:17.023Z] unset SSH_AGENT_PID; [2023-10-18T05:59:17.023Z] echo Agent pid 77 killed; [2023-10-18T05:59:17.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T05:59:17.337Z] + git semver [Pipeline] } [2023-10-18T05:59:17.612Z] $ docker stop --time=1 2727f88ab658e36952c635f8f146c1ebd162e9ad68d153876a613522a56f3446 [2023-10-18T05:59:18.892Z] $ docker rm -f --volumes 2727f88ab658e36952c635f8f146c1ebd162e9ad68d153876a613522a56f3446 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T05:59:19.227Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-18T05:59:19.442Z] Stashed 1 file(s) [Pipeline] echo [2023-10-18T05:59:19.444Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.6 [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-18T05:59:19.582Z] provisioning config files... [2023-10-18T05:59:19.591Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16482902856087551202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T05:59:19.883Z] ---> docker-login.sh [2023-10-18T05:59:19.883Z] nexus3.edgexfoundry.org:10001 [2023-10-18T05:59:19.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:19.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:19.883Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:19.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:19.883Z] [2023-10-18T05:59:19.883Z] Login Succeeded [2023-10-18T05:59:19.883Z] nexus3.edgexfoundry.org:10002 [2023-10-18T05:59:19.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:19.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:19.884Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:19.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:19.884Z] [2023-10-18T05:59:19.884Z] Login Succeeded [2023-10-18T05:59:19.884Z] nexus3.edgexfoundry.org:10003 [2023-10-18T05:59:20.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:20.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:20.143Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:20.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:20.143Z] [2023-10-18T05:59:20.143Z] Login Succeeded [2023-10-18T05:59:20.143Z] nexus3.edgexfoundry.org:10004 [2023-10-18T05:59:20.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:20.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:20.143Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:20.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:20.143Z] [2023-10-18T05:59:20.143Z] Login Succeeded [2023-10-18T05:59:20.143Z] docker.io [2023-10-18T05:59:20.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T05:59:20.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T05:59:20.403Z] Configure a credential helper to remove this warning. See [2023-10-18T05:59:20.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T05:59:20.403Z] [2023-10-18T05:59:20.403Z] Login Succeeded [2023-10-18T05:59:20.403Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T05:59:20.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-18T05:59:20.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T05:59:20.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T05:59:20.492Z] ========================================================= [2023-10-18T05:59:20.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-18T05:59:20.493Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T05:59:20.808Z] + 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-18T05:59:20.808Z] Sending build context to Docker daemon 5.725MB [2023-10-18T05:59:20.808Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T05:59:20.808Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-18T05:59:20.808Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-18T05:59:20.808Z] 7264a8db6415: Pulling fs layer [2023-10-18T05:59:20.808Z] c4d48a809fc2: Pulling fs layer [2023-10-18T05:59:20.808Z] 4f1c88b9dad5: Pulling fs layer [2023-10-18T05:59:20.808Z] ad3a456e5733: Pulling fs layer [2023-10-18T05:59:20.808Z] 33e27b845d1e: Pulling fs layer [2023-10-18T05:59:20.808Z] c68163c4e522: Pulling fs layer [2023-10-18T05:59:20.808Z] 50da416c3ac9: Pulling fs layer [2023-10-18T05:59:20.808Z] 23d2d4c4bb30: Pulling fs layer [2023-10-18T05:59:20.808Z] ad3a456e5733: Waiting [2023-10-18T05:59:20.808Z] c68163c4e522: Waiting [2023-10-18T05:59:20.808Z] 23d2d4c4bb30: Waiting [2023-10-18T05:59:20.808Z] c4d48a809fc2: Download complete [2023-10-18T05:59:20.808Z] ad3a456e5733: Verifying Checksum [2023-10-18T05:59:20.808Z] ad3a456e5733: Download complete [2023-10-18T05:59:20.808Z] 33e27b845d1e: Download complete [2023-10-18T05:59:21.068Z] 7264a8db6415: Download complete [2023-10-18T05:59:21.068Z] c68163c4e522: Verifying Checksum [2023-10-18T05:59:21.068Z] c68163c4e522: Download complete [2023-10-18T05:59:21.068Z] 7264a8db6415: Pull complete [2023-10-18T05:59:21.327Z] 23d2d4c4bb30: Verifying Checksum [2023-10-18T05:59:21.327Z] 23d2d4c4bb30: Download complete [2023-10-18T05:59:21.327Z] c4d48a809fc2: Pull complete [2023-10-18T05:59:21.327Z] 4f1c88b9dad5: Download complete [2023-10-18T05:59:21.891Z] 50da416c3ac9: Verifying Checksum [2023-10-18T05:59:21.891Z] 50da416c3ac9: Download complete [2023-10-18T05:59:24.416Z] 4f1c88b9dad5: Pull complete [2023-10-18T05:59:24.416Z] ad3a456e5733: Pull complete [2023-10-18T05:59:24.416Z] 33e27b845d1e: Pull complete [2023-10-18T05:59:24.416Z] c68163c4e522: Pull complete [2023-10-18T05:59:26.411Z] 50da416c3ac9: Pull complete [2023-10-18T05:59:26.988Z] 23d2d4c4bb30: Pull complete [2023-10-18T05:59:26.988Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-18T05:59:26.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-18T05:59:26.989Z] ---> 0786185ac409 [2023-10-18T05:59:26.989Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-18T05:59:31.187Z] ---> Running in 7f9790a709a0 [2023-10-18T05:59:31.187Z] Removing intermediate container 7f9790a709a0 [2023-10-18T05:59:31.187Z] ---> d46db86ca97f [2023-10-18T05:59:31.187Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T05:59:31.187Z] ---> Running in 93c77ea18545 [2023-10-18T05:59:31.450Z] Removing intermediate container 93c77ea18545 [2023-10-18T05:59:31.450Z] ---> 1cfcab54688c [2023-10-18T05:59:31.450Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T05:59:31.450Z] ---> Running in 82f9dd1e4e97 [2023-10-18T05:59:31.450Z] Removing intermediate container 82f9dd1e4e97 [2023-10-18T05:59:31.450Z] ---> 71e669eeb20f [2023-10-18T05:59:31.450Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T05:59:31.450Z] ---> Running in 2391885d9c57 [2023-10-18T05:59:31.450Z] Removing intermediate container 2391885d9c57 [2023-10-18T05:59:31.450Z] ---> e63c4b0bdf8e [2023-10-18T05:59:31.450Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T05:59:31.450Z] ---> Running in 3a890f6bb3f5 [2023-10-18T05:59:31.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T05:59:31.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T05:59:32.230Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-18T05:59:32.230Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-18T05:59:32.230Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-18T05:59:32.230Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-18T05:59:32.230Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T05:59:32.230Z] OK: 268 MiB in 56 packages [2023-10-18T05:59:32.797Z] Removing intermediate container 3a890f6bb3f5 [2023-10-18T05:59:32.797Z] ---> 4e56d8996c20 [2023-10-18T05:59:32.797Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-18T05:59:32.797Z] ---> Running in 2dfa7cc27e3e [2023-10-18T05:59:32.797Z] Removing intermediate container 2dfa7cc27e3e [2023-10-18T05:59:32.797Z] ---> be34fb2454b9 [2023-10-18T05:59:32.797Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-18T05:59:33.057Z] ---> 125e0c1b27f3 [2023-10-18T05:59:33.057Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T05:59:33.057Z] ---> Running in 47edbab88297 [2023-10-18T05:59:34.532Z] Still waiting to schedule task [2023-10-18T05:59:34.532Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-18T06:00:29.387Z] Removing intermediate container 47edbab88297 [2023-10-18T06:00:29.387Z] ---> fe136dee69e7 [2023-10-18T06:00:29.387Z] Step 11/12 : COPY . . [2023-10-18T06:00:29.387Z] ---> 9ad24a14ad67 [2023-10-18T06:00:29.387Z] Step 12/12 : RUN ${MAKE} [2023-10-18T06:00:29.387Z] ---> Running in e683be78a925 [2023-10-18T06:00:29.387Z] noop [2023-10-18T06:00:29.387Z] Removing intermediate container e683be78a925 [2023-10-18T06:00:29.387Z] ---> 961839305179 [2023-10-18T06:00:29.387Z] Successfully built 961839305179 [2023-10-18T06:00:29.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:00:29.703Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T06:00:29.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:00:29.770Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:00:29.800Z] $ 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-18T06:00:30.108Z] $ docker top 29fc10d35b2dfc1f93139f40894dfc0c84a99ffbb089d1945a98aee5571b90da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T06:00:30.444Z] + go version [2023-10-18T06:00:30.444Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-18T06:00:30.455Z] $ docker stop --time=1 29fc10d35b2dfc1f93139f40894dfc0c84a99ffbb089d1945a98aee5571b90da [2023-10-18T06:00:31.731Z] $ docker rm -f --volumes 29fc10d35b2dfc1f93139f40894dfc0c84a99ffbb089d1945a98aee5571b90da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:00:32.138Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T06:00:32.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:00:32.202Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:00:32.234Z] $ 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-18T06:00:32.567Z] $ docker top 4855f97b00f321e6a8bad4512463ffa581bef9132c3acfe432c0c634dac2473c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T06:00:32.906Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-18T06:00:33.210Z] + make test [2023-10-18T06:00:33.210Z] go test ./... -coverprofile=coverage.out [2023-10-18T06:00:34.584Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-18T06:00:44.548Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-18T06:00:44.548Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2023-10-18T06:00:49.807Z] go vet ./... [2023-10-18T06:00:52.335Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T06:00:52.335Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T06:00:52.335Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T06:00:52.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T06:00:52.360Z] $ docker stop --time=1 4855f97b00f321e6a8bad4512463ffa581bef9132c3acfe432c0c634dac2473c [2023-10-18T06:00:55.627Z] $ docker rm -f --volumes 4855f97b00f321e6a8bad4512463ffa581bef9132c3acfe432c0c634dac2473c [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T06:00:56.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T06:00:56.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-18T06:00:56.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T06:00:56.918Z] + ls -al . [2023-10-18T06:00:56.918Z] total 176 [2023-10-18T06:00:56.918Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 06:00 . [2023-10-18T06:00:56.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 05:58 .. [2023-10-18T06:00:56.918Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 18 05:59 .dockerignore [2023-10-18T06:00:56.918Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 06:00 .git [2023-10-18T06:00:56.918Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:59 .github [2023-10-18T06:00:56.918Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 18 05:59 .gitignore [2023-10-18T06:00:56.918Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 05:59 .golangci.yml [2023-10-18T06:00:56.918Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 05:59 .semver [2023-10-18T06:00:56.918Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 18 05:59 Attribution.txt [2023-10-18T06:00:56.918Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 18 05:59 CHANGELOG.md [2023-10-18T06:00:56.918Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 18 05:59 Dockerfile [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 05:59 GOVERNANCE.md [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 18 05:59 Jenkinsfile [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 05:59 LICENSE [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 18 05:59 Makefile [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 05:59 OWNERS.md [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 10559 Oct 18 05:59 README.md [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 18 05:59 VERSION [2023-10-18T06:00:56.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 05:59 bin [2023-10-18T06:00:56.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:59 cmd [2023-10-18T06:00:56.919Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 18 06:00 coverage.out [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 18 05:59 go.mod [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 34822 Oct 18 05:59 go.sum [2023-10-18T06:00:56.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:59 internal [2023-10-18T06:00:56.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 05:59 snap [2023-10-18T06:00:56.919Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 18 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:00:57.245Z] + 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=ab96bded2e0807d2a2691bb0f6e58e8413531895 --label arch=amd64 --label version=3.1.0-dev.6 . [2023-10-18T06:00:57.245Z] Sending build context to Docker daemon 5.735MB [2023-10-18T06:00:57.245Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T06:00:57.245Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-18T06:00:57.245Z] ---> 961839305179 [2023-10-18T06:00:57.245Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-18T06:00:57.503Z] ---> Running in 12ff0314d5a7 [2023-10-18T06:00:57.503Z] Removing intermediate container 12ff0314d5a7 [2023-10-18T06:00:57.503Z] ---> 574ab0997f0b [2023-10-18T06:00:57.503Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T06:00:57.503Z] ---> Running in 664e534975da [2023-10-18T06:00:57.503Z] Removing intermediate container 664e534975da [2023-10-18T06:00:57.503Z] ---> 4c0b066458bc [2023-10-18T06:00:57.503Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T06:00:57.503Z] ---> Running in af6232b50f8e [2023-10-18T06:00:57.761Z] Removing intermediate container af6232b50f8e [2023-10-18T06:00:57.761Z] ---> a76bf1fccc69 [2023-10-18T06:00:57.761Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T06:00:57.761Z] ---> Running in bc8ffb621b04 [2023-10-18T06:00:57.761Z] Removing intermediate container bc8ffb621b04 [2023-10-18T06:00:57.761Z] ---> caa88578e27b [2023-10-18T06:00:57.761Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T06:00:57.761Z] ---> Running in 7ecb66aeed94 [2023-10-18T06:00:58.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T06:00:58.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T06:00:58.550Z] OK: 268 MiB in 56 packages [2023-10-18T06:00:58.808Z] Removing intermediate container 7ecb66aeed94 [2023-10-18T06:00:58.808Z] ---> d4f537d9078d [2023-10-18T06:00:58.808Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-18T06:00:58.808Z] ---> Running in 44409c9942a7 [2023-10-18T06:00:58.808Z] Removing intermediate container 44409c9942a7 [2023-10-18T06:00:58.808Z] ---> 0640a3ce03e7 [2023-10-18T06:00:58.808Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-18T06:00:59.068Z] ---> 454b5cb81292 [2023-10-18T06:00:59.068Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T06:00:59.068Z] ---> Running in bb34c514ca5b [2023-10-18T06:00:59.635Z] Removing intermediate container bb34c514ca5b [2023-10-18T06:00:59.635Z] ---> ab6b57d64732 [2023-10-18T06:00:59.635Z] Step 11/24 : COPY . . [2023-10-18T06:01:00.279Z] ---> 0aeaf575d575 [2023-10-18T06:01:00.279Z] Step 12/24 : RUN ${MAKE} [2023-10-18T06:01:00.279Z] ---> Running in 1a11e50db3a5 [2023-10-18T06:01:00.279Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-18T06:01:07.981Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9493 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-10-18T06:01:07.994Z] Running in /w/workspace/device-snmp-go/92 [Pipeline] { [Pipeline] checkout [2023-10-18T06:01:08.030Z] Selected Git installation does not exist. Using Default [2023-10-18T06:01:08.030Z] The recommended git tool is: NONE [2023-10-18T06:01:13.162Z] using credential edgex-jenkins-ssh [2023-10-18T06:01:13.177Z] Cloning the remote Git repository [2023-10-18T06:01:13.220Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-10-18T06:01:13.315Z] > git init /w/workspace/device-snmp-go/92 # timeout=10 [2023-10-18T06:01:13.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-10-18T06:01:13.457Z] > git --version # timeout=10 [2023-10-18T06:01:13.480Z] > git --version # 'git version 2.25.1' [2023-10-18T06:01:13.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T06:01:13.638Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T06:01:14.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-10-18T06:01:14.727Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T06:01:15.570Z] Avoid second fetch [2023-10-18T06:01:15.571Z] Checking out Revision ab96bded2e0807d2a2691bb0f6e58e8413531895 (main) [2023-10-18T06:01:16.123Z] Commit message: "Merge pull request #321 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T06:01:15.589Z] > git config core.sparsecheckout # timeout=10 [2023-10-18T06:01:15.660Z] > git checkout -f ab96bded2e0807d2a2691bb0f6e58e8413531895 # timeout=10 [2023-10-18T06:01:17.082Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-18T06:01:17.082Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T06:01:17.082Z] Dload Upload Total Spent Left Speed [2023-10-18T06:01:17.082Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2023-10-18T06:01:17.640Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-18T06:01:17.970Z] + sudo tee /etc/docker/daemon.new [2023-10-18T06:01:17.970Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-18T06:01:17.970Z] { [2023-10-18T06:01:17.970Z] "registry-mirrors": [ [2023-10-18T06:01:17.970Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-18T06:01:17.970Z] ], [2023-10-18T06:01:17.970Z] "bip": "10.250.0.254/24", [2023-10-18T06:01:17.970Z] "hosts": [ [2023-10-18T06:01:17.970Z] "tcp://0.0.0.0:5555", [2023-10-18T06:01:17.970Z] "unix:///var/run/docker.sock" [2023-10-18T06:01:17.970Z] ], [2023-10-18T06:01:17.970Z] "mtu": 1458, [2023-10-18T06:01:17.970Z] "selinux-enabled": true, [2023-10-18T06:01:17.970Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-18T06:01:17.970Z] } [Pipeline] sh [2023-10-18T06:01:18.320Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-18T06:01:18.357Z] Removing intermediate container 1a11e50db3a5 [2023-10-18T06:01:18.357Z] ---> 0ecd6eb656c8 [2023-10-18T06:01:18.357Z] Step 13/24 : FROM alpine:3.18 [2023-10-18T06:01:18.616Z] 3.18: Pulling from library/alpine [2023-10-18T06:01:18.616Z] 96526aa774ef: Pulling fs layer [2023-10-18T06:01:18.648Z] + sudo service docker restart [2023-10-18T06:01:18.874Z] 96526aa774ef: Verifying Checksum [2023-10-18T06:01:18.874Z] 96526aa774ef: Download complete [2023-10-18T06:01:19.132Z] 96526aa774ef: Pull complete [2023-10-18T06:01:19.132Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T06:01:19.132Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T06:01:19.132Z] ---> 8ca4688f4f35 [2023-10-18T06:01:19.132Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-18T06:01:19.391Z] ---> Running in d5059b5812a2 [2023-10-18T06:01:19.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T06:01:19.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T06:01:19.908Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-18T06:01:19.908Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T06:01:19.908Z] OK: 7 MiB in 16 packages [2023-10-18T06:01:20.166Z] Removing intermediate container d5059b5812a2 [2023-10-18T06:01:20.166Z] ---> 6da1ebb2efa9 [2023-10-18T06:01:20.166Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-18T06:01:21.103Z] ---> 75e05fe1cfa2 [2023-10-18T06:01:21.103Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-18T06:01:21.103Z] ---> 67bcb2685cd6 [2023-10-18T06:01:21.103Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-18T06:01:21.361Z] ---> 241d49558b70 [2023-10-18T06:01:21.361Z] Step 18/24 : EXPOSE 59993 [2023-10-18T06:01:21.361Z] ---> Running in 18515abea28c [2023-10-18T06:01:21.361Z] Removing intermediate container 18515abea28c [2023-10-18T06:01:21.361Z] ---> 48260ad8e3c4 [2023-10-18T06:01:21.361Z] Step 19/24 : EXPOSE 161 [2023-10-18T06:01:21.361Z] ---> Running in f6a0a12b1a98 [2023-10-18T06:01:21.361Z] Removing intermediate container f6a0a12b1a98 [2023-10-18T06:01:21.361Z] ---> 3e056f0f2407 [2023-10-18T06:01:21.361Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-18T06:01:21.361Z] ---> Running in 0def470e7fc3 [2023-10-18T06:01:21.620Z] Removing intermediate container 0def470e7fc3 [2023-10-18T06:01:21.620Z] ---> 80f9bc4bf435 [2023-10-18T06:01:21.620Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-18T06:01:21.620Z] ---> Running in 08860c7fe94d [2023-10-18T06:01:21.620Z] Removing intermediate container 08860c7fe94d [2023-10-18T06:01:21.620Z] ---> c1a489231f99 [2023-10-18T06:01:21.620Z] Step 22/24 : LABEL arch=amd64 [2023-10-18T06:01:21.620Z] ---> Running in 74bd6d7b421a [2023-10-18T06:01:21.620Z] Removing intermediate container 74bd6d7b421a [2023-10-18T06:01:21.620Z] ---> eed27cf78e65 [2023-10-18T06:01:21.620Z] Step 23/24 : LABEL git_sha=ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T06:01:21.620Z] ---> Running in 672c27629319 [2023-10-18T06:01:21.878Z] Removing intermediate container 672c27629319 [2023-10-18T06:01:21.878Z] ---> 3438f1d3c4f4 [2023-10-18T06:01:21.878Z] Step 24/24 : LABEL version=3.1.0-dev.6 [2023-10-18T06:01:21.878Z] ---> Running in c0fc44150377 [2023-10-18T06:01:21.878Z] Removing intermediate container c0fc44150377 [2023-10-18T06:01:21.878Z] ---> 87d2a120490b [2023-10-18T06:01:21.878Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T06:01:21.878Z] Successfully built 87d2a120490b [2023-10-18T06:01:21.878Z] 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-18T06:01:21.981Z] provisioning config files... [2023-10-18T06:01:21.989Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7619209359980914106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:01:22.279Z] ---> docker-login.sh [2023-10-18T06:01:22.279Z] nexus3.edgexfoundry.org:10001 [2023-10-18T06:01:22.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:22.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:22.279Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:22.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:22.279Z] [2023-10-18T06:01:22.279Z] Login Succeeded [2023-10-18T06:01:22.279Z] nexus3.edgexfoundry.org:10002 [2023-10-18T06:01:22.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:22.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:22.279Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:22.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:22.279Z] [2023-10-18T06:01:22.279Z] Login Succeeded [2023-10-18T06:01:22.279Z] nexus3.edgexfoundry.org:10003 [2023-10-18T06:01:22.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:22.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:22.537Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:22.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:22.537Z] [2023-10-18T06:01:22.537Z] Login Succeeded [2023-10-18T06:01:22.537Z] nexus3.edgexfoundry.org:10004 [2023-10-18T06:01:22.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:22.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:22.537Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:22.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:22.537Z] [2023-10-18T06:01:22.537Z] Login Succeeded [2023-10-18T06:01:22.537Z] docker.io [2023-10-18T06:01:22.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:22.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:22.796Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:22.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:22.796Z] [2023-10-18T06:01:22.796Z] Login Succeeded [2023-10-18T06:01:22.796Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T06:01:22.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T06:01:22.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T06:01:22.865Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-10-18T06:01:22.865Z] ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T06:01:22.865Z] latest [2023-10-18T06:01:22.865Z] 3.1.0-dev.6 [2023-10-18T06:01:22.865Z] ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6 [2023-10-18T06:01:22.865Z] main [2023-10-18T06:01:22.865Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:23.302Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:ab96bded2e0807d2a2691bb0f6e58e8413531895 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:23.677Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T06:01:23.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-18T06:01:23.677Z] f52de3f692f6: Preparing [2023-10-18T06:01:23.677Z] 4a89f64537d4: Preparing [2023-10-18T06:01:23.677Z] 3355c81b2f90: Preparing [2023-10-18T06:01:23.677Z] 4444e28f4346: Preparing [2023-10-18T06:01:23.677Z] cc2447e1835a: Preparing [2023-10-18T06:01:23.677Z] cc2447e1835a: Layer already exists [2023-10-18T06:01:23.677Z] 4444e28f4346: Pushed [2023-10-18T06:01:23.677Z] f52de3f692f6: Pushed [2023-10-18T06:01:23.677Z] 4a89f64537d4: Pushed [2023-10-18T06:01:26.209Z] 3355c81b2f90: Pushed [2023-10-18T06:01:26.469Z] ab96bded2e0807d2a2691bb0f6e58e8413531895: digest: sha256:ff375bad823daf1ee4619c79bb96eac953cf07718948b0aa78d045e5e152e406 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:26.789Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:27.103Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-18T06:01:27.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-18T06:01:27.103Z] f52de3f692f6: Preparing [2023-10-18T06:01:27.103Z] 4a89f64537d4: Preparing [2023-10-18T06:01:27.103Z] 3355c81b2f90: Preparing [2023-10-18T06:01:27.103Z] 4444e28f4346: Preparing [2023-10-18T06:01:27.103Z] cc2447e1835a: Preparing [2023-10-18T06:01:27.103Z] 4444e28f4346: Layer already exists [2023-10-18T06:01:27.103Z] 3355c81b2f90: Layer already exists [2023-10-18T06:01:27.103Z] f52de3f692f6: Layer already exists [2023-10-18T06:01:27.103Z] cc2447e1835a: Layer already exists [2023-10-18T06:01:27.103Z] 4a89f64537d4: Layer already exists [2023-10-18T06:01:27.103Z] latest: digest: sha256:ff375bad823daf1ee4619c79bb96eac953cf07718948b0aa78d045e5e152e406 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:27.414Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:27.734Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.6 [2023-10-18T06:01:27.734Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-18T06:01:27.734Z] f52de3f692f6: Preparing [2023-10-18T06:01:27.734Z] 4a89f64537d4: Preparing [2023-10-18T06:01:27.734Z] 3355c81b2f90: Preparing [2023-10-18T06:01:27.734Z] 4444e28f4346: Preparing [2023-10-18T06:01:27.734Z] cc2447e1835a: Preparing [2023-10-18T06:01:27.734Z] 4a89f64537d4: Layer already exists [2023-10-18T06:01:27.734Z] f52de3f692f6: Layer already exists [2023-10-18T06:01:27.734Z] 4444e28f4346: Layer already exists [2023-10-18T06:01:27.734Z] 3355c81b2f90: Layer already exists [2023-10-18T06:01:27.734Z] cc2447e1835a: Layer already exists [2023-10-18T06:01:27.734Z] 3.1.0-dev.6: digest: sha256:ff375bad823daf1ee4619c79bb96eac953cf07718948b0aa78d045e5e152e406 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:28.048Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:28.362Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6 [2023-10-18T06:01:28.363Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-18T06:01:28.363Z] f52de3f692f6: Preparing [2023-10-18T06:01:28.363Z] 4a89f64537d4: Preparing [2023-10-18T06:01:28.363Z] 3355c81b2f90: Preparing [2023-10-18T06:01:28.363Z] 4444e28f4346: Preparing [2023-10-18T06:01:28.363Z] cc2447e1835a: Preparing [2023-10-18T06:01:28.363Z] 4a89f64537d4: Layer already exists [2023-10-18T06:01:28.363Z] 3355c81b2f90: Layer already exists [2023-10-18T06:01:28.363Z] f52de3f692f6: Layer already exists [2023-10-18T06:01:28.363Z] cc2447e1835a: Layer already exists [2023-10-18T06:01:28.363Z] 4444e28f4346: Layer already exists [2023-10-18T06:01:28.363Z] ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6: digest: sha256:ff375bad823daf1ee4619c79bb96eac953cf07718948b0aa78d045e5e152e406 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:28.679Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:28.984Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-10-18T06:01:28.984Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-10-18T06:01:28.984Z] f52de3f692f6: Preparing [2023-10-18T06:01:28.984Z] 4a89f64537d4: Preparing [2023-10-18T06:01:28.984Z] 3355c81b2f90: Preparing [2023-10-18T06:01:28.984Z] 4444e28f4346: Preparing [2023-10-18T06:01:28.984Z] cc2447e1835a: Preparing [2023-10-18T06:01:28.984Z] 4a89f64537d4: Layer already exists [2023-10-18T06:01:28.984Z] 4444e28f4346: Layer already exists [2023-10-18T06:01:28.984Z] 3355c81b2f90: Layer already exists [2023-10-18T06:01:28.984Z] cc2447e1835a: Layer already exists [2023-10-18T06:01:28.984Z] f52de3f692f6: Layer already exists [2023-10-18T06:01:28.984Z] main: digest: sha256:ff375bad823daf1ee4619c79bb96eac953cf07718948b0aa78d045e5e152e406 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T06:01:29.036Z] ===================================================== [Pipeline] echo [2023-10-18T06:01:29.050Z] taggedImages: [2023-10-18T06:01:29.050Z] - nexus3.edgexfoundry.org:10004/device-snmp:ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T06:01:29.050Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-10-18T06:01:29.050Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.6 [2023-10-18T06:01:29.050Z] - nexus3.edgexfoundry.org:10004/device-snmp:ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6 [2023-10-18T06:01:29.050Z] - 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-18T06:01:29.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T06:01:29.435Z] [2023-10-18T06:01:29.435Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:29.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T06:01:29.737Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-18T06:01:29.737Z] 5eb5b503b376: Pulling fs layer [2023-10-18T06:01:29.737Z] 5c69ac0246d0: Pulling fs layer [2023-10-18T06:01:29.737Z] ec43610c2a17: Pulling fs layer [2023-10-18T06:01:29.737Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-18T06:01:29.737Z] 33b1e0a273af: Pulling fs layer [2023-10-18T06:01:29.737Z] 5d3b04190fa2: Pulling fs layer [2023-10-18T06:01:29.737Z] 3a2ae6a8a46f: Waiting [2023-10-18T06:01:29.737Z] 33b1e0a273af: Waiting [2023-10-18T06:01:29.737Z] 5d3b04190fa2: Waiting [2023-10-18T06:01:29.737Z] 2f39f015ded8: Pulling fs layer [2023-10-18T06:01:29.737Z] 2f39f015ded8: Waiting [2023-10-18T06:01:29.737Z] 5c69ac0246d0: Verifying Checksum [2023-10-18T06:01:29.737Z] 5c69ac0246d0: Download complete [2023-10-18T06:01:29.737Z] 3a2ae6a8a46f: Download complete [2023-10-18T06:01:29.737Z] 33b1e0a273af: Verifying Checksum [2023-10-18T06:01:29.737Z] 33b1e0a273af: Download complete [2023-10-18T06:01:29.737Z] 5d3b04190fa2: Verifying Checksum [2023-10-18T06:01:29.737Z] 5d3b04190fa2: Download complete [2023-10-18T06:01:29.996Z] ec43610c2a17: Verifying Checksum [2023-10-18T06:01:29.996Z] ec43610c2a17: Download complete [2023-10-18T06:01:29.996Z] 5eb5b503b376: Verifying Checksum [2023-10-18T06:01:29.996Z] 5eb5b503b376: Download complete [2023-10-18T06:01:30.563Z] 2f39f015ded8: Download complete [2023-10-18T06:01:31.137Z] 5eb5b503b376: Pull complete [2023-10-18T06:01:31.394Z] 5c69ac0246d0: Pull complete [2023-10-18T06:01:31.651Z] ec43610c2a17: Pull complete [2023-10-18T06:01:31.909Z] 3a2ae6a8a46f: Pull complete [2023-10-18T06:01:31.909Z] 33b1e0a273af: Pull complete [2023-10-18T06:01:32.167Z] 5d3b04190fa2: Pull complete [2023-10-18T06:01:36.348Z] 2f39f015ded8: Pull complete [2023-10-18T06:01:36.348Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-18T06:01:36.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T06:01:36.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:01:36.434Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:01:36.472Z] $ 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-18T06:01:41.905Z] $ docker top f8491c4f68a9a938cb05ed643537b5ff8eb126ad923bf37c54786a272f24cbd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-10-18T06:01:42.049Z] provisioning config files... [2023-10-18T06:01:42.075Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/92@tmp/config9031651823679509804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:01:42.301Z] ---> job-cost.sh [2023-10-18T06:01:42.301Z] lf-activate-venv: SKIPPING [2023-10-18T06:01:42.301Z] INFO: No Stack... [2023-10-18T06:01:42.428Z] ---> docker-login.sh [2023-10-18T06:01:42.428Z] nexus3.edgexfoundry.org:10001 [2023-10-18T06:01:42.561Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T06:01:42.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:42.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:42.968Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:42.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:42.968Z] [2023-10-18T06:01:42.968Z] Login Succeeded [2023-10-18T06:01:42.968Z] nexus3.edgexfoundry.org:10002 [2023-10-18T06:01:43.127Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T06:01:43.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:43.414Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-10-18T06:01:43.414Z] + cut -d, -f6 [Pipeline] lock [2023-10-18T06:01:43.432Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-92-stack-cost] [2023-10-18T06:01:43.440Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-92-stack-cost] did not exist. Created. [2023-10-18T06:01:43.441Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T06:01:43.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:43.509Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:43.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:43.509Z] [2023-10-18T06:01:43.509Z] Login Succeeded [2023-10-18T06:01:43.509Z] nexus3.edgexfoundry.org:10003 [2023-10-18T06:01:43.745Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-18T06:01:43.777Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T06:01:43.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:43.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:43.779Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:43.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:43.779Z] [2023-10-18T06:01:43.779Z] Login Succeeded [2023-10-18T06:01:43.779Z] nexus3.edgexfoundry.org:10004 [2023-10-18T06:01:43.783Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T06:01:43.803Z] $ docker stop --time=1 f8491c4f68a9a938cb05ed643537b5ff8eb126ad923bf37c54786a272f24cbd0 [2023-10-18T06:01:44.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:44.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:44.060Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:44.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:44.060Z] [2023-10-18T06:01:44.060Z] Login Succeeded [2023-10-18T06:01:44.060Z] docker.io [2023-10-18T06:01:44.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:01:44.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:01:44.931Z] Configure a credential helper to remove this warning. See [2023-10-18T06:01:44.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:01:44.931Z] [2023-10-18T06:01:44.931Z] Login Succeeded [2023-10-18T06:01:44.931Z] ---> docker-login.sh ends [2023-10-18T06:01:44.942Z] $ docker rm -f --volumes f8491c4f68a9a938cb05ed643537b5ff8eb126ad923bf37c54786a272f24cbd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-10-18T06:01:44.990Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-10-18T06:01:45.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T06:01:45.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T06:01:45.262Z] ========================================================= [2023-10-18T06:01:45.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-18T06:01:45.262Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:01:45.613Z] + 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-18T06:01:45.881Z] Sending build context to Docker daemon 2.95MB [2023-10-18T06:01:45.881Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T06:01:45.881Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-18T06:01:46.151Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-18T06:01:46.151Z] 9fda8d8052c6: Pulling fs layer [2023-10-18T06:01:46.151Z] 5d54e960e981: Pulling fs layer [2023-10-18T06:01:46.151Z] c4a7e357bf2a: Pulling fs layer [2023-10-18T06:01:46.151Z] f0e02332f6b5: Pulling fs layer [2023-10-18T06:01:46.151Z] cefa15bbcfad: Pulling fs layer [2023-10-18T06:01:46.151Z] 17808c966233: Pulling fs layer [2023-10-18T06:01:46.151Z] f4c1fc716caa: Pulling fs layer [2023-10-18T06:01:46.151Z] cefa15bbcfad: Waiting [2023-10-18T06:01:46.151Z] 17808c966233: Waiting [2023-10-18T06:01:46.151Z] f4c1fc716caa: Waiting [2023-10-18T06:01:46.151Z] f0e02332f6b5: Waiting [2023-10-18T06:01:46.151Z] 5d54e960e981: Verifying Checksum [2023-10-18T06:01:46.151Z] 5d54e960e981: Download complete [2023-10-18T06:01:46.151Z] f0e02332f6b5: Verifying Checksum [2023-10-18T06:01:46.151Z] f0e02332f6b5: Download complete [2023-10-18T06:01:46.151Z] cefa15bbcfad: Verifying Checksum [2023-10-18T06:01:46.151Z] cefa15bbcfad: Download complete [2023-10-18T06:01:46.151Z] 9fda8d8052c6: Verifying Checksum [2023-10-18T06:01:46.151Z] 9fda8d8052c6: Download complete [2023-10-18T06:01:46.746Z] f4c1fc716caa: Verifying Checksum [2023-10-18T06:01:46.746Z] f4c1fc716caa: Download complete [2023-10-18T06:01:47.352Z] 9fda8d8052c6: Pull complete [2023-10-18T06:01:47.945Z] 5d54e960e981: Pull complete [2023-10-18T06:01:48.215Z] c4a7e357bf2a: Download complete [2023-10-18T06:01:49.186Z] 17808c966233: Verifying Checksum [2023-10-18T06:01:49.186Z] 17808c966233: Download complete [2023-10-18T06:02:04.200Z] c4a7e357bf2a: Pull complete [2023-10-18T06:02:04.200Z] f0e02332f6b5: Pull complete [2023-10-18T06:02:04.200Z] cefa15bbcfad: Pull complete [2023-10-18T06:02:12.416Z] 17808c966233: Pull complete [2023-10-18T06:02:12.770Z] f4c1fc716caa: Pull complete [2023-10-18T06:02:12.770Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-18T06:02:12.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-18T06:02:12.770Z] ---> ea914061e18c [2023-10-18T06:02:12.770Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-18T06:02:13.772Z] ---> Running in eb11bc09c501 [2023-10-18T06:02:14.049Z] Removing intermediate container eb11bc09c501 [2023-10-18T06:02:14.049Z] ---> 9a5caab544e4 [2023-10-18T06:02:14.049Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T06:02:14.318Z] ---> Running in 3de27224fe74 [2023-10-18T06:02:14.585Z] Removing intermediate container 3de27224fe74 [2023-10-18T06:02:14.585Z] ---> 7b8bea05851b [2023-10-18T06:02:14.585Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T06:02:14.585Z] ---> Running in 4da0d459ba75 [2023-10-18T06:02:14.852Z] Removing intermediate container 4da0d459ba75 [2023-10-18T06:02:14.852Z] ---> fb1397505c42 [2023-10-18T06:02:14.852Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T06:02:15.123Z] ---> Running in 555928b960dd [2023-10-18T06:02:15.394Z] Removing intermediate container 555928b960dd [2023-10-18T06:02:15.394Z] ---> dba388c31a5d [2023-10-18T06:02:15.394Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T06:02:15.394Z] ---> Running in 815021a5b38d [2023-10-18T06:02:16.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T06:02:16.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T06:02:18.347Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-18T06:02:18.347Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-18T06:02:18.347Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-18T06:02:18.347Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-18T06:02:18.347Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T06:02:18.347Z] OK: 270 MiB in 56 packages [2023-10-18T06:02:20.934Z] Removing intermediate container 815021a5b38d [2023-10-18T06:02:20.934Z] ---> 58806298d11b [2023-10-18T06:02:20.934Z] Step 8/12 : WORKDIR /device-snmp-go [2023-10-18T06:02:20.934Z] ---> Running in 4dcb00dcb885 [2023-10-18T06:02:21.205Z] Removing intermediate container 4dcb00dcb885 [2023-10-18T06:02:21.205Z] ---> 6fd5e6ca0ff1 [2023-10-18T06:02:21.205Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-18T06:02:21.797Z] ---> 3939152a0e1d [2023-10-18T06:02:21.797Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T06:02:21.797Z] ---> Running in 1134aaae527c [2023-10-18T06:03:58.722Z] Removing intermediate container 1134aaae527c [2023-10-18T06:03:58.722Z] ---> e3c7b690e5d2 [2023-10-18T06:03:58.722Z] Step 11/12 : COPY . . [2023-10-18T06:03:58.722Z] ---> 3f8e23244b98 [2023-10-18T06:03:58.722Z] Step 12/12 : RUN ${MAKE} [2023-10-18T06:03:58.722Z] ---> Running in 88b0715eba97 [2023-10-18T06:03:59.692Z] noop [2023-10-18T06:04:00.279Z] Removing intermediate container 88b0715eba97 [2023-10-18T06:04:00.279Z] ---> a6a914724fa1 [2023-10-18T06:04:00.279Z] Successfully built a6a914724fa1 [2023-10-18T06:04:00.279Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:04:00.658Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T06:04:00.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:04:00.883Z] prd-ubuntu20.04-docker-arm64-4c-16g-9493 does not seem to be running inside a container [2023-10-18T06:04:00.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/92 -v /w/workspace/device-snmp-go/92:/w/workspace/device-snmp-go/92:rw,z -v /w/workspace/device-snmp-go/92@tmp:/w/workspace/device-snmp-go/92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-18T06:04:02.249Z] $ docker top 8980199d9f27d5fd34261c0817dc7eb977d849c977e6dd72c51588b7a34cba3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T06:04:03.112Z] + go version [2023-10-18T06:04:03.112Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-18T06:04:03.135Z] $ docker stop --time=1 8980199d9f27d5fd34261c0817dc7eb977d849c977e6dd72c51588b7a34cba3c [2023-10-18T06:04:04.848Z] $ docker rm -f --volumes 8980199d9f27d5fd34261c0817dc7eb977d849c977e6dd72c51588b7a34cba3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:04:05.494Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T06:04:05.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:04:05.705Z] prd-ubuntu20.04-docker-arm64-4c-16g-9493 does not seem to be running inside a container [2023-10-18T06:04:05.785Z] $ 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/92 -v /w/workspace/device-snmp-go/92:/w/workspace/device-snmp-go/92:rw,z -v /w/workspace/device-snmp-go/92@tmp:/w/workspace/device-snmp-go/92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-18T06:04:07.168Z] $ docker top 7e22861c041cbda7f2c199eef8e31ab5819cc386567f65bae37e1075fe4cb5c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T06:04:08.045Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/92 [Pipeline] fileExists [Pipeline] sh [2023-10-18T06:04:08.707Z] + make test [2023-10-18T06:04:08.707Z] go test ./... -coverprofile=coverage.out [2023-10-18T06:04:15.361Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-10-18T06:05:52.053Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-10-18T06:05:52.053Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements [2023-10-18T06:05:52.053Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-18T06:05:52.053Z] go vet ./... [2023-10-18T06:06:18.742Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T06:06:18.742Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T06:06:18.742Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T06:06:18.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T06:06:18.784Z] $ docker stop --time=1 7e22861c041cbda7f2c199eef8e31ab5819cc386567f65bae37e1075fe4cb5c9 [2023-10-18T06:06:20.812Z] $ docker rm -f --volumes 7e22861c041cbda7f2c199eef8e31ab5819cc386567f65bae37e1075fe4cb5c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T06:06:22.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T06:06:22.188Z] Warning: overwriting stash ‘coverage-report’ [2023-10-18T06:06:22.714Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T06:06:23.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T06:06:23.457Z] + ls -al . [2023-10-18T06:06:23.457Z] total 172 [2023-10-18T06:06:23.457Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 06:04 . [2023-10-18T06:06:23.457Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:01 .. [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 18 06:01 .dockerignore [2023-10-18T06:06:23.457Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 06:01 .git [2023-10-18T06:06:23.457Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:01 .github [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 18 06:01 .gitignore [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 06:01 .golangci.yml [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 10025 Oct 18 06:01 Attribution.txt [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 10534 Oct 18 06:01 CHANGELOG.md [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 1462 Oct 18 06:01 Dockerfile [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 06:01 GOVERNANCE.md [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 18 06:01 Jenkinsfile [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 06:01 LICENSE [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 2240 Oct 18 06:01 Makefile [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 06:01 OWNERS.md [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 10559 Oct 18 06:01 README.md [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 18 05:59 VERSION [2023-10-18T06:06:23.457Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 06:01 bin [2023-10-18T06:06:23.457Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:01 cmd [2023-10-18T06:06:23.457Z] -rw-r--r-- 1 jenkins jenkins 8837 Oct 18 06:05 coverage.out [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 3712 Oct 18 06:01 go.mod [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 34822 Oct 18 06:01 go.sum [2023-10-18T06:06:23.457Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:01 internal [2023-10-18T06:06:23.457Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:01 snap [2023-10-18T06:06:23.457Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 18 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:06:23.802Z] + 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=ab96bded2e0807d2a2691bb0f6e58e8413531895 --label arch=arm64 --label version=3.1.0-dev.6 . [2023-10-18T06:06:24.076Z] Sending build context to Docker daemon 2.96MB [2023-10-18T06:06:24.076Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T06:06:24.076Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-18T06:06:24.076Z] ---> a6a914724fa1 [2023-10-18T06:06:24.076Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-18T06:06:24.348Z] ---> Running in d2316fdd61bc [2023-10-18T06:06:24.614Z] Removing intermediate container d2316fdd61bc [2023-10-18T06:06:24.614Z] ---> 8ce94d34bb91 [2023-10-18T06:06:24.614Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T06:06:24.614Z] ---> Running in 3291cd348aa0 [2023-10-18T06:06:25.198Z] Removing intermediate container 3291cd348aa0 [2023-10-18T06:06:25.198Z] ---> 3ec092850fe1 [2023-10-18T06:06:25.198Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T06:06:25.198Z] ---> Running in 583473818b68 [2023-10-18T06:06:25.464Z] Removing intermediate container 583473818b68 [2023-10-18T06:06:25.464Z] ---> ac24c7e1008f [2023-10-18T06:06:25.464Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T06:06:25.464Z] ---> Running in 9d29d4f8a188 [2023-10-18T06:06:26.047Z] Removing intermediate container 9d29d4f8a188 [2023-10-18T06:06:26.047Z] ---> 1286bc933ebe [2023-10-18T06:06:26.047Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T06:06:26.047Z] ---> Running in 6476d996858e [2023-10-18T06:06:27.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T06:06:27.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T06:06:29.145Z] OK: 270 MiB in 56 packages [2023-10-18T06:06:29.728Z] Removing intermediate container 6476d996858e [2023-10-18T06:06:29.728Z] ---> 2461818f2291 [2023-10-18T06:06:29.728Z] Step 8/24 : WORKDIR /device-snmp-go [2023-10-18T06:06:29.993Z] ---> Running in b6ada6d61443 [2023-10-18T06:06:30.259Z] Removing intermediate container b6ada6d61443 [2023-10-18T06:06:30.259Z] ---> c031fd9c00fc [2023-10-18T06:06:30.259Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-18T06:06:30.842Z] ---> b7fa8ded3911 [2023-10-18T06:06:30.842Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T06:06:30.842Z] ---> Running in 91fe564ed5e0 [2023-10-18T06:06:33.415Z] Removing intermediate container 91fe564ed5e0 [2023-10-18T06:06:33.415Z] ---> e3e719bd8280 [2023-10-18T06:06:33.415Z] Step 11/24 : COPY . . [2023-10-18T06:06:33.686Z] ---> 0cbc4e63cd78 [2023-10-18T06:06:33.686Z] Step 12/24 : RUN ${MAKE} [2023-10-18T06:06:33.956Z] ---> Running in f979f0e64e3f [2023-10-18T06:06:34.914Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-10-18T06:08:26.582Z] Removing intermediate container f979f0e64e3f [2023-10-18T06:08:26.583Z] ---> 682edede88cd [2023-10-18T06:08:26.583Z] Step 13/24 : FROM alpine:3.18 [2023-10-18T06:08:26.583Z] 3.18: Pulling from library/alpine [2023-10-18T06:08:26.583Z] 579b34f0a95b: Pulling fs layer [2023-10-18T06:08:26.583Z] 579b34f0a95b: Verifying Checksum [2023-10-18T06:08:26.583Z] 579b34f0a95b: Download complete [2023-10-18T06:08:26.583Z] 579b34f0a95b: Pull complete [2023-10-18T06:08:26.583Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T06:08:26.583Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T06:08:26.583Z] ---> 3cc203321400 [2023-10-18T06:08:26.583Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-10-18T06:08:26.583Z] ---> Running in 3f7d5bbd60b0 [2023-10-18T06:08:26.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T06:08:26.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T06:08:26.583Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-18T06:08:26.583Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T06:08:26.583Z] OK: 8 MiB in 16 packages [2023-10-18T06:08:26.583Z] Removing intermediate container 3f7d5bbd60b0 [2023-10-18T06:08:26.583Z] ---> c785e0cd183b [2023-10-18T06:08:26.583Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-10-18T06:08:26.849Z] ---> 9423c6253f0e [2023-10-18T06:08:26.849Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-10-18T06:08:27.434Z] ---> 7315789040d9 [2023-10-18T06:08:27.434Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-10-18T06:08:28.019Z] ---> 92776bee46d8 [2023-10-18T06:08:28.019Z] Step 18/24 : EXPOSE 59993 [2023-10-18T06:08:28.019Z] ---> Running in aa2d5dc94a3c [2023-10-18T06:08:28.287Z] Removing intermediate container aa2d5dc94a3c [2023-10-18T06:08:28.287Z] ---> 67fa69fb50bd [2023-10-18T06:08:28.287Z] Step 19/24 : EXPOSE 161 [2023-10-18T06:08:28.554Z] ---> Running in 41880eeedbee [2023-10-18T06:08:28.820Z] Removing intermediate container 41880eeedbee [2023-10-18T06:08:28.820Z] ---> eca895383553 [2023-10-18T06:08:28.820Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-10-18T06:08:28.820Z] ---> Running in d04bea382e1a [2023-10-18T06:08:29.101Z] Removing intermediate container d04bea382e1a [2023-10-18T06:08:29.101Z] ---> c2b8943bdfae [2023-10-18T06:08:29.101Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-18T06:08:29.367Z] ---> Running in a1c83afaef05 [2023-10-18T06:08:29.632Z] Removing intermediate container a1c83afaef05 [2023-10-18T06:08:29.632Z] ---> a68db925f5cd [2023-10-18T06:08:29.632Z] Step 22/24 : LABEL arch=arm64 [2023-10-18T06:08:29.632Z] ---> Running in 8661a728fd59 [2023-10-18T06:08:29.910Z] Removing intermediate container 8661a728fd59 [2023-10-18T06:08:29.910Z] ---> 26046711a6db [2023-10-18T06:08:29.910Z] Step 23/24 : LABEL git_sha=ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T06:08:30.178Z] ---> Running in 4e5556403402 [2023-10-18T06:08:30.443Z] Removing intermediate container 4e5556403402 [2023-10-18T06:08:30.443Z] ---> b7ea9ee48c73 [2023-10-18T06:08:30.443Z] Step 24/24 : LABEL version=3.1.0-dev.6 [2023-10-18T06:08:30.443Z] ---> Running in 297f0b9d015b [2023-10-18T06:08:30.709Z] Removing intermediate container 297f0b9d015b [2023-10-18T06:08:30.709Z] ---> ce6cfb177420 [2023-10-18T06:08:30.709Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T06:08:30.709Z] Successfully built ce6cfb177420 [2023-10-18T06:08:30.709Z] 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-18T06:08:30.811Z] provisioning config files... [2023-10-18T06:08:30.822Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/92@tmp/config12692357532437905985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:08:31.166Z] ---> docker-login.sh [2023-10-18T06:08:31.166Z] nexus3.edgexfoundry.org:10001 [2023-10-18T06:08:31.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:08:31.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:08:31.432Z] Configure a credential helper to remove this warning. See [2023-10-18T06:08:31.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:08:31.432Z] [2023-10-18T06:08:31.432Z] Login Succeeded [2023-10-18T06:08:31.432Z] nexus3.edgexfoundry.org:10002 [2023-10-18T06:08:31.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:08:31.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:08:31.698Z] Configure a credential helper to remove this warning. See [2023-10-18T06:08:31.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:08:31.698Z] [2023-10-18T06:08:31.698Z] Login Succeeded [2023-10-18T06:08:31.698Z] nexus3.edgexfoundry.org:10003 [2023-10-18T06:08:31.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:08:32.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:08:32.227Z] Configure a credential helper to remove this warning. See [2023-10-18T06:08:32.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:08:32.227Z] [2023-10-18T06:08:32.227Z] Login Succeeded [2023-10-18T06:08:32.227Z] nexus3.edgexfoundry.org:10004 [2023-10-18T06:08:32.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:08:32.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:08:32.493Z] Configure a credential helper to remove this warning. See [2023-10-18T06:08:32.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:08:32.493Z] [2023-10-18T06:08:32.493Z] Login Succeeded [2023-10-18T06:08:32.493Z] docker.io [2023-10-18T06:08:32.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T06:08:33.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T06:08:33.026Z] Configure a credential helper to remove this warning. See [2023-10-18T06:08:33.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T06:08:33.026Z] [2023-10-18T06:08:33.026Z] Login Succeeded [2023-10-18T06:08:33.026Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T06:08:33.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T06:08:33.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T06:08:33.105Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-10-18T06:08:33.105Z] ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T06:08:33.105Z] latest [2023-10-18T06:08:33.105Z] 3.1.0-dev.6 [2023-10-18T06:08:33.105Z] ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6 [2023-10-18T06:08:33.105Z] main [2023-10-18T06:08:33.105Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:33.462Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:ab96bded2e0807d2a2691bb0f6e58e8413531895 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:33.809Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T06:08:33.809Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-18T06:08:33.809Z] c688b9f1d632: Preparing [2023-10-18T06:08:33.809Z] a373befe8919: Preparing [2023-10-18T06:08:33.809Z] 7706087c5d9f: Preparing [2023-10-18T06:08:33.809Z] efdb6aca702d: Preparing [2023-10-18T06:08:33.809Z] 5f4d9fc4d98d: Preparing [2023-10-18T06:08:33.809Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T06:08:34.074Z] a373befe8919: Pushed [2023-10-18T06:08:34.074Z] c688b9f1d632: Pushed [2023-10-18T06:08:34.074Z] efdb6aca702d: Pushed [2023-10-18T06:08:39.395Z] 7706087c5d9f: Pushed [2023-10-18T06:08:39.662Z] ab96bded2e0807d2a2691bb0f6e58e8413531895: digest: sha256:2cd80ea9d8b947e7c1c76bc5d598fe5532a31d0913dbb4027caf08a8b4786c3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:40.016Z] + 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-18T06:08:40.375Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-18T06:08:40.376Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-18T06:08:40.376Z] c688b9f1d632: Preparing [2023-10-18T06:08:40.376Z] a373befe8919: Preparing [2023-10-18T06:08:40.376Z] 7706087c5d9f: Preparing [2023-10-18T06:08:40.376Z] efdb6aca702d: Preparing [2023-10-18T06:08:40.376Z] 5f4d9fc4d98d: Preparing [2023-10-18T06:08:40.376Z] 7706087c5d9f: Layer already exists [2023-10-18T06:08:40.376Z] efdb6aca702d: Layer already exists [2023-10-18T06:08:40.376Z] a373befe8919: Layer already exists [2023-10-18T06:08:40.376Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T06:08:40.376Z] c688b9f1d632: Layer already exists [2023-10-18T06:08:40.642Z] latest: digest: sha256:2cd80ea9d8b947e7c1c76bc5d598fe5532a31d0913dbb4027caf08a8b4786c3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:41.001Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:41.339Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.6 [2023-10-18T06:08:41.339Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-18T06:08:41.339Z] c688b9f1d632: Preparing [2023-10-18T06:08:41.339Z] a373befe8919: Preparing [2023-10-18T06:08:41.339Z] 7706087c5d9f: Preparing [2023-10-18T06:08:41.339Z] efdb6aca702d: Preparing [2023-10-18T06:08:41.339Z] 5f4d9fc4d98d: Preparing [2023-10-18T06:08:41.339Z] 7706087c5d9f: Layer already exists [2023-10-18T06:08:41.339Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T06:08:41.339Z] a373befe8919: Layer already exists [2023-10-18T06:08:41.339Z] c688b9f1d632: Layer already exists [2023-10-18T06:08:41.339Z] efdb6aca702d: Layer already exists [2023-10-18T06:08:41.339Z] 3.1.0-dev.6: digest: sha256:2cd80ea9d8b947e7c1c76bc5d598fe5532a31d0913dbb4027caf08a8b4786c3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:41.955Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:44.265Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6 [2023-10-18T06:08:44.265Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-18T06:08:44.265Z] c688b9f1d632: Preparing [2023-10-18T06:08:44.265Z] a373befe8919: Preparing [2023-10-18T06:08:44.265Z] 7706087c5d9f: Preparing [2023-10-18T06:08:44.265Z] efdb6aca702d: Preparing [2023-10-18T06:08:44.265Z] 5f4d9fc4d98d: Preparing [2023-10-18T06:08:44.265Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T06:08:44.265Z] efdb6aca702d: Layer already exists [2023-10-18T06:08:44.265Z] c688b9f1d632: Layer already exists [2023-10-18T06:08:44.265Z] 7706087c5d9f: Layer already exists [2023-10-18T06:08:44.265Z] a373befe8919: Layer already exists [2023-10-18T06:08:44.533Z] ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6: digest: sha256:2cd80ea9d8b947e7c1c76bc5d598fe5532a31d0913dbb4027caf08a8b4786c3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:44.877Z] + 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-18T06:08:45.214Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-10-18T06:08:45.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-10-18T06:08:45.214Z] c688b9f1d632: Preparing [2023-10-18T06:08:45.214Z] a373befe8919: Preparing [2023-10-18T06:08:45.214Z] 7706087c5d9f: Preparing [2023-10-18T06:08:45.214Z] efdb6aca702d: Preparing [2023-10-18T06:08:45.214Z] 5f4d9fc4d98d: Preparing [2023-10-18T06:08:45.214Z] efdb6aca702d: Layer already exists [2023-10-18T06:08:45.214Z] a373befe8919: Layer already exists [2023-10-18T06:08:45.214Z] c688b9f1d632: Layer already exists [2023-10-18T06:08:45.214Z] 5f4d9fc4d98d: Layer already exists [2023-10-18T06:08:45.214Z] 7706087c5d9f: Layer already exists [2023-10-18T06:08:45.480Z] main: digest: sha256:2cd80ea9d8b947e7c1c76bc5d598fe5532a31d0913dbb4027caf08a8b4786c3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-18T06:08:45.539Z] ===================================================== [Pipeline] echo [2023-10-18T06:08:45.549Z] taggedImages: [2023-10-18T06:08:45.549Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:ab96bded2e0807d2a2691bb0f6e58e8413531895 [2023-10-18T06:08:45.549Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-10-18T06:08:45.549Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.6 [2023-10-18T06:08:45.549Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:ab96bded2e0807d2a2691bb0f6e58e8413531895-3.1.0-dev.6 [2023-10-18T06:08:45.549Z] - 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-18T06:08:45.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T06:08:45.906Z] [2023-10-18T06:08:45.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:08:46.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T06:08:46.234Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-18T06:08:46.235Z] 8998bd30e6a1: Pulling fs layer [2023-10-18T06:08:46.235Z] 04944245beec: Pulling fs layer [2023-10-18T06:08:46.235Z] 699f458cf7ca: Pulling fs layer [2023-10-18T06:08:46.235Z] 765212b225bb: Pulling fs layer [2023-10-18T06:08:46.235Z] f23df028b6ca: Pulling fs layer [2023-10-18T06:08:46.235Z] d65c8cfc05b1: Pulling fs layer [2023-10-18T06:08:46.235Z] 2437ff75d9bd: Pulling fs layer [2023-10-18T06:08:46.235Z] f23df028b6ca: Waiting [2023-10-18T06:08:46.235Z] d65c8cfc05b1: Waiting [2023-10-18T06:08:46.235Z] 2437ff75d9bd: Waiting [2023-10-18T06:08:46.235Z] 765212b225bb: Waiting [2023-10-18T06:08:46.507Z] 04944245beec: Verifying Checksum [2023-10-18T06:08:46.507Z] 04944245beec: Download complete [2023-10-18T06:08:46.507Z] 765212b225bb: Verifying Checksum [2023-10-18T06:08:46.507Z] 765212b225bb: Download complete [2023-10-18T06:08:46.507Z] f23df028b6ca: Verifying Checksum [2023-10-18T06:08:46.507Z] f23df028b6ca: Download complete [2023-10-18T06:08:46.507Z] d65c8cfc05b1: Verifying Checksum [2023-10-18T06:08:46.507Z] d65c8cfc05b1: Download complete [2023-10-18T06:08:46.776Z] 699f458cf7ca: Verifying Checksum [2023-10-18T06:08:46.776Z] 699f458cf7ca: Download complete [2023-10-18T06:08:47.043Z] 8998bd30e6a1: Verifying Checksum [2023-10-18T06:08:47.043Z] 8998bd30e6a1: Download complete [2023-10-18T06:08:49.632Z] 2437ff75d9bd: Download complete [2023-10-18T06:08:51.571Z] 8998bd30e6a1: Pull complete [2023-10-18T06:08:52.156Z] 04944245beec: Pull complete [2023-10-18T06:08:54.101Z] 699f458cf7ca: Pull complete [2023-10-18T06:08:54.101Z] 765212b225bb: Pull complete [2023-10-18T06:08:55.063Z] f23df028b6ca: Pull complete [2023-10-18T06:08:55.331Z] d65c8cfc05b1: Pull complete [2023-10-18T06:09:13.645Z] 2437ff75d9bd: Pull complete [2023-10-18T06:09:13.645Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-18T06:09:13.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T06:09:13.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:09:13.871Z] prd-ubuntu20.04-docker-arm64-4c-16g-9493 does not seem to be running inside a container [2023-10-18T06:09:13.962Z] $ 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/92 -v /w/workspace/device-snmp-go/92:/w/workspace/device-snmp-go/92:rw,z -v /w/workspace/device-snmp-go/92@tmp:/w/workspace/device-snmp-go/92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-18T06:09:16.670Z] $ docker top d753c0c6b4b3058980fc098728cc7b57e36bef377e9c7b968f485fb394f7cc43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:09:17.489Z] ---> job-cost.sh [2023-10-18T06:09:17.489Z] lf-activate-venv: SKIPPING [2023-10-18T06:09:17.489Z] INFO: No Stack... [2023-10-18T06:09:18.068Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-18T06:09:18.648Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T06:09:19.281Z] + cut -d, -f6 [2023-10-18T06:09:19.281Z] + cat /w/workspace/device-snmp-go/92/archives/cost.csv [Pipeline] lock [2023-10-18T06:09:19.340Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-92-stack-cost] [2023-10-18T06:09:19.347Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-92-stack-cost] did not exist. Created. [2023-10-18T06:09:19.347Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T06:09:20.008Z] /w/workspace/device-snmp-go/92@tmp/durable-07628d0f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-18T06:09:20.344Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-18T06:09:20.371Z] Warning: overwriting stash ‘stack-cost’ [2023-10-18T06:09:20.422Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T06:09:20.428Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T06:09:20.448Z] $ docker stop --time=1 d753c0c6b4b3058980fc098728cc7b57e36bef377e9c7b968f485fb394f7cc43 [2023-10-18T06:09:24.083Z] $ docker rm -f --volumes d753c0c6b4b3058980fc098728cc7b57e36bef377e9c7b968f485fb394f7cc43 [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-18T06:09:24.486Z] provisioning config files... [2023-10-18T06:09:24.495Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7829869933684991472tmp [Pipeline] { [Pipeline] sh [2023-10-18T06:09:24.797Z] + set +x [2023-10-18T06:09:24.797Z] + curl -s https://codecov.io/bash [2023-10-18T06:09:24.797Z] + bash -s -- [2023-10-18T06:09:24.797Z] [2023-10-18T06:09:24.797Z] _____ _ [2023-10-18T06:09:24.797Z] / ____| | | [2023-10-18T06:09:24.797Z] | | ___ __| | ___ ___ _____ __ [2023-10-18T06:09:24.797Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-18T06:09:24.797Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-18T06:09:24.797Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-18T06:09:24.797Z] Bash-1.0.6 [2023-10-18T06:09:24.797Z] [2023-10-18T06:09:24.797Z] [2023-10-18T06:09:24.797Z] ==> git version 2.25.1 found [2023-10-18T06:09:24.797Z] ==> 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-18T06:09:24.797Z] Release-Date: 2020-01-08 [2023-10-18T06:09:24.797Z] 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-18T06:09:24.797Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-18T06:09:24.797Z] ==> Jenkins CI detected. [2023-10-18T06:09:24.797Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-10-18T06:09:24.797Z] project root: . [2023-10-18T06:09:24.797Z] --> token set from env [2023-10-18T06:09:24.797Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-18T06:09:24.797Z] ==> Running gcov in . (disable via -X gcov) [2023-10-18T06:09:25.058Z] ==> Python coveragepy not found [2023-10-18T06:09:25.058Z] ==> Searching for coverage reports in: [2023-10-18T06:09:25.058Z] + . [2023-10-18T06:09:25.058Z] -> Found 1 reports [2023-10-18T06:09:25.058Z] ==> Detecting git/mercurial file structure [2023-10-18T06:09:25.058Z] ==> Reading reports [2023-10-18T06:09:25.058Z] + ./coverage.out bytes=8837 [2023-10-18T06:09:25.058Z] ==> Appending adjustments [2023-10-18T06:09:25.058Z] https://docs.codecov.io/docs/fixing-reports [2023-10-18T06:09:25.058Z] + Found adjustments [2023-10-18T06:09:25.058Z] ==> Gzipping contents [2023-10-18T06:09:25.058Z] 4.0K /tmp/codecov.zawKiE.gz [2023-10-18T06:09:25.058Z] ==> Uploading reports [2023-10-18T06:09:25.058Z] url: https://codecov.io [2023-10-18T06:09:25.058Z] query: branch=main&commit=ab96bded2e0807d2a2691bb0f6e58e8413531895&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-18T06:09:25.058Z] -> Pinging Codecov [2023-10-18T06:09:25.058Z] 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=ab96bded2e0807d2a2691bb0f6e58e8413531895&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-18T06:09:25.318Z] -> Uploading to [2023-10-18T06:09:25.318Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-18/6C56EA5C29638FB4528AC87E60AF5AE0/ab96bded2e0807d2a2691bb0f6e58e8413531895/95db17e9-7845-449d-b2e6-006ef241cd91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T060925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eaef28c7550cdd916da6c0c8a4f14816a55b91546eb39e1818a1119e6db42ff8 [2023-10-18T06:09:25.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T06:09:25.318Z] Dload Upload Total Spent Left Speed [2023-10-18T06:09:25.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 5293 --:--:-- --:--:-- --:--:-- 5311 [2023-10-18T06:09:25.577Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/ab96bded2e0807d2a2691bb0f6e58e8413531895 [Pipeline] } [2023-10-18T06:09:25.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-18T06:09:25.779Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-18T06:09:25.790Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:09:26.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T06:09:26.086Z] [2023-10-18T06:09:26.086Z] 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-18T06:09:26.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T06:09:26.384Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-18T06:09:26.384Z] df9b9388f04a: Pulling fs layer [2023-10-18T06:09:26.384Z] 52dc419b0ee2: Pulling fs layer [2023-10-18T06:09:26.384Z] 25bc292e5bac: Pulling fs layer [2023-10-18T06:09:26.384Z] 114826534d7a: Pulling fs layer [2023-10-18T06:09:26.384Z] 4657fd5d0bcf: Pulling fs layer [2023-10-18T06:09:26.384Z] 6ad1cebc031e: Pulling fs layer [2023-10-18T06:09:26.384Z] 8a3aa393b2d8: Pulling fs layer [2023-10-18T06:09:26.384Z] 4657fd5d0bcf: Waiting [2023-10-18T06:09:26.384Z] 114826534d7a: Waiting [2023-10-18T06:09:26.384Z] 6ad1cebc031e: Waiting [2023-10-18T06:09:26.384Z] 8a3aa393b2d8: Waiting [2023-10-18T06:09:26.384Z] 25bc292e5bac: Verifying Checksum [2023-10-18T06:09:26.384Z] 25bc292e5bac: Download complete [2023-10-18T06:09:26.384Z] 52dc419b0ee2: Download complete [2023-10-18T06:09:26.384Z] 4657fd5d0bcf: Verifying Checksum [2023-10-18T06:09:26.384Z] 4657fd5d0bcf: Download complete [2023-10-18T06:09:26.384Z] df9b9388f04a: Download complete [2023-10-18T06:09:26.643Z] 6ad1cebc031e: Verifying Checksum [2023-10-18T06:09:26.643Z] 6ad1cebc031e: Download complete [2023-10-18T06:09:26.643Z] df9b9388f04a: Pull complete [2023-10-18T06:09:26.903Z] 52dc419b0ee2: Pull complete [2023-10-18T06:09:26.903Z] 25bc292e5bac: Pull complete [2023-10-18T06:09:27.470Z] 114826534d7a: Download complete [2023-10-18T06:09:27.470Z] 8a3aa393b2d8: Verifying Checksum [2023-10-18T06:09:27.470Z] 8a3aa393b2d8: Download complete [2023-10-18T06:09:30.764Z] 114826534d7a: Pull complete [2023-10-18T06:09:30.764Z] 4657fd5d0bcf: Pull complete [2023-10-18T06:09:31.022Z] 6ad1cebc031e: Pull complete [2023-10-18T06:09:33.549Z] 8a3aa393b2d8: Pull complete [2023-10-18T06:09:33.549Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-18T06:09:33.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-18T06:09:33.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:09:33.913Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:09:33.947Z] $ 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-18T06:09:39.485Z] $ docker top c228ad6845cfb2e3dabc54f121a93177681f3091c634dcf30f8194ede4b5574d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-18T06:09:39.546Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-10-18T06:09:39.824Z] + set -o pipefail [2023-10-18T06:09:39.824Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-10-18T06:09:47.941Z] [2023-10-18T06:09:47.941Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-10-18T06:09:47.941Z] [2023-10-18T06:09:47.941Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/88b2d412-a5e7-423b-973b-656163c290e1 [2023-10-18T06:09:47.941Z] [2023-10-18T06:09:47.941Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-18T06:09:47.941Z] [2023-10-18T06:09:47.941Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-18T06:09:47.941Z] [2023-10-18T06:09:47.941Z] [2023-10-18T06:09:47.941Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-18T06:09:47.941Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-18T06:09:47.941Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-18T06:09:47.951Z] $ docker stop --time=1 c228ad6845cfb2e3dabc54f121a93177681f3091c634dcf30f8194ede4b5574d [2023-10-18T06:09:52.075Z] $ docker rm -f --volumes c228ad6845cfb2e3dabc54f121a93177681f3091c634dcf30f8194ede4b5574d [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-18T06:09:52.756Z] + git log --format=format:%s -1 ab96bded2e0807d2a2691bb0f6e58e8413531895 [Pipeline] sh [2023-10-18T06:09:53.042Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T06:09:53.042Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:09:53.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T06:09:53.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:09:53.400Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:09:53.423Z] $ 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-18T06:09:53.872Z] $ docker top 0f100bd73366c217b984ea3206f36f552a3600736ecb2bbed6bf10de4091f602 -eo pid,comm [2023-10-18T06:09:53.918Z] 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-18T06:09:53.918Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T06:09:53.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T06:09:53.945Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T06:09:54.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T06:09:54.054Z] $ docker exec 0f100bd73366c217b984ea3206f36f552a3600736ecb2bbed6bf10de4091f602 ssh-agent [2023-10-18T06:09:54.168Z] SSH_AUTH_SOCK=/tmp/ssh-YgMLkxbcQ7Xn/agent.31 [2023-10-18T06:09:54.168Z] SSH_AGENT_PID=37 [2023-10-18T06:09:54.173Z] Running ssh-add (command line suppressed) [2023-10-18T06:09:54.281Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15687991186325506247.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15687991186325506247.key) [2023-10-18T06:09:54.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T06:09:54.576Z] + git semver tag [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,742 [run_tag] DEBUG tag force:False [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,742 [check_head_tag] DEBUG check head tag [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,743 [execute] INFO git cat-file --batch-check [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,746 [execute] INFO git cat-file --batch [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,755 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,756 [execute] INFO git tag -a v3.1.0-dev.6 -m v3.1.0-dev.6 [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,756 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.6', '-m', 'v3.1.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-18T06:09:54.835Z] 2023-10-18 06:09:54,760 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T06:09:54.835Z] 3.1.0-dev.6 [Pipeline] } [2023-10-18T06:09:54.846Z] $ docker exec --env ******** --env ******** 0f100bd73366c217b984ea3206f36f552a3600736ecb2bbed6bf10de4091f602 ssh-agent -k [2023-10-18T06:09:54.942Z] unset SSH_AUTH_SOCK; [2023-10-18T06:09:54.942Z] unset SSH_AGENT_PID; [2023-10-18T06:09:54.942Z] echo Agent pid 37 killed; [2023-10-18T06:09:54.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T06:09:55.257Z] + git semver [Pipeline] } [2023-10-18T06:09:55.530Z] $ docker stop --time=1 0f100bd73366c217b984ea3206f36f552a3600736ecb2bbed6bf10de4091f602 [2023-10-18T06:09:56.801Z] $ docker rm -f --volumes 0f100bd73366c217b984ea3206f36f552a3600736ecb2bbed6bf10de4091f602 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:09:57.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T06:09:57.200Z] [2023-10-18T06:09:57.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:09:57.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T06:09:57.504Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-18T06:09:57.504Z] ab5ef0e58194: Pulling fs layer [2023-10-18T06:09:57.504Z] 9712f1f96733: Pulling fs layer [2023-10-18T06:09:57.504Z] 63f879dbbcfc: Pulling fs layer [2023-10-18T06:09:57.504Z] 0d9ebad4ef96: Pulling fs layer [2023-10-18T06:09:57.504Z] e9a5061849ea: Pulling fs layer [2023-10-18T06:09:57.504Z] d747dcd14b5f: Pulling fs layer [2023-10-18T06:09:57.504Z] 2de7ff778b66: Pulling fs layer [2023-10-18T06:09:57.504Z] e9a5061849ea: Waiting [2023-10-18T06:09:57.504Z] d747dcd14b5f: Waiting [2023-10-18T06:09:57.504Z] 2de7ff778b66: Waiting [2023-10-18T06:09:57.504Z] 0d9ebad4ef96: Waiting [2023-10-18T06:09:57.504Z] 9712f1f96733: Download complete [2023-10-18T06:09:57.764Z] 63f879dbbcfc: Verifying Checksum [2023-10-18T06:09:57.765Z] 63f879dbbcfc: Download complete [2023-10-18T06:09:58.024Z] 0d9ebad4ef96: Verifying Checksum [2023-10-18T06:09:58.024Z] 0d9ebad4ef96: Download complete [2023-10-18T06:09:58.024Z] d747dcd14b5f: Verifying Checksum [2023-10-18T06:09:58.024Z] d747dcd14b5f: Download complete [2023-10-18T06:09:58.024Z] e9a5061849ea: Verifying Checksum [2023-10-18T06:09:58.024Z] e9a5061849ea: Download complete [2023-10-18T06:09:58.024Z] ab5ef0e58194: Verifying Checksum [2023-10-18T06:09:58.024Z] ab5ef0e58194: Download complete [2023-10-18T06:09:58.024Z] 2de7ff778b66: Verifying Checksum [2023-10-18T06:09:58.024Z] 2de7ff778b66: Download complete [2023-10-18T06:10:00.555Z] ab5ef0e58194: Pull complete [2023-10-18T06:10:00.555Z] 9712f1f96733: Pull complete [2023-10-18T06:10:01.489Z] 63f879dbbcfc: Pull complete [2023-10-18T06:10:04.785Z] 0d9ebad4ef96: Pull complete [2023-10-18T06:10:05.043Z] e9a5061849ea: Pull complete [2023-10-18T06:10:05.043Z] d747dcd14b5f: Pull complete [2023-10-18T06:10:05.976Z] 2de7ff778b66: Pull complete [2023-10-18T06:10:05.976Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-18T06:10:05.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-18T06:10:05.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:10:06.054Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:10:06.080Z] $ 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-18T06:10:11.737Z] $ docker top 77221a00d69b9968448b24941eb1e448540a3430ff6fdb514b71e43bd40e0c98 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-18T06:10:11.801Z] provisioning config files... [2023-10-18T06:10:11.807Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16700636056222166817tmp [2023-10-18T06:10:11.816Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14641536851280722979tmp [2023-10-18T06:10:11.823Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9920844257162546900tmp [Pipeline] { [Pipeline] echo [2023-10-18T06:10:11.836Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:12.116Z] ---> sigul-configuration.sh [2023-10-18T06:10:12.116Z] gpg: directory `/root/.gnupg' created [2023-10-18T06:10:12.116Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-18T06:10:12.116Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-18T06:10:12.116Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-18T06:10:12.116Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-18T06:10:12.116Z] gpg: CAST5 encrypted data [2023-10-18T06:10:12.116Z] gpg: encrypted with 1 passphrase [2023-10-18T06:10:12.116Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-18T06:10:12.396Z] + mkdir /home/jenkins [2023-10-18T06:10:12.396Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-18T06:10:12.680Z] + 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-18T06:10:12.687Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:12.969Z] ---> sigul-install.sh [2023-10-18T06:10:12.970Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-18T06:10:13.253Z] + git tag --list [2023-10-18T06:10:13.253Z] 1.0.0 [2023-10-18T06:10:13.253Z] v0.0.0 [2023-10-18T06:10:13.253Z] v1.1.0 [2023-10-18T06:10:13.253Z] v1.1.1 [2023-10-18T06:10:13.253Z] v1.2.2 [2023-10-18T06:10:13.253Z] v1.3.0 [2023-10-18T06:10:13.253Z] v1.3.1 [2023-10-18T06:10:13.253Z] v2.0.0 [2023-10-18T06:10:13.253Z] v2.1.0 [2023-10-18T06:10:13.253Z] v2.1.1 [2023-10-18T06:10:13.253Z] v2.2.0 [2023-10-18T06:10:13.253Z] v2.3.0 [2023-10-18T06:10:13.253Z] v3.0 [2023-10-18T06:10:13.253Z] v3.0.0 [2023-10-18T06:10:13.253Z] v3.1.0-dev.1 [2023-10-18T06:10:13.253Z] v3.1.0-dev.2 [2023-10-18T06:10:13.253Z] v3.1.0-dev.3 [2023-10-18T06:10:13.253Z] v3.1.0-dev.4 [2023-10-18T06:10:13.253Z] v3.1.0-dev.5 [2023-10-18T06:10:13.253Z] v3.1.0-dev.6 [Pipeline] sh [2023-10-18T06:10:13.536Z] + lftools sign git-tag v3.1.0-dev.6 [2023-10-18T06:10:14.100Z] Signing Git tag with Sigul... [2023-10-18T06:10:14.100Z] Signing v3.1.0-dev.6 [Pipeline] echo [2023-10-18T06:10:14.366Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:14.646Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-18T06:10:14.652Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-18T06:10:14.670Z] $ docker stop --time=1 77221a00d69b9968448b24941eb1e448540a3430ff6fdb514b71e43bd40e0c98 [2023-10-18T06:10:15.934Z] $ docker rm -f --volumes 77221a00d69b9968448b24941eb1e448540a3430ff6fdb514b71e43bd40e0c98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-18T06:10:16.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T06:10:16.346Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:10:16.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T06:10:16.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:10:16.721Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:10:16.754Z] $ 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-18T06:10:17.087Z] $ docker top b7f869d7a40fc7bcfd4ee7d9aceb38f179dc90776779883b51c853bc8e4ff0e6 -eo pid,comm [2023-10-18T06:10:17.136Z] 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-18T06:10:17.136Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T06:10:17.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T06:10:17.174Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T06:10:17.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T06:10:17.282Z] $ docker exec b7f869d7a40fc7bcfd4ee7d9aceb38f179dc90776779883b51c853bc8e4ff0e6 ssh-agent [2023-10-18T06:10:17.376Z] SSH_AUTH_SOCK=/tmp/ssh-bdI520eBLhD3/agent.33 [2023-10-18T06:10:17.376Z] SSH_AGENT_PID=39 [2023-10-18T06:10:17.380Z] Running ssh-add (command line suppressed) [2023-10-18T06:10:17.496Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8319044503928960577.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8319044503928960577.key) [2023-10-18T06:10:17.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T06:10:17.796Z] + git semver bump pre [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,971 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,972 [bump_version] DEBUG bumping version:3.1.0-dev.6 on axis:pre with prefix:dev [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,972 [bump_version] DEBUG bumped version:3.1.0-dev.7 [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,972 [write_version] DEBUG write version:3.1.0-dev.7 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,972 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,972 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,974 [execute] INFO git cat-file --batch-check [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,974 [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-18T06:10:18.054Z] 2023-10-18 06:10:17,979 [execute] INFO git cat-file --batch [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T06:10:18.054Z] 2023-10-18 06:10:17,984 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T06:10:18.054Z] 3.1.0-dev.7 [Pipeline] } [2023-10-18T06:10:18.063Z] $ docker exec --env ******** --env ******** b7f869d7a40fc7bcfd4ee7d9aceb38f179dc90776779883b51c853bc8e4ff0e6 ssh-agent -k [2023-10-18T06:10:18.161Z] unset SSH_AUTH_SOCK; [2023-10-18T06:10:18.161Z] unset SSH_AGENT_PID; [2023-10-18T06:10:18.161Z] echo Agent pid 39 killed; [2023-10-18T06:10:18.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T06:10:18.468Z] + git semver [Pipeline] } [2023-10-18T06:10:18.739Z] $ docker stop --time=1 b7f869d7a40fc7bcfd4ee7d9aceb38f179dc90776779883b51c853bc8e4ff0e6 [2023-10-18T06:10:20.019Z] $ docker rm -f --volumes b7f869d7a40fc7bcfd4ee7d9aceb38f179dc90776779883b51c853bc8e4ff0e6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T06:10:20.358Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T06:10:20.358Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:10:20.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T06:10:20.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:10:20.728Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:10:20.762Z] $ 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-18T06:10:21.088Z] $ docker top 71d06a26b68c3a3f8cd2af54a15054d4686ed1048a6ff5144f230c7a8729702d -eo pid,comm [2023-10-18T06:10:21.128Z] 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-18T06:10:21.128Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T06:10:21.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T06:10:21.165Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T06:10:21.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T06:10:21.267Z] $ docker exec 71d06a26b68c3a3f8cd2af54a15054d4686ed1048a6ff5144f230c7a8729702d ssh-agent [2023-10-18T06:10:21.361Z] SSH_AUTH_SOCK=/tmp/ssh-DhWz51zRnGDE/agent.32 [2023-10-18T06:10:21.361Z] SSH_AGENT_PID=38 [2023-10-18T06:10:21.366Z] Running ssh-add (command line suppressed) [2023-10-18T06:10:21.452Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17784239291092319363.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17784239291092319363.key) [2023-10-18T06:10:21.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T06:10:21.755Z] + git semver push [2023-10-18T06:10:22.014Z] 2023-10-18 06:10:21,919 [run_push] DEBUG push [2023-10-18T06:10:22.014Z] 2023-10-18 06:10:21,920 [execute] INFO git cat-file --batch-check [2023-10-18T06:10:22.014Z] 2023-10-18 06:10:21,920 [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-18T06:10:22.014Z] 2023-10-18 06:10:21,924 [execute] INFO git rev-list 67a3747cf4d5ba97f662a904d819eb664888f22a -- [2023-10-18T06:10:22.014Z] 2023-10-18 06:10:21,924 [execute] DEBUG Popen(['git', 'rev-list', '67a3747cf4d5ba97f662a904d819eb664888f22a', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-18T06:10:22.014Z] 2023-10-18 06:10:21,930 [execute] INFO git fetch -v origin [2023-10-18T06:10:22.014Z] 2023-10-18 06:10:21,931 [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-18T06:10:22.583Z] 2023-10-18 06:10:22,533 [run_push] DEBUG no remote changes detected [2023-10-18T06:10:22.583Z] 2023-10-18 06:10:22,533 [execute] INFO git push origin semver [2023-10-18T06:10:22.583Z] 2023-10-18 06:10:22,534 [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-18T06:10:23.519Z] 2023-10-18 06:10:23,309 [run_push] DEBUG push all version tags [2023-10-18T06:10:23.519Z] 2023-10-18 06:10:23,309 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-18T06:10:23.519Z] 2023-10-18 06:10:23,310 [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-18T06:10:24.456Z] 2023-10-18 06:10:24,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-10-18T06:10:24.457Z] 3.1.0-dev.7 [Pipeline] } [2023-10-18T06:10:24.467Z] $ docker exec --env ******** --env ******** 71d06a26b68c3a3f8cd2af54a15054d4686ed1048a6ff5144f230c7a8729702d ssh-agent -k [2023-10-18T06:10:24.563Z] unset SSH_AUTH_SOCK; [2023-10-18T06:10:24.564Z] unset SSH_AGENT_PID; [2023-10-18T06:10:24.564Z] echo Agent pid 38 killed; [2023-10-18T06:10:24.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T06:10:24.895Z] + git semver [Pipeline] } [2023-10-18T06:10:25.168Z] $ docker stop --time=1 71d06a26b68c3a3f8cd2af54a15054d4686ed1048a6ff5144f230c7a8729702d [2023-10-18T06:10:26.438Z] $ docker rm -f --volumes 71d06a26b68c3a3f8cd2af54a15054d4686ed1048a6ff5144f230c7a8729702d [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-18T06:10:27.019Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-10-18T06:10:27.019Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-18T06:10:27.019Z] total 16 [2023-10-18T06:10:27.019Z] drwxr-xr-x 3 root root 4096 Oct 18 06:01 . [2023-10-18T06:10:27.019Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 06:10 .. [2023-10-18T06:10:27.019Z] drwxr-xr-x 2 root root 4096 Oct 18 06:01 cost [2023-10-18T06:10:27.019Z] -rw-r--r-- 1 root root 85 Oct 18 06:01 cost.csv [2023-10-18T06:10:27.019Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-18T06:10:27.019Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-10-18T06:10:27.020Z] total 16 [2023-10-18T06:10:27.020Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 06:01 . [2023-10-18T06:10:27.020Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 06:10 .. [2023-10-18T06:10:27.020Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 06:01 cost [2023-10-18T06:10:27.020Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 18 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:27.308Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:28.166Z] ---> package-listing.sh [2023-10-18T06:10:28.166Z] ++ facter osfamily [2023-10-18T06:10:28.166Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-18T06:10:28.426Z] + OS_FAMILY=debian [2023-10-18T06:10:28.426Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-10-18T06:10:28.426Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-18T06:10:28.426Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-18T06:10:28.426Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-18T06:10:28.426Z] + PACKAGES=/tmp/packages_start.txt [2023-10-18T06:10:28.426Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-18T06:10:28.426Z] + PACKAGES=/tmp/packages_end.txt [2023-10-18T06:10:28.426Z] + case "${OS_FAMILY}" in [2023-10-18T06:10:28.426Z] + dpkg -l [2023-10-18T06:10:28.426Z] + grep '^ii' [2023-10-18T06:10:28.426Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-18T06:10:28.426Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-18T06:10:28.426Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-18T06:10:28.426Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-10-18T06:10:28.426Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-10-18T06:10:28.426Z] + 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-18T06:10:28.436Z] 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-18T06:10:28.711Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T06:10:29.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T06:10:29.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T06:10:29.082Z] prd-ubuntu20.04-docker-8c-8g-9492 does not seem to be running inside a container [2023-10-18T06:10:29.200Z] $ 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-18T06:10:29.387Z] $ docker top 1946ccc1d6357702d5e547f314ed564544e5b3be0655a750f951e2300426a045 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T06:10:29.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-18T06:10:30.030Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-18T06:10:30.317Z] + ls /var/log/sa-host [2023-10-18T06:10:30.317Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T06:10:30.476Z] provisioning config files... [2023-10-18T06:10:30.485Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config550252999160440833tmp [Pipeline] { [Pipeline] echo [2023-10-18T06:10:30.500Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:30.782Z] ---> create-netrc.sh [Pipeline] } [2023-10-18T06:10:30.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:31.112Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-18T06:10:31.120Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:31.405Z] ---> sudo-logs.sh [2023-10-18T06:10:31.405Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-18T06:10:31.427Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:31.706Z] ---> job-cost.sh [2023-10-18T06:10:31.706Z] lf-activate-venv: SKIPPING [2023-10-18T06:10:31.706Z] DEBUG: total: 0.2199999988079071 [2023-10-18T06:10:31.706Z] INFO: Retrieving Stack Cost... [2023-10-18T06:10:31.965Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T06:10:32.535Z] INFO: Archiving Costs [Pipeline] echo [2023-10-18T06:10:32.545Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T06:10:32.828Z] ---> logs-deploy.sh [2023-10-18T06:10:32.828Z] lf-activate-venv: SKIPPING [2023-10-18T06:10:32.828Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/92 [2023-10-18T06:10:32.828Z] INFO: archiving workspace using pattern(s): [2023-10-18T06:10:33.765Z] Archives upload complete. [2023-10-18T06:10:33.765Z] INFO: archiving logs to Nexus