Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a9cfe769be8313ba8a21d40637564934ad0b980 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-ssh5645427287452497951.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh10880078615412214744.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh2005245883872997840.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh788859250556708549.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-ssh12527890866065564657.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3222 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 9a9cfe769be8313ba8a21d40637564934ad0b980 (main) Commit message: "Merge pull request #315 from jackchenjc/pkg-errors-removal" > 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 9a9cfe769be8313ba8a21d40637564934ad0b980 # timeout=10 > git rev-list --no-walk 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T10:39:11.663Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T10:39:11.707Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T10:39:11.723Z] ========================================================= [2023-08-09T10:39:11.723Z] EdgeX Global Pipelines Version Info [2023-08-09T10:39:11.723Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:39:12.422Z] ------------------- [2023-08-09T10:39:12.422Z] stable info: [2023-08-09T10:39:12.422Z] ------------------- [2023-08-09T10:39:12.422Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T10:39:12.422Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T10:39:12.422Z] Message: update stable to v1.0.250 [2023-08-09T10:39:12.993Z] ------------------- [2023-08-09T10:39:12.993Z] experimental info: [2023-08-09T10:39:12.993Z] ------------------- [2023-08-09T10:39:12.993Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T10:39:12.993Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T10:39:12.993Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T10:39:13.148Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-08-09T10:39:13.159Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-08-09T10:39:13.174Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T10:39:13.192Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T10:39:13.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T10:39:13.222Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T10:39:13.233Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T10:39:13.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T10:39:13.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T10:39:13.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T10:39:13.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T10:39:13.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-08-09T10:39:13.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T10:39:13.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T10:39:13.338Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:39:13.351Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:39:13.362Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:39:13.378Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:39:13.390Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T10:39:13.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T10:39:13.418Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T10:39:13.436Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T10:39:13.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T10:39:13.459Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T10:39:13.471Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T10:39:13.487Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T10:39:13.498Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T10:39:13.508Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-09T10:39:13.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-09T10:39:13.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-09T10:39:13.545Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] echo [2023-08-09T10:39:13.558Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a9cfe7 [Pipeline] echo [2023-08-09T10:39:13.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:39:13.618Z] provisioning config files... [2023-08-09T10:39:13.631Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11779593866316442858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:39:13.931Z] ---> docker-login.sh [2023-08-09T10:39:13.931Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:39:14.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:14.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:14.190Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:14.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:14.190Z] [2023-08-09T10:39:14.190Z] Login Succeeded [2023-08-09T10:39:14.190Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:39:14.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:14.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:14.190Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:14.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:14.190Z] [2023-08-09T10:39:14.190Z] Login Succeeded [2023-08-09T10:39:14.190Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:39:14.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:14.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:14.449Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:14.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:14.449Z] [2023-08-09T10:39:14.449Z] Login Succeeded [2023-08-09T10:39:14.449Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:39:14.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:14.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:14.449Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:14.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:14.449Z] [2023-08-09T10:39:14.449Z] Login Succeeded [2023-08-09T10:39:14.449Z] docker.io [2023-08-09T10:39:14.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:14.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:14.707Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:14.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:14.707Z] [2023-08-09T10:39:14.707Z] Login Succeeded [2023-08-09T10:39:14.707Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:39:14.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T10:39:15.077Z] + git rev-list -1 --merges 9a9cfe769be8313ba8a21d40637564934ad0b980~1..9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] echo [2023-08-09T10:39:15.121Z] -----------> git rev-list -1 --merges 9a9cfe769be8313ba8a21d40637564934ad0b980~1..9a9cfe769be8313ba8a21d40637564934ad0b980 9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:39:15.121Z] 9a9cfe769be8313ba8a21d40637564934ad0b980 [false] [Pipeline] sh [2023-08-09T10:39:15.411Z] + git log --format=format:%s -1 9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] echo [2023-08-09T10:39:15.424Z] ========================================================= [2023-08-09T10:39:15.424Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T10:39:15.424Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:39:15.738Z] + git log --format=format:%s -1 9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] echo [2023-08-09T10:39:15.747Z] [semverPrep] GIT_COMMIT: 9a9cfe769be8313ba8a21d40637564934ad0b980, Commit Message: Merge pull request #315 from jackchenjc/pkg-errors-removal [Pipeline] echo [2023-08-09T10:39:15.755Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T10:39:16.123Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:39:16.123Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T10:39:16.123Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T10:39:16.123Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T10:39:16.123Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T10:39:16.123Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T10:39:16.123Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:16.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:39:16.511Z] [2023-08-09T10:39:16.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:16.809Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:39:16.809Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T10:39:16.809Z] b85a868b505f: Pulling fs layer [2023-08-09T10:39:16.809Z] e2be974225ed: Pulling fs layer [2023-08-09T10:39:16.809Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T10:39:16.809Z] 988bab9f4d93: Pulling fs layer [2023-08-09T10:39:16.809Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T10:39:16.809Z] eaf3925da568: Pulling fs layer [2023-08-09T10:39:16.809Z] bab4dde63d76: Pulling fs layer [2023-08-09T10:39:16.809Z] bde34c3a00c8: Pulling fs layer [2023-08-09T10:39:16.809Z] b352a97aabf1: Pulling fs layer [2023-08-09T10:39:16.809Z] 4872d77fe225: Pulling fs layer [2023-08-09T10:39:16.809Z] 5851b861e8e6: Pulling fs layer [2023-08-09T10:39:16.809Z] bab4dde63d76: Waiting [2023-08-09T10:39:16.809Z] bde34c3a00c8: Waiting [2023-08-09T10:39:16.809Z] b352a97aabf1: Waiting [2023-08-09T10:39:16.809Z] 4872d77fe225: Waiting [2023-08-09T10:39:16.809Z] 5851b861e8e6: Waiting [2023-08-09T10:39:16.809Z] 988bab9f4d93: Waiting [2023-08-09T10:39:16.809Z] 1469e6f7b9e6: Waiting [2023-08-09T10:39:16.809Z] eaf3925da568: Waiting [2023-08-09T10:39:16.809Z] e2be974225ed: Verifying Checksum [2023-08-09T10:39:16.809Z] e2be974225ed: Download complete [2023-08-09T10:39:16.809Z] 988bab9f4d93: Verifying Checksum [2023-08-09T10:39:16.809Z] 988bab9f4d93: Download complete [2023-08-09T10:39:16.809Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T10:39:16.809Z] 1469e6f7b9e6: Download complete [2023-08-09T10:39:17.067Z] eaf3925da568: Verifying Checksum [2023-08-09T10:39:17.068Z] eaf3925da568: Download complete [2023-08-09T10:39:17.068Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T10:39:17.068Z] 339a4e72a1f5: Download complete [2023-08-09T10:39:17.068Z] bde34c3a00c8: Verifying Checksum [2023-08-09T10:39:17.068Z] bde34c3a00c8: Download complete [2023-08-09T10:39:17.068Z] b352a97aabf1: Verifying Checksum [2023-08-09T10:39:17.068Z] b352a97aabf1: Download complete [2023-08-09T10:39:17.068Z] 4872d77fe225: Download complete [2023-08-09T10:39:17.068Z] 5851b861e8e6: Download complete [2023-08-09T10:39:17.068Z] b85a868b505f: Verifying Checksum [2023-08-09T10:39:17.068Z] b85a868b505f: Download complete [2023-08-09T10:39:17.398Z] bab4dde63d76: Verifying Checksum [2023-08-09T10:39:17.398Z] bab4dde63d76: Download complete [2023-08-09T10:39:18.332Z] b85a868b505f: Pull complete [2023-08-09T10:39:18.332Z] e2be974225ed: Pull complete [2023-08-09T10:39:18.898Z] 339a4e72a1f5: Pull complete [2023-08-09T10:39:18.898Z] 988bab9f4d93: Pull complete [2023-08-09T10:39:19.157Z] 1469e6f7b9e6: Pull complete [2023-08-09T10:39:19.415Z] eaf3925da568: Pull complete [2023-08-09T10:39:20.789Z] bab4dde63d76: Pull complete [2023-08-09T10:39:21.049Z] bde34c3a00c8: Pull complete [2023-08-09T10:39:21.049Z] b352a97aabf1: Pull complete [2023-08-09T10:39:21.307Z] 4872d77fe225: Pull complete [2023-08-09T10:39:21.307Z] 5851b861e8e6: Pull complete [2023-08-09T10:39:21.307Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T10:39:21.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:39:21.307Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:39:21.407Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:39:21.440Z] $ 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-08-09T10:39:24.069Z] $ docker top e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 -eo pid,comm [2023-08-09T10:39:24.122Z] 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-08-09T10:39:24.122Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:39:24.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:39:24.157Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:39:24.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:39:24.277Z] $ docker exec e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 ssh-agent [2023-08-09T10:39:24.369Z] SSH_AUTH_SOCK=/tmp/ssh-ZkB5teldgvyy/agent.33 [2023-08-09T10:39:24.369Z] SSH_AGENT_PID=39 [2023-08-09T10:39:24.377Z] Running ssh-add (command line suppressed) [2023-08-09T10:39:24.487Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3111605871491305917.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3111605871491305917.key) [2023-08-09T10:39:24.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:39:24.782Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T10:39:24.804Z] $ docker exec --env ******** --env ******** e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 ssh-agent -k [2023-08-09T10:39:24.893Z] unset SSH_AUTH_SOCK; [2023-08-09T10:39:24.893Z] unset SSH_AGENT_PID; [2023-08-09T10:39:24.893Z] echo Agent pid 39 killed; [2023-08-09T10:39:24.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T10:39:24.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:39:24.924Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:39:25.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:39:25.052Z] $ docker exec e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 ssh-agent [2023-08-09T10:39:25.159Z] SSH_AUTH_SOCK=/tmp/ssh-yfALOWFWri1K/agent.71 [2023-08-09T10:39:25.159Z] SSH_AGENT_PID=77 [2023-08-09T10:39:25.163Z] Running ssh-add (command line suppressed) [2023-08-09T10:39:25.266Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8071751495219487035.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8071751495219487035.key) [2023-08-09T10:39:25.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:39:25.564Z] + git semver init [2023-08-09T10:39:25.823Z] 2023-08-09 10:39:25,763 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T10:39:25.824Z] 2023-08-09 10:39:25,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-08-09T10:39:25.824Z] 2023-08-09 10:39:25,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-08-09T10:39:25.824Z] 2023-08-09 10:39:25,766 [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-08-09T10:39:26.763Z] 2023-08-09 10:39:26,531 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-08-09T10:39:26.763Z] 2023-08-09 10:39:26,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-08-09T10:39:26.763Z] 2023-08-09 10:39:26,532 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:39:26.763Z] 2023-08-09 10:39:26,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:39:26.763Z] 3.1.0-dev.1 [Pipeline] } [2023-08-09T10:39:26.777Z] $ docker exec --env ******** --env ******** e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 ssh-agent -k [2023-08-09T10:39:26.866Z] unset SSH_AUTH_SOCK; [2023-08-09T10:39:26.866Z] unset SSH_AGENT_PID; [2023-08-09T10:39:26.867Z] echo Agent pid 77 killed; [2023-08-09T10:39:26.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:39:27.173Z] + git semver [Pipeline] } [2023-08-09T10:39:27.450Z] $ docker stop --time=1 e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 [2023-08-09T10:39:28.753Z] $ docker rm -f --volumes e167196a4a57e6f88c2e73ccbb683e408171b825c9b8d38d5e5fec04b91b0b78 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:39:29.086Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T10:39:29.290Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T10:39:29.293Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:39:29.422Z] provisioning config files... [2023-08-09T10:39:29.431Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17525415692909232796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:39:29.727Z] ---> docker-login.sh [2023-08-09T10:39:29.727Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:39:29.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:29.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:29.727Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:29.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:29.727Z] [2023-08-09T10:39:29.727Z] Login Succeeded [2023-08-09T10:39:29.727Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:39:29.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:29.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:29.727Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:29.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:29.727Z] [2023-08-09T10:39:29.727Z] Login Succeeded [2023-08-09T10:39:29.727Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:39:29.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:29.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:29.985Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:29.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:29.985Z] [2023-08-09T10:39:29.985Z] Login Succeeded [2023-08-09T10:39:29.985Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:39:29.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:29.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:29.985Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:29.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:29.985Z] [2023-08-09T10:39:29.985Z] Login Succeeded [2023-08-09T10:39:29.985Z] docker.io [2023-08-09T10:39:30.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:30.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:30.244Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:30.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:30.244Z] [2023-08-09T10:39:30.244Z] Login Succeeded [2023-08-09T10:39:30.244Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:39:30.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:39:30.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:39:30.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:39:30.324Z] ========================================================= [2023-08-09T10:39:30.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T10:39:30.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:30.625Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:39:30.625Z] Sending build context to Docker daemon 5.747MB [2023-08-09T10:39:30.625Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:39:30.625Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:39:30.625Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T10:39:30.625Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T10:39:30.625Z] 6911f1a30b25: Pulling fs layer [2023-08-09T10:39:30.625Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T10:39:30.625Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T10:39:30.625Z] ec0bb842ea78: Pulling fs layer [2023-08-09T10:39:30.625Z] 40a00589a448: Pulling fs layer [2023-08-09T10:39:30.625Z] 6c08303d61cc: Pulling fs layer [2023-08-09T10:39:30.625Z] 798269fcf238: Pulling fs layer [2023-08-09T10:39:30.625Z] 6c08303d61cc: Waiting [2023-08-09T10:39:30.625Z] 40a00589a448: Waiting [2023-08-09T10:39:30.625Z] 798269fcf238: Waiting [2023-08-09T10:39:30.625Z] ec0bb842ea78: Waiting [2023-08-09T10:39:30.625Z] 6863d3e3a2b1: Waiting [2023-08-09T10:39:30.625Z] 6911f1a30b25: Download complete [2023-08-09T10:39:30.625Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T10:39:30.625Z] 6863d3e3a2b1: Download complete [2023-08-09T10:39:30.625Z] ec0bb842ea78: Download complete [2023-08-09T10:39:30.884Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T10:39:30.884Z] 4db1b89c0bd1: Download complete [2023-08-09T10:39:30.884Z] 40a00589a448: Verifying Checksum [2023-08-09T10:39:30.884Z] 40a00589a448: Download complete [2023-08-09T10:39:30.884Z] 4db1b89c0bd1: Pull complete [2023-08-09T10:39:31.143Z] 6911f1a30b25: Pull complete [2023-08-09T10:39:31.402Z] 798269fcf238: Verifying Checksum [2023-08-09T10:39:31.402Z] 798269fcf238: Download complete [2023-08-09T10:39:31.402Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T10:39:31.402Z] e194b8c5c2a9: Download complete [2023-08-09T10:39:31.402Z] 6c08303d61cc: Verifying Checksum [2023-08-09T10:39:31.402Z] 6c08303d61cc: Download complete [2023-08-09T10:39:34.689Z] e194b8c5c2a9: Pull complete [2023-08-09T10:39:34.689Z] 6863d3e3a2b1: Pull complete [2023-08-09T10:39:34.689Z] ec0bb842ea78: Pull complete [2023-08-09T10:39:34.689Z] 40a00589a448: Pull complete [2023-08-09T10:39:37.217Z] 6c08303d61cc: Pull complete [2023-08-09T10:39:37.785Z] 798269fcf238: Pull complete [2023-08-09T10:39:37.785Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T10:39:37.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T10:39:37.785Z] ---> ec979cd7f677 [2023-08-09T10:39:37.785Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:39:41.979Z] ---> Running in 25208da46f8a [2023-08-09T10:39:41.979Z] Removing intermediate container 25208da46f8a [2023-08-09T10:39:41.979Z] ---> c99c105c5ad1 [2023-08-09T10:39:41.979Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:39:42.238Z] ---> Running in ca8f609bf9d4 [2023-08-09T10:39:42.238Z] Removing intermediate container ca8f609bf9d4 [2023-08-09T10:39:42.238Z] ---> 6fa55dd86b7c [2023-08-09T10:39:42.238Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:39:42.238Z] ---> Running in 5b7579082823 [2023-08-09T10:39:42.238Z] Removing intermediate container 5b7579082823 [2023-08-09T10:39:42.238Z] ---> 273bc2a359b7 [2023-08-09T10:39:42.238Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:39:42.498Z] ---> Running in 7d84e67bd351 [2023-08-09T10:39:42.498Z] Removing intermediate container 7d84e67bd351 [2023-08-09T10:39:42.498Z] ---> 0327162831cd [2023-08-09T10:39:42.498Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:39:42.498Z] ---> Running in 77bbf29ad4ae [2023-08-09T10:39:42.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:39:42.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:39:43.015Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:39:43.015Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:39:43.015Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:39:43.015Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:39:43.015Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:39:43.015Z] OK: 269 MiB in 57 packages [2023-08-09T10:39:43.582Z] Removing intermediate container 77bbf29ad4ae [2023-08-09T10:39:43.582Z] ---> 9f6e5e9b8eec [2023-08-09T10:39:43.582Z] Step 8/12 : WORKDIR /device-snmp-go [2023-08-09T10:39:43.582Z] ---> Running in 02723f7ddcb5 [2023-08-09T10:39:43.582Z] Removing intermediate container 02723f7ddcb5 [2023-08-09T10:39:43.582Z] ---> e265c57dc77e [2023-08-09T10:39:43.582Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:39:43.841Z] ---> 1c5b382de8ac [2023-08-09T10:39:43.841Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:39:43.841Z] ---> Running in 2a5384c1765b [2023-08-09T10:39:44.393Z] Still waiting to schedule task [2023-08-09T10:39:44.393Z] ‘prd-centos7-blackbox-4c-2g-2949’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-09T10:39:44.393Z] ‘prd-centos7-blackbox-4c-2g-2950’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-09T10:39:44.393Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3223’ is offline [2023-08-09T10:40:10.607Z] Removing intermediate container 2a5384c1765b [2023-08-09T10:40:10.607Z] ---> dc99e51c10e2 [2023-08-09T10:40:10.607Z] Step 11/12 : COPY . . [2023-08-09T10:40:10.607Z] ---> 380e3d5b6130 [2023-08-09T10:40:10.607Z] Step 12/12 : RUN ${MAKE} [2023-08-09T10:40:10.607Z] ---> Running in 9752fc60299a [2023-08-09T10:40:10.607Z] noop [2023-08-09T10:40:10.607Z] Removing intermediate container 9752fc60299a [2023-08-09T10:40:10.607Z] ---> e12f8eaeb397 [2023-08-09T10:40:10.607Z] Successfully built e12f8eaeb397 [2023-08-09T10:40:10.607Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:10.923Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:40:10.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:40:10.998Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:40:11.032Z] $ 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-08-09T10:40:11.350Z] $ docker top 1d11f8554d9af07588f1137a8f3439c2928ff489296863ac402546f1bb2cb606 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:40:11.694Z] + go version [2023-08-09T10:40:11.694Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T10:40:11.711Z] $ docker stop --time=1 1d11f8554d9af07588f1137a8f3439c2928ff489296863ac402546f1bb2cb606 [2023-08-09T10:40:13.012Z] $ docker rm -f --volumes 1d11f8554d9af07588f1137a8f3439c2928ff489296863ac402546f1bb2cb606 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:13.407Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:40:13.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:40:13.477Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:40:13.510Z] $ 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-08-09T10:40:13.826Z] $ docker top 08254468cc4b6be6db7f712d78f066c3c984bfe1a2953b2bb2e4cce86f135f25 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:40:14.155Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:40:14.454Z] + make test [2023-08-09T10:40:14.454Z] go test ./... -coverprofile=coverage.out [2023-08-09T10:40:18.638Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-08-09T10:40:28.602Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-08-09T10:40:28.602Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-08-09T10:40:33.870Z] go vet ./... [2023-08-09T10:40:38.054Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:40:38.054Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:40:38.054Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:40:38.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:40:38.079Z] $ docker stop --time=1 08254468cc4b6be6db7f712d78f066c3c984bfe1a2953b2bb2e4cce86f135f25 [2023-08-09T10:40:41.542Z] $ docker rm -f --volumes 08254468cc4b6be6db7f712d78f066c3c984bfe1a2953b2bb2e4cce86f135f25 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:40:41.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:40:42.091Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T10:40:42.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:40:42.863Z] + ls -al . [2023-08-09T10:40:42.863Z] total 172 [2023-08-09T10:40:42.863Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:40 . [2023-08-09T10:40:42.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:39 .. [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 9 10:39 .dockerignore [2023-08-09T10:40:42.863Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:39 .git [2023-08-09T10:40:42.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:39 .github [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 328 Aug 9 10:39 .gitignore [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:39 .golangci.yml [2023-08-09T10:40:42.863Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:39 .semver [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 8956 Aug 9 10:39 Attribution.txt [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 10534 Aug 9 10:39 CHANGELOG.md [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 1423 Aug 9 10:39 Dockerfile [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:39 GOVERNANCE.md [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 9 10:39 Jenkinsfile [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:39 LICENSE [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 2114 Aug 9 10:39 Makefile [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:39 OWNERS.md [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 10559 Aug 9 10:39 README.md [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:39 VERSION [2023-08-09T10:40:42.863Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:39 bin [2023-08-09T10:40:42.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:39 cmd [2023-08-09T10:40:42.863Z] -rw-r--r-- 1 jenkins jenkins 8837 Aug 9 10:40 coverage.out [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 3235 Aug 9 10:39 go.mod [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 31230 Aug 9 10:39 go.sum [2023-08-09T10:40:42.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:39 internal [2023-08-09T10:40:42.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:39 snap [2023-08-09T10:40:42.863Z] -rw-rw-r-- 1 jenkins jenkins 228 Aug 9 10:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:43.186Z] + 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=9a9cfe769be8313ba8a21d40637564934ad0b980 --label arch=amd64 --label version=3.1.0-dev.1 . [2023-08-09T10:40:43.186Z] Sending build context to Docker daemon 5.757MB [2023-08-09T10:40:43.186Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:40:43.186Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-09T10:40:43.186Z] ---> e12f8eaeb397 [2023-08-09T10:40:43.186Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:40:43.446Z] ---> Running in 52478d097258 [2023-08-09T10:40:43.446Z] Removing intermediate container 52478d097258 [2023-08-09T10:40:43.446Z] ---> 51596308ef61 [2023-08-09T10:40:43.446Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:40:43.446Z] ---> Running in c615872e8f6d [2023-08-09T10:40:43.446Z] Removing intermediate container c615872e8f6d [2023-08-09T10:40:43.446Z] ---> 04c84bf3bdf7 [2023-08-09T10:40:43.446Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:40:43.446Z] ---> Running in beb14992b0c6 [2023-08-09T10:40:43.706Z] Removing intermediate container beb14992b0c6 [2023-08-09T10:40:43.706Z] ---> a359b8708801 [2023-08-09T10:40:43.706Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:40:43.706Z] ---> Running in 675519b4ccb3 [2023-08-09T10:40:43.706Z] Removing intermediate container 675519b4ccb3 [2023-08-09T10:40:43.706Z] ---> 4450320f0ab8 [2023-08-09T10:40:43.706Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:40:43.706Z] ---> Running in 8b9fcc2d9255 [2023-08-09T10:40:43.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:40:44.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:40:44.492Z] OK: 269 MiB in 57 packages [2023-08-09T10:40:44.751Z] Removing intermediate container 8b9fcc2d9255 [2023-08-09T10:40:44.751Z] ---> 0008a1f21ef5 [2023-08-09T10:40:44.751Z] Step 8/24 : WORKDIR /device-snmp-go [2023-08-09T10:40:44.751Z] ---> Running in 2d842bd91a7f [2023-08-09T10:40:45.011Z] Removing intermediate container 2d842bd91a7f [2023-08-09T10:40:45.011Z] ---> d21a711708bd [2023-08-09T10:40:45.011Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-09T10:40:45.011Z] ---> d918771d552f [2023-08-09T10:40:45.011Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:40:45.011Z] ---> Running in ccd3da60bd57 [2023-08-09T10:40:45.583Z] Removing intermediate container ccd3da60bd57 [2023-08-09T10:40:45.583Z] ---> 5222a4c5e444 [2023-08-09T10:40:45.583Z] Step 11/24 : COPY . . [2023-08-09T10:40:46.153Z] ---> 3e6b6b8bce40 [2023-08-09T10:40:46.153Z] Step 12/24 : RUN ${MAKE} [2023-08-09T10:40:46.153Z] ---> Running in 2e6647e89f53 [2023-08-09T10:40:46.153Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-08-09T10:41:08.118Z] Removing intermediate container 2e6647e89f53 [2023-08-09T10:41:08.118Z] ---> c73a3302f007 [2023-08-09T10:41:08.118Z] Step 13/24 : FROM alpine:3.17 [2023-08-09T10:41:08.118Z] 3.17: Pulling from library/alpine [2023-08-09T10:41:08.118Z] 9398808236ff: Pulling fs layer [2023-08-09T10:41:08.118Z] 9398808236ff: Verifying Checksum [2023-08-09T10:41:08.118Z] 9398808236ff: Pull complete [2023-08-09T10:41:08.118Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:41:08.118Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:41:08.118Z] ---> 1e0b8b5322fc [2023-08-09T10:41:08.118Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:41:08.118Z] ---> Running in afc18e78cf79 [2023-08-09T10:41:08.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:41:08.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:41:08.118Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:41:08.118Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:41:08.118Z] OK: 7 MiB in 16 packages [2023-08-09T10:41:08.118Z] Removing intermediate container afc18e78cf79 [2023-08-09T10:41:08.118Z] ---> d32b3632aba0 [2023-08-09T10:41:08.118Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-08-09T10:41:08.118Z] ---> 0783ad0898a6 [2023-08-09T10:41:08.118Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-08-09T10:41:08.118Z] ---> 289d0a681b02 [2023-08-09T10:41:08.118Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-08-09T10:41:08.377Z] ---> 8f081c92d07f [2023-08-09T10:41:08.377Z] Step 18/24 : EXPOSE 59993 [2023-08-09T10:41:08.377Z] ---> Running in aac43dfe2c71 [2023-08-09T10:41:08.636Z] Removing intermediate container aac43dfe2c71 [2023-08-09T10:41:08.636Z] ---> c50423171d13 [2023-08-09T10:41:08.636Z] Step 19/24 : EXPOSE 161 [2023-08-09T10:41:08.636Z] ---> Running in e998af2c1379 [2023-08-09T10:41:08.895Z] Removing intermediate container e998af2c1379 [2023-08-09T10:41:08.895Z] ---> 704d72c0bcbd [2023-08-09T10:41:08.895Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-08-09T10:41:08.895Z] ---> Running in d9085545efa6 [2023-08-09T10:41:08.895Z] Removing intermediate container d9085545efa6 [2023-08-09T10:41:08.895Z] ---> f2200a84670d [2023-08-09T10:41:08.895Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T10:41:08.895Z] ---> Running in a83bb425503b [2023-08-09T10:41:08.895Z] Removing intermediate container a83bb425503b [2023-08-09T10:41:08.895Z] ---> 77d0aa22a81b [2023-08-09T10:41:08.895Z] Step 22/24 : LABEL arch=amd64 [2023-08-09T10:41:08.895Z] ---> Running in c9c365c010f3 [2023-08-09T10:41:09.153Z] Removing intermediate container c9c365c010f3 [2023-08-09T10:41:09.154Z] ---> c8cfbcbc715d [2023-08-09T10:41:09.154Z] Step 23/24 : LABEL git_sha=9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:41:09.154Z] ---> Running in 0d6c45f30238 [2023-08-09T10:41:09.154Z] Removing intermediate container 0d6c45f30238 [2023-08-09T10:41:09.154Z] ---> 95c3d9adfe08 [2023-08-09T10:41:09.154Z] Step 24/24 : LABEL version=3.1.0-dev.1 [2023-08-09T10:41:09.154Z] ---> Running in 6dbb9fbdaa59 [2023-08-09T10:41:09.154Z] Removing intermediate container 6dbb9fbdaa59 [2023-08-09T10:41:09.154Z] ---> 44fbc93d5dd5 [2023-08-09T10:41:09.154Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:41:09.412Z] Successfully built 44fbc93d5dd5 [2023-08-09T10:41:09.412Z] 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-08-09T10:41:09.526Z] provisioning config files... [2023-08-09T10:41:09.534Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12884306436066187489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:41:09.830Z] ---> docker-login.sh [2023-08-09T10:41:09.830Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:41:09.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:09.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:09.830Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:09.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:09.830Z] [2023-08-09T10:41:09.830Z] Login Succeeded [2023-08-09T10:41:09.830Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:41:09.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:09.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:09.830Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:09.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:09.830Z] [2023-08-09T10:41:09.830Z] Login Succeeded [2023-08-09T10:41:09.830Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:41:10.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:10.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:10.089Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:10.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:10.090Z] [2023-08-09T10:41:10.090Z] Login Succeeded [2023-08-09T10:41:10.090Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:41:10.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:10.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:10.090Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:10.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:10.090Z] [2023-08-09T10:41:10.090Z] Login Succeeded [2023-08-09T10:41:10.090Z] docker.io [2023-08-09T10:41:10.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:41:10.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:41:10.658Z] Configure a credential helper to remove this warning. See [2023-08-09T10:41:10.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:41:10.658Z] [2023-08-09T10:41:10.658Z] Login Succeeded [2023-08-09T10:41:10.658Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:41:10.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:41:10.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:41:10.720Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-08-09T10:41:10.720Z] 9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:41:10.720Z] latest [2023-08-09T10:41:10.720Z] 3.1.0-dev.1 [2023-08-09T10:41:10.720Z] 9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [2023-08-09T10:41:10.720Z] main [2023-08-09T10:41:10.720Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:11.024Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:11.325Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:41:11.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-09T10:41:11.326Z] b2da9a855b10: Preparing [2023-08-09T10:41:11.326Z] 0f2098baf040: Preparing [2023-08-09T10:41:11.326Z] 755028a156de: Preparing [2023-08-09T10:41:11.326Z] 41db31ff820b: Preparing [2023-08-09T10:41:11.326Z] 36b50b131297: Preparing [2023-08-09T10:41:11.326Z] 36b50b131297: Layer already exists [2023-08-09T10:41:11.326Z] 0f2098baf040: Pushed [2023-08-09T10:41:11.326Z] b2da9a855b10: Pushed [2023-08-09T10:41:11.326Z] 41db31ff820b: Pushed [2023-08-09T10:41:13.856Z] 755028a156de: Pushed [2023-08-09T10:41:13.856Z] 9a9cfe769be8313ba8a21d40637564934ad0b980: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:14.163Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:14.466Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-08-09T10:41:14.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-09T10:41:14.466Z] b2da9a855b10: Preparing [2023-08-09T10:41:14.466Z] 0f2098baf040: Preparing [2023-08-09T10:41:14.466Z] 755028a156de: Preparing [2023-08-09T10:41:14.466Z] 41db31ff820b: Preparing [2023-08-09T10:41:14.466Z] 36b50b131297: Preparing [2023-08-09T10:41:14.466Z] b2da9a855b10: Layer already exists [2023-08-09T10:41:14.466Z] 36b50b131297: Layer already exists [2023-08-09T10:41:14.466Z] 755028a156de: Layer already exists [2023-08-09T10:41:14.466Z] 41db31ff820b: Layer already exists [2023-08-09T10:41:14.466Z] 0f2098baf040: Layer already exists [2023-08-09T10:41:14.466Z] latest: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:14.780Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:15.079Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.1 [2023-08-09T10:41:15.079Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-09T10:41:15.079Z] b2da9a855b10: Preparing [2023-08-09T10:41:15.079Z] 0f2098baf040: Preparing [2023-08-09T10:41:15.079Z] 755028a156de: Preparing [2023-08-09T10:41:15.079Z] 41db31ff820b: Preparing [2023-08-09T10:41:15.079Z] 36b50b131297: Preparing [2023-08-09T10:41:15.079Z] b2da9a855b10: Layer already exists [2023-08-09T10:41:15.079Z] 41db31ff820b: Layer already exists [2023-08-09T10:41:15.079Z] 755028a156de: Layer already exists [2023-08-09T10:41:15.079Z] 0f2098baf040: Layer already exists [2023-08-09T10:41:15.079Z] 36b50b131297: Layer already exists [2023-08-09T10:41:15.079Z] 3.1.0-dev.1: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:15.383Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:15.693Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [2023-08-09T10:41:15.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-09T10:41:15.693Z] b2da9a855b10: Preparing [2023-08-09T10:41:15.693Z] 0f2098baf040: Preparing [2023-08-09T10:41:15.693Z] 755028a156de: Preparing [2023-08-09T10:41:15.693Z] 41db31ff820b: Preparing [2023-08-09T10:41:15.693Z] 36b50b131297: Preparing [2023-08-09T10:41:15.693Z] 41db31ff820b: Layer already exists [2023-08-09T10:41:15.693Z] 0f2098baf040: Layer already exists [2023-08-09T10:41:15.693Z] 755028a156de: Layer already exists [2023-08-09T10:41:15.693Z] b2da9a855b10: Layer already exists [2023-08-09T10:41:15.693Z] 36b50b131297: Layer already exists [2023-08-09T10:41:15.693Z] 9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:15.998Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:16.310Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-08-09T10:41:16.310Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-08-09T10:41:16.310Z] b2da9a855b10: Preparing [2023-08-09T10:41:16.310Z] 0f2098baf040: Preparing [2023-08-09T10:41:16.310Z] 755028a156de: Preparing [2023-08-09T10:41:16.310Z] 41db31ff820b: Preparing [2023-08-09T10:41:16.310Z] 36b50b131297: Preparing [2023-08-09T10:41:16.310Z] 0f2098baf040: Layer already exists [2023-08-09T10:41:16.310Z] b2da9a855b10: Layer already exists [2023-08-09T10:41:16.310Z] 36b50b131297: Layer already exists [2023-08-09T10:41:16.310Z] 41db31ff820b: Layer already exists [2023-08-09T10:41:16.310Z] 755028a156de: Layer already exists [2023-08-09T10:41:16.310Z] main: digest: sha256:b6ef5e9ef5ac5b4edcc3ac5cf3cb1eb7e5b28749214bd98ba9f31a7378a343ed size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:41:16.347Z] ===================================================== [Pipeline] echo [2023-08-09T10:41:16.355Z] taggedImages: [2023-08-09T10:41:16.355Z] - nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:41:16.355Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-08-09T10:41:16.355Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.1 [2023-08-09T10:41:16.355Z] - nexus3.edgexfoundry.org:10004/device-snmp:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [2023-08-09T10:41:16.355Z] - 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-08-09T10:41:16.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:41:16.733Z] [2023-08-09T10:41:16.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:41:17.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:41:17.029Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T10:41:17.029Z] 5eb5b503b376: Pulling fs layer [2023-08-09T10:41:17.029Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T10:41:17.029Z] ec43610c2a17: Pulling fs layer [2023-08-09T10:41:17.029Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T10:41:17.029Z] 33b1e0a273af: Pulling fs layer [2023-08-09T10:41:17.029Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T10:41:17.029Z] 2f39f015ded8: Pulling fs layer [2023-08-09T10:41:17.029Z] 33b1e0a273af: Waiting [2023-08-09T10:41:17.029Z] 5d3b04190fa2: Waiting [2023-08-09T10:41:17.029Z] 2f39f015ded8: Waiting [2023-08-09T10:41:17.029Z] 3a2ae6a8a46f: Waiting [2023-08-09T10:41:17.029Z] 5c69ac0246d0: Verifying Checksum [2023-08-09T10:41:17.029Z] 5c69ac0246d0: Download complete [2023-08-09T10:41:17.029Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T10:41:17.029Z] ec43610c2a17: Verifying Checksum [2023-08-09T10:41:17.029Z] ec43610c2a17: Download complete [2023-08-09T10:41:17.029Z] 33b1e0a273af: Verifying Checksum [2023-08-09T10:41:17.029Z] 33b1e0a273af: Download complete [2023-08-09T10:41:17.029Z] 5d3b04190fa2: Download complete [2023-08-09T10:41:17.289Z] 5eb5b503b376: Verifying Checksum [2023-08-09T10:41:17.289Z] 5eb5b503b376: Download complete [2023-08-09T10:41:17.855Z] 2f39f015ded8: Download complete [2023-08-09T10:41:18.422Z] 5eb5b503b376: Pull complete [2023-08-09T10:41:18.679Z] 5c69ac0246d0: Pull complete [2023-08-09T10:41:18.936Z] ec43610c2a17: Pull complete [2023-08-09T10:41:18.936Z] 3a2ae6a8a46f: Pull complete [2023-08-09T10:41:19.502Z] 33b1e0a273af: Pull complete [2023-08-09T10:41:19.502Z] 5d3b04190fa2: Pull complete [2023-08-09T10:41:23.688Z] 2f39f015ded8: Pull complete [2023-08-09T10:41:23.688Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T10:41:23.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:41:23.688Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:41:23.772Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:41:23.803Z] $ 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-08-09T10:41:29.151Z] $ docker top c4657f57ad8d9049cec95ae4e6937af779b828b221ad7b98ba1e0a8dc7877511 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:41:29.515Z] ---> job-cost.sh [2023-08-09T10:41:29.515Z] lf-activate-venv: SKIPPING [2023-08-09T10:41:29.515Z] INFO: No Stack... [2023-08-09T10:41:30.081Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:41:30.338Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:41:30.621Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-08-09T10:41:30.621Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:41:30.634Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [2023-08-09T10:41:30.646Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] did not exist. Created. [2023-08-09T10:41:30.647Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:41:30.951Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T10:41:30.982Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:41:31.043Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:41:31.064Z] $ docker stop --time=1 c4657f57ad8d9049cec95ae4e6937af779b828b221ad7b98ba1e0a8dc7877511 [2023-08-09T10:41:32.204Z] $ docker rm -f --volumes c4657f57ad8d9049cec95ae4e6937af779b828b221ad7b98ba1e0a8dc7877511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-09T10:42:33.475Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3226 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-08-09T10:42:33.486Z] Running in /w/workspace/device-snmp-go/87 [Pipeline] { [Pipeline] checkout [2023-08-09T10:42:33.521Z] Selected Git installation does not exist. Using Default [2023-08-09T10:42:33.521Z] The recommended git tool is: NONE [2023-08-09T10:42:40.597Z] using credential edgex-jenkins-ssh [2023-08-09T10:42:40.618Z] Cloning the remote Git repository [2023-08-09T10:42:40.698Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-08-09T10:42:40.813Z] > git init /w/workspace/device-snmp-go/87 # timeout=10 [2023-08-09T10:42:40.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-08-09T10:42:40.998Z] > git --version # timeout=10 [2023-08-09T10:42:41.026Z] > git --version # 'git version 2.25.1' [2023-08-09T10:42:41.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:42:41.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:42:42.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-08-09T10:42:42.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:42:43.429Z] Avoid second fetch [2023-08-09T10:42:43.430Z] Checking out Revision 9a9cfe769be8313ba8a21d40637564934ad0b980 (main) [2023-08-09T10:42:43.455Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:42:43.534Z] > git checkout -f 9a9cfe769be8313ba8a21d40637564934ad0b980 # timeout=10 [2023-08-09T10:42:44.132Z] Commit message: "Merge pull request #315 from jackchenjc/pkg-errors-removal" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:42:45.043Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T10:42:45.043Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:42:45.043Z] Dload Upload Total Spent Left Speed [2023-08-09T10:42:45.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-08-09T10:42:45.710Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T10:42:46.055Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T10:42:46.055Z] + sudo tee /etc/docker/daemon.new [2023-08-09T10:42:46.055Z] { [2023-08-09T10:42:46.055Z] "registry-mirrors": [ [2023-08-09T10:42:46.055Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T10:42:46.055Z] ], [2023-08-09T10:42:46.055Z] "bip": "10.250.0.254/24", [2023-08-09T10:42:46.055Z] "hosts": [ [2023-08-09T10:42:46.055Z] "tcp://0.0.0.0:5555", [2023-08-09T10:42:46.055Z] "unix:///var/run/docker.sock" [2023-08-09T10:42:46.055Z] ], [2023-08-09T10:42:46.055Z] "mtu": 1458, [2023-08-09T10:42:46.055Z] "selinux-enabled": true, [2023-08-09T10:42:46.055Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T10:42:46.055Z] } [Pipeline] sh [2023-08-09T10:42:46.403Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T10:42:46.753Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:43:05.062Z] provisioning config files... [2023-08-09T10:43:05.093Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/87@tmp/config15134753630170078027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:43:05.461Z] ---> docker-login.sh [2023-08-09T10:43:05.461Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:43:06.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:43:06.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:43:06.326Z] Configure a credential helper to remove this warning. See [2023-08-09T10:43:06.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:43:06.326Z] [2023-08-09T10:43:06.326Z] Login Succeeded [2023-08-09T10:43:06.326Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:43:06.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:43:06.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:43:06.598Z] Configure a credential helper to remove this warning. See [2023-08-09T10:43:06.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:43:06.598Z] [2023-08-09T10:43:06.598Z] Login Succeeded [2023-08-09T10:43:06.598Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:43:06.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:43:07.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:43:07.139Z] Configure a credential helper to remove this warning. See [2023-08-09T10:43:07.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:43:07.139Z] [2023-08-09T10:43:07.139Z] Login Succeeded [2023-08-09T10:43:07.139Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:43:07.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:43:07.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:43:07.413Z] Configure a credential helper to remove this warning. See [2023-08-09T10:43:07.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:43:07.413Z] [2023-08-09T10:43:07.413Z] Login Succeeded [2023-08-09T10:43:07.413Z] docker.io [2023-08-09T10:43:07.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:43:08.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:43:08.275Z] Configure a credential helper to remove this warning. See [2023-08-09T10:43:08.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:43:08.275Z] [2023-08-09T10:43:08.275Z] Login Succeeded [2023-08-09T10:43:08.275Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:43:08.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:43:08.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:43:08.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:43:08.647Z] ========================================================= [2023-08-09T10:43:08.647Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T10:43:08.647Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:43:09.015Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:43:09.287Z] Sending build context to Docker daemon 2.959MB [2023-08-09T10:43:09.287Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:43:09.287Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:43:09.562Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T10:43:09.562Z] edb6bdbacee9: Pulling fs layer [2023-08-09T10:43:09.562Z] 5f9638ab2659: Pulling fs layer [2023-08-09T10:43:09.562Z] 8d51d6327a98: Pulling fs layer [2023-08-09T10:43:09.562Z] 8b374f2dd631: Pulling fs layer [2023-08-09T10:43:09.562Z] ec14aa9079de: Pulling fs layer [2023-08-09T10:43:09.562Z] 2f466654f4bb: Pulling fs layer [2023-08-09T10:43:09.562Z] 554e91adad29: Pulling fs layer [2023-08-09T10:43:09.562Z] 8b374f2dd631: Waiting [2023-08-09T10:43:09.562Z] ec14aa9079de: Waiting [2023-08-09T10:43:09.562Z] 2f466654f4bb: Waiting [2023-08-09T10:43:09.562Z] 554e91adad29: Waiting [2023-08-09T10:43:09.562Z] 5f9638ab2659: Verifying Checksum [2023-08-09T10:43:09.562Z] 5f9638ab2659: Download complete [2023-08-09T10:43:09.562Z] 8b374f2dd631: Download complete [2023-08-09T10:43:09.562Z] ec14aa9079de: Verifying Checksum [2023-08-09T10:43:09.562Z] ec14aa9079de: Download complete [2023-08-09T10:43:09.562Z] edb6bdbacee9: Verifying Checksum [2023-08-09T10:43:09.562Z] edb6bdbacee9: Download complete [2023-08-09T10:43:11.018Z] edb6bdbacee9: Pull complete [2023-08-09T10:43:11.289Z] 554e91adad29: Verifying Checksum [2023-08-09T10:43:11.289Z] 554e91adad29: Download complete [2023-08-09T10:43:11.901Z] 5f9638ab2659: Pull complete [2023-08-09T10:43:12.880Z] 8d51d6327a98: Verifying Checksum [2023-08-09T10:43:12.880Z] 8d51d6327a98: Download complete [2023-08-09T10:43:12.880Z] 2f466654f4bb: Verifying Checksum [2023-08-09T10:43:12.880Z] 2f466654f4bb: Download complete [2023-08-09T10:43:25.249Z] 8d51d6327a98: Pull complete [2023-08-09T10:43:25.249Z] 8b374f2dd631: Pull complete [2023-08-09T10:43:25.249Z] ec14aa9079de: Pull complete [2023-08-09T10:43:31.967Z] 2f466654f4bb: Pull complete [2023-08-09T10:43:33.407Z] 554e91adad29: Pull complete [2023-08-09T10:43:33.407Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T10:43:33.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T10:43:33.407Z] ---> 1e15ea492957 [2023-08-09T10:43:33.407Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:43:36.015Z] ---> Running in 73453943dcaf [2023-08-09T10:43:36.015Z] Removing intermediate container 73453943dcaf [2023-08-09T10:43:36.015Z] ---> 9304730ed721 [2023-08-09T10:43:36.015Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:43:36.015Z] ---> Running in 5c2a760359b1 [2023-08-09T10:43:36.284Z] Removing intermediate container 5c2a760359b1 [2023-08-09T10:43:36.284Z] ---> bd120c2c9ce1 [2023-08-09T10:43:36.284Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:43:36.554Z] ---> Running in 8b6ea563e4b7 [2023-08-09T10:43:36.823Z] Removing intermediate container 8b6ea563e4b7 [2023-08-09T10:43:36.823Z] ---> d58f89ae034e [2023-08-09T10:43:36.823Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:43:37.093Z] ---> Running in 9c02e8128600 [2023-08-09T10:43:37.362Z] Removing intermediate container 9c02e8128600 [2023-08-09T10:43:37.362Z] ---> e8c517327f86 [2023-08-09T10:43:37.362Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:43:37.362Z] ---> Running in 3104538339fc [2023-08-09T10:43:38.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:43:39.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:43:40.454Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:43:40.725Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:43:40.725Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:43:40.725Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:43:40.725Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:43:40.725Z] OK: 268 MiB in 57 packages [2023-08-09T10:43:44.093Z] Removing intermediate container 3104538339fc [2023-08-09T10:43:44.093Z] ---> 043eae0f39cd [2023-08-09T10:43:44.093Z] Step 8/12 : WORKDIR /device-snmp-go [2023-08-09T10:43:44.093Z] ---> Running in 2d07180ff046 [2023-08-09T10:43:44.093Z] Removing intermediate container 2d07180ff046 [2023-08-09T10:43:44.093Z] ---> 96ec002c7a4a [2023-08-09T10:43:44.093Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:43:44.690Z] ---> 868df8264d13 [2023-08-09T10:43:44.690Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:43:44.690Z] ---> Running in f79a2dc8fb21 [2023-08-09T10:44:52.621Z] Removing intermediate container f79a2dc8fb21 [2023-08-09T10:44:52.621Z] ---> c5531b7326c2 [2023-08-09T10:44:52.621Z] Step 11/12 : COPY . . [2023-08-09T10:44:52.621Z] ---> 35ccfd02acd0 [2023-08-09T10:44:52.621Z] Step 12/12 : RUN ${MAKE} [2023-08-09T10:44:52.621Z] ---> Running in 7790672f88b0 [2023-08-09T10:44:52.621Z] noop [2023-08-09T10:44:52.621Z] Removing intermediate container 7790672f88b0 [2023-08-09T10:44:52.621Z] ---> a956f4e57621 [2023-08-09T10:44:52.621Z] Successfully built a956f4e57621 [2023-08-09T10:44:52.621Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:44:52.971Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:44:52.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:44:53.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-3226 does not seem to be running inside a container [2023-08-09T10:44:53.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/87 -v /w/workspace/device-snmp-go/87:/w/workspace/device-snmp-go/87:rw,z -v /w/workspace/device-snmp-go/87@tmp:/w/workspace/device-snmp-go/87@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-08-09T10:44:54.582Z] $ docker top 4e8c3e681914566102455f6636f75fbe3b361fb380231470d0ae637511a22b8c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:44:55.450Z] + go version [2023-08-09T10:44:55.450Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T10:44:55.478Z] $ docker stop --time=1 4e8c3e681914566102455f6636f75fbe3b361fb380231470d0ae637511a22b8c [2023-08-09T10:44:57.157Z] $ docker rm -f --volumes 4e8c3e681914566102455f6636f75fbe3b361fb380231470d0ae637511a22b8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:44:57.751Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:44:57.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:44:57.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-3226 does not seem to be running inside a container [2023-08-09T10:44:58.037Z] $ 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/87 -v /w/workspace/device-snmp-go/87:/w/workspace/device-snmp-go/87:rw,z -v /w/workspace/device-snmp-go/87@tmp:/w/workspace/device-snmp-go/87@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-08-09T10:44:59.313Z] $ docker top cb52538bbeb026be0f325bf42c389b1a7c46d55ef2111efc871d7756de5ad2ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:45:00.162Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/87 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:45:00.822Z] + make test [2023-08-09T10:45:00.822Z] go test ./... -coverprofile=coverage.out [2023-08-09T10:45:39.729Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-08-09T10:48:01.471Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-08-09T10:48:01.471Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2023-08-09T10:48:01.471Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T10:48:01.471Z] go vet ./... [2023-08-09T10:48:23.580Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:48:23.580Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:48:23.580Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:48:23.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:48:23.613Z] $ docker stop --time=1 cb52538bbeb026be0f325bf42c389b1a7c46d55ef2111efc871d7756de5ad2ae [2023-08-09T10:48:25.498Z] $ docker rm -f --volumes cb52538bbeb026be0f325bf42c389b1a7c46d55ef2111efc871d7756de5ad2ae [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:48:26.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:48:26.695Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T10:48:27.204Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:48:27.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:48:27.921Z] + ls -al . [2023-08-09T10:48:27.921Z] total 168 [2023-08-09T10:48:27.921Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:45 . [2023-08-09T10:48:27.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:42 .. [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 9 10:42 .dockerignore [2023-08-09T10:48:27.921Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:42 .git [2023-08-09T10:48:27.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:42 .github [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 328 Aug 9 10:42 .gitignore [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:42 .golangci.yml [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 8956 Aug 9 10:42 Attribution.txt [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 10534 Aug 9 10:42 CHANGELOG.md [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 1423 Aug 9 10:42 Dockerfile [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:42 GOVERNANCE.md [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 9 10:42 Jenkinsfile [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:42 LICENSE [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 2114 Aug 9 10:42 Makefile [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:42 OWNERS.md [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 10559 Aug 9 10:42 README.md [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:39 VERSION [2023-08-09T10:48:27.921Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:42 bin [2023-08-09T10:48:27.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:42 cmd [2023-08-09T10:48:27.921Z] -rw-r--r-- 1 jenkins jenkins 8837 Aug 9 10:47 coverage.out [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 3235 Aug 9 10:42 go.mod [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 31230 Aug 9 10:42 go.sum [2023-08-09T10:48:27.921Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:42 internal [2023-08-09T10:48:27.921Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:42 snap [2023-08-09T10:48:27.921Z] -rw-rw-r-- 1 jenkins jenkins 228 Aug 9 10:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:48:28.258Z] + 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=9a9cfe769be8313ba8a21d40637564934ad0b980 --label arch=arm64 --label version=3.1.0-dev.1 . [2023-08-09T10:48:28.525Z] Sending build context to Docker daemon 2.969MB [2023-08-09T10:48:28.525Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:48:28.525Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-09T10:48:28.525Z] ---> a956f4e57621 [2023-08-09T10:48:28.525Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:48:28.794Z] ---> Running in e51a27f957b9 [2023-08-09T10:48:29.070Z] Removing intermediate container e51a27f957b9 [2023-08-09T10:48:29.070Z] ---> 4ef908fb7ee3 [2023-08-09T10:48:29.070Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:48:29.070Z] ---> Running in 2f5d361b1468 [2023-08-09T10:48:29.345Z] Removing intermediate container 2f5d361b1468 [2023-08-09T10:48:29.345Z] ---> 882aa3a4f113 [2023-08-09T10:48:29.345Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:48:29.345Z] ---> Running in 6401c400a22c [2023-08-09T10:48:29.613Z] Removing intermediate container 6401c400a22c [2023-08-09T10:48:29.613Z] ---> f636c10bfcff [2023-08-09T10:48:29.613Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:48:29.881Z] ---> Running in 3a73641a3a05 [2023-08-09T10:48:30.152Z] Removing intermediate container 3a73641a3a05 [2023-08-09T10:48:30.152Z] ---> 29a2c95a745b [2023-08-09T10:48:30.152Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:48:30.152Z] ---> Running in ac7f8699beb9 [2023-08-09T10:48:31.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:48:31.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:48:33.109Z] OK: 268 MiB in 57 packages [2023-08-09T10:48:34.083Z] Removing intermediate container ac7f8699beb9 [2023-08-09T10:48:34.083Z] ---> b36046d287fa [2023-08-09T10:48:34.083Z] Step 8/24 : WORKDIR /device-snmp-go [2023-08-09T10:48:34.083Z] ---> Running in a04e8dae75a0 [2023-08-09T10:48:34.083Z] Removing intermediate container a04e8dae75a0 [2023-08-09T10:48:34.083Z] ---> e066fda61789 [2023-08-09T10:48:34.083Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-09T10:48:34.666Z] ---> 509d10fd652b [2023-08-09T10:48:34.666Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:48:34.666Z] ---> Running in 0d5593ff4a25 [2023-08-09T10:48:36.610Z] Removing intermediate container 0d5593ff4a25 [2023-08-09T10:48:36.610Z] ---> c31523cf37fd [2023-08-09T10:48:36.610Z] Step 11/24 : COPY . . [2023-08-09T10:48:37.567Z] ---> ac2040c99e65 [2023-08-09T10:48:37.567Z] Step 12/24 : RUN ${MAKE} [2023-08-09T10:48:40.154Z] ---> Running in 6df5d53d2eae [2023-08-09T10:48:41.119Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-08-09T10:51:02.799Z] Removing intermediate container 6df5d53d2eae [2023-08-09T10:51:02.799Z] ---> 1f988b3d7fd0 [2023-08-09T10:51:02.799Z] Step 13/24 : FROM alpine:3.17 [2023-08-09T10:51:02.799Z] 3.17: Pulling from library/alpine [2023-08-09T10:51:02.799Z] 4060ece20d7a: Pulling fs layer [2023-08-09T10:51:02.799Z] 4060ece20d7a: Verifying Checksum [2023-08-09T10:51:02.799Z] 4060ece20d7a: Download complete [2023-08-09T10:51:02.799Z] 4060ece20d7a: Pull complete [2023-08-09T10:51:02.799Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:51:02.799Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:51:02.799Z] ---> 8650cd65339b [2023-08-09T10:51:02.799Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:51:02.799Z] ---> Running in bee66ce81b1b [2023-08-09T10:51:02.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:51:02.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:51:02.799Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:51:02.799Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:51:02.799Z] OK: 8 MiB in 16 packages [2023-08-09T10:51:02.799Z] Removing intermediate container bee66ce81b1b [2023-08-09T10:51:02.799Z] ---> 86e1a7dcf5a4 [2023-08-09T10:51:02.799Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-08-09T10:51:02.799Z] ---> 2024c2b888d5 [2023-08-09T10:51:02.799Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-08-09T10:51:02.799Z] ---> fa7e473990b1 [2023-08-09T10:51:02.799Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-08-09T10:51:03.066Z] ---> 250cab5fdcae [2023-08-09T10:51:03.066Z] Step 18/24 : EXPOSE 59993 [2023-08-09T10:51:03.334Z] ---> Running in 9591ebf395b0 [2023-08-09T10:51:03.600Z] Removing intermediate container 9591ebf395b0 [2023-08-09T10:51:03.600Z] ---> d63e3decfc26 [2023-08-09T10:51:03.600Z] Step 19/24 : EXPOSE 161 [2023-08-09T10:51:03.600Z] ---> Running in 2930e39a1689 [2023-08-09T10:51:03.868Z] Removing intermediate container 2930e39a1689 [2023-08-09T10:51:03.868Z] ---> 0a52f231e3aa [2023-08-09T10:51:03.868Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-08-09T10:51:03.868Z] ---> Running in 2348410be1cb [2023-08-09T10:51:04.137Z] Removing intermediate container 2348410be1cb [2023-08-09T10:51:04.137Z] ---> ddb41301937e [2023-08-09T10:51:04.137Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T10:51:04.408Z] ---> Running in 44aa43917278 [2023-08-09T10:51:04.677Z] Removing intermediate container 44aa43917278 [2023-08-09T10:51:04.677Z] ---> 2294cb4cfab1 [2023-08-09T10:51:04.677Z] Step 22/24 : LABEL arch=arm64 [2023-08-09T10:51:04.677Z] ---> Running in 7d48cdade166 [2023-08-09T10:51:04.944Z] Removing intermediate container 7d48cdade166 [2023-08-09T10:51:04.944Z] ---> 040dceecee91 [2023-08-09T10:51:04.944Z] Step 23/24 : LABEL git_sha=9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:51:04.944Z] ---> Running in 80e0f75de6b2 [2023-08-09T10:51:05.213Z] Removing intermediate container 80e0f75de6b2 [2023-08-09T10:51:05.213Z] ---> e44eb8599363 [2023-08-09T10:51:05.213Z] Step 24/24 : LABEL version=3.1.0-dev.1 [2023-08-09T10:51:05.489Z] ---> Running in f5b1e5d392b7 [2023-08-09T10:51:05.757Z] Removing intermediate container f5b1e5d392b7 [2023-08-09T10:51:05.757Z] ---> 3b65090641cf [2023-08-09T10:51:05.757Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:51:05.757Z] Successfully built 3b65090641cf [2023-08-09T10:51:05.757Z] 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-08-09T10:51:05.858Z] provisioning config files... [2023-08-09T10:51:05.872Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/87@tmp/config1261894774368921307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:06.223Z] ---> docker-login.sh [2023-08-09T10:51:06.223Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:51:06.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:51:06.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:51:06.496Z] Configure a credential helper to remove this warning. See [2023-08-09T10:51:06.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:51:06.496Z] [2023-08-09T10:51:06.496Z] Login Succeeded [2023-08-09T10:51:06.496Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:51:06.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:51:06.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:51:06.765Z] Configure a credential helper to remove this warning. See [2023-08-09T10:51:06.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:51:06.765Z] [2023-08-09T10:51:06.765Z] Login Succeeded [2023-08-09T10:51:06.765Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:51:07.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:51:07.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:51:07.302Z] Configure a credential helper to remove this warning. See [2023-08-09T10:51:07.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:51:07.302Z] [2023-08-09T10:51:07.302Z] Login Succeeded [2023-08-09T10:51:07.302Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:51:07.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:51:07.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:51:07.569Z] Configure a credential helper to remove this warning. See [2023-08-09T10:51:07.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:51:07.569Z] [2023-08-09T10:51:07.569Z] Login Succeeded [2023-08-09T10:51:07.570Z] docker.io [2023-08-09T10:51:07.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:51:08.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:51:08.102Z] Configure a credential helper to remove this warning. See [2023-08-09T10:51:08.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:51:08.102Z] [2023-08-09T10:51:08.102Z] Login Succeeded [2023-08-09T10:51:08.102Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:51:08.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:51:08.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:51:08.159Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-08-09T10:51:08.159Z] 9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:51:08.159Z] latest [2023-08-09T10:51:08.159Z] 3.1.0-dev.1 [2023-08-09T10:51:08.159Z] 9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [2023-08-09T10:51:08.159Z] main [2023-08-09T10:51:08.159Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:08.493Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:08.826Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:51:08.826Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-09T10:51:08.826Z] b8322c11382b: Preparing [2023-08-09T10:51:08.826Z] 8d041133a277: Preparing [2023-08-09T10:51:08.826Z] 8c67cc800300: Preparing [2023-08-09T10:51:08.826Z] 920fdbe7fca4: Preparing [2023-08-09T10:51:08.826Z] d2d9d24a8c2a: Preparing [2023-08-09T10:51:08.826Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:51:09.102Z] 8d041133a277: Pushed [2023-08-09T10:51:09.102Z] b8322c11382b: Pushed [2023-08-09T10:51:09.102Z] 920fdbe7fca4: Pushed [2023-08-09T10:51:14.542Z] 8c67cc800300: Pushed [2023-08-09T10:51:14.542Z] 9a9cfe769be8313ba8a21d40637564934ad0b980: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:14.908Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:15.252Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-08-09T10:51:15.252Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-09T10:51:15.252Z] b8322c11382b: Preparing [2023-08-09T10:51:15.252Z] 8d041133a277: Preparing [2023-08-09T10:51:15.252Z] 8c67cc800300: Preparing [2023-08-09T10:51:15.252Z] 920fdbe7fca4: Preparing [2023-08-09T10:51:15.252Z] d2d9d24a8c2a: Preparing [2023-08-09T10:51:15.252Z] b8322c11382b: Layer already exists [2023-08-09T10:51:15.252Z] 8c67cc800300: Layer already exists [2023-08-09T10:51:15.252Z] 920fdbe7fca4: Layer already exists [2023-08-09T10:51:15.252Z] 8d041133a277: Layer already exists [2023-08-09T10:51:15.252Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:51:15.252Z] latest: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:15.598Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:15.945Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.1 [2023-08-09T10:51:15.945Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-09T10:51:15.945Z] b8322c11382b: Preparing [2023-08-09T10:51:15.945Z] 8d041133a277: Preparing [2023-08-09T10:51:15.945Z] 8c67cc800300: Preparing [2023-08-09T10:51:15.945Z] 920fdbe7fca4: Preparing [2023-08-09T10:51:15.945Z] d2d9d24a8c2a: Preparing [2023-08-09T10:51:15.945Z] 8d041133a277: Layer already exists [2023-08-09T10:51:15.945Z] 8c67cc800300: Layer already exists [2023-08-09T10:51:15.945Z] b8322c11382b: Layer already exists [2023-08-09T10:51:15.945Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:51:15.945Z] 920fdbe7fca4: Layer already exists [2023-08-09T10:51:15.945Z] 3.1.0-dev.1: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:16.292Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:16.626Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [2023-08-09T10:51:16.627Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-09T10:51:16.627Z] b8322c11382b: Preparing [2023-08-09T10:51:16.627Z] 8d041133a277: Preparing [2023-08-09T10:51:16.627Z] 8c67cc800300: Preparing [2023-08-09T10:51:16.627Z] 920fdbe7fca4: Preparing [2023-08-09T10:51:16.627Z] d2d9d24a8c2a: Preparing [2023-08-09T10:51:16.627Z] 920fdbe7fca4: Layer already exists [2023-08-09T10:51:16.627Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:51:16.627Z] 8c67cc800300: Layer already exists [2023-08-09T10:51:16.627Z] b8322c11382b: Layer already exists [2023-08-09T10:51:16.627Z] 8d041133a277: Layer already exists [2023-08-09T10:51:16.892Z] 9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:17.238Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:17.576Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-08-09T10:51:17.576Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-08-09T10:51:17.576Z] b8322c11382b: Preparing [2023-08-09T10:51:17.576Z] 8d041133a277: Preparing [2023-08-09T10:51:17.576Z] 8c67cc800300: Preparing [2023-08-09T10:51:17.576Z] 920fdbe7fca4: Preparing [2023-08-09T10:51:17.576Z] d2d9d24a8c2a: Preparing [2023-08-09T10:51:17.576Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:51:17.576Z] 8d041133a277: Layer already exists [2023-08-09T10:51:17.576Z] b8322c11382b: Layer already exists [2023-08-09T10:51:17.576Z] 8c67cc800300: Layer already exists [2023-08-09T10:51:17.576Z] 920fdbe7fca4: Layer already exists [2023-08-09T10:51:17.576Z] main: digest: sha256:a65602d103f0ec11ab18986fd95d831d86c08d9d05ab0e444df0e99395cc7244 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:51:17.630Z] ===================================================== [Pipeline] echo [2023-08-09T10:51:17.639Z] taggedImages: [2023-08-09T10:51:17.639Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980 [2023-08-09T10:51:17.639Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-08-09T10:51:17.639Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.1 [2023-08-09T10:51:17.639Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a9cfe769be8313ba8a21d40637564934ad0b980-3.1.0-dev.1 [2023-08-09T10:51:17.639Z] - 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-08-09T10:51:17.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:51:17.986Z] [2023-08-09T10:51:17.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:18.309Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:51:18.309Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T10:51:18.309Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T10:51:18.309Z] 04944245beec: Pulling fs layer [2023-08-09T10:51:18.309Z] 699f458cf7ca: Pulling fs layer [2023-08-09T10:51:18.309Z] 765212b225bb: Pulling fs layer [2023-08-09T10:51:18.309Z] f23df028b6ca: Pulling fs layer [2023-08-09T10:51:18.309Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T10:51:18.309Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T10:51:18.309Z] 765212b225bb: Waiting [2023-08-09T10:51:18.309Z] d65c8cfc05b1: Waiting [2023-08-09T10:51:18.309Z] f23df028b6ca: Waiting [2023-08-09T10:51:18.309Z] 2437ff75d9bd: Waiting [2023-08-09T10:51:18.576Z] 04944245beec: Verifying Checksum [2023-08-09T10:51:18.576Z] 04944245beec: Download complete [2023-08-09T10:51:18.576Z] 765212b225bb: Verifying Checksum [2023-08-09T10:51:18.576Z] 765212b225bb: Download complete [2023-08-09T10:51:18.576Z] f23df028b6ca: Verifying Checksum [2023-08-09T10:51:18.576Z] f23df028b6ca: Download complete [2023-08-09T10:51:18.576Z] d65c8cfc05b1: Download complete [2023-08-09T10:51:18.576Z] 699f458cf7ca: Verifying Checksum [2023-08-09T10:51:18.576Z] 699f458cf7ca: Download complete [2023-08-09T10:51:19.155Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T10:51:19.155Z] 8998bd30e6a1: Download complete [2023-08-09T10:51:21.092Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T10:51:21.092Z] 2437ff75d9bd: Download complete [2023-08-09T10:51:22.498Z] 8998bd30e6a1: Pull complete [2023-08-09T10:51:23.083Z] 04944245beec: Pull complete [2023-08-09T10:51:24.491Z] 699f458cf7ca: Pull complete [2023-08-09T10:51:24.491Z] 765212b225bb: Pull complete [2023-08-09T10:51:25.447Z] f23df028b6ca: Pull complete [2023-08-09T10:51:25.447Z] d65c8cfc05b1: Pull complete [2023-08-09T10:51:40.445Z] 2437ff75d9bd: Pull complete [2023-08-09T10:51:40.445Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T10:51:40.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:51:40.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:40.622Z] prd-ubuntu20.04-docker-arm64-4c-16g-3226 does not seem to be running inside a container [2023-08-09T10:51:40.686Z] $ 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/87 -v /w/workspace/device-snmp-go/87:/w/workspace/device-snmp-go/87:rw,z -v /w/workspace/device-snmp-go/87@tmp:/w/workspace/device-snmp-go/87@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-08-09T10:51:43.027Z] $ docker top b87103fa69870fee2cc3c4be76615d12e57423d60d177ab419f333c793008377 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:43.846Z] ---> job-cost.sh [2023-08-09T10:51:43.846Z] lf-activate-venv: SKIPPING [2023-08-09T10:51:43.846Z] INFO: No Stack... [2023-08-09T10:51:44.111Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T10:51:45.061Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:51:45.375Z] + cat /w/workspace/device-snmp-go/87/archives/cost.csv [2023-08-09T10:51:45.375Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:51:45.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [2023-08-09T10:51:45.721Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] did not exist. Created. [2023-08-09T10:51:45.721Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:51:46.053Z] /w/workspace/device-snmp-go/87@tmp/durable-1f6fe59e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T10:51:46.697Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T10:51:46.718Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T10:51:46.765Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:51:46.774Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:51:46.801Z] $ docker stop --time=1 b87103fa69870fee2cc3c4be76615d12e57423d60d177ab419f333c793008377 [2023-08-09T10:51:49.401Z] $ docker rm -f --volumes b87103fa69870fee2cc3c4be76615d12e57423d60d177ab419f333c793008377 [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-08-09T10:51:49.765Z] provisioning config files... [2023-08-09T10:51:49.772Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1832881439120708650tmp [Pipeline] { [Pipeline] sh [2023-08-09T10:51:50.063Z] + set +x [2023-08-09T10:51:50.064Z] + curl -s https://codecov.io/bash [2023-08-09T10:51:50.064Z] + bash -s -- [2023-08-09T10:51:50.064Z] [2023-08-09T10:51:50.064Z] _____ _ [2023-08-09T10:51:50.064Z] / ____| | | [2023-08-09T10:51:50.064Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T10:51:50.064Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T10:51:50.064Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T10:51:50.064Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T10:51:50.064Z] Bash-1.0.6 [2023-08-09T10:51:50.064Z] [2023-08-09T10:51:50.064Z] [2023-08-09T10:51:50.064Z] ==> git version 2.25.1 found [2023-08-09T10:51:50.064Z] ==> 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-08-09T10:51:50.064Z] Release-Date: 2020-01-08 [2023-08-09T10:51:50.064Z] 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-08-09T10:51:50.064Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T10:51:50.064Z] ==> Jenkins CI detected. [2023-08-09T10:51:50.064Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-08-09T10:51:50.064Z] project root: . [2023-08-09T10:51:50.064Z] --> token set from env [2023-08-09T10:51:50.064Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T10:51:50.064Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T10:51:50.064Z] ==> Python coveragepy not found [2023-08-09T10:51:50.064Z] ==> Searching for coverage reports in: [2023-08-09T10:51:50.064Z] + . [2023-08-09T10:51:50.064Z] -> Found 1 reports [2023-08-09T10:51:50.064Z] ==> Detecting git/mercurial file structure [2023-08-09T10:51:50.064Z] ==> Reading reports [2023-08-09T10:51:50.064Z] + ./coverage.out bytes=8837 [2023-08-09T10:51:50.064Z] ==> Appending adjustments [2023-08-09T10:51:50.064Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T10:51:50.323Z] + Found adjustments [2023-08-09T10:51:50.323Z] ==> Gzipping contents [2023-08-09T10:51:50.323Z] 4.0K /tmp/codecov.MPoAPi.gz [2023-08-09T10:51:50.323Z] ==> Uploading reports [2023-08-09T10:51:50.323Z] url: https://codecov.io [2023-08-09T10:51:50.323Z] query: branch=main&commit=9a9cfe769be8313ba8a21d40637564934ad0b980&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:51:50.323Z] -> Pinging Codecov [2023-08-09T10:51:50.323Z] 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=9a9cfe769be8313ba8a21d40637564934ad0b980&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:51:50.323Z] -> Uploading to [2023-08-09T10:51:50.323Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/6C56EA5C29638FB4528AC87E60AF5AE0/9a9cfe769be8313ba8a21d40637564934ad0b980/206c37f8-96de-4c5d-a3e6-34ba9ff46136.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T105150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ca16293587275039a8cedd4ca36c116412311f020a03ef0821d91b711e1494c [2023-08-09T10:51:50.323Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:51:50.323Z] Dload Upload Total Spent Left Speed [2023-08-09T10:51:50.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8020 --:--:-- --:--:-- --:--:-- 8020 [2023-08-09T10:51:50.583Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] } [2023-08-09T10:51:50.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-09T10:51:50.715Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-09T10:51:50.725Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:51.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:51:51.024Z] [2023-08-09T10:51:51.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:51.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:51:51.325Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-09T10:51:51.325Z] df9b9388f04a: Pulling fs layer [2023-08-09T10:51:51.325Z] 52dc419b0ee2: Pulling fs layer [2023-08-09T10:51:51.325Z] 25bc292e5bac: Pulling fs layer [2023-08-09T10:51:51.325Z] 114826534d7a: Pulling fs layer [2023-08-09T10:51:51.325Z] 4657fd5d0bcf: Pulling fs layer [2023-08-09T10:51:51.325Z] 6ad1cebc031e: Pulling fs layer [2023-08-09T10:51:51.325Z] 8a3aa393b2d8: Pulling fs layer [2023-08-09T10:51:51.325Z] 4657fd5d0bcf: Waiting [2023-08-09T10:51:51.325Z] 6ad1cebc031e: Waiting [2023-08-09T10:51:51.325Z] 8a3aa393b2d8: Waiting [2023-08-09T10:51:51.325Z] 25bc292e5bac: Download complete [2023-08-09T10:51:51.325Z] 52dc419b0ee2: Download complete [2023-08-09T10:51:51.325Z] 4657fd5d0bcf: Verifying Checksum [2023-08-09T10:51:51.325Z] 4657fd5d0bcf: Download complete [2023-08-09T10:51:51.325Z] df9b9388f04a: Verifying Checksum [2023-08-09T10:51:51.584Z] df9b9388f04a: Pull complete [2023-08-09T10:51:51.584Z] 6ad1cebc031e: Verifying Checksum [2023-08-09T10:51:51.584Z] 6ad1cebc031e: Download complete [2023-08-09T10:51:51.584Z] 52dc419b0ee2: Pull complete [2023-08-09T10:51:51.584Z] 25bc292e5bac: Pull complete [2023-08-09T10:51:52.152Z] 114826534d7a: Verifying Checksum [2023-08-09T10:51:52.152Z] 114826534d7a: Download complete [2023-08-09T10:51:52.152Z] 8a3aa393b2d8: Verifying Checksum [2023-08-09T10:51:52.152Z] 8a3aa393b2d8: Download complete [2023-08-09T10:51:55.431Z] 114826534d7a: Pull complete [2023-08-09T10:51:55.432Z] 4657fd5d0bcf: Pull complete [2023-08-09T10:51:55.688Z] 6ad1cebc031e: Pull complete [2023-08-09T10:51:58.218Z] 8a3aa393b2d8: Pull complete [2023-08-09T10:51:58.218Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-09T10:51:58.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:51:58.218Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:58.290Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:51:58.323Z] $ 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-08-09T10:52:02.530Z] $ docker top 4696be93173df6e465acfe36acac44b13b80445d5c2137e716cd9d582aec2c20 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-09T10:52:02.594Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-08-09T10:52:02.873Z] + set -o pipefail [2023-08-09T10:52:02.873Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-08-09T10:52:10.159Z] [2023-08-09T10:52:10.159Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-08-09T10:52:10.159Z] [2023-08-09T10:52:10.159Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/e6e2dd37-c97f-4606-b0a2-bcf44ec3a6fd [2023-08-09T10:52:10.159Z] [2023-08-09T10:52:10.159Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-09T10:52:10.159Z] [2023-08-09T10:52:10.159Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-09T10:52:10.159Z] [2023-08-09T10:52:10.159Z] [2023-08-09T10:52:10.159Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-09T10:52:10.159Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-09T10:52:10.159Z] More details here: https://snyk.co/ue1NS [2023-08-09T10:52:10.159Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-09T10:52:10.159Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-09T10:52:10.169Z] $ docker stop --time=1 4696be93173df6e465acfe36acac44b13b80445d5c2137e716cd9d582aec2c20 [2023-08-09T10:52:13.500Z] $ docker rm -f --volumes 4696be93173df6e465acfe36acac44b13b80445d5c2137e716cd9d582aec2c20 [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-08-09T10:52:14.218Z] + git log --format=format:%s -1 9a9cfe769be8313ba8a21d40637564934ad0b980 [Pipeline] sh [2023-08-09T10:52:14.508Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:52:14.509Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:52:14.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:52:14.804Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:52:14.870Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:52:14.899Z] $ 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-08-09T10:52:15.322Z] $ docker top 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b -eo pid,comm [2023-08-09T10:52:15.370Z] 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-08-09T10:52:15.370Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:52:15.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:52:15.399Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:52:15.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:52:15.506Z] $ docker exec 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b ssh-agent [2023-08-09T10:52:15.611Z] SSH_AUTH_SOCK=/tmp/ssh-BFyWSJDWeego/agent.31 [2023-08-09T10:52:15.611Z] SSH_AGENT_PID=37 [2023-08-09T10:52:15.615Z] Running ssh-add (command line suppressed) [2023-08-09T10:52:15.714Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15963171645875578787.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15963171645875578787.key) [2023-08-09T10:52:15.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:52:16.009Z] + git semver tag [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,169 [run_tag] DEBUG tag force:False [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,169 [check_head_tag] DEBUG check head tag [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,170 [execute] INFO git cat-file --batch-check [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,174 [execute] INFO git cat-file --batch [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,181 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,182 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,182 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:52:17.600Z] 2023-08-09 10:52:16,187 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:52:17.600Z] 3.1.0-dev.1 [Pipeline] } [2023-08-09T10:52:17.607Z] $ docker exec --env ******** --env ******** 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b ssh-agent -k [2023-08-09T10:52:17.704Z] unset SSH_AUTH_SOCK; [2023-08-09T10:52:17.704Z] unset SSH_AGENT_PID; [2023-08-09T10:52:17.704Z] echo Agent pid 37 killed; [2023-08-09T10:52:18.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:52:20.219Z] + git semver [Pipeline] } [2023-08-09T10:52:20.489Z] $ docker stop --time=1 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b [2023-08-09T10:52:21.768Z] $ docker rm -f --volumes 61007d6ee7023ac1b6d8b0340a071eb0c5ae26b6f9c11c31f345d80da02ef01b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:52:22.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:52:22.166Z] [2023-08-09T10:52:22.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:52:22.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:52:22.467Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-09T10:52:22.467Z] ab5ef0e58194: Pulling fs layer [2023-08-09T10:52:22.467Z] 9712f1f96733: Pulling fs layer [2023-08-09T10:52:22.467Z] 63f879dbbcfc: Pulling fs layer [2023-08-09T10:52:22.467Z] 0d9ebad4ef96: Pulling fs layer [2023-08-09T10:52:22.467Z] e9a5061849ea: Pulling fs layer [2023-08-09T10:52:22.467Z] d747dcd14b5f: Pulling fs layer [2023-08-09T10:52:22.467Z] 2de7ff778b66: Pulling fs layer [2023-08-09T10:52:22.467Z] 0d9ebad4ef96: Waiting [2023-08-09T10:52:22.467Z] e9a5061849ea: Waiting [2023-08-09T10:52:22.467Z] d747dcd14b5f: Waiting [2023-08-09T10:52:22.467Z] 2de7ff778b66: Waiting [2023-08-09T10:52:22.467Z] 9712f1f96733: Download complete [2023-08-09T10:52:22.728Z] 63f879dbbcfc: Verifying Checksum [2023-08-09T10:52:22.728Z] 63f879dbbcfc: Download complete [2023-08-09T10:52:22.988Z] 0d9ebad4ef96: Verifying Checksum [2023-08-09T10:52:22.988Z] 0d9ebad4ef96: Download complete [2023-08-09T10:52:22.988Z] e9a5061849ea: Verifying Checksum [2023-08-09T10:52:22.988Z] e9a5061849ea: Download complete [2023-08-09T10:52:22.988Z] d747dcd14b5f: Verifying Checksum [2023-08-09T10:52:22.988Z] d747dcd14b5f: Download complete [2023-08-09T10:52:22.988Z] ab5ef0e58194: Verifying Checksum [2023-08-09T10:52:22.988Z] ab5ef0e58194: Download complete [2023-08-09T10:52:23.247Z] 2de7ff778b66: Verifying Checksum [2023-08-09T10:52:23.247Z] 2de7ff778b66: Download complete [2023-08-09T10:52:25.775Z] ab5ef0e58194: Pull complete [2023-08-09T10:52:25.775Z] 9712f1f96733: Pull complete [2023-08-09T10:52:26.708Z] 63f879dbbcfc: Pull complete [2023-08-09T10:52:29.986Z] 0d9ebad4ef96: Pull complete [2023-08-09T10:52:29.986Z] e9a5061849ea: Pull complete [2023-08-09T10:52:30.244Z] d747dcd14b5f: Pull complete [2023-08-09T10:52:31.175Z] 2de7ff778b66: Pull complete [2023-08-09T10:52:31.175Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-09T10:52:31.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:52:31.175Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:52:31.251Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:52:31.275Z] $ 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-08-09T10:52:36.281Z] $ docker top e92b5ce033c0e7f00d4da4dab85f92b6ecf7d076c571ba4422d0fc9c2b0cf4b1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:52:36.345Z] provisioning config files... [2023-08-09T10:52:36.352Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15894789927983619514tmp [2023-08-09T10:52:36.366Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11901026314308768604tmp [2023-08-09T10:52:36.377Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17522461314738894870tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:52:36.394Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:36.676Z] ---> sigul-configuration.sh [2023-08-09T10:52:36.677Z] gpg: directory `/root/.gnupg' created [2023-08-09T10:52:36.677Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-09T10:52:36.677Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-09T10:52:36.677Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-09T10:52:36.677Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-09T10:52:36.677Z] gpg: CAST5 encrypted data [2023-08-09T10:52:36.677Z] gpg: encrypted with 1 passphrase [2023-08-09T10:52:36.677Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-09T10:52:36.968Z] + mkdir /home/jenkins [2023-08-09T10:52:36.968Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-09T10:52:37.253Z] + 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-08-09T10:52:37.262Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:37.545Z] ---> sigul-install.sh [2023-08-09T10:52:37.545Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-09T10:52:37.830Z] + git tag --list [2023-08-09T10:52:37.830Z] 1.0.0 [2023-08-09T10:52:37.830Z] v0.0.0 [2023-08-09T10:52:37.830Z] v1.1.0 [2023-08-09T10:52:37.830Z] v1.1.1 [2023-08-09T10:52:37.830Z] v1.2.2 [2023-08-09T10:52:37.830Z] v1.3.0 [2023-08-09T10:52:37.830Z] v1.3.1 [2023-08-09T10:52:37.830Z] v2.0.0 [2023-08-09T10:52:37.830Z] v2.1.0 [2023-08-09T10:52:37.830Z] v2.1.1 [2023-08-09T10:52:37.830Z] v2.2.0 [2023-08-09T10:52:37.830Z] v2.3.0 [2023-08-09T10:52:37.830Z] v3.0 [2023-08-09T10:52:37.830Z] v3.0.0 [2023-08-09T10:52:37.830Z] v3.1.0-dev.1 [Pipeline] sh [2023-08-09T10:52:38.115Z] + lftools sign git-tag v3.1.0-dev.1 [2023-08-09T10:52:38.681Z] Signing Git tag with Sigul... [2023-08-09T10:52:38.681Z] Signing v3.1.0-dev.1 [Pipeline] echo [2023-08-09T10:52:38.948Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:39.235Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-09T10:52:39.241Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-09T10:52:39.264Z] $ docker stop --time=1 e92b5ce033c0e7f00d4da4dab85f92b6ecf7d076c571ba4422d0fc9c2b0cf4b1 [2023-08-09T10:52:40.535Z] $ docker rm -f --volumes e92b5ce033c0e7f00d4da4dab85f92b6ecf7d076c571ba4422d0fc9c2b0cf4b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-09T10:52:40.929Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:52:40.929Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:52:41.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:52:41.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:52:41.297Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:52:41.326Z] $ 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-08-09T10:52:41.649Z] $ docker top 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 -eo pid,comm [2023-08-09T10:52:41.693Z] 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-08-09T10:52:41.693Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:52:41.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:52:41.731Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:52:41.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:52:41.850Z] $ docker exec 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 ssh-agent [2023-08-09T10:52:41.960Z] SSH_AUTH_SOCK=/tmp/ssh-xe6rGxE1CGuI/agent.31 [2023-08-09T10:52:41.960Z] SSH_AGENT_PID=37 [2023-08-09T10:52:41.965Z] Running ssh-add (command line suppressed) [2023-08-09T10:52:42.073Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1224632594461841381.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1224632594461841381.key) [2023-08-09T10:52:42.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:52:42.371Z] + git semver bump pre [2023-08-09T10:52:42.628Z] 2023-08-09 10:52:42,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:52:42.628Z] 2023-08-09 10:52:42,525 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev [2023-08-09T10:52:42.628Z] 2023-08-09 10:52:42,525 [bump_version] DEBUG bumped version:3.1.0-dev.2 [2023-08-09T10:52:42.628Z] 2023-08-09 10:52:42,525 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-08-09T10:52:42.628Z] 2023-08-09 10:52:42,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:52:42.628Z] 2023-08-09 10:52:42,526 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:52:42.628Z] 2023-08-09 10:52:42,527 [execute] INFO git cat-file --batch-check [2023-08-09T10:52:42.629Z] 2023-08-09 10:52:42,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:52:42.629Z] 2023-08-09 10:52:42,532 [execute] INFO git cat-file --batch [2023-08-09T10:52:42.629Z] 2023-08-09 10:52:42,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:52:42.629Z] 2023-08-09 10:52:42,537 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:52:42.629Z] 3.1.0-dev.2 [Pipeline] } [2023-08-09T10:52:42.637Z] $ docker exec --env ******** --env ******** 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 ssh-agent -k [2023-08-09T10:52:42.735Z] unset SSH_AUTH_SOCK; [2023-08-09T10:52:42.735Z] unset SSH_AGENT_PID; [2023-08-09T10:52:42.735Z] echo Agent pid 37 killed; [2023-08-09T10:52:42.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:52:43.043Z] + git semver [Pipeline] } [2023-08-09T10:52:43.314Z] $ docker stop --time=1 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 [2023-08-09T10:52:44.570Z] $ docker rm -f --volumes 321619c256d836a37e8f5b70dcb22ca30bbcdccff48bff7586f8171b46a62365 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:52:44.907Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:52:44.907Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:52:45.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:52:45.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:52:45.267Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:52:45.291Z] $ 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-08-09T10:52:45.620Z] $ docker top 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:52:45.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:52:45.699Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:52:45.797Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:52:45.798Z] $ docker exec 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b ssh-agent [2023-08-09T10:52:45.901Z] SSH_AUTH_SOCK=/tmp/ssh-pvKTG3uWJ9p1/agent.32 [2023-08-09T10:52:45.901Z] SSH_AGENT_PID=38 [2023-08-09T10:52:45.906Z] Running ssh-add (command line suppressed) [2023-08-09T10:52:46.006Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8575265823145012216.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8575265823145012216.key) [2023-08-09T10:52:46.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:52:46.308Z] + git semver push [2023-08-09T10:52:46.567Z] 2023-08-09 10:52:46,468 [run_push] DEBUG push [2023-08-09T10:52:46.567Z] 2023-08-09 10:52:46,469 [execute] INFO git cat-file --batch-check [2023-08-09T10:52:46.567Z] 2023-08-09 10:52:46,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:52:46.567Z] 2023-08-09 10:52:46,473 [execute] INFO git rev-list 9482784af615ce4ba69f5dba96ce5f5850d0f76a -- [2023-08-09T10:52:46.567Z] 2023-08-09 10:52:46,473 [execute] DEBUG Popen(['git', 'rev-list', '9482784af615ce4ba69f5dba96ce5f5850d0f76a', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:52:46.567Z] 2023-08-09 10:52:46,481 [execute] INFO git fetch -v origin [2023-08-09T10:52:46.567Z] 2023-08-09 10:52:46,482 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-09T10:52:47.870Z] 2023-08-09 10:52:47,231 [run_push] DEBUG no remote changes detected [2023-08-09T10:52:47.870Z] 2023-08-09 10:52:47,232 [execute] INFO git push origin semver [2023-08-09T10:52:47.870Z] 2023-08-09 10:52:47,232 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:52:48.438Z] 2023-08-09 10:52:48,270 [run_push] DEBUG push all version tags [2023-08-09T10:52:48.439Z] 2023-08-09 10:52:48,270 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-09T10:52:48.439Z] 2023-08-09 10:52:48,271 [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-08-09T10:52:49.006Z] 2023-08-09 10:52:48,957 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-08-09T10:52:49.006Z] 3.1.0-dev.2 [Pipeline] } [2023-08-09T10:52:49.015Z] $ docker exec --env ******** --env ******** 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b ssh-agent -k [2023-08-09T10:52:49.127Z] unset SSH_AUTH_SOCK; [2023-08-09T10:52:49.130Z] unset SSH_AGENT_PID; [2023-08-09T10:52:49.130Z] echo Agent pid 38 killed; [2023-08-09T10:52:49.139Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:52:49.437Z] + git semver [Pipeline] } [2023-08-09T10:52:49.705Z] $ docker stop --time=1 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b [2023-08-09T10:52:50.990Z] $ docker rm -f --volumes 104cb64ac11a25eb635e1af59cd84fd593fb2c7a8d5df7a4e7b7764cadc6848b [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-08-09T10:52:51.503Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-08-09T10:52:51.503Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-08-09T10:52:51.503Z] total 16 [2023-08-09T10:52:51.503Z] drwxr-xr-x 3 root root 4096 Aug 9 10:41 . [2023-08-09T10:52:51.503Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:52 .. [2023-08-09T10:52:51.503Z] drwxr-xr-x 2 root root 4096 Aug 9 10:41 cost [2023-08-09T10:52:51.503Z] -rw-r--r-- 1 root root 85 Aug 9 10:41 cost.csv [2023-08-09T10:52:51.503Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-08-09T10:52:51.503Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-08-09T10:52:51.503Z] total 16 [2023-08-09T10:52:51.503Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:41 . [2023-08-09T10:52:51.503Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:52 .. [2023-08-09T10:52:51.503Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:41 cost [2023-08-09T10:52:51.503Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 9 10:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:51.789Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:52.644Z] ---> package-listing.sh [2023-08-09T10:52:52.644Z] ++ facter osfamily [2023-08-09T10:52:52.644Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T10:52:52.902Z] + OS_FAMILY=debian [2023-08-09T10:52:52.902Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-08-09T10:52:52.902Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T10:52:52.902Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T10:52:52.902Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T10:52:52.902Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T10:52:52.902Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-08-09T10:52:52.902Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T10:52:52.902Z] + case "${OS_FAMILY}" in [2023-08-09T10:52:52.902Z] + dpkg -l [2023-08-09T10:52:52.902Z] + grep '^ii' [2023-08-09T10:52:52.902Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T10:52:52.902Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T10:52:52.902Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T10:52:52.902Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-08-09T10:52:52.902Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-08-09T10:52:52.902Z] + 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-08-09T10:52:52.910Z] 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-08-09T10:52:53.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:52:53.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:52:53.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:52:53.996Z] prd-ubuntu20.04-docker-8c-8g-3222 does not seem to be running inside a container [2023-08-09T10:52:54.026Z] $ 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-08-09T10:52:54.239Z] $ docker top 311c95225cca7665f39dc731156818fedcd2edd2a200343d983009bf57932622 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:52:54.577Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T10:52:54.860Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T10:52:55.143Z] + ls /var/log/sa-host [2023-08-09T10:52:55.143Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:52:55.207Z] provisioning config files... [2023-08-09T10:52:55.215Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1068639039223986108tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:52:55.226Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:55.509Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T10:52:55.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:55.833Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T10:52:55.841Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:56.125Z] ---> sudo-logs.sh [2023-08-09T10:52:56.125Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T10:52:56.154Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:56.436Z] ---> job-cost.sh [2023-08-09T10:52:56.436Z] lf-activate-venv: SKIPPING [2023-08-09T10:52:56.436Z] DEBUG: total: 0.2199999988079071 [2023-08-09T10:52:56.436Z] INFO: Retrieving Stack Cost... [2023-08-09T10:52:56.695Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:52:57.263Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T10:52:57.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:52:57.555Z] ---> logs-deploy.sh [2023-08-09T10:52:57.555Z] lf-activate-venv: SKIPPING [2023-08-09T10:52:57.555Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/87 [2023-08-09T10:52:57.555Z] INFO: archiving workspace using pattern(s): [2023-08-09T10:52:58.491Z] Archives upload complete. [2023-08-09T10:52:58.491Z] INFO: archiving logs to Nexus