Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ac8d37b91ffebeab2a267fed6cce847388f5686c 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-ssh7210972438507922661.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6651130716707502733.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17803517923290832756.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6749180547014750675.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-ssh9131850405795965109.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.18 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-1674 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 ac8d37b91ffebeab2a267fed6cce847388f5686c (main) Commit message: "feat!: Remove ZeroMQ MessageBus capability (#210)" > 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 ac8d37b91ffebeab2a267fed6cce847388f5686c # timeout=10 > git rev-list --no-walk 939f05dc904f698a3240c8a4fd92233c39c26988 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T21:05:26.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T21:05:26.845Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T21:05:26.858Z] ========================================================= [2023-01-10T21:05:26.858Z] EdgeX Global Pipelines Version Info [2023-01-10T21:05:26.858Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:05:27.558Z] ------------------- [2023-01-10T21:05:27.558Z] stable info: [2023-01-10T21:05:27.558Z] ------------------- [2023-01-10T21:05:27.558Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T21:05:27.558Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:05:27.558Z] Message: update stable to v1.0.244 [2023-01-10T21:05:28.126Z] ------------------- [2023-01-10T21:05:28.126Z] experimental info: [2023-01-10T21:05:28.126Z] ------------------- [2023-01-10T21:05:28.126Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T21:05:28.126Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:05:28.126Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T21:05:28.281Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-01-10T21:05:28.290Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-01-10T21:05:28.298Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T21:05:28.306Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T21:05:28.314Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T21:05:28.327Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T21:05:28.339Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T21:05:28.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T21:05:28.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T21:05:28.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T21:05:28.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T21:05:28.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-01-10T21:05:28.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T21:05:28.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T21:05:28.445Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:05:28.464Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:05:28.481Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:05:28.495Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:05:28.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T21:05:28.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T21:05:28.530Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T21:05:28.549Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T21:05:28.570Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T21:05:28.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T21:05:28.609Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T21:05:28.623Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T21:05:28.631Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T21:05:28.639Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-10T21:05:28.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-10T21:05:28.655Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-10T21:05:28.663Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac8d37b91ffebeab2a267fed6cce847388f5686c [Pipeline] echo [2023-01-10T21:05:28.671Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac8d37b [Pipeline] echo [2023-01-10T21:05:28.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:05:28.721Z] provisioning config files... [2023-01-10T21:05:28.734Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2579349810692395137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:05:29.028Z] ---> docker-login.sh [2023-01-10T21:05:29.028Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:05:29.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:29.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:29.287Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:29.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:29.287Z] [2023-01-10T21:05:29.287Z] Login Succeeded [2023-01-10T21:05:29.287Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:05:29.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:29.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:29.547Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:29.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:29.547Z] [2023-01-10T21:05:29.547Z] Login Succeeded [2023-01-10T21:05:29.547Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:05:29.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:29.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:29.547Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:29.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:29.547Z] [2023-01-10T21:05:29.547Z] Login Succeeded [2023-01-10T21:05:29.547Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:05:29.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:29.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:29.547Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:29.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:29.547Z] [2023-01-10T21:05:29.547Z] Login Succeeded [2023-01-10T21:05:29.547Z] docker.io [2023-01-10T21:05:29.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:29.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:29.806Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:29.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:29.806Z] [2023-01-10T21:05:29.806Z] Login Succeeded [2023-01-10T21:05:29.806Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:05:29.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T21:05:30.161Z] + git rev-list -1 --merges ac8d37b91ffebeab2a267fed6cce847388f5686c~1..ac8d37b91ffebeab2a267fed6cce847388f5686c [Pipeline] echo [2023-01-10T21:05:30.212Z] -----------> git rev-list -1 --merges ac8d37b91ffebeab2a267fed6cce847388f5686c~1..ac8d37b91ffebeab2a267fed6cce847388f5686c ac8d37b91ffebeab2a267fed6cce847388f5686c [false] [Pipeline] sh [2023-01-10T21:05:30.500Z] + git log --format=format:%s -1 ac8d37b91ffebeab2a267fed6cce847388f5686c [Pipeline] echo [2023-01-10T21:05:30.515Z] ========================================================= [2023-01-10T21:05:30.515Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T21:05:30.515Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:05:30.846Z] + git log --format=format:%s -1 ac8d37b91ffebeab2a267fed6cce847388f5686c [Pipeline] echo [2023-01-10T21:05:30.858Z] [semverPrep] GIT_COMMIT: ac8d37b91ffebeab2a267fed6cce847388f5686c, Commit Message: feat!: Remove ZeroMQ MessageBus capability (#210) [Pipeline] echo [2023-01-10T21:05:30.869Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T21:05:31.214Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:05:31.214Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T21:05:31.214Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T21:05:31.214Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T21:05:31.214Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T21:05:31.214Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T21:05:31.214Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:05:31.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:05:31.567Z] [2023-01-10T21:05:31.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:05:31.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:05:31.870Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T21:05:31.870Z] b85a868b505f: Pulling fs layer [2023-01-10T21:05:31.870Z] e2be974225ed: Pulling fs layer [2023-01-10T21:05:31.870Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T21:05:31.870Z] 988bab9f4d93: Pulling fs layer [2023-01-10T21:05:31.870Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T21:05:31.870Z] eaf3925da568: Pulling fs layer [2023-01-10T21:05:31.870Z] bab4dde63d76: Pulling fs layer [2023-01-10T21:05:31.870Z] bde34c3a00c8: Pulling fs layer [2023-01-10T21:05:31.870Z] b352a97aabf1: Pulling fs layer [2023-01-10T21:05:31.870Z] 4872d77fe225: Pulling fs layer [2023-01-10T21:05:31.870Z] 5851b861e8e6: Pulling fs layer [2023-01-10T21:05:31.870Z] bde34c3a00c8: Waiting [2023-01-10T21:05:31.870Z] 1469e6f7b9e6: Waiting [2023-01-10T21:05:31.870Z] eaf3925da568: Waiting [2023-01-10T21:05:31.870Z] b352a97aabf1: Waiting [2023-01-10T21:05:31.870Z] 4872d77fe225: Waiting [2023-01-10T21:05:31.870Z] 988bab9f4d93: Waiting [2023-01-10T21:05:31.870Z] e2be974225ed: Download complete [2023-01-10T21:05:31.870Z] 988bab9f4d93: Download complete [2023-01-10T21:05:32.131Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T21:05:32.131Z] 339a4e72a1f5: Download complete [2023-01-10T21:05:32.131Z] eaf3925da568: Verifying Checksum [2023-01-10T21:05:32.131Z] eaf3925da568: Download complete [2023-01-10T21:05:32.131Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T21:05:32.131Z] 1469e6f7b9e6: Download complete [2023-01-10T21:05:32.131Z] bde34c3a00c8: Download complete [2023-01-10T21:05:32.131Z] b352a97aabf1: Verifying Checksum [2023-01-10T21:05:32.131Z] b352a97aabf1: Download complete [2023-01-10T21:05:32.131Z] 4872d77fe225: Verifying Checksum [2023-01-10T21:05:32.131Z] 4872d77fe225: Download complete [2023-01-10T21:05:32.131Z] 5851b861e8e6: Download complete [2023-01-10T21:05:32.131Z] b85a868b505f: Download complete [2023-01-10T21:05:32.389Z] bab4dde63d76: Verifying Checksum [2023-01-10T21:05:32.389Z] bab4dde63d76: Download complete [2023-01-10T21:05:33.780Z] b85a868b505f: Pull complete [2023-01-10T21:05:33.780Z] e2be974225ed: Pull complete [2023-01-10T21:05:34.347Z] 339a4e72a1f5: Pull complete [2023-01-10T21:05:34.347Z] 988bab9f4d93: Pull complete [2023-01-10T21:05:34.606Z] 1469e6f7b9e6: Pull complete [2023-01-10T21:05:34.606Z] eaf3925da568: Pull complete [2023-01-10T21:05:36.510Z] bab4dde63d76: Pull complete [2023-01-10T21:05:36.510Z] bde34c3a00c8: Pull complete [2023-01-10T21:05:36.510Z] b352a97aabf1: Pull complete [2023-01-10T21:05:36.769Z] 4872d77fe225: Pull complete [2023-01-10T21:05:36.769Z] 5851b861e8e6: Pull complete [2023-01-10T21:05:36.769Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T21:05:36.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:05:36.770Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:05:36.873Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:05:36.918Z] $ 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-01-10T21:05:39.079Z] $ docker top 3cd84c6e0053ee9e91fa2e80ebb6cac5bb0be13adf41a3523863c584ac32f2ee -eo pid,comm [2023-01-10T21:05:39.128Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T21:05:39.128Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:05:39.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:05:39.165Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:05:39.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:05:39.276Z] $ docker exec 3cd84c6e0053ee9e91fa2e80ebb6cac5bb0be13adf41a3523863c584ac32f2ee ssh-agent [2023-01-10T21:05:39.375Z] SSH_AUTH_SOCK=/tmp/ssh-1chBi3yI9Z7X/agent.31 [2023-01-10T21:05:39.375Z] SSH_AGENT_PID=37 [2023-01-10T21:05:39.382Z] Running ssh-add (command line suppressed) [2023-01-10T21:05:39.498Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16985862056056155717.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16985862056056155717.key) [2023-01-10T21:05:39.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:05:39.804Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T21:05:39.823Z] $ docker exec --env ******** --env ******** 3cd84c6e0053ee9e91fa2e80ebb6cac5bb0be13adf41a3523863c584ac32f2ee ssh-agent -k [2023-01-10T21:05:39.935Z] unset SSH_AUTH_SOCK; [2023-01-10T21:05:39.936Z] unset SSH_AGENT_PID; [2023-01-10T21:05:39.936Z] echo Agent pid 37 killed; [2023-01-10T21:05:39.939Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T21:05:39.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:05:39.961Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:05:40.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:05:40.092Z] $ docker exec 3cd84c6e0053ee9e91fa2e80ebb6cac5bb0be13adf41a3523863c584ac32f2ee ssh-agent [2023-01-10T21:05:40.199Z] SSH_AUTH_SOCK=/tmp/ssh-k5jmJtca2maD/agent.69 [2023-01-10T21:05:40.199Z] SSH_AGENT_PID=76 [2023-01-10T21:05:40.204Z] Running ssh-add (command line suppressed) [2023-01-10T21:05:40.324Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16793662837341339915.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16793662837341339915.key) [2023-01-10T21:05:40.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:05:40.624Z] + git semver init [2023-01-10T21:05:40.884Z] 2023-01-10 21:05:40,802 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T21:05:40.884Z] 2023-01-10 21:05:40,802 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-01-10T21:05:40.884Z] 2023-01-10 21:05:40,803 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-01-10T21:05:40.884Z] 2023-01-10 21:05:40,803 [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-01-10T21:05:41.821Z] 2023-01-10 21:05:41,609 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-01-10T21:05:41.821Z] 2023-01-10 21:05:41,609 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-01-10T21:05:41.821Z] 2023-01-10 21:05:41,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:05:41.821Z] 2023-01-10 21:05:41,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:05:41.821Z] 3.0.0-dev.3 [Pipeline] } [2023-01-10T21:05:41.837Z] $ docker exec --env ******** --env ******** 3cd84c6e0053ee9e91fa2e80ebb6cac5bb0be13adf41a3523863c584ac32f2ee ssh-agent -k [2023-01-10T21:05:41.929Z] unset SSH_AUTH_SOCK; [2023-01-10T21:05:41.929Z] unset SSH_AGENT_PID; [2023-01-10T21:05:41.930Z] echo Agent pid 76 killed; [2023-01-10T21:05:41.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:05:42.232Z] + git semver [Pipeline] } [2023-01-10T21:05:42.509Z] $ docker stop --time=1 3cd84c6e0053ee9e91fa2e80ebb6cac5bb0be13adf41a3523863c584ac32f2ee [2023-01-10T21:05:43.800Z] $ docker rm -f --volumes 3cd84c6e0053ee9e91fa2e80ebb6cac5bb0be13adf41a3523863c584ac32f2ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:05:44.124Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T21:05:44.329Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T21:05:44.334Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.3 [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-01-10T21:05:44.518Z] provisioning config files... [2023-01-10T21:05:44.530Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config234484325961666324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:05:44.830Z] ---> docker-login.sh [2023-01-10T21:05:44.830Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:05:44.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:44.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:44.830Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:44.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:44.830Z] [2023-01-10T21:05:44.830Z] Login Succeeded [2023-01-10T21:05:44.830Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:05:44.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:44.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:44.830Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:44.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:44.830Z] [2023-01-10T21:05:44.830Z] Login Succeeded [2023-01-10T21:05:44.830Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:05:45.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:45.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:45.088Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:45.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:45.088Z] [2023-01-10T21:05:45.088Z] Login Succeeded [2023-01-10T21:05:45.088Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:05:45.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:45.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:45.088Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:45.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:45.088Z] [2023-01-10T21:05:45.088Z] Login Succeeded [2023-01-10T21:05:45.088Z] docker.io [2023-01-10T21:05:45.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:05:45.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:05:45.348Z] Configure a credential helper to remove this warning. See [2023-01-10T21:05:45.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:05:45.348Z] [2023-01-10T21:05:45.348Z] Login Succeeded [2023-01-10T21:05:45.348Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:05:45.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:05:45.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:05:45.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:05:45.452Z] ========================================================= [2023-01-10T21:05:45.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T21:05:45.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:05:45.775Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T21:05:45.775Z] Sending build context to Docker daemon 5.64MB [2023-01-10T21:05:45.775Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:05:45.775Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T21:05:46.035Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T21:05:46.035Z] 213ec9aee27d: Pulling fs layer [2023-01-10T21:05:46.035Z] 4583459ba037: Pulling fs layer [2023-01-10T21:05:46.035Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T21:05:46.035Z] 53926ce57604: Pulling fs layer [2023-01-10T21:05:46.035Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T21:05:46.035Z] 22ff95d597cd: Pulling fs layer [2023-01-10T21:05:46.035Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T21:05:46.035Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T21:05:46.035Z] a7acece74701: Pulling fs layer [2023-01-10T21:05:46.035Z] 53926ce57604: Waiting [2023-01-10T21:05:46.035Z] 96b7cbca73a9: Waiting [2023-01-10T21:05:46.035Z] a7acece74701: Waiting [2023-01-10T21:05:46.035Z] 21b2b0c7a3f4: Waiting [2023-01-10T21:05:46.035Z] 12d6caf4c0d1: Waiting [2023-01-10T21:05:46.035Z] 93c1e223e6f2: Download complete [2023-01-10T21:05:46.035Z] 4583459ba037: Download complete [2023-01-10T21:05:46.035Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T21:05:46.035Z] 21b2b0c7a3f4: Download complete [2023-01-10T21:05:46.035Z] 22ff95d597cd: Verifying Checksum [2023-01-10T21:05:46.035Z] 22ff95d597cd: Download complete [2023-01-10T21:05:46.035Z] 213ec9aee27d: Verifying Checksum [2023-01-10T21:05:46.035Z] 213ec9aee27d: Download complete [2023-01-10T21:05:46.035Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T21:05:46.035Z] 12d6caf4c0d1: Download complete [2023-01-10T21:05:46.035Z] 213ec9aee27d: Pull complete [2023-01-10T21:05:46.298Z] 4583459ba037: Pull complete [2023-01-10T21:05:46.298Z] 93c1e223e6f2: Pull complete [2023-01-10T21:05:46.892Z] a7acece74701: Verifying Checksum [2023-01-10T21:05:46.892Z] a7acece74701: Download complete [2023-01-10T21:05:46.892Z] 53926ce57604: Verifying Checksum [2023-01-10T21:05:46.892Z] 53926ce57604: Download complete [2023-01-10T21:05:47.151Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T21:05:47.151Z] 96b7cbca73a9: Download complete [2023-01-10T21:05:51.345Z] 53926ce57604: Pull complete [2023-01-10T21:05:51.345Z] 21b2b0c7a3f4: Pull complete [2023-01-10T21:05:51.345Z] 22ff95d597cd: Pull complete [2023-01-10T21:05:51.345Z] 12d6caf4c0d1: Pull complete [2023-01-10T21:05:53.254Z] 96b7cbca73a9: Pull complete [2023-01-10T21:05:53.821Z] a7acece74701: Pull complete [2023-01-10T21:05:53.821Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T21:05:53.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T21:05:53.821Z] ---> db6d94c90886 [2023-01-10T21:05:53.821Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:05:57.109Z] ---> Running in c242859c0e7c [2023-01-10T21:05:57.368Z] Removing intermediate container c242859c0e7c [2023-01-10T21:05:57.368Z] ---> 875af384d9bf [2023-01-10T21:05:57.368Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:05:57.368Z] ---> Running in e9d70dbcb6e7 [2023-01-10T21:05:57.368Z] Removing intermediate container e9d70dbcb6e7 [2023-01-10T21:05:57.368Z] ---> e6d8ec5c47df [2023-01-10T21:05:57.368Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T21:05:57.368Z] ---> Running in 6ae25f291548 [2023-01-10T21:05:57.628Z] Removing intermediate container 6ae25f291548 [2023-01-10T21:05:57.628Z] ---> e6744cb0542e [2023-01-10T21:05:57.628Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:05:57.628Z] ---> Running in 59e3badca88b [2023-01-10T21:05:57.628Z] Removing intermediate container 59e3badca88b [2023-01-10T21:05:57.628Z] ---> 10dd9567e86e [2023-01-10T21:05:57.628Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:05:57.628Z] ---> Running in 1b113d8b422f [2023-01-10T21:05:57.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:05:58.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:05:58.403Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T21:05:58.403Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T21:05:58.403Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T21:05:58.403Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T21:05:58.403Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:05:58.403Z] OK: 216 MiB in 55 packages [2023-01-10T21:05:58.976Z] Removing intermediate container 1b113d8b422f [2023-01-10T21:05:58.976Z] ---> 9c3b75fe3709 [2023-01-10T21:05:58.976Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-10T21:05:58.976Z] ---> Running in 9e16435b1e4f [2023-01-10T21:05:58.976Z] Removing intermediate container 9e16435b1e4f [2023-01-10T21:05:58.976Z] ---> c369b54ba623 [2023-01-10T21:05:58.976Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T21:05:58.976Z] ---> 19f10b8cf882 [2023-01-10T21:05:58.976Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:05:58.976Z] ---> Running in 9a4ae21432fa [2023-01-10T21:05:59.457Z] Still waiting to schedule task [2023-01-10T21:05:59.458Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T21:06:25.617Z] Removing intermediate container 9a4ae21432fa [2023-01-10T21:06:25.617Z] ---> 24154a201e43 [2023-01-10T21:06:25.617Z] Step 11/12 : COPY . . [2023-01-10T21:06:25.617Z] ---> dc277c38664c [2023-01-10T21:06:25.617Z] Step 12/12 : RUN ${MAKE} [2023-01-10T21:06:25.617Z] ---> Running in 4405a54a7e5e [2023-01-10T21:06:25.617Z] noop [2023-01-10T21:06:25.617Z] Removing intermediate container 4405a54a7e5e [2023-01-10T21:06:25.617Z] ---> e0ed8e877aa0 [2023-01-10T21:06:25.617Z] Successfully built e0ed8e877aa0 [2023-01-10T21:06:25.617Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:06:25.928Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:06:25.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:06:26.012Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:06:26.061Z] $ 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-01-10T21:06:26.432Z] $ docker top d5a84b8fa1cac8c4bce2fe73504b652006a6a70dc4a2e6727ce6e03ca206125e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:06:26.781Z] + go version [2023-01-10T21:06:26.781Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T21:06:26.792Z] $ docker stop --time=1 d5a84b8fa1cac8c4bce2fe73504b652006a6a70dc4a2e6727ce6e03ca206125e [2023-01-10T21:06:28.052Z] $ docker rm -f --volumes d5a84b8fa1cac8c4bce2fe73504b652006a6a70dc4a2e6727ce6e03ca206125e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:06:28.460Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:06:28.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:06:28.537Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:06:28.567Z] $ 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-01-10T21:06:28.925Z] $ docker top ca9befa0bad63c2a6157513354c2f30fbd65a8e7d034803c693e42611c3c8f40 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:06:29.270Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:06:29.567Z] + make test [2023-01-10T21:06:29.567Z] go test ./... -coverprofile=coverage.out [2023-01-10T21:06:30.132Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-10T21:06:40.098Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-10T21:06:40.098Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-01-10T21:06:46.664Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-10T21:06:46.664Z] go vet ./... [2023-01-10T21:06:49.948Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:06:49.948Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:06:49.948Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:06:49.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:06:49.973Z] $ docker stop --time=1 ca9befa0bad63c2a6157513354c2f30fbd65a8e7d034803c693e42611c3c8f40 [2023-01-10T21:06:52.348Z] $ docker rm -f --volumes ca9befa0bad63c2a6157513354c2f30fbd65a8e7d034803c693e42611c3c8f40 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:06:52.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:06:52.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T21:06:53.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:06:53.530Z] + ls -al . [2023-01-10T21:06:53.530Z] total 180 [2023-01-10T21:06:53.530Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:06 . [2023-01-10T21:06:53.530Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:05 .. [2023-01-10T21:06:53.530Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 21:05 .dockerignore [2023-01-10T21:06:53.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:06 .git [2023-01-10T21:06:53.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:05 .github [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 21:05 .gitignore [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:05 .golangci.yml [2023-01-10T21:06:53.531Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:05 .semver [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 10 21:05 Attribution.txt [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 21:05 CHANGELOG.md [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 10 21:05 Dockerfile [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:05 GOVERNANCE.md [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 21:05 Jenkinsfile [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:05 LICENSE [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 10 21:05 Makefile [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 21:05 OWNERS.md [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 21:05 README.md [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 21:05 VERSION [2023-01-10T21:06:53.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:05 bin [2023-01-10T21:06:53.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:05 cmd [2023-01-10T21:06:53.531Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 21:06 coverage.out [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 21:05 go.mod [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 21:05 go.sum [2023-01-10T21:06:53.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:05 internal [2023-01-10T21:06:53.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:05 snap [2023-01-10T21:06:53.531Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:06:53.863Z] + 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=ac8d37b91ffebeab2a267fed6cce847388f5686c --label arch=amd64 --label version=3.0.0-dev.3 . [2023-01-10T21:06:53.863Z] Sending build context to Docker daemon 5.648MB [2023-01-10T21:06:53.863Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:06:53.863Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-10T21:06:53.863Z] ---> e0ed8e877aa0 [2023-01-10T21:06:53.863Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:06:53.863Z] ---> Running in 59ca8d3efb7f [2023-01-10T21:06:54.137Z] Removing intermediate container 59ca8d3efb7f [2023-01-10T21:06:54.137Z] ---> 2b82784c9efa [2023-01-10T21:06:54.137Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:06:54.137Z] ---> Running in 4c423fc0a68c [2023-01-10T21:06:54.137Z] Removing intermediate container 4c423fc0a68c [2023-01-10T21:06:54.137Z] ---> e0d3477d11b5 [2023-01-10T21:06:54.137Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T21:06:54.137Z] ---> Running in 4f318366b113 [2023-01-10T21:06:54.137Z] Removing intermediate container 4f318366b113 [2023-01-10T21:06:54.137Z] ---> 7316ae706646 [2023-01-10T21:06:54.137Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:06:54.137Z] ---> Running in ad030e1502a7 [2023-01-10T21:06:54.406Z] Removing intermediate container ad030e1502a7 [2023-01-10T21:06:54.406Z] ---> 1b7ad34fa172 [2023-01-10T21:06:54.406Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:06:54.406Z] ---> Running in c70f21dbf23e [2023-01-10T21:06:54.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:06:54.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:06:54.925Z] OK: 216 MiB in 55 packages [2023-01-10T21:06:55.491Z] Removing intermediate container c70f21dbf23e [2023-01-10T21:06:55.491Z] ---> 67c69f48c4c1 [2023-01-10T21:06:55.491Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-10T21:06:55.491Z] ---> Running in dc7c780f392e [2023-01-10T21:06:55.491Z] Removing intermediate container dc7c780f392e [2023-01-10T21:06:55.491Z] ---> 4f48d5e92111 [2023-01-10T21:06:55.491Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-10T21:06:55.491Z] ---> 01da556f9795 [2023-01-10T21:06:55.491Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:06:55.491Z] ---> Running in dc58bee94a87 [2023-01-10T21:06:56.466Z] Removing intermediate container dc58bee94a87 [2023-01-10T21:06:56.466Z] ---> 46a8380b211c [2023-01-10T21:06:56.466Z] Step 11/24 : COPY . . [2023-01-10T21:06:56.725Z] ---> cdf5289c8ae6 [2023-01-10T21:06:56.725Z] Step 12/24 : RUN ${MAKE} [2023-01-10T21:06:56.725Z] ---> Running in efd2a59f22f6 [2023-01-10T21:06:56.984Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.3" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-10T21:07:18.968Z] Removing intermediate container efd2a59f22f6 [2023-01-10T21:07:18.968Z] ---> 2dee3f2c6ac9 [2023-01-10T21:07:18.968Z] Step 13/24 : FROM alpine:3.16 [2023-01-10T21:07:18.968Z] 3.16: Pulling from library/alpine [2023-01-10T21:07:18.968Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T21:07:18.968Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T21:07:18.968Z] ca7dd9ec2225: Download complete [2023-01-10T21:07:18.968Z] ca7dd9ec2225: Pull complete [2023-01-10T21:07:18.968Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T21:07:18.968Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T21:07:18.968Z] ---> bfe296a52501 [2023-01-10T21:07:18.968Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-10T21:07:18.968Z] ---> Running in 3cc5574c73d0 [2023-01-10T21:07:18.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:07:18.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:07:18.968Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T21:07:18.968Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:07:18.968Z] OK: 6 MiB in 15 packages [2023-01-10T21:07:18.968Z] Removing intermediate container 3cc5574c73d0 [2023-01-10T21:07:18.968Z] ---> eaa8e3ddcd39 [2023-01-10T21:07:18.968Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-10T21:07:18.968Z] ---> e62a90a4f0a3 [2023-01-10T21:07:18.968Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-10T21:07:18.968Z] ---> b07482c3f6fb [2023-01-10T21:07:18.968Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-10T21:07:18.968Z] ---> a42290a1a2cb [2023-01-10T21:07:18.968Z] Step 18/24 : EXPOSE 59993 [2023-01-10T21:07:18.968Z] ---> Running in ed0569c78d16 [2023-01-10T21:07:19.228Z] Removing intermediate container ed0569c78d16 [2023-01-10T21:07:19.228Z] ---> 63ce19165f2b [2023-01-10T21:07:19.228Z] Step 19/24 : EXPOSE 161 [2023-01-10T21:07:19.228Z] ---> Running in a225681ed799 [2023-01-10T21:07:19.228Z] Removing intermediate container a225681ed799 [2023-01-10T21:07:19.228Z] ---> 9f82fb43b1a7 [2023-01-10T21:07:19.228Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-10T21:07:19.228Z] ---> Running in 439d63f137da [2023-01-10T21:07:19.228Z] Removing intermediate container 439d63f137da [2023-01-10T21:07:19.228Z] ---> f924bfb5318f [2023-01-10T21:07:19.228Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T21:07:19.228Z] ---> Running in 6024f9349069 [2023-01-10T21:07:19.492Z] Removing intermediate container 6024f9349069 [2023-01-10T21:07:19.492Z] ---> 45b0f6d5e7ee [2023-01-10T21:07:19.492Z] Step 22/24 : LABEL arch=amd64 [2023-01-10T21:07:19.492Z] ---> Running in 67b2fc435711 [2023-01-10T21:07:19.492Z] Removing intermediate container 67b2fc435711 [2023-01-10T21:07:19.492Z] ---> 20b7be76f5d5 [2023-01-10T21:07:19.492Z] Step 23/24 : LABEL git_sha=ac8d37b91ffebeab2a267fed6cce847388f5686c [2023-01-10T21:07:19.492Z] ---> Running in c9a69e57de68 [2023-01-10T21:07:19.492Z] Removing intermediate container c9a69e57de68 [2023-01-10T21:07:19.492Z] ---> a1a9b680d5f1 [2023-01-10T21:07:19.492Z] Step 24/24 : LABEL version=3.0.0-dev.3 [2023-01-10T21:07:19.750Z] ---> Running in a817822c8930 [2023-01-10T21:07:19.750Z] Removing intermediate container a817822c8930 [2023-01-10T21:07:19.750Z] ---> 24b773fdcc82 [2023-01-10T21:07:19.750Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:07:19.750Z] Successfully built 24b773fdcc82 [2023-01-10T21:07:19.750Z] 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-01-10T21:07:19.867Z] provisioning config files... [2023-01-10T21:07:19.875Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15303596187196742538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:07:20.173Z] ---> docker-login.sh [2023-01-10T21:07:20.173Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:07:20.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:07:20.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:07:20.173Z] Configure a credential helper to remove this warning. See [2023-01-10T21:07:20.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:07:20.173Z] [2023-01-10T21:07:20.173Z] Login Succeeded [2023-01-10T21:07:20.173Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:07:20.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:07:20.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:07:20.173Z] Configure a credential helper to remove this warning. See [2023-01-10T21:07:20.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:07:20.173Z] [2023-01-10T21:07:20.173Z] Login Succeeded [2023-01-10T21:07:20.173Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:07:20.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:07:20.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:07:20.454Z] Configure a credential helper to remove this warning. See [2023-01-10T21:07:20.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:07:20.454Z] [2023-01-10T21:07:20.454Z] Login Succeeded [2023-01-10T21:07:20.454Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:07:20.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:07:20.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:07:20.454Z] Configure a credential helper to remove this warning. See [2023-01-10T21:07:20.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:07:20.454Z] [2023-01-10T21:07:20.454Z] Login Succeeded [2023-01-10T21:07:20.454Z] docker.io [2023-01-10T21:07:20.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:07:20.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:07:20.729Z] Configure a credential helper to remove this warning. See [2023-01-10T21:07:20.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:07:20.729Z] [2023-01-10T21:07:20.729Z] Login Succeeded [2023-01-10T21:07:20.729Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:07:20.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:07:20.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:07:20.811Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-01-10T21:07:20.811Z] ac8d37b91ffebeab2a267fed6cce847388f5686c [2023-01-10T21:07:20.811Z] latest [2023-01-10T21:07:20.811Z] 3.0.0-dev.3 [2023-01-10T21:07:20.811Z] ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3 [2023-01-10T21:07:20.811Z] main [2023-01-10T21:07:20.811Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:21.163Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:ac8d37b91ffebeab2a267fed6cce847388f5686c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:21.502Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:ac8d37b91ffebeab2a267fed6cce847388f5686c [2023-01-10T21:07:21.502Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-10T21:07:21.502Z] 6b92774e9f39: Preparing [2023-01-10T21:07:21.502Z] 345dda4dff5b: Preparing [2023-01-10T21:07:21.502Z] ea1a1c81281d: Preparing [2023-01-10T21:07:21.502Z] cc9ad4da476d: Preparing [2023-01-10T21:07:21.502Z] e5e13b0c77cb: Preparing [2023-01-10T21:07:21.502Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:07:21.502Z] 345dda4dff5b: Pushed [2023-01-10T21:07:21.502Z] 6b92774e9f39: Pushed [2023-01-10T21:07:21.502Z] cc9ad4da476d: Pushed [2023-01-10T21:07:24.031Z] ea1a1c81281d: Pushed [2023-01-10T21:07:24.032Z] ac8d37b91ffebeab2a267fed6cce847388f5686c: digest: sha256:9eae0ec2f542b3ac56e2347ab629d50d3a9ef40c994e0c67b35db506352a931b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:24.351Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:24.659Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-01-10T21:07:24.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-10T21:07:24.659Z] 6b92774e9f39: Preparing [2023-01-10T21:07:24.659Z] 345dda4dff5b: Preparing [2023-01-10T21:07:24.659Z] ea1a1c81281d: Preparing [2023-01-10T21:07:24.659Z] cc9ad4da476d: Preparing [2023-01-10T21:07:24.659Z] e5e13b0c77cb: Preparing [2023-01-10T21:07:24.659Z] ea1a1c81281d: Layer already exists [2023-01-10T21:07:24.659Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:07:24.659Z] 345dda4dff5b: Layer already exists [2023-01-10T21:07:24.659Z] 6b92774e9f39: Layer already exists [2023-01-10T21:07:24.659Z] cc9ad4da476d: Layer already exists [2023-01-10T21:07:24.659Z] latest: digest: sha256:9eae0ec2f542b3ac56e2347ab629d50d3a9ef40c994e0c67b35db506352a931b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:24.986Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:25.302Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.3 [2023-01-10T21:07:25.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-10T21:07:25.302Z] 6b92774e9f39: Preparing [2023-01-10T21:07:25.302Z] 345dda4dff5b: Preparing [2023-01-10T21:07:25.302Z] ea1a1c81281d: Preparing [2023-01-10T21:07:25.302Z] cc9ad4da476d: Preparing [2023-01-10T21:07:25.302Z] e5e13b0c77cb: Preparing [2023-01-10T21:07:25.302Z] 6b92774e9f39: Layer already exists [2023-01-10T21:07:25.302Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:07:25.302Z] cc9ad4da476d: Layer already exists [2023-01-10T21:07:25.302Z] 345dda4dff5b: Layer already exists [2023-01-10T21:07:25.302Z] ea1a1c81281d: Layer already exists [2023-01-10T21:07:25.302Z] 3.0.0-dev.3: digest: sha256:9eae0ec2f542b3ac56e2347ab629d50d3a9ef40c994e0c67b35db506352a931b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:25.616Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:25.927Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3 [2023-01-10T21:07:25.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-10T21:07:25.927Z] 6b92774e9f39: Preparing [2023-01-10T21:07:25.927Z] 345dda4dff5b: Preparing [2023-01-10T21:07:25.927Z] ea1a1c81281d: Preparing [2023-01-10T21:07:25.927Z] cc9ad4da476d: Preparing [2023-01-10T21:07:25.927Z] e5e13b0c77cb: Preparing [2023-01-10T21:07:25.927Z] 6b92774e9f39: Layer already exists [2023-01-10T21:07:25.927Z] cc9ad4da476d: Layer already exists [2023-01-10T21:07:25.927Z] ea1a1c81281d: Layer already exists [2023-01-10T21:07:25.927Z] 345dda4dff5b: Layer already exists [2023-01-10T21:07:25.927Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:07:25.927Z] ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3: digest: sha256:9eae0ec2f542b3ac56e2347ab629d50d3a9ef40c994e0c67b35db506352a931b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:26.241Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:26.545Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-01-10T21:07:26.545Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-10T21:07:26.545Z] 6b92774e9f39: Preparing [2023-01-10T21:07:26.545Z] 345dda4dff5b: Preparing [2023-01-10T21:07:26.545Z] ea1a1c81281d: Preparing [2023-01-10T21:07:26.545Z] cc9ad4da476d: Preparing [2023-01-10T21:07:26.545Z] e5e13b0c77cb: Preparing [2023-01-10T21:07:26.545Z] ea1a1c81281d: Layer already exists [2023-01-10T21:07:26.545Z] 345dda4dff5b: Layer already exists [2023-01-10T21:07:26.545Z] e5e13b0c77cb: Layer already exists [2023-01-10T21:07:26.545Z] cc9ad4da476d: Layer already exists [2023-01-10T21:07:26.545Z] 6b92774e9f39: Layer already exists [2023-01-10T21:07:26.545Z] main: digest: sha256:9eae0ec2f542b3ac56e2347ab629d50d3a9ef40c994e0c67b35db506352a931b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:07:26.592Z] ===================================================== [Pipeline] echo [2023-01-10T21:07:26.602Z] taggedImages: [2023-01-10T21:07:26.602Z] - nexus3.edgexfoundry.org:10004/device-snmp:ac8d37b91ffebeab2a267fed6cce847388f5686c [2023-01-10T21:07:26.602Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-01-10T21:07:26.602Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.3 [2023-01-10T21:07:26.602Z] - nexus3.edgexfoundry.org:10004/device-snmp:ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3 [2023-01-10T21:07:26.602Z] - 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-01-10T21:07:27.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:07:27.021Z] [2023-01-10T21:07:27.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:27.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:07:27.320Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T21:07:27.320Z] 5eb5b503b376: Pulling fs layer [2023-01-10T21:07:27.320Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T21:07:27.320Z] ec43610c2a17: Pulling fs layer [2023-01-10T21:07:27.320Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T21:07:27.320Z] 33b1e0a273af: Pulling fs layer [2023-01-10T21:07:27.320Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T21:07:27.320Z] 2f39f015ded8: Pulling fs layer [2023-01-10T21:07:27.320Z] 33b1e0a273af: Waiting [2023-01-10T21:07:27.320Z] 5d3b04190fa2: Waiting [2023-01-10T21:07:27.320Z] 2f39f015ded8: Waiting [2023-01-10T21:07:27.320Z] 3a2ae6a8a46f: Waiting [2023-01-10T21:07:27.320Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T21:07:27.320Z] 5c69ac0246d0: Download complete [2023-01-10T21:07:27.320Z] 3a2ae6a8a46f: Download complete [2023-01-10T21:07:27.578Z] 33b1e0a273af: Verifying Checksum [2023-01-10T21:07:27.578Z] 33b1e0a273af: Download complete [2023-01-10T21:07:27.578Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T21:07:27.578Z] 5d3b04190fa2: Download complete [2023-01-10T21:07:27.578Z] ec43610c2a17: Download complete [2023-01-10T21:07:27.578Z] 5eb5b503b376: Verifying Checksum [2023-01-10T21:07:27.578Z] 5eb5b503b376: Download complete [2023-01-10T21:07:28.143Z] 2f39f015ded8: Verifying Checksum [2023-01-10T21:07:28.143Z] 2f39f015ded8: Download complete [2023-01-10T21:07:29.076Z] 5eb5b503b376: Pull complete [2023-01-10T21:07:29.076Z] 5c69ac0246d0: Pull complete [2023-01-10T21:07:29.334Z] ec43610c2a17: Pull complete [2023-01-10T21:07:29.592Z] 3a2ae6a8a46f: Pull complete [2023-01-10T21:07:29.849Z] 33b1e0a273af: Pull complete [2023-01-10T21:07:29.849Z] 5d3b04190fa2: Pull complete [2023-01-10T21:07:34.033Z] 2f39f015ded8: Pull complete [2023-01-10T21:07:34.033Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T21:07:34.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:07:34.033Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:07:34.111Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:07:34.136Z] $ 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-01-10T21:07:36.782Z] $ docker top 23eaf8ceabd552e69bab2d6022631fe99b7966249266a591d33bf08d01577169 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:07:37.165Z] ---> job-cost.sh [2023-01-10T21:07:37.165Z] lf-activate-venv: SKIPPING [2023-01-10T21:07:37.165Z] INFO: No Stack... [2023-01-10T21:07:37.423Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T21:07:37.682Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:07:37.974Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-01-10T21:07:37.974Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T21:07:37.990Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-59-stack-cost] [2023-01-10T21:07:37.996Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-59-stack-cost] did not exist. Created. [2023-01-10T21:07:37.996Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:07:38.296Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T21:07:38.325Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:07:38.331Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:07:38.347Z] $ docker stop --time=1 23eaf8ceabd552e69bab2d6022631fe99b7966249266a591d33bf08d01577169 [2023-01-10T21:07:39.508Z] $ docker rm -f --volumes 23eaf8ceabd552e69bab2d6022631fe99b7966249266a591d33bf08d01577169 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T21:08:35.642Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1679 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-01-10T21:08:35.657Z] Running in /w/workspace/device-snmp-go/59 [Pipeline] { [Pipeline] checkout [2023-01-10T21:08:35.687Z] Selected Git installation does not exist. Using Default [2023-01-10T21:08:35.687Z] The recommended git tool is: NONE [2023-01-10T21:08:42.269Z] using credential edgex-jenkins-ssh [2023-01-10T21:08:42.316Z] Cloning the remote Git repository [2023-01-10T21:08:42.387Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-01-10T21:08:42.505Z] > git init /w/workspace/device-snmp-go/59 # timeout=10 [2023-01-10T21:08:42.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-10T21:08:42.743Z] > git --version # timeout=10 [2023-01-10T21:08:42.771Z] > git --version # 'git version 2.25.1' [2023-01-10T21:08:42.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T21:08:42.874Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T21:08:43.987Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-10T21:08:44.009Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T21:08:45.134Z] Avoid second fetch [2023-01-10T21:08:45.135Z] Checking out Revision ac8d37b91ffebeab2a267fed6cce847388f5686c (main) [2023-01-10T21:08:45.773Z] Commit message: "feat!: Remove ZeroMQ MessageBus capability (#210)" [2023-01-10T21:08:45.162Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T21:08:45.186Z] > git checkout -f ac8d37b91ffebeab2a267fed6cce847388f5686c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:08:46.759Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T21:08:46.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:08:46.759Z] Dload Upload Total Spent Left Speed [2023-01-10T21:08:46.759Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67465 0 --:--:-- --:--:-- --:--:-- 67465 [Pipeline] sh [2023-01-10T21:08:47.332Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T21:08:47.671Z] + sudo tee /etc/docker/daemon.new [2023-01-10T21:08:47.671Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T21:08:47.671Z] { [2023-01-10T21:08:47.671Z] "registry-mirrors": [ [2023-01-10T21:08:47.671Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T21:08:47.671Z] ], [2023-01-10T21:08:47.671Z] "bip": "10.250.0.254/24", [2023-01-10T21:08:47.671Z] "hosts": [ [2023-01-10T21:08:47.671Z] "tcp://0.0.0.0:5555", [2023-01-10T21:08:47.671Z] "unix:///var/run/docker.sock" [2023-01-10T21:08:47.671Z] ], [2023-01-10T21:08:47.671Z] "mtu": 1458, [2023-01-10T21:08:47.671Z] "selinux-enabled": true, [2023-01-10T21:08:47.671Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T21:08:47.671Z] } [Pipeline] sh [2023-01-10T21:08:48.039Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T21:08:48.406Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:09:06.752Z] provisioning config files... [2023-01-10T21:09:06.789Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/59@tmp/config1357405234126482013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:09:07.171Z] ---> docker-login.sh [2023-01-10T21:09:07.171Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:09:07.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:09:08.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:09:08.051Z] Configure a credential helper to remove this warning. See [2023-01-10T21:09:08.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:09:08.051Z] [2023-01-10T21:09:08.051Z] Login Succeeded [2023-01-10T21:09:08.051Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:09:08.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:09:08.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:09:08.326Z] Configure a credential helper to remove this warning. See [2023-01-10T21:09:08.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:09:08.326Z] [2023-01-10T21:09:08.326Z] Login Succeeded [2023-01-10T21:09:08.326Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:09:08.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:09:08.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:09:08.877Z] Configure a credential helper to remove this warning. See [2023-01-10T21:09:08.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:09:08.877Z] [2023-01-10T21:09:08.877Z] Login Succeeded [2023-01-10T21:09:08.877Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:09:09.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:09:09.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:09:09.425Z] Configure a credential helper to remove this warning. See [2023-01-10T21:09:09.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:09:09.425Z] [2023-01-10T21:09:09.425Z] Login Succeeded [2023-01-10T21:09:09.425Z] docker.io [2023-01-10T21:09:09.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:09:09.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:09:09.972Z] Configure a credential helper to remove this warning. See [2023-01-10T21:09:09.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:09:09.972Z] [2023-01-10T21:09:09.972Z] Login Succeeded [2023-01-10T21:09:09.972Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:09:09.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:09:10.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:09:10.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:09:10.390Z] ========================================================= [2023-01-10T21:09:10.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T21:09:10.390Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:09:10.774Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T21:09:11.047Z] Sending build context to Docker daemon 2.918MB [2023-01-10T21:09:11.047Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:09:11.047Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T21:09:11.321Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T21:09:11.321Z] 9b18e9b68314: Pulling fs layer [2023-01-10T21:09:11.321Z] 35d82f9e3411: Pulling fs layer [2023-01-10T21:09:11.321Z] e16973657156: Pulling fs layer [2023-01-10T21:09:11.321Z] fc693d55d65f: Pulling fs layer [2023-01-10T21:09:11.321Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T21:09:11.321Z] dda99020689f: Pulling fs layer [2023-01-10T21:09:11.321Z] db1c61fa0a46: Pulling fs layer [2023-01-10T21:09:11.321Z] 891c053d2c06: Pulling fs layer [2023-01-10T21:09:11.321Z] db1c61fa0a46: Waiting [2023-01-10T21:09:11.321Z] fc693d55d65f: Waiting [2023-01-10T21:09:11.321Z] 891c053d2c06: Waiting [2023-01-10T21:09:11.321Z] 7e9fc2657dce: Waiting [2023-01-10T21:09:11.321Z] dda99020689f: Waiting [2023-01-10T21:09:11.321Z] e16973657156: Verifying Checksum [2023-01-10T21:09:11.321Z] e16973657156: Download complete [2023-01-10T21:09:11.321Z] 35d82f9e3411: Download complete [2023-01-10T21:09:11.321Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T21:09:11.321Z] 7e9fc2657dce: Download complete [2023-01-10T21:09:11.594Z] dda99020689f: Verifying Checksum [2023-01-10T21:09:11.594Z] dda99020689f: Download complete [2023-01-10T21:09:11.594Z] 9b18e9b68314: Verifying Checksum [2023-01-10T21:09:11.594Z] 9b18e9b68314: Download complete [2023-01-10T21:09:12.621Z] 891c053d2c06: Verifying Checksum [2023-01-10T21:09:12.621Z] 891c053d2c06: Download complete [2023-01-10T21:09:13.225Z] 9b18e9b68314: Pull complete [2023-01-10T21:09:13.837Z] 35d82f9e3411: Pull complete [2023-01-10T21:09:14.113Z] db1c61fa0a46: Verifying Checksum [2023-01-10T21:09:14.113Z] db1c61fa0a46: Download complete [2023-01-10T21:09:14.113Z] e16973657156: Pull complete [2023-01-10T21:09:14.707Z] fc693d55d65f: Verifying Checksum [2023-01-10T21:09:14.707Z] fc693d55d65f: Download complete [2023-01-10T21:09:27.059Z] fc693d55d65f: Pull complete [2023-01-10T21:09:27.059Z] 7e9fc2657dce: Pull complete [2023-01-10T21:09:27.059Z] dda99020689f: Pull complete [2023-01-10T21:09:33.760Z] db1c61fa0a46: Pull complete [2023-01-10T21:09:34.734Z] 891c053d2c06: Pull complete [2023-01-10T21:09:34.734Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T21:09:34.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T21:09:34.734Z] ---> f96f9c87975a [2023-01-10T21:09:34.734Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:09:35.716Z] ---> Running in 48022be68900 [2023-01-10T21:09:36.039Z] Removing intermediate container 48022be68900 [2023-01-10T21:09:36.039Z] ---> c3a78964c5ca [2023-01-10T21:09:36.039Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:09:36.039Z] ---> Running in e9863de553e7 [2023-01-10T21:09:36.321Z] Removing intermediate container e9863de553e7 [2023-01-10T21:09:36.321Z] ---> a99f457c2a6b [2023-01-10T21:09:36.321Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T21:09:36.612Z] ---> Running in 35a7cd71143c [2023-01-10T21:09:36.890Z] Removing intermediate container 35a7cd71143c [2023-01-10T21:09:36.890Z] ---> 4d5d00aa096a [2023-01-10T21:09:36.890Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:09:37.182Z] ---> Running in b7ddbfe8b03c [2023-01-10T21:09:37.451Z] Removing intermediate container b7ddbfe8b03c [2023-01-10T21:09:37.451Z] ---> 20641692be6b [2023-01-10T21:09:37.451Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:09:37.451Z] ---> Running in f050d2c84907 [2023-01-10T21:09:38.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:09:39.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:09:40.583Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T21:09:40.583Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T21:09:40.583Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T21:09:40.583Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T21:09:40.583Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:09:40.583Z] OK: 226 MiB in 55 packages [2023-01-10T21:09:41.567Z] Removing intermediate container f050d2c84907 [2023-01-10T21:09:41.567Z] ---> e21c3a343ea4 [2023-01-10T21:09:41.567Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-10T21:09:41.856Z] ---> Running in 0946e89af014 [2023-01-10T21:09:42.130Z] Removing intermediate container 0946e89af014 [2023-01-10T21:09:42.130Z] ---> 5960832ebea5 [2023-01-10T21:09:42.130Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T21:09:42.738Z] ---> dd3800fd3e2b [2023-01-10T21:09:42.738Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:09:42.738Z] ---> Running in 6d9afd831813 [2023-01-10T21:10:50.661Z] Removing intermediate container 6d9afd831813 [2023-01-10T21:10:50.661Z] ---> 7698a0408120 [2023-01-10T21:10:50.661Z] Step 11/12 : COPY . . [2023-01-10T21:10:50.661Z] ---> ad003282b4c8 [2023-01-10T21:10:50.661Z] Step 12/12 : RUN ${MAKE} [2023-01-10T21:10:50.661Z] ---> Running in 657be9439089 [2023-01-10T21:10:50.661Z] noop [2023-01-10T21:10:50.661Z] Removing intermediate container 657be9439089 [2023-01-10T21:10:50.661Z] ---> 94cb9bf9942f [2023-01-10T21:10:50.661Z] Successfully built 94cb9bf9942f [2023-01-10T21:10:50.661Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:10:51.017Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:10:51.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:10:51.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-1679 does not seem to be running inside a container [2023-01-10T21:10:51.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/59 -v /w/workspace/device-snmp-go/59:/w/workspace/device-snmp-go/59:rw,z -v /w/workspace/device-snmp-go/59@tmp:/w/workspace/device-snmp-go/59@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-01-10T21:10:52.644Z] $ docker top 78bd4579051e39e201c23feb1fc1b1bba7cea3058114cdaeb4995c3f964ec351 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:10:53.494Z] + go version [2023-01-10T21:10:53.494Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T21:10:53.521Z] $ docker stop --time=1 78bd4579051e39e201c23feb1fc1b1bba7cea3058114cdaeb4995c3f964ec351 [2023-01-10T21:10:55.526Z] $ docker rm -f --volumes 78bd4579051e39e201c23feb1fc1b1bba7cea3058114cdaeb4995c3f964ec351 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:10:56.073Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:10:56.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:10:56.268Z] prd-ubuntu20.04-docker-arm64-4c-16g-1679 does not seem to be running inside a container [2023-01-10T21:10:56.348Z] $ 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/59 -v /w/workspace/device-snmp-go/59:/w/workspace/device-snmp-go/59:rw,z -v /w/workspace/device-snmp-go/59@tmp:/w/workspace/device-snmp-go/59@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-01-10T21:10:57.720Z] $ docker top 760d1ae243a019606d4b147b98b1b085b15f4edca5ac595d844b1a3df331d15f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:10:58.562Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/59 [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:10:59.210Z] + make test [2023-01-10T21:10:59.210Z] go test ./... -coverprofile=coverage.out [2023-01-10T21:11:00.629Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-10T21:12:37.334Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-10T21:12:37.334Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.067s coverage: 0.0% of statements [2023-01-10T21:12:37.334Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T21:12:37.334Z] go vet ./... [2023-01-10T21:12:55.575Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:12:55.575Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:12:55.575Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:12:55.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:12:55.609Z] $ docker stop --time=1 760d1ae243a019606d4b147b98b1b085b15f4edca5ac595d844b1a3df331d15f [2023-01-10T21:12:57.439Z] $ docker rm -f --volumes 760d1ae243a019606d4b147b98b1b085b15f4edca5ac595d844b1a3df331d15f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:12:58.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:12:58.445Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T21:12:59.041Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:12:59.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:12:59.764Z] + ls -al . [2023-01-10T21:12:59.764Z] total 176 [2023-01-10T21:12:59.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:11 . [2023-01-10T21:12:59.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:08 .. [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 10 21:08 .dockerignore [2023-01-10T21:12:59.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:08 .git [2023-01-10T21:12:59.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:08 .github [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 10 21:08 .gitignore [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:08 .golangci.yml [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 10 21:08 Attribution.txt [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 10 21:08 CHANGELOG.md [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 10 21:08 Dockerfile [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:08 GOVERNANCE.md [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 10 21:08 Jenkinsfile [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:08 LICENSE [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 10 21:08 Makefile [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 21:08 OWNERS.md [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 10 21:08 README.md [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 21:05 VERSION [2023-01-10T21:12:59.764Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:08 bin [2023-01-10T21:12:59.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:08 cmd [2023-01-10T21:12:59.764Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 10 21:12 coverage.out [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 10 21:08 go.mod [2023-01-10T21:12:59.764Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 10 21:08 go.sum [2023-01-10T21:12:59.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:08 internal [2023-01-10T21:12:59.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:08 snap [2023-01-10T21:12:59.765Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 10 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:13:00.122Z] + 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=ac8d37b91ffebeab2a267fed6cce847388f5686c --label arch=arm64 --label version=3.0.0-dev.3 . [2023-01-10T21:13:00.390Z] Sending build context to Docker daemon 2.927MB [2023-01-10T21:13:00.390Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:13:00.390Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-10T21:13:00.390Z] ---> 94cb9bf9942f [2023-01-10T21:13:00.390Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:13:00.660Z] ---> Running in 161a7bb54d5f [2023-01-10T21:13:00.927Z] Removing intermediate container 161a7bb54d5f [2023-01-10T21:13:00.927Z] ---> 9f992d4cabdb [2023-01-10T21:13:00.927Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:13:01.203Z] ---> Running in 97a15a447cee [2023-01-10T21:13:01.472Z] Removing intermediate container 97a15a447cee [2023-01-10T21:13:01.472Z] ---> 78126736de92 [2023-01-10T21:13:01.472Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T21:13:01.472Z] ---> Running in 28f72c8f476c [2023-01-10T21:13:01.739Z] Removing intermediate container 28f72c8f476c [2023-01-10T21:13:01.739Z] ---> 5b92335ce1dc [2023-01-10T21:13:01.739Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T21:13:02.007Z] ---> Running in 2beafe504cf0 [2023-01-10T21:13:02.276Z] Removing intermediate container 2beafe504cf0 [2023-01-10T21:13:02.276Z] ---> 1f5ee119db02 [2023-01-10T21:13:02.276Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T21:13:02.546Z] ---> Running in 72bbfe9b4564 [2023-01-10T21:13:03.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:13:04.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:13:05.649Z] OK: 226 MiB in 55 packages [2023-01-10T21:13:07.061Z] Removing intermediate container 72bbfe9b4564 [2023-01-10T21:13:07.062Z] ---> 1653c5cb32d8 [2023-01-10T21:13:07.062Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-10T21:13:07.330Z] ---> Running in 72a5d5d41534 [2023-01-10T21:13:07.917Z] Removing intermediate container 72a5d5d41534 [2023-01-10T21:13:07.917Z] ---> 36f3933e4788 [2023-01-10T21:13:07.917Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-10T21:13:08.898Z] ---> 6e68f8a9660c [2023-01-10T21:13:08.898Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:13:08.898Z] ---> Running in 0fd0c471be3f [2023-01-10T21:13:11.509Z] Removing intermediate container 0fd0c471be3f [2023-01-10T21:13:11.509Z] ---> e207529741ba [2023-01-10T21:13:11.509Z] Step 11/24 : COPY . . [2023-01-10T21:13:12.099Z] ---> f9fa3915b1b2 [2023-01-10T21:13:12.099Z] Step 12/24 : RUN ${MAKE} [2023-01-10T21:13:12.099Z] ---> Running in 20b4e6ce2fe8 [2023-01-10T21:13:13.518Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.3" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-10T21:16:05.369Z] Removing intermediate container 20b4e6ce2fe8 [2023-01-10T21:16:05.369Z] ---> d233e8e12f4f [2023-01-10T21:16:05.369Z] Step 13/24 : FROM alpine:3.16 [2023-01-10T21:16:05.369Z] 3.16: Pulling from library/alpine [2023-01-10T21:16:05.369Z] 6875df1f5354: Pulling fs layer [2023-01-10T21:16:05.638Z] 6875df1f5354: Verifying Checksum [2023-01-10T21:16:05.638Z] 6875df1f5354: Download complete [2023-01-10T21:16:06.225Z] 6875df1f5354: Pull complete [2023-01-10T21:16:06.225Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T21:16:06.225Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T21:16:06.225Z] ---> 2b4661558fb8 [2023-01-10T21:16:06.225Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-10T21:16:06.496Z] ---> Running in 83bc32ea91a1 [2023-01-10T21:16:07.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:16:08.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:16:09.505Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T21:16:09.505Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:16:09.505Z] OK: 5 MiB in 15 packages [2023-01-10T21:16:10.479Z] Removing intermediate container 83bc32ea91a1 [2023-01-10T21:16:10.479Z] ---> de3424c7bbb8 [2023-01-10T21:16:10.479Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-10T21:16:11.901Z] ---> b8e8057e3af4 [2023-01-10T21:16:11.901Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-10T21:16:12.493Z] ---> 13907de3e030 [2023-01-10T21:16:12.493Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-10T21:16:13.083Z] ---> 60d2c756ba29 [2023-01-10T21:16:13.083Z] Step 18/24 : EXPOSE 59993 [2023-01-10T21:16:13.083Z] ---> Running in 7de94d60d39b [2023-01-10T21:16:13.355Z] Removing intermediate container 7de94d60d39b [2023-01-10T21:16:13.355Z] ---> 05974e3ec8ca [2023-01-10T21:16:13.355Z] Step 19/24 : EXPOSE 161 [2023-01-10T21:16:13.627Z] ---> Running in b6b35e2e7a52 [2023-01-10T21:16:13.900Z] Removing intermediate container b6b35e2e7a52 [2023-01-10T21:16:13.901Z] ---> 2d0c250f939b [2023-01-10T21:16:13.901Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-10T21:16:13.901Z] ---> Running in aa8e1f313473 [2023-01-10T21:16:14.490Z] Removing intermediate container aa8e1f313473 [2023-01-10T21:16:14.490Z] ---> 23c1a05d6bad [2023-01-10T21:16:14.490Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T21:16:14.490Z] ---> Running in bcf2f0d74a09 [2023-01-10T21:16:14.762Z] Removing intermediate container bcf2f0d74a09 [2023-01-10T21:16:14.762Z] ---> 055d55d5e054 [2023-01-10T21:16:14.762Z] Step 22/24 : LABEL arch=arm64 [2023-01-10T21:16:15.034Z] ---> Running in f230c7aa0e58 [2023-01-10T21:16:15.304Z] Removing intermediate container f230c7aa0e58 [2023-01-10T21:16:15.304Z] ---> b5a3aa5d82a2 [2023-01-10T21:16:15.304Z] Step 23/24 : LABEL git_sha=ac8d37b91ffebeab2a267fed6cce847388f5686c [2023-01-10T21:16:15.304Z] ---> Running in cf103481c286 [2023-01-10T21:16:15.894Z] Removing intermediate container cf103481c286 [2023-01-10T21:16:15.894Z] ---> 8e360c525469 [2023-01-10T21:16:15.894Z] Step 24/24 : LABEL version=3.0.0-dev.3 [2023-01-10T21:16:15.894Z] ---> Running in 43bc7654c633 [2023-01-10T21:16:16.166Z] Removing intermediate container 43bc7654c633 [2023-01-10T21:16:16.166Z] ---> e0719dc514d5 [2023-01-10T21:16:16.166Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:16:16.166Z] Successfully built e0719dc514d5 [2023-01-10T21:16:16.166Z] 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-01-10T21:16:16.263Z] provisioning config files... [2023-01-10T21:16:16.282Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/59@tmp/config14697746297917646996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:16:16.637Z] ---> docker-login.sh [2023-01-10T21:16:16.637Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:16:16.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:16.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:16.911Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:16.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:16.911Z] [2023-01-10T21:16:16.911Z] Login Succeeded [2023-01-10T21:16:16.911Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:16:17.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:17.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:17.456Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:17.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:17.456Z] [2023-01-10T21:16:17.456Z] Login Succeeded [2023-01-10T21:16:17.456Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:16:17.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:17.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:17.998Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:17.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:17.998Z] [2023-01-10T21:16:17.998Z] Login Succeeded [2023-01-10T21:16:17.998Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:16:18.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:18.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:18.541Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:18.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:18.541Z] [2023-01-10T21:16:18.541Z] Login Succeeded [2023-01-10T21:16:18.541Z] docker.io [2023-01-10T21:16:18.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:19.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:19.086Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:19.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:19.086Z] [2023-01-10T21:16:19.086Z] Login Succeeded [2023-01-10T21:16:19.086Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:16:19.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:16:19.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:16:19.152Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-01-10T21:16:19.152Z] ac8d37b91ffebeab2a267fed6cce847388f5686c [2023-01-10T21:16:19.152Z] latest [2023-01-10T21:16:19.152Z] 3.0.0-dev.3 [2023-01-10T21:16:19.152Z] ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3 [2023-01-10T21:16:19.152Z] main [2023-01-10T21:16:19.152Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:19.514Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:ac8d37b91ffebeab2a267fed6cce847388f5686c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:19.890Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:ac8d37b91ffebeab2a267fed6cce847388f5686c [2023-01-10T21:16:19.891Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-10T21:16:19.891Z] 3e7e2dbaa590: Preparing [2023-01-10T21:16:19.891Z] 5365009ae591: Preparing [2023-01-10T21:16:19.891Z] 382a56391f5a: Preparing [2023-01-10T21:16:19.891Z] 339f17748b1c: Preparing [2023-01-10T21:16:19.891Z] 17bec77d7fdc: Preparing [2023-01-10T21:16:20.219Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:16:20.219Z] 3e7e2dbaa590: Pushed [2023-01-10T21:16:20.219Z] 5365009ae591: Pushed [2023-01-10T21:16:20.219Z] 339f17748b1c: Pushed [2023-01-10T21:16:27.033Z] 382a56391f5a: Pushed [2023-01-10T21:16:27.033Z] ac8d37b91ffebeab2a267fed6cce847388f5686c: digest: sha256:664b3a726d65b4ebb5fa76d64c80948166356d56977b6f36cb9aa9903f24f9f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:27.444Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:27.809Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-01-10T21:16:27.809Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-10T21:16:27.809Z] 3e7e2dbaa590: Preparing [2023-01-10T21:16:27.809Z] 5365009ae591: Preparing [2023-01-10T21:16:27.809Z] 382a56391f5a: Preparing [2023-01-10T21:16:27.809Z] 339f17748b1c: Preparing [2023-01-10T21:16:27.809Z] 17bec77d7fdc: Preparing [2023-01-10T21:16:27.809Z] 382a56391f5a: Layer already exists [2023-01-10T21:16:27.809Z] 339f17748b1c: Layer already exists [2023-01-10T21:16:27.809Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:16:27.809Z] 5365009ae591: Layer already exists [2023-01-10T21:16:27.809Z] 3e7e2dbaa590: Layer already exists [2023-01-10T21:16:28.079Z] latest: digest: sha256:664b3a726d65b4ebb5fa76d64c80948166356d56977b6f36cb9aa9903f24f9f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:28.443Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:28.804Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.3 [2023-01-10T21:16:28.804Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-10T21:16:28.804Z] 3e7e2dbaa590: Preparing [2023-01-10T21:16:28.804Z] 5365009ae591: Preparing [2023-01-10T21:16:28.804Z] 382a56391f5a: Preparing [2023-01-10T21:16:28.804Z] 339f17748b1c: Preparing [2023-01-10T21:16:28.804Z] 17bec77d7fdc: Preparing [2023-01-10T21:16:28.804Z] 5365009ae591: Layer already exists [2023-01-10T21:16:28.804Z] 3e7e2dbaa590: Layer already exists [2023-01-10T21:16:28.804Z] 339f17748b1c: Layer already exists [2023-01-10T21:16:28.804Z] 382a56391f5a: Layer already exists [2023-01-10T21:16:28.804Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:16:29.074Z] 3.0.0-dev.3: digest: sha256:664b3a726d65b4ebb5fa76d64c80948166356d56977b6f36cb9aa9903f24f9f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:29.441Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:29.796Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3 [2023-01-10T21:16:29.796Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-10T21:16:29.796Z] 3e7e2dbaa590: Preparing [2023-01-10T21:16:29.796Z] 5365009ae591: Preparing [2023-01-10T21:16:29.796Z] 382a56391f5a: Preparing [2023-01-10T21:16:29.796Z] 339f17748b1c: Preparing [2023-01-10T21:16:29.796Z] 17bec77d7fdc: Preparing [2023-01-10T21:16:29.796Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:16:29.796Z] 382a56391f5a: Layer already exists [2023-01-10T21:16:29.796Z] 3e7e2dbaa590: Layer already exists [2023-01-10T21:16:29.796Z] 5365009ae591: Layer already exists [2023-01-10T21:16:29.796Z] 339f17748b1c: Layer already exists [2023-01-10T21:16:30.066Z] ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3: digest: sha256:664b3a726d65b4ebb5fa76d64c80948166356d56977b6f36cb9aa9903f24f9f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:30.434Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:30.802Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-01-10T21:16:30.802Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-10T21:16:30.802Z] 3e7e2dbaa590: Preparing [2023-01-10T21:16:30.802Z] 5365009ae591: Preparing [2023-01-10T21:16:30.802Z] 382a56391f5a: Preparing [2023-01-10T21:16:30.802Z] 339f17748b1c: Preparing [2023-01-10T21:16:30.802Z] 17bec77d7fdc: Preparing [2023-01-10T21:16:30.802Z] 5365009ae591: Layer already exists [2023-01-10T21:16:30.802Z] 17bec77d7fdc: Layer already exists [2023-01-10T21:16:30.802Z] 382a56391f5a: Layer already exists [2023-01-10T21:16:30.802Z] 3e7e2dbaa590: Layer already exists [2023-01-10T21:16:30.802Z] 339f17748b1c: Layer already exists [2023-01-10T21:16:31.075Z] main: digest: sha256:664b3a726d65b4ebb5fa76d64c80948166356d56977b6f36cb9aa9903f24f9f4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:16:31.129Z] ===================================================== [Pipeline] echo [2023-01-10T21:16:31.136Z] taggedImages: [2023-01-10T21:16:31.136Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:ac8d37b91ffebeab2a267fed6cce847388f5686c [2023-01-10T21:16:31.136Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-01-10T21:16:31.136Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.3 [2023-01-10T21:16:31.136Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:ac8d37b91ffebeab2a267fed6cce847388f5686c-3.0.0-dev.3 [2023-01-10T21:16:31.136Z] - 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-01-10T21:16:31.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:16:31.514Z] [2023-01-10T21:16:31.514Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:31.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:16:32.143Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T21:16:32.143Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T21:16:32.143Z] 04944245beec: Pulling fs layer [2023-01-10T21:16:32.143Z] 699f458cf7ca: Pulling fs layer [2023-01-10T21:16:32.143Z] 765212b225bb: Pulling fs layer [2023-01-10T21:16:32.143Z] f23df028b6ca: Pulling fs layer [2023-01-10T21:16:32.143Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T21:16:32.143Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T21:16:32.143Z] f23df028b6ca: Waiting [2023-01-10T21:16:32.143Z] d65c8cfc05b1: Waiting [2023-01-10T21:16:32.143Z] 2437ff75d9bd: Waiting [2023-01-10T21:16:32.143Z] 765212b225bb: Waiting [2023-01-10T21:16:32.143Z] 04944245beec: Verifying Checksum [2023-01-10T21:16:32.143Z] 04944245beec: Download complete [2023-01-10T21:16:32.143Z] 765212b225bb: Download complete [2023-01-10T21:16:32.421Z] f23df028b6ca: Download complete [2023-01-10T21:16:32.421Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T21:16:32.421Z] d65c8cfc05b1: Download complete [2023-01-10T21:16:32.421Z] 699f458cf7ca: Verifying Checksum [2023-01-10T21:16:32.421Z] 699f458cf7ca: Download complete [2023-01-10T21:16:33.015Z] 8998bd30e6a1: Download complete [2023-01-10T21:16:35.631Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T21:16:35.631Z] 2437ff75d9bd: Download complete [2023-01-10T21:16:37.615Z] 8998bd30e6a1: Pull complete [2023-01-10T21:16:40.739Z] 04944245beec: Pull complete [2023-01-10T21:16:42.176Z] 699f458cf7ca: Pull complete [2023-01-10T21:16:42.447Z] 765212b225bb: Pull complete [2023-01-10T21:16:43.410Z] f23df028b6ca: Pull complete [2023-01-10T21:16:43.680Z] d65c8cfc05b1: Pull complete [2023-01-10T21:16:58.719Z] 2437ff75d9bd: Pull complete [2023-01-10T21:16:58.719Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T21:16:58.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:16:58.719Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:16:58.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-1679 does not seem to be running inside a container [2023-01-10T21:16:59.063Z] $ 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/59 -v /w/workspace/device-snmp-go/59:/w/workspace/device-snmp-go/59:rw,z -v /w/workspace/device-snmp-go/59@tmp:/w/workspace/device-snmp-go/59@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-01-10T21:17:02.357Z] $ docker top 78ffe8022fcc32a30820d9d4cde658de8d94f9fa88cb69ac72aabc60e72d5215 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:17:03.231Z] ---> job-cost.sh [2023-01-10T21:17:03.231Z] lf-activate-venv: SKIPPING [2023-01-10T21:17:03.231Z] INFO: No Stack... [2023-01-10T21:17:03.500Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T21:17:04.466Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:17:05.117Z] + + catcut -d, -f6 [2023-01-10T21:17:05.117Z] /w/workspace/device-snmp-go/59/archives/cost.csv [Pipeline] lock [2023-01-10T21:17:05.197Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-59-stack-cost] [2023-01-10T21:17:05.206Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-59-stack-cost] did not exist. Created. [2023-01-10T21:17:05.206Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:17:05.884Z] /w/workspace/device-snmp-go/59@tmp/durable-e08ef6e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T21:17:06.549Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T21:17:06.573Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T21:17:06.634Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:17:06.641Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:17:06.670Z] $ docker stop --time=1 78ffe8022fcc32a30820d9d4cde658de8d94f9fa88cb69ac72aabc60e72d5215 [2023-01-10T21:17:08.237Z] $ docker rm -f --volumes 78ffe8022fcc32a30820d9d4cde658de8d94f9fa88cb69ac72aabc60e72d5215 [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-01-10T21:17:08.668Z] provisioning config files... [2023-01-10T21:17:08.677Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7591174731688425709tmp [Pipeline] { [Pipeline] sh [2023-01-10T21:17:08.966Z] + set +x [2023-01-10T21:17:08.966Z] + curl -s https://codecov.io/bash [2023-01-10T21:17:08.966Z] + bash -s -- [2023-01-10T21:17:08.966Z] [2023-01-10T21:17:08.966Z] _____ _ [2023-01-10T21:17:08.966Z] / ____| | | [2023-01-10T21:17:08.966Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T21:17:08.966Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T21:17:08.966Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T21:17:08.966Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T21:17:08.966Z] Bash-1.0.6 [2023-01-10T21:17:08.966Z] [2023-01-10T21:17:08.966Z] [2023-01-10T21:17:08.966Z] ==> git version 2.25.1 found [2023-01-10T21:17:08.966Z] ==> 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-01-10T21:17:08.966Z] Release-Date: 2020-01-08 [2023-01-10T21:17:08.966Z] 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-01-10T21:17:08.966Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T21:17:08.966Z] ==> Jenkins CI detected. [2023-01-10T21:17:08.966Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-01-10T21:17:08.966Z] project root: . [2023-01-10T21:17:08.966Z] --> token set from env [2023-01-10T21:17:08.966Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T21:17:08.966Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T21:17:08.966Z] ==> Python coveragepy not found [2023-01-10T21:17:08.966Z] ==> Searching for coverage reports in: [2023-01-10T21:17:08.966Z] + . [2023-01-10T21:17:08.966Z] -> Found 1 reports [2023-01-10T21:17:08.966Z] ==> Detecting git/mercurial file structure [2023-01-10T21:17:09.225Z] ==> Reading reports [2023-01-10T21:17:09.225Z] + ./coverage.out bytes=7631 [2023-01-10T21:17:09.225Z] ==> Appending adjustments [2023-01-10T21:17:09.225Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T21:17:09.225Z] + Found adjustments [2023-01-10T21:17:09.225Z] ==> Gzipping contents [2023-01-10T21:17:09.225Z] 4.0K /tmp/codecov.hC880z.gz [2023-01-10T21:17:09.225Z] ==> Uploading reports [2023-01-10T21:17:09.225Z] url: https://codecov.io [2023-01-10T21:17:09.225Z] query: branch=main&commit=ac8d37b91ffebeab2a267fed6cce847388f5686c&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-10T21:17:09.225Z] -> Pinging Codecov [2023-01-10T21:17:09.225Z] 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=ac8d37b91ffebeab2a267fed6cce847388f5686c&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-10T21:17:09.484Z] -> Uploading to [2023-01-10T21:17:09.484Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/6C56EA5C29638FB4528AC87E60AF5AE0/ac8d37b91ffebeab2a267fed6cce847388f5686c/a3c355f3-51e6-4e1d-8db1-1a9837bd1ef5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T211709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a644d92e57f4b036d3d1e19468cd4eefee7e5708d6b1820dbcf6b80f013e840b [2023-01-10T21:17:09.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:17:09.484Z] Dload Upload Total Spent Left Speed [2023-01-10T21:17:09.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7526 --:--:-- --:--:-- --:--:-- 7490 100 1543 0 0 100 1543 0 5957 --:--:-- --:--:-- --:--:-- 5934 [2023-01-10T21:17:09.743Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/ac8d37b91ffebeab2a267fed6cce847388f5686c [Pipeline] } [2023-01-10T21:17:09.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-10T21:17:09.930Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-10T21:17:09.938Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:10.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:17:10.234Z] [2023-01-10T21:17:10.234Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:10.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:17:10.541Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-10T21:17:10.541Z] df9b9388f04a: Pulling fs layer [2023-01-10T21:17:10.541Z] 52dc419b0ee2: Pulling fs layer [2023-01-10T21:17:10.541Z] 25bc292e5bac: Pulling fs layer [2023-01-10T21:17:10.541Z] 114826534d7a: Pulling fs layer [2023-01-10T21:17:10.541Z] 4657fd5d0bcf: Pulling fs layer [2023-01-10T21:17:10.541Z] 6ad1cebc031e: Pulling fs layer [2023-01-10T21:17:10.541Z] 8a3aa393b2d8: Pulling fs layer [2023-01-10T21:17:10.541Z] 8a3aa393b2d8: Waiting [2023-01-10T21:17:10.541Z] 6ad1cebc031e: Waiting [2023-01-10T21:17:10.541Z] 114826534d7a: Waiting [2023-01-10T21:17:10.541Z] 4657fd5d0bcf: Waiting [2023-01-10T21:17:10.541Z] 25bc292e5bac: Verifying Checksum [2023-01-10T21:17:10.541Z] 25bc292e5bac: Download complete [2023-01-10T21:17:10.541Z] 52dc419b0ee2: Download complete [2023-01-10T21:17:10.541Z] 4657fd5d0bcf: Verifying Checksum [2023-01-10T21:17:10.541Z] 4657fd5d0bcf: Download complete [2023-01-10T21:17:10.803Z] df9b9388f04a: Download complete [2023-01-10T21:17:10.803Z] df9b9388f04a: Pull complete [2023-01-10T21:17:10.803Z] 6ad1cebc031e: Verifying Checksum [2023-01-10T21:17:10.803Z] 6ad1cebc031e: Download complete [2023-01-10T21:17:10.803Z] 52dc419b0ee2: Pull complete [2023-01-10T21:17:11.077Z] 25bc292e5bac: Pull complete [2023-01-10T21:17:11.668Z] 114826534d7a: Verifying Checksum [2023-01-10T21:17:11.668Z] 114826534d7a: Download complete [2023-01-10T21:17:11.927Z] 8a3aa393b2d8: Verifying Checksum [2023-01-10T21:17:11.927Z] 8a3aa393b2d8: Download complete [2023-01-10T21:17:15.202Z] 114826534d7a: Pull complete [2023-01-10T21:17:15.203Z] 4657fd5d0bcf: Pull complete [2023-01-10T21:17:15.460Z] 6ad1cebc031e: Pull complete [2023-01-10T21:17:18.028Z] 8a3aa393b2d8: Pull complete [2023-01-10T21:17:18.028Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-10T21:17:18.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:17:18.028Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:17:18.106Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:17:18.133Z] $ 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-01-10T21:17:21.922Z] $ docker top 7dfc4301da1164e262199e551db6b1d7ea8ba4f21fd0ddcf604f4750269eb428 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-10T21:17:21.983Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-01-10T21:17:22.261Z] + set -o pipefail [2023-01-10T21:17:22.261Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-01-10T21:17:30.377Z] [2023-01-10T21:17:30.377Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-01-10T21:17:30.377Z] [2023-01-10T21:17:30.377Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/a98ebff5-26fc-4dee-aa16-ec6c539e353b [2023-01-10T21:17:30.377Z] [2023-01-10T21:17:30.377Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-10T21:17:30.377Z] [2023-01-10T21:17:30.377Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-10T21:17:30.377Z] [2023-01-10T21:17:30.636Z] [2023-01-10T21:17:30.636Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-10T21:17:30.636Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-10T21:17:30.636Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-10T21:17:30.645Z] $ docker stop --time=1 7dfc4301da1164e262199e551db6b1d7ea8ba4f21fd0ddcf604f4750269eb428 [2023-01-10T21:17:33.920Z] $ docker rm -f --volumes 7dfc4301da1164e262199e551db6b1d7ea8ba4f21fd0ddcf604f4750269eb428 [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-01-10T21:17:34.703Z] + git log --format=format:%s -1 ac8d37b91ffebeab2a267fed6cce847388f5686c [Pipeline] sh [2023-01-10T21:17:34.993Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:17:34.993Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:35.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:17:35.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:17:35.374Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:17:35.404Z] $ 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-01-10T21:17:35.872Z] $ docker top c856ccd54cc296ea05015f52ac92f13b1fb1f5214d7feb81ce201b9cee59835c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:17:35.964Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:17:35.964Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:17:36.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:17:36.082Z] $ docker exec c856ccd54cc296ea05015f52ac92f13b1fb1f5214d7feb81ce201b9cee59835c ssh-agent [2023-01-10T21:17:36.194Z] SSH_AUTH_SOCK=/tmp/ssh-BgNGDg6yljQd/agent.31 [2023-01-10T21:17:36.194Z] SSH_AGENT_PID=37 [2023-01-10T21:17:36.200Z] Running ssh-add (command line suppressed) [2023-01-10T21:17:36.300Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17269905739679723481.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17269905739679723481.key) [2023-01-10T21:17:36.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:17:36.603Z] + git semver tag [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,774 [run_tag] DEBUG tag force:False [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,774 [check_head_tag] DEBUG check head tag [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,774 [execute] INFO git cat-file --batch-check [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,778 [execute] INFO git cat-file --batch [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,796 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,796 [execute] INFO git tag -a v3.0.0-dev.3 -m v3.0.0-dev.3 [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,796 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.3', '-m', 'v3.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:17:36.861Z] 2023-01-10 21:17:36,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:17:36.861Z] 3.0.0-dev.3 [Pipeline] } [2023-01-10T21:17:36.869Z] $ docker exec --env ******** --env ******** c856ccd54cc296ea05015f52ac92f13b1fb1f5214d7feb81ce201b9cee59835c ssh-agent -k [2023-01-10T21:17:36.970Z] unset SSH_AUTH_SOCK; [2023-01-10T21:17:36.971Z] unset SSH_AGENT_PID; [2023-01-10T21:17:36.971Z] echo Agent pid 37 killed; [2023-01-10T21:17:36.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:17:37.295Z] + git semver [Pipeline] } [2023-01-10T21:17:37.566Z] $ docker stop --time=1 c856ccd54cc296ea05015f52ac92f13b1fb1f5214d7feb81ce201b9cee59835c [2023-01-10T21:17:38.868Z] $ docker rm -f --volumes c856ccd54cc296ea05015f52ac92f13b1fb1f5214d7feb81ce201b9cee59835c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:39.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T21:17:39.260Z] [2023-01-10T21:17:39.260Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:39.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T21:17:39.553Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-10T21:17:39.553Z] ab5ef0e58194: Pulling fs layer [2023-01-10T21:17:39.553Z] 9712f1f96733: Pulling fs layer [2023-01-10T21:17:39.553Z] 63f879dbbcfc: Pulling fs layer [2023-01-10T21:17:39.553Z] 0d9ebad4ef96: Pulling fs layer [2023-01-10T21:17:39.553Z] e9a5061849ea: Pulling fs layer [2023-01-10T21:17:39.553Z] 0d9ebad4ef96: Waiting [2023-01-10T21:17:39.553Z] d747dcd14b5f: Pulling fs layer [2023-01-10T21:17:39.553Z] 2de7ff778b66: Pulling fs layer [2023-01-10T21:17:39.553Z] 2de7ff778b66: Waiting [2023-01-10T21:17:39.553Z] d747dcd14b5f: Waiting [2023-01-10T21:17:39.553Z] e9a5061849ea: Waiting [2023-01-10T21:17:39.553Z] 9712f1f96733: Download complete [2023-01-10T21:17:40.129Z] 63f879dbbcfc: Verifying Checksum [2023-01-10T21:17:40.129Z] 63f879dbbcfc: Download complete [2023-01-10T21:17:40.129Z] e9a5061849ea: Verifying Checksum [2023-01-10T21:17:40.129Z] e9a5061849ea: Download complete [2023-01-10T21:17:40.129Z] d747dcd14b5f: Verifying Checksum [2023-01-10T21:17:40.129Z] ab5ef0e58194: Verifying Checksum [2023-01-10T21:17:40.129Z] ab5ef0e58194: Download complete [2023-01-10T21:17:40.388Z] 0d9ebad4ef96: Verifying Checksum [2023-01-10T21:17:40.388Z] 0d9ebad4ef96: Download complete [2023-01-10T21:17:40.388Z] 2de7ff778b66: Verifying Checksum [2023-01-10T21:17:40.388Z] 2de7ff778b66: Download complete [2023-01-10T21:17:42.912Z] ab5ef0e58194: Pull complete [2023-01-10T21:17:42.912Z] 9712f1f96733: Pull complete [2023-01-10T21:17:43.845Z] 63f879dbbcfc: Pull complete [2023-01-10T21:17:48.028Z] 0d9ebad4ef96: Pull complete [2023-01-10T21:17:48.028Z] e9a5061849ea: Pull complete [2023-01-10T21:17:48.028Z] d747dcd14b5f: Pull complete [2023-01-10T21:17:48.961Z] 2de7ff778b66: Pull complete [2023-01-10T21:17:48.961Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-10T21:17:48.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T21:17:48.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:17:49.032Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:17:49.054Z] $ 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-01-10T21:17:54.055Z] $ docker top a9b66d670b99a9bf063717f45522ec6c4b39d6630422d85a83667167c643e208 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:17:54.130Z] provisioning config files... [2023-01-10T21:17:54.136Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10317973998660188985tmp [2023-01-10T21:17:54.144Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11979525218251190398tmp [2023-01-10T21:17:54.151Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1436906708141109310tmp [Pipeline] { [Pipeline] echo [2023-01-10T21:17:54.167Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:17:54.448Z] ---> sigul-configuration.sh [2023-01-10T21:17:54.448Z] gpg: directory `/root/.gnupg' created [2023-01-10T21:17:54.448Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-10T21:17:54.448Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-10T21:17:54.448Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-10T21:17:54.448Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-10T21:17:54.448Z] gpg: CAST5 encrypted data [2023-01-10T21:17:54.448Z] gpg: encrypted with 1 passphrase [2023-01-10T21:17:54.448Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-10T21:17:54.732Z] + mkdir /home/jenkins [2023-01-10T21:17:54.732Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-10T21:17:55.013Z] + 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-01-10T21:17:55.022Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:17:55.307Z] ---> sigul-install.sh [2023-01-10T21:17:55.307Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-10T21:17:55.592Z] + git tag --list [2023-01-10T21:17:55.592Z] 1.0.0 [2023-01-10T21:17:55.592Z] v0.0.0 [2023-01-10T21:17:55.592Z] v1.1.0 [2023-01-10T21:17:55.592Z] v1.1.1 [2023-01-10T21:17:55.592Z] v1.2.2 [2023-01-10T21:17:55.592Z] v1.3.0 [2023-01-10T21:17:55.592Z] v1.3.1 [2023-01-10T21:17:55.592Z] v2.0.0 [2023-01-10T21:17:55.592Z] v2.1.0 [2023-01-10T21:17:55.592Z] v2.1.1 [2023-01-10T21:17:55.592Z] v2.1.1-dev.2 [2023-01-10T21:17:55.592Z] v2.1.1-dev.3 [2023-01-10T21:17:55.592Z] v2.2.0 [2023-01-10T21:17:55.592Z] v2.2.1-dev.1 [2023-01-10T21:17:55.592Z] v2.2.1-dev.2 [2023-01-10T21:17:55.592Z] v2.2.1-dev.3 [2023-01-10T21:17:55.592Z] v2.2.1-dev.4 [2023-01-10T21:17:55.592Z] v2.2.1-dev.5 [2023-01-10T21:17:55.592Z] v2.2.1-dev.6 [2023-01-10T21:17:55.592Z] v2.2.1-dev.7 [2023-01-10T21:17:55.592Z] v2.3.0 [2023-01-10T21:17:55.592Z] v2.3.0-dev.10 [2023-01-10T21:17:55.592Z] v2.3.0-dev.11 [2023-01-10T21:17:55.592Z] v2.3.0-dev.12 [2023-01-10T21:17:55.592Z] v2.3.0-dev.13 [2023-01-10T21:17:55.592Z] v2.3.0-dev.14 [2023-01-10T21:17:55.592Z] v2.3.0-dev.15 [2023-01-10T21:17:55.592Z] v2.3.0-dev.16 [2023-01-10T21:17:55.592Z] v2.3.0-dev.17 [2023-01-10T21:17:55.592Z] v2.3.0-dev.18 [2023-01-10T21:17:55.592Z] v2.3.0-dev.19 [2023-01-10T21:17:55.592Z] v2.3.0-dev.20 [2023-01-10T21:17:55.592Z] v2.3.0-dev.21 [2023-01-10T21:17:55.592Z] v2.3.0-dev.22 [2023-01-10T21:17:55.592Z] v2.3.0-dev.23 [2023-01-10T21:17:55.592Z] v2.3.0-dev.24 [2023-01-10T21:17:55.592Z] v2.3.0-dev.7 [2023-01-10T21:17:55.592Z] v2.3.0-dev.8 [2023-01-10T21:17:55.592Z] v2.3.0-dev.9 [2023-01-10T21:17:55.592Z] v3.0.0-dev.1 [2023-01-10T21:17:55.592Z] v3.0.0-dev.2 [2023-01-10T21:17:55.592Z] v3.0.0-dev.3 [Pipeline] sh [2023-01-10T21:17:55.877Z] + lftools sign git-tag v3.0.0-dev.3 [2023-01-10T21:17:56.444Z] Signing Git tag with Sigul... [2023-01-10T21:17:56.444Z] Signing v3.0.0-dev.3 [Pipeline] echo [2023-01-10T21:17:56.712Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:17:56.994Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-10T21:17:57.001Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-10T21:17:57.016Z] $ docker stop --time=1 a9b66d670b99a9bf063717f45522ec6c4b39d6630422d85a83667167c643e208 [2023-01-10T21:17:58.320Z] $ docker rm -f --volumes a9b66d670b99a9bf063717f45522ec6c4b39d6630422d85a83667167c643e208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-10T21:17:58.727Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:17:58.727Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:59.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:17:59.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:17:59.103Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:17:59.130Z] $ 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-01-10T21:17:59.727Z] $ docker top ad9aa72c8dc652df100f10730aba224596c2cd4b143e57d9a2cf5dd5d9a6bd0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:17:59.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:17:59.818Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:17:59.929Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:17:59.929Z] $ docker exec ad9aa72c8dc652df100f10730aba224596c2cd4b143e57d9a2cf5dd5d9a6bd0a ssh-agent [2023-01-10T21:18:00.038Z] SSH_AUTH_SOCK=/tmp/ssh-9hVqlSuM8ZvK/agent.33 [2023-01-10T21:18:00.038Z] SSH_AGENT_PID=39 [2023-01-10T21:18:00.043Z] Running ssh-add (command line suppressed) [2023-01-10T21:18:00.144Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8320222310918181833.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8320222310918181833.key) [2023-01-10T21:18:00.161Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:18:00.446Z] + git semver bump pre [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,621 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,621 [bump_version] DEBUG bumping version:3.0.0-dev.3 on axis:pre with prefix:dev [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,622 [bump_version] DEBUG bumped version:3.0.0-dev.4 [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,622 [write_version] DEBUG write version:3.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,622 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,622 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,624 [execute] INFO git cat-file --batch-check [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,629 [execute] INFO git cat-file --batch [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:18:00.705Z] 2023-01-10 21:18:00,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:18:00.705Z] 3.0.0-dev.4 [Pipeline] } [2023-01-10T21:18:00.713Z] $ docker exec --env ******** --env ******** ad9aa72c8dc652df100f10730aba224596c2cd4b143e57d9a2cf5dd5d9a6bd0a ssh-agent -k [2023-01-10T21:18:00.826Z] unset SSH_AUTH_SOCK; [2023-01-10T21:18:00.826Z] unset SSH_AGENT_PID; [2023-01-10T21:18:00.826Z] echo Agent pid 39 killed; [2023-01-10T21:18:00.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:18:01.141Z] + git semver [Pipeline] } [2023-01-10T21:18:01.411Z] $ docker stop --time=1 ad9aa72c8dc652df100f10730aba224596c2cd4b143e57d9a2cf5dd5d9a6bd0a [2023-01-10T21:18:02.699Z] $ docker rm -f --volumes ad9aa72c8dc652df100f10730aba224596c2cd4b143e57d9a2cf5dd5d9a6bd0a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:18:03.041Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:18:03.041Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:03.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:18:03.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:03.418Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:18:03.446Z] $ 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-01-10T21:18:03.862Z] $ docker top ec658ed39c42387440f96a98ec05bf0a5afad54b71b7297cd7eb53d6cb2c1af6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:18:03.956Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:18:03.956Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:18:04.086Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:18:04.087Z] $ docker exec ec658ed39c42387440f96a98ec05bf0a5afad54b71b7297cd7eb53d6cb2c1af6 ssh-agent [2023-01-10T21:18:04.214Z] SSH_AUTH_SOCK=/tmp/ssh-yiTsGr80zulp/agent.33 [2023-01-10T21:18:04.214Z] SSH_AGENT_PID=39 [2023-01-10T21:18:04.220Z] Running ssh-add (command line suppressed) [2023-01-10T21:18:04.319Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8294325897321249257.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8294325897321249257.key) [2023-01-10T21:18:04.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:18:04.619Z] + git semver push [2023-01-10T21:18:04.878Z] 2023-01-10 21:18:04,826 [run_push] DEBUG push [2023-01-10T21:18:04.878Z] 2023-01-10 21:18:04,826 [execute] INFO git cat-file --batch-check [2023-01-10T21:18:04.878Z] 2023-01-10 21:18:04,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:18:04.878Z] 2023-01-10 21:18:04,831 [execute] INFO git rev-list 92eb8250785a05d7f050b478d7dacc6a7ad0b80b -- [2023-01-10T21:18:04.878Z] 2023-01-10 21:18:04,831 [execute] DEBUG Popen(['git', 'rev-list', '92eb8250785a05d7f050b478d7dacc6a7ad0b80b', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:18:04.878Z] 2023-01-10 21:18:04,840 [execute] INFO git fetch -v origin [2023-01-10T21:18:04.878Z] 2023-01-10 21:18:04,840 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-10T21:18:05.813Z] 2023-01-10 21:18:05,490 [run_push] DEBUG no remote changes detected [2023-01-10T21:18:05.813Z] 2023-01-10 21:18:05,490 [execute] INFO git push origin semver [2023-01-10T21:18:05.813Z] 2023-01-10 21:18:05,491 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:18:06.749Z] 2023-01-10 21:18:06,645 [run_push] DEBUG push all version tags [2023-01-10T21:18:06.749Z] 2023-01-10 21:18:06,645 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-10T21:18:06.749Z] 2023-01-10 21:18:06,646 [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-01-10T21:18:07.684Z] 2023-01-10 21:18:07,603 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-10T21:18:07.684Z] 3.0.0-dev.4 [Pipeline] } [2023-01-10T21:18:07.691Z] $ docker exec --env ******** --env ******** ec658ed39c42387440f96a98ec05bf0a5afad54b71b7297cd7eb53d6cb2c1af6 ssh-agent -k [2023-01-10T21:18:07.796Z] unset SSH_AUTH_SOCK; [2023-01-10T21:18:07.796Z] unset SSH_AGENT_PID; [2023-01-10T21:18:07.796Z] echo Agent pid 39 killed; [2023-01-10T21:18:07.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:18:08.108Z] + git semver [Pipeline] } [2023-01-10T21:18:08.375Z] $ docker stop --time=1 ec658ed39c42387440f96a98ec05bf0a5afad54b71b7297cd7eb53d6cb2c1af6 [2023-01-10T21:18:09.650Z] $ docker rm -f --volumes ec658ed39c42387440f96a98ec05bf0a5afad54b71b7297cd7eb53d6cb2c1af6 [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-01-10T21:18:10.208Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-01-10T21:18:10.208Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-10T21:18:10.208Z] total 16 [2023-01-10T21:18:10.208Z] drwxr-xr-x 3 root root 4096 Jan 10 21:07 . [2023-01-10T21:18:10.208Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:17 .. [2023-01-10T21:18:10.208Z] drwxr-xr-x 2 root root 4096 Jan 10 21:07 cost [2023-01-10T21:18:10.208Z] -rw-r--r-- 1 root root 85 Jan 10 21:07 cost.csv [2023-01-10T21:18:10.208Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-10T21:18:10.208Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-10T21:18:10.208Z] total 16 [2023-01-10T21:18:10.208Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:07 . [2023-01-10T21:18:10.208Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:17 .. [2023-01-10T21:18:10.208Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:07 cost [2023-01-10T21:18:10.208Z] -rw-r--r-- 1 jenkins jenkins 85 Jan 10 21:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:10.497Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:11.354Z] ---> package-listing.sh [2023-01-10T21:18:11.354Z] ++ facter osfamily [2023-01-10T21:18:11.354Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T21:18:11.612Z] + OS_FAMILY=debian [2023-01-10T21:18:11.612Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-01-10T21:18:11.612Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T21:18:11.612Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T21:18:11.612Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T21:18:11.612Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T21:18:11.612Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-01-10T21:18:11.612Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T21:18:11.612Z] + case "${OS_FAMILY}" in [2023-01-10T21:18:11.612Z] + dpkg -l [2023-01-10T21:18:11.612Z] + grep '^ii' [2023-01-10T21:18:11.612Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T21:18:11.612Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T21:18:11.612Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T21:18:11.612Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-01-10T21:18:11.612Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-01-10T21:18:11.612Z] + 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-01-10T21:18:11.624Z] 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-01-10T21:18:11.901Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:12.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:18:12.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:12.523Z] prd-ubuntu20.04-docker-8c-8g-1674 does not seem to be running inside a container [2023-01-10T21:18:12.545Z] $ 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-01-10T21:18:12.791Z] $ docker top b7f5a5990d77e9748d13a573d9ec8ba9a85b17a9fe528484b4dd735641479411 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:18:13.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T21:18:13.536Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T21:18:13.880Z] + ls /var/log/sa-host [2023-01-10T21:18:13.880Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:18:13.953Z] provisioning config files... [2023-01-10T21:18:13.960Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2247385082924642338tmp [Pipeline] { [Pipeline] echo [2023-01-10T21:18:13.971Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:14.250Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T21:18:14.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:14.581Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T21:18:14.588Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:14.866Z] ---> sudo-logs.sh [2023-01-10T21:18:14.866Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T21:18:14.894Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:15.173Z] ---> job-cost.sh [2023-01-10T21:18:15.173Z] lf-activate-venv: SKIPPING [2023-01-10T21:18:15.173Z] DEBUG: total: 0.2199999988079071 [2023-01-10T21:18:15.173Z] INFO: Retrieving Stack Cost... [2023-01-10T21:18:15.737Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T21:18:15.995Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T21:18:16.006Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:16.292Z] ---> logs-deploy.sh [2023-01-10T21:18:16.292Z] lf-activate-venv: SKIPPING [2023-01-10T21:18:16.292Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/59 [2023-01-10T21:18:16.292Z] INFO: archiving workspace using pattern(s): [2023-01-10T21:18:17.227Z] Archives upload complete. [2023-01-10T21:18:17.227Z] INFO: archiving logs to Nexus