Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 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-ssh5092821730750990880.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17511765348979408456.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13312018547815056765.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh769551010625298622.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-ssh5066450915897085484.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17409 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 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 (main) Commit message: "docs: Add main branch warning (#314)" > 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 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 > git rev-list --no-walk c573fc281a725aaa0abbb8a23977a4788698b9ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-31T00:23:14.400Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-31T00:23:14.458Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T00:23:14.479Z] ========================================================= [2023-05-31T00:23:14.479Z] EdgeX Global Pipelines Version Info [2023-05-31T00:23:14.479Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:23:15.206Z] ------------------- [2023-05-31T00:23:15.206Z] stable info: [2023-05-31T00:23:15.206Z] ------------------- [2023-05-31T00:23:15.206Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-31T00:23:15.206Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T00:23:15.206Z] Message: update stable to v1.0.249 [2023-05-31T00:23:15.778Z] ------------------- [2023-05-31T00:23:15.778Z] experimental info: [2023-05-31T00:23:15.778Z] ------------------- [2023-05-31T00:23:15.778Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-31T00:23:15.778Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T00:23:15.778Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-31T00:23:15.972Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-31T00:23:15.985Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-31T00:23:15.997Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-31T00:23:16.013Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-31T00:23:16.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-31T00:23:16.041Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-31T00:23:16.050Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-31T00:23:16.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-31T00:23:16.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-31T00:23:16.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-31T00:23:16.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-31T00:23:16.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-31T00:23:16.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-31T00:23:16.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-31T00:23:16.172Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T00:23:16.189Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T00:23:16.206Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T00:23:16.221Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T00:23:16.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-31T00:23:16.249Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-31T00:23:16.264Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-31T00:23:16.284Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-31T00:23:16.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-31T00:23:16.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-31T00:23:16.325Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-31T00:23:16.340Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-31T00:23:16.355Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-31T00:23:16.374Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-31T00:23:16.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-31T00:23:16.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-31T00:23:16.416Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo [2023-05-31T00:23:16.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a4f383 [Pipeline] echo [2023-05-31T00:23:16.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T00:23:16.493Z] provisioning config files... [2023-05-31T00:23:16.507Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16067779432590216549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:23:16.812Z] ---> docker-login.sh [2023-05-31T00:23:16.812Z] nexus3.edgexfoundry.org:10001 [2023-05-31T00:23:17.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:17.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:17.073Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:17.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:17.073Z] [2023-05-31T00:23:17.073Z] Login Succeeded [2023-05-31T00:23:17.073Z] nexus3.edgexfoundry.org:10002 [2023-05-31T00:23:17.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:17.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:17.333Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:17.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:17.334Z] [2023-05-31T00:23:17.334Z] Login Succeeded [2023-05-31T00:23:17.334Z] nexus3.edgexfoundry.org:10003 [2023-05-31T00:23:17.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:17.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:17.334Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:17.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:17.334Z] [2023-05-31T00:23:17.334Z] Login Succeeded [2023-05-31T00:23:17.334Z] nexus3.edgexfoundry.org:10004 [2023-05-31T00:23:17.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:17.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:17.593Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:17.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:17.593Z] [2023-05-31T00:23:17.593Z] Login Succeeded [2023-05-31T00:23:17.593Z] docker.io [2023-05-31T00:23:17.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:17.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:17.856Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:17.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:17.856Z] [2023-05-31T00:23:17.856Z] Login Succeeded [2023-05-31T00:23:17.856Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T00:23:17.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-31T00:23:18.227Z] + git rev-list -1 --merges 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0~1..3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo [2023-05-31T00:23:18.272Z] -----------> git rev-list -1 --merges 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0~1..3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [false] [Pipeline] sh [2023-05-31T00:23:18.564Z] + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo [2023-05-31T00:23:18.595Z] ========================================================= [2023-05-31T00:23:18.596Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-31T00:23:18.596Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T00:23:18.912Z] + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo [2023-05-31T00:23:18.923Z] [semverPrep] GIT_COMMIT: 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0, Commit Message: docs: Add main branch warning (#314) [Pipeline] echo [2023-05-31T00:23:18.934Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-31T00:23:19.286Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T00:23:19.286Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-31T00:23:19.286Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-31T00:23:19.286Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-31T00:23:19.286Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-31T00:23:19.286Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-31T00:23:19.286Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:23:19.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T00:23:19.645Z] [2023-05-31T00:23:19.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:23:19.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T00:23:19.945Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-31T00:23:19.945Z] b85a868b505f: Pulling fs layer [2023-05-31T00:23:19.945Z] e2be974225ed: Pulling fs layer [2023-05-31T00:23:19.945Z] 339a4e72a1f5: Pulling fs layer [2023-05-31T00:23:19.945Z] 988bab9f4d93: Pulling fs layer [2023-05-31T00:23:19.945Z] 1469e6f7b9e6: Pulling fs layer [2023-05-31T00:23:19.945Z] eaf3925da568: Pulling fs layer [2023-05-31T00:23:19.945Z] bab4dde63d76: Pulling fs layer [2023-05-31T00:23:19.945Z] bde34c3a00c8: Pulling fs layer [2023-05-31T00:23:19.945Z] b352a97aabf1: Pulling fs layer [2023-05-31T00:23:19.945Z] 4872d77fe225: Pulling fs layer [2023-05-31T00:23:19.945Z] 5851b861e8e6: Pulling fs layer [2023-05-31T00:23:19.945Z] 988bab9f4d93: Waiting [2023-05-31T00:23:19.945Z] eaf3925da568: Waiting [2023-05-31T00:23:19.945Z] bde34c3a00c8: Waiting [2023-05-31T00:23:19.945Z] 1469e6f7b9e6: Waiting [2023-05-31T00:23:19.945Z] b352a97aabf1: Waiting [2023-05-31T00:23:19.945Z] 4872d77fe225: Waiting [2023-05-31T00:23:19.945Z] e2be974225ed: Verifying Checksum [2023-05-31T00:23:19.945Z] e2be974225ed: Download complete [2023-05-31T00:23:19.945Z] 988bab9f4d93: Verifying Checksum [2023-05-31T00:23:19.945Z] 988bab9f4d93: Download complete [2023-05-31T00:23:20.206Z] 339a4e72a1f5: Verifying Checksum [2023-05-31T00:23:20.206Z] 339a4e72a1f5: Download complete [2023-05-31T00:23:20.206Z] 1469e6f7b9e6: Verifying Checksum [2023-05-31T00:23:20.206Z] 1469e6f7b9e6: Download complete [2023-05-31T00:23:20.206Z] eaf3925da568: Verifying Checksum [2023-05-31T00:23:20.206Z] eaf3925da568: Download complete [2023-05-31T00:23:20.206Z] bde34c3a00c8: Verifying Checksum [2023-05-31T00:23:20.206Z] bde34c3a00c8: Download complete [2023-05-31T00:23:20.206Z] b352a97aabf1: Download complete [2023-05-31T00:23:20.206Z] 4872d77fe225: Verifying Checksum [2023-05-31T00:23:20.206Z] 4872d77fe225: Download complete [2023-05-31T00:23:20.206Z] 5851b861e8e6: Verifying Checksum [2023-05-31T00:23:20.206Z] 5851b861e8e6: Download complete [2023-05-31T00:23:20.206Z] b85a868b505f: Verifying Checksum [2023-05-31T00:23:20.206Z] b85a868b505f: Download complete [2023-05-31T00:23:20.479Z] bab4dde63d76: Verifying Checksum [2023-05-31T00:23:21.858Z] b85a868b505f: Pull complete [2023-05-31T00:23:21.858Z] e2be974225ed: Pull complete [2023-05-31T00:23:22.427Z] 339a4e72a1f5: Pull complete [2023-05-31T00:23:22.427Z] 988bab9f4d93: Pull complete [2023-05-31T00:23:22.687Z] 1469e6f7b9e6: Pull complete [2023-05-31T00:23:22.687Z] eaf3925da568: Pull complete [2023-05-31T00:23:24.590Z] bab4dde63d76: Pull complete [2023-05-31T00:23:24.590Z] bde34c3a00c8: Pull complete [2023-05-31T00:23:24.590Z] b352a97aabf1: Pull complete [2023-05-31T00:23:24.590Z] 4872d77fe225: Pull complete [2023-05-31T00:23:24.850Z] 5851b861e8e6: Pull complete [2023-05-31T00:23:24.850Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-31T00:23:24.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T00:23:24.850Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:23:24.945Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:23:24.979Z] $ 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-05-31T00:23:28.982Z] $ docker top ef0bdb1f254452b61fe4d1867f594f464c3c04c7c45e55182d9b83ac3878cd51 -eo pid,comm [2023-05-31T00:23:29.046Z] 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-05-31T00:23:29.046Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-31T00:23:29.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T00:23:29.084Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T00:23:29.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T00:23:29.212Z] $ docker exec ef0bdb1f254452b61fe4d1867f594f464c3c04c7c45e55182d9b83ac3878cd51 ssh-agent [2023-05-31T00:23:29.323Z] SSH_AUTH_SOCK=/tmp/ssh-WfLpvekhK40T/agent.31 [2023-05-31T00:23:29.323Z] SSH_AGENT_PID=37 [2023-05-31T00:23:29.330Z] Running ssh-add (command line suppressed) [2023-05-31T00:23:29.447Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4110569395927491460.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4110569395927491460.key) [2023-05-31T00:23:29.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T00:23:29.749Z] + git tag --points-at HEAD [Pipeline] } [2023-05-31T00:23:29.763Z] $ docker exec --env ******** --env ******** ef0bdb1f254452b61fe4d1867f594f464c3c04c7c45e55182d9b83ac3878cd51 ssh-agent -k [2023-05-31T00:23:29.861Z] unset SSH_AUTH_SOCK; [2023-05-31T00:23:29.862Z] unset SSH_AGENT_PID; [2023-05-31T00:23:29.862Z] echo Agent pid 37 killed; [2023-05-31T00:23:29.867Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-31T00:23:29.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T00:23:29.893Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T00:23:30.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T00:23:30.017Z] $ docker exec ef0bdb1f254452b61fe4d1867f594f464c3c04c7c45e55182d9b83ac3878cd51 ssh-agent [2023-05-31T00:23:30.142Z] SSH_AUTH_SOCK=/tmp/ssh-4ieCc8u87kmk/agent.69 [2023-05-31T00:23:30.142Z] SSH_AGENT_PID=75 [2023-05-31T00:23:30.147Z] Running ssh-add (command line suppressed) [2023-05-31T00:23:30.258Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2107902300308317452.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2107902300308317452.key) [2023-05-31T00:23:30.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T00:23:30.554Z] + git semver init [2023-05-31T00:23:30.813Z] 2023-05-31 00:23:30,758 [run_init] DEBUG init version:0.0.0 force:False [2023-05-31T00:23:30.813Z] 2023-05-31 00:23:30,759 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-31T00:23:30.813Z] 2023-05-31 00:23:30,759 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-31T00:23:30.813Z] 2023-05-31 00:23:30,759 [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-05-31T00:23:31.750Z] 2023-05-31 00:23:31,591 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-31T00:23:31.750Z] 2023-05-31 00:23:31,592 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-31T00:23:31.750Z] 2023-05-31 00:23:31,592 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:23:31.750Z] 2023-05-31 00:23:31,592 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:23:31.750Z] 3.0.0-dev.28 [Pipeline] } [2023-05-31T00:23:31.762Z] $ docker exec --env ******** --env ******** ef0bdb1f254452b61fe4d1867f594f464c3c04c7c45e55182d9b83ac3878cd51 ssh-agent -k [2023-05-31T00:23:31.857Z] unset SSH_AUTH_SOCK; [2023-05-31T00:23:31.857Z] unset SSH_AGENT_PID; [2023-05-31T00:23:31.857Z] echo Agent pid 75 killed; [2023-05-31T00:23:31.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T00:23:32.182Z] + git semver [Pipeline] } [2023-05-31T00:23:32.459Z] $ docker stop --time=1 ef0bdb1f254452b61fe4d1867f594f464c3c04c7c45e55182d9b83ac3878cd51 [2023-05-31T00:23:33.751Z] $ docker rm -f --volumes ef0bdb1f254452b61fe4d1867f594f464c3c04c7c45e55182d9b83ac3878cd51 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T00:23:34.091Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-31T00:23:34.316Z] Stashed 1 file(s) [Pipeline] echo [2023-05-31T00:23:34.319Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [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-05-31T00:23:34.474Z] provisioning config files... [2023-05-31T00:23:34.483Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12040148256651057237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:23:34.781Z] ---> docker-login.sh [2023-05-31T00:23:34.781Z] nexus3.edgexfoundry.org:10001 [2023-05-31T00:23:34.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:34.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:34.781Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:34.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:34.781Z] [2023-05-31T00:23:34.781Z] Login Succeeded [2023-05-31T00:23:34.781Z] nexus3.edgexfoundry.org:10002 [2023-05-31T00:23:34.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:34.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:34.781Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:34.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:34.781Z] [2023-05-31T00:23:34.781Z] Login Succeeded [2023-05-31T00:23:34.781Z] nexus3.edgexfoundry.org:10003 [2023-05-31T00:23:35.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:35.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:35.039Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:35.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:35.039Z] [2023-05-31T00:23:35.039Z] Login Succeeded [2023-05-31T00:23:35.039Z] nexus3.edgexfoundry.org:10004 [2023-05-31T00:23:35.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:35.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:35.039Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:35.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:35.039Z] [2023-05-31T00:23:35.039Z] Login Succeeded [2023-05-31T00:23:35.039Z] docker.io [2023-05-31T00:23:35.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:23:35.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:23:35.300Z] Configure a credential helper to remove this warning. See [2023-05-31T00:23:35.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:23:35.300Z] [2023-05-31T00:23:35.300Z] Login Succeeded [2023-05-31T00:23:35.300Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T00:23:35.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T00:23:35.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T00:23:35.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T00:23:35.377Z] ========================================================= [2023-05-31T00:23:35.377Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-31T00:23:35.377Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:23:35.680Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-31T00:23:35.681Z] Sending build context to Docker daemon 5.861MB [2023-05-31T00:23:35.681Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T00:23:35.681Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-31T00:23:35.681Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-31T00:23:35.681Z] f56be85fc22e: Pulling fs layer [2023-05-31T00:23:35.681Z] 85791d961cd3: Pulling fs layer [2023-05-31T00:23:35.681Z] d694b5ae8c79: Pulling fs layer [2023-05-31T00:23:35.681Z] 9f32a84ed3da: Pulling fs layer [2023-05-31T00:23:35.681Z] 4d19c01a9841: Pulling fs layer [2023-05-31T00:23:35.681Z] 9325e15d5711: Pulling fs layer [2023-05-31T00:23:35.681Z] 556b6ee489ea: Pulling fs layer [2023-05-31T00:23:35.681Z] c5a4b2cf53e6: Pulling fs layer [2023-05-31T00:23:35.681Z] 4d19c01a9841: Waiting [2023-05-31T00:23:35.681Z] 9325e15d5711: Waiting [2023-05-31T00:23:35.681Z] 9f32a84ed3da: Waiting [2023-05-31T00:23:35.681Z] 556b6ee489ea: Waiting [2023-05-31T00:23:35.681Z] c5a4b2cf53e6: Waiting [2023-05-31T00:23:35.681Z] 85791d961cd3: Download complete [2023-05-31T00:23:35.941Z] 9f32a84ed3da: Download complete [2023-05-31T00:23:35.941Z] 4d19c01a9841: Download complete [2023-05-31T00:23:35.941Z] f56be85fc22e: Verifying Checksum [2023-05-31T00:23:35.941Z] f56be85fc22e: Download complete [2023-05-31T00:23:35.941Z] 9325e15d5711: Verifying Checksum [2023-05-31T00:23:35.941Z] 9325e15d5711: Download complete [2023-05-31T00:23:35.941Z] f56be85fc22e: Pull complete [2023-05-31T00:23:36.203Z] 85791d961cd3: Pull complete [2023-05-31T00:23:36.464Z] d694b5ae8c79: Verifying Checksum [2023-05-31T00:23:36.464Z] d694b5ae8c79: Download complete [2023-05-31T00:23:36.464Z] c5a4b2cf53e6: Verifying Checksum [2023-05-31T00:23:36.464Z] c5a4b2cf53e6: Download complete [2023-05-31T00:23:36.723Z] 556b6ee489ea: Verifying Checksum [2023-05-31T00:23:36.723Z] 556b6ee489ea: Download complete [2023-05-31T00:23:40.037Z] d694b5ae8c79: Pull complete [2023-05-31T00:23:40.604Z] 9f32a84ed3da: Pull complete [2023-05-31T00:23:41.542Z] 4d19c01a9841: Pull complete [2023-05-31T00:23:41.542Z] 9325e15d5711: Pull complete [2023-05-31T00:23:44.825Z] 556b6ee489ea: Pull complete [2023-05-31T00:23:46.203Z] c5a4b2cf53e6: Pull complete [2023-05-31T00:23:46.203Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-31T00:23:46.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-31T00:23:46.203Z] ---> c4be618373d6 [2023-05-31T00:23:46.203Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-31T00:23:49.425Z] Still waiting to schedule task [2023-05-31T00:23:49.426Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-31T00:23:54.488Z] ---> Running in 0782c279349c [2023-05-31T00:23:54.747Z] Removing intermediate container 0782c279349c [2023-05-31T00:23:54.747Z] ---> 1c85a0b2eeaf [2023-05-31T00:23:54.747Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T00:23:54.747Z] ---> Running in b51ec314e408 [2023-05-31T00:23:55.006Z] Removing intermediate container b51ec314e408 [2023-05-31T00:23:55.006Z] ---> 90bf7b9149c8 [2023-05-31T00:23:55.006Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T00:23:55.006Z] ---> Running in 22e290c446f7 [2023-05-31T00:23:55.265Z] Removing intermediate container 22e290c446f7 [2023-05-31T00:23:55.265Z] ---> fcadb4921693 [2023-05-31T00:23:55.265Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T00:23:55.265Z] ---> Running in 922cb4bda08d [2023-05-31T00:23:55.265Z] Removing intermediate container 922cb4bda08d [2023-05-31T00:23:55.265Z] ---> d95bd37bb584 [2023-05-31T00:23:55.265Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T00:23:55.526Z] ---> Running in 96649b48a814 [2023-05-31T00:23:55.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T00:23:55.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T00:23:56.046Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T00:23:56.046Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-31T00:23:56.046Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T00:23:56.046Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T00:23:56.046Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T00:23:56.046Z] OK: 269 MiB in 57 packages [2023-05-31T00:23:57.421Z] Removing intermediate container 96649b48a814 [2023-05-31T00:23:57.421Z] ---> 4e22154acb27 [2023-05-31T00:23:57.421Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-31T00:23:57.421Z] ---> Running in 4664b8616aa3 [2023-05-31T00:23:57.421Z] Removing intermediate container 4664b8616aa3 [2023-05-31T00:23:57.421Z] ---> a4aa98a40b41 [2023-05-31T00:23:57.421Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-31T00:23:57.680Z] ---> b367e1f7f6ea [2023-05-31T00:23:57.680Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T00:23:57.680Z] ---> Running in f42e4678f27c [2023-05-31T00:24:29.770Z] Removing intermediate container f42e4678f27c [2023-05-31T00:24:29.770Z] ---> 1b6497be7cdd [2023-05-31T00:24:29.770Z] Step 11/12 : COPY . . [2023-05-31T00:24:29.770Z] ---> b25ce40dd176 [2023-05-31T00:24:29.770Z] Step 12/12 : RUN ${MAKE} [2023-05-31T00:24:29.770Z] ---> Running in 23476e89156d [2023-05-31T00:24:29.770Z] noop [2023-05-31T00:24:29.770Z] Removing intermediate container 23476e89156d [2023-05-31T00:24:29.770Z] ---> 2458aaf6a2d1 [2023-05-31T00:24:29.770Z] Successfully built 2458aaf6a2d1 [2023-05-31T00:24:29.770Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:24:30.079Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T00:24:30.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:24:30.152Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:24:30.188Z] $ 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-05-31T00:24:30.534Z] $ docker top 9cf70f537ccd9b2d730e790c7f695d8276443535a7dfda53192635b9046f1f71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T00:24:30.876Z] + go version [2023-05-31T00:24:30.876Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-31T00:24:30.891Z] $ docker stop --time=1 9cf70f537ccd9b2d730e790c7f695d8276443535a7dfda53192635b9046f1f71 [2023-05-31T00:24:32.170Z] $ docker rm -f --volumes 9cf70f537ccd9b2d730e790c7f695d8276443535a7dfda53192635b9046f1f71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:24:32.576Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T00:24:32.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:24:32.644Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:24:32.676Z] $ 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-05-31T00:24:33.064Z] $ docker top 752a7f4f03f8df8500f25de3c2b92e5ab0452f2495d59da68350e18e41630194 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T00:24:33.403Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-31T00:24:33.697Z] + make test [2023-05-31T00:24:33.697Z] go test ./... -coverprofile=coverage.out [2023-05-31T00:24:38.964Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-31T00:24:48.927Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-31T00:24:48.927Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-05-31T00:24:55.489Z] go vet ./... [2023-05-31T00:24:58.768Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T00:24:58.768Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T00:24:58.768Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T00:24:58.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T00:24:58.795Z] $ docker stop --time=1 752a7f4f03f8df8500f25de3c2b92e5ab0452f2495d59da68350e18e41630194 [2023-05-31T00:25:03.740Z] $ docker rm -f --volumes 752a7f4f03f8df8500f25de3c2b92e5ab0452f2495d59da68350e18e41630194 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T00:25:04.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T00:25:04.313Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-31T00:25:04.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T00:25:05.071Z] + ls -al . [2023-05-31T00:25:05.071Z] total 172 [2023-05-31T00:25:05.071Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 00:24 . [2023-05-31T00:25:05.071Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:23 .. [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 6 May 31 00:23 .dockerignore [2023-05-31T00:25:05.071Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:23 .git [2023-05-31T00:25:05.071Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:23 .github [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 328 May 31 00:23 .gitignore [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 00:23 .golangci.yml [2023-05-31T00:25:05.071Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:23 .semver [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 31 00:23 Attribution.txt [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 10534 May 31 00:23 CHANGELOG.md [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 31 00:23 Dockerfile [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 00:23 GOVERNANCE.md [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 656 May 31 00:23 Jenkinsfile [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 00:23 LICENSE [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 31 00:23 Makefile [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 00:23 OWNERS.md [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 10559 May 31 00:23 README.md [2023-05-31T00:25:05.071Z] -rw-rw-r-- 1 jenkins jenkins 12 May 31 00:23 VERSION [2023-05-31T00:25:05.071Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:23 bin [2023-05-31T00:25:05.071Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:23 cmd [2023-05-31T00:25:05.071Z] -rw-r--r-- 1 jenkins jenkins 8837 May 31 00:24 coverage.out [2023-05-31T00:25:05.072Z] -rw-rw-r-- 1 jenkins jenkins 3235 May 31 00:23 go.mod [2023-05-31T00:25:05.072Z] -rw-rw-r-- 1 jenkins jenkins 31230 May 31 00:23 go.sum [2023-05-31T00:25:05.072Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:23 internal [2023-05-31T00:25:05.072Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:23 snap [2023-05-31T00:25:05.072Z] -rw-rw-r-- 1 jenkins jenkins 228 May 31 00:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:05.371Z] + 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=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 --label arch=amd64 --label version=3.0.0-dev.28 . [2023-05-31T00:25:05.371Z] Sending build context to Docker daemon 5.871MB [2023-05-31T00:25:05.371Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T00:25:05.371Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-31T00:25:05.371Z] ---> 2458aaf6a2d1 [2023-05-31T00:25:05.371Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-31T00:25:05.630Z] ---> Running in 335e0ef19adc [2023-05-31T00:25:05.630Z] Removing intermediate container 335e0ef19adc [2023-05-31T00:25:05.630Z] ---> eaf29bdb5fa9 [2023-05-31T00:25:05.630Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T00:25:05.630Z] ---> Running in aeee6290a81a [2023-05-31T00:25:05.888Z] Removing intermediate container aeee6290a81a [2023-05-31T00:25:05.888Z] ---> c020e8401bb9 [2023-05-31T00:25:05.888Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T00:25:05.888Z] ---> Running in 1d23e81ed579 [2023-05-31T00:25:05.888Z] Removing intermediate container 1d23e81ed579 [2023-05-31T00:25:05.888Z] ---> f94c6e9ae57b [2023-05-31T00:25:05.888Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T00:25:05.888Z] ---> Running in 7d99edb3f293 [2023-05-31T00:25:05.888Z] Removing intermediate container 7d99edb3f293 [2023-05-31T00:25:05.888Z] ---> 6cd4c5aa834a [2023-05-31T00:25:05.888Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T00:25:05.888Z] ---> Running in 1fc6c3ca1778 [2023-05-31T00:25:06.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T00:25:06.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T00:25:06.664Z] OK: 269 MiB in 57 packages [2023-05-31T00:25:07.231Z] Removing intermediate container 1fc6c3ca1778 [2023-05-31T00:25:07.231Z] ---> c21fcba23cc4 [2023-05-31T00:25:07.231Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-31T00:25:07.231Z] ---> Running in ab40079dc731 [2023-05-31T00:25:07.489Z] Removing intermediate container ab40079dc731 [2023-05-31T00:25:07.489Z] ---> 9212aed5a80e [2023-05-31T00:25:07.489Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-31T00:25:07.489Z] ---> 6b9faef1dbde [2023-05-31T00:25:07.489Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T00:25:07.489Z] ---> Running in 463fce5fb757 [2023-05-31T00:25:08.427Z] Removing intermediate container 463fce5fb757 [2023-05-31T00:25:08.427Z] ---> 95c617cc6da0 [2023-05-31T00:25:08.427Z] Step 11/24 : COPY . . [2023-05-31T00:25:09.015Z] ---> 64ad78e0b5a9 [2023-05-31T00:25:09.015Z] Step 12/24 : RUN ${MAKE} [2023-05-31T00:25:09.015Z] ---> Running in eedfcc4f1dfa [2023-05-31T00:25:09.587Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-31T00:25:31.574Z] Removing intermediate container eedfcc4f1dfa [2023-05-31T00:25:31.574Z] ---> dd3a635f34f4 [2023-05-31T00:25:31.574Z] Step 13/24 : FROM alpine:3.17 [2023-05-31T00:25:31.574Z] 3.17: Pulling from library/alpine [2023-05-31T00:25:31.574Z] f56be85fc22e: Already exists [2023-05-31T00:25:31.574Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T00:25:31.574Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T00:25:31.574Z] ---> 9ed4aefc74f6 [2023-05-31T00:25:31.574Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-31T00:25:31.574Z] ---> Running in 83043303f17d [2023-05-31T00:25:31.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T00:25:31.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T00:25:31.574Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T00:25:31.574Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T00:25:31.574Z] OK: 7 MiB in 16 packages [2023-05-31T00:25:32.140Z] Removing intermediate container 83043303f17d [2023-05-31T00:25:32.140Z] ---> 5fd17a0bf462 [2023-05-31T00:25:32.140Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-31T00:25:32.708Z] ---> e4d1b8aacd4e [2023-05-31T00:25:32.708Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-31T00:25:32.968Z] ---> f1ac57806c1b [2023-05-31T00:25:32.968Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-31T00:25:32.968Z] ---> 15b2267320ad [2023-05-31T00:25:32.968Z] Step 18/24 : EXPOSE 59993 [2023-05-31T00:25:33.229Z] ---> Running in 3b45728d39e0 [2023-05-31T00:25:33.229Z] Removing intermediate container 3b45728d39e0 [2023-05-31T00:25:33.229Z] ---> d67a6b6a747e [2023-05-31T00:25:33.229Z] Step 19/24 : EXPOSE 161 [2023-05-31T00:25:33.229Z] ---> Running in cc79939ff2b6 [2023-05-31T00:25:33.229Z] Removing intermediate container cc79939ff2b6 [2023-05-31T00:25:33.229Z] ---> 0469ec3bebe7 [2023-05-31T00:25:33.229Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-31T00:25:33.229Z] ---> Running in e51f00660157 [2023-05-31T00:25:33.490Z] Removing intermediate container e51f00660157 [2023-05-31T00:25:33.490Z] ---> ddf8c66fb830 [2023-05-31T00:25:33.490Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-31T00:25:33.490Z] ---> Running in f129c9f53402 [2023-05-31T00:25:33.490Z] Removing intermediate container f129c9f53402 [2023-05-31T00:25:33.490Z] ---> dd45528a8b91 [2023-05-31T00:25:33.490Z] Step 22/24 : LABEL arch=amd64 [2023-05-31T00:25:33.490Z] ---> Running in 7f59605e01cd [2023-05-31T00:25:33.490Z] Removing intermediate container 7f59605e01cd [2023-05-31T00:25:33.490Z] ---> e47491a44795 [2023-05-31T00:25:33.490Z] Step 23/24 : LABEL git_sha=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T00:25:33.490Z] ---> Running in 097647e690fb [2023-05-31T00:25:33.749Z] Removing intermediate container 097647e690fb [2023-05-31T00:25:33.749Z] ---> af7ab9dc54b4 [2023-05-31T00:25:33.749Z] Step 24/24 : LABEL version=3.0.0-dev.28 [2023-05-31T00:25:33.749Z] ---> Running in 8366c158f3ab [2023-05-31T00:25:33.749Z] Removing intermediate container 8366c158f3ab [2023-05-31T00:25:33.749Z] ---> 4babe69a14e4 [2023-05-31T00:25:33.749Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T00:25:33.749Z] Successfully built 4babe69a14e4 [2023-05-31T00:25:33.749Z] 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-05-31T00:25:33.863Z] provisioning config files... [2023-05-31T00:25:33.871Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8698897659431366318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:25:34.168Z] ---> docker-login.sh [2023-05-31T00:25:34.168Z] nexus3.edgexfoundry.org:10001 [2023-05-31T00:25:34.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:25:34.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:25:34.168Z] Configure a credential helper to remove this warning. See [2023-05-31T00:25:34.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:25:34.168Z] [2023-05-31T00:25:34.168Z] Login Succeeded [2023-05-31T00:25:34.168Z] nexus3.edgexfoundry.org:10002 [2023-05-31T00:25:34.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:25:34.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:25:34.168Z] Configure a credential helper to remove this warning. See [2023-05-31T00:25:34.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:25:34.168Z] [2023-05-31T00:25:34.168Z] Login Succeeded [2023-05-31T00:25:34.168Z] nexus3.edgexfoundry.org:10003 [2023-05-31T00:25:34.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:25:34.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:25:34.427Z] Configure a credential helper to remove this warning. See [2023-05-31T00:25:34.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:25:34.427Z] [2023-05-31T00:25:34.427Z] Login Succeeded [2023-05-31T00:25:34.427Z] nexus3.edgexfoundry.org:10004 [2023-05-31T00:25:34.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:25:34.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:25:34.427Z] Configure a credential helper to remove this warning. See [2023-05-31T00:25:34.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:25:34.427Z] [2023-05-31T00:25:34.427Z] Login Succeeded [2023-05-31T00:25:34.427Z] docker.io [2023-05-31T00:25:34.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:25:34.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:25:34.686Z] Configure a credential helper to remove this warning. See [2023-05-31T00:25:34.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:25:34.686Z] [2023-05-31T00:25:34.686Z] Login Succeeded [2023-05-31T00:25:34.686Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T00:25:34.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T00:25:34.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T00:25:34.730Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-31T00:25:34.731Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T00:25:34.731Z] latest [2023-05-31T00:25:34.731Z] 3.0.0-dev.28 [2023-05-31T00:25:34.731Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28 [2023-05-31T00:25:34.731Z] main [2023-05-31T00:25:34.731Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:35.037Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:35.338Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T00:25:35.338Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T00:25:35.338Z] 9104bb57fd3b: Preparing [2023-05-31T00:25:35.338Z] f5e753a5fecd: Preparing [2023-05-31T00:25:35.338Z] 9979616b2877: Preparing [2023-05-31T00:25:35.338Z] 3c5eef8237fe: Preparing [2023-05-31T00:25:35.338Z] f1417ff83b31: Preparing [2023-05-31T00:25:35.338Z] f1417ff83b31: Layer already exists [2023-05-31T00:25:35.338Z] 3c5eef8237fe: Pushed [2023-05-31T00:25:35.338Z] 9104bb57fd3b: Pushed [2023-05-31T00:25:35.338Z] f5e753a5fecd: Pushed [2023-05-31T00:25:38.628Z] 9979616b2877: Pushed [2023-05-31T00:25:38.628Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0: digest: sha256:d76234723870770912aba00beb947b1b7829a5df96b5988a01a6fd26162152cc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:38.934Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:39.243Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-31T00:25:39.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T00:25:39.243Z] 9104bb57fd3b: Preparing [2023-05-31T00:25:39.243Z] f5e753a5fecd: Preparing [2023-05-31T00:25:39.243Z] 9979616b2877: Preparing [2023-05-31T00:25:39.243Z] 3c5eef8237fe: Preparing [2023-05-31T00:25:39.243Z] f1417ff83b31: Preparing [2023-05-31T00:25:39.243Z] 9104bb57fd3b: Layer already exists [2023-05-31T00:25:39.243Z] 3c5eef8237fe: Layer already exists [2023-05-31T00:25:39.243Z] f5e753a5fecd: Layer already exists [2023-05-31T00:25:39.243Z] 9979616b2877: Layer already exists [2023-05-31T00:25:39.243Z] f1417ff83b31: Layer already exists [2023-05-31T00:25:39.243Z] latest: digest: sha256:d76234723870770912aba00beb947b1b7829a5df96b5988a01a6fd26162152cc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:39.558Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:39.866Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.28 [2023-05-31T00:25:39.866Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T00:25:39.866Z] 9104bb57fd3b: Preparing [2023-05-31T00:25:39.866Z] f5e753a5fecd: Preparing [2023-05-31T00:25:39.866Z] 9979616b2877: Preparing [2023-05-31T00:25:39.866Z] 3c5eef8237fe: Preparing [2023-05-31T00:25:39.866Z] f1417ff83b31: Preparing [2023-05-31T00:25:39.866Z] 9104bb57fd3b: Layer already exists [2023-05-31T00:25:39.866Z] 3c5eef8237fe: Layer already exists [2023-05-31T00:25:39.866Z] f5e753a5fecd: Layer already exists [2023-05-31T00:25:39.866Z] f1417ff83b31: Layer already exists [2023-05-31T00:25:39.866Z] 9979616b2877: Layer already exists [2023-05-31T00:25:39.866Z] 3.0.0-dev.28: digest: sha256:d76234723870770912aba00beb947b1b7829a5df96b5988a01a6fd26162152cc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:40.180Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:40.488Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28 [2023-05-31T00:25:40.488Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T00:25:40.488Z] 9104bb57fd3b: Preparing [2023-05-31T00:25:40.488Z] f5e753a5fecd: Preparing [2023-05-31T00:25:40.488Z] 9979616b2877: Preparing [2023-05-31T00:25:40.488Z] 3c5eef8237fe: Preparing [2023-05-31T00:25:40.488Z] f1417ff83b31: Preparing [2023-05-31T00:25:40.488Z] f1417ff83b31: Layer already exists [2023-05-31T00:25:40.488Z] 9104bb57fd3b: Layer already exists [2023-05-31T00:25:40.488Z] f5e753a5fecd: Layer already exists [2023-05-31T00:25:40.488Z] 9979616b2877: Layer already exists [2023-05-31T00:25:40.488Z] 3c5eef8237fe: Layer already exists [2023-05-31T00:25:40.488Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28: digest: sha256:d76234723870770912aba00beb947b1b7829a5df96b5988a01a6fd26162152cc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:40.803Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:41.107Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-31T00:25:41.107Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T00:25:41.107Z] 9104bb57fd3b: Preparing [2023-05-31T00:25:41.107Z] f5e753a5fecd: Preparing [2023-05-31T00:25:41.107Z] 9979616b2877: Preparing [2023-05-31T00:25:41.107Z] 3c5eef8237fe: Preparing [2023-05-31T00:25:41.107Z] f1417ff83b31: Preparing [2023-05-31T00:25:41.107Z] f1417ff83b31: Layer already exists [2023-05-31T00:25:41.107Z] 9104bb57fd3b: Layer already exists [2023-05-31T00:25:41.107Z] 3c5eef8237fe: Layer already exists [2023-05-31T00:25:41.107Z] f5e753a5fecd: Layer already exists [2023-05-31T00:25:41.107Z] 9979616b2877: Layer already exists [2023-05-31T00:25:41.107Z] main: digest: sha256:d76234723870770912aba00beb947b1b7829a5df96b5988a01a6fd26162152cc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T00:25:41.160Z] ===================================================== [Pipeline] echo [2023-05-31T00:25:41.169Z] taggedImages: [2023-05-31T00:25:41.169Z] - nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T00:25:41.169Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-31T00:25:41.169Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.28 [2023-05-31T00:25:41.169Z] - nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28 [2023-05-31T00:25:41.169Z] - 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-05-31T00:25:41.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T00:25:41.547Z] [2023-05-31T00:25:41.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:25:41.843Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T00:25:41.843Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-31T00:25:41.843Z] 5eb5b503b376: Pulling fs layer [2023-05-31T00:25:41.843Z] 5c69ac0246d0: Pulling fs layer [2023-05-31T00:25:41.843Z] ec43610c2a17: Pulling fs layer [2023-05-31T00:25:41.843Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-31T00:25:41.843Z] 33b1e0a273af: Pulling fs layer [2023-05-31T00:25:41.843Z] 5d3b04190fa2: Pulling fs layer [2023-05-31T00:25:41.843Z] 2f39f015ded8: Pulling fs layer [2023-05-31T00:25:41.843Z] 33b1e0a273af: Waiting [2023-05-31T00:25:41.843Z] 5d3b04190fa2: Waiting [2023-05-31T00:25:41.843Z] 2f39f015ded8: Waiting [2023-05-31T00:25:41.843Z] 3a2ae6a8a46f: Waiting [2023-05-31T00:25:41.843Z] 5c69ac0246d0: Download complete [2023-05-31T00:25:41.843Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-31T00:25:41.843Z] 3a2ae6a8a46f: Download complete [2023-05-31T00:25:41.843Z] 33b1e0a273af: Verifying Checksum [2023-05-31T00:25:41.843Z] 33b1e0a273af: Download complete [2023-05-31T00:25:42.102Z] ec43610c2a17: Verifying Checksum [2023-05-31T00:25:42.102Z] ec43610c2a17: Download complete [2023-05-31T00:25:42.102Z] 5d3b04190fa2: Download complete [2023-05-31T00:25:42.102Z] 5eb5b503b376: Verifying Checksum [2023-05-31T00:25:42.102Z] 5eb5b503b376: Download complete [2023-05-31T00:25:42.670Z] 2f39f015ded8: Download complete [2023-05-31T00:25:43.239Z] 5eb5b503b376: Pull complete [2023-05-31T00:25:43.498Z] 5c69ac0246d0: Pull complete [2023-05-31T00:25:44.066Z] ec43610c2a17: Pull complete [2023-05-31T00:25:44.066Z] 3a2ae6a8a46f: Pull complete [2023-05-31T00:25:44.325Z] 33b1e0a273af: Pull complete [2023-05-31T00:25:44.325Z] 5d3b04190fa2: Pull complete [2023-05-31T00:25:49.593Z] 2f39f015ded8: Pull complete [2023-05-31T00:25:49.593Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-31T00:25:49.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T00:25:49.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:25:49.674Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:25:49.706Z] $ 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-05-31T00:25:53.721Z] $ docker top fcf16ff3d8d59a2804b4358725f37c50b3efce8af0c795da57c4823177311ca5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:25:54.094Z] ---> job-cost.sh [2023-05-31T00:25:54.094Z] lf-activate-venv: SKIPPING [2023-05-31T00:25:54.094Z] INFO: No Stack... [2023-05-31T00:25:54.353Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T00:25:54.922Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T00:25:55.211Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-05-31T00:25:55.211Z] + cut -d, -f6 [Pipeline] lock [2023-05-31T00:25:55.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-85-stack-cost] [2023-05-31T00:25:55.285Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-85-stack-cost] did not exist. Created. [2023-05-31T00:25:55.285Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-85-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T00:25:55.589Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-31T00:25:55.617Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T00:25:55.627Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-85-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T00:25:55.652Z] $ docker stop --time=1 fcf16ff3d8d59a2804b4358725f37c50b3efce8af0c795da57c4823177311ca5 [2023-05-31T00:25:56.811Z] $ docker rm -f --volumes fcf16ff3d8d59a2804b4358725f37c50b3efce8af0c795da57c4823177311ca5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-31T00:26:52.586Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17416 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-31T00:26:52.598Z] Running in /w/workspace/device-snmp-go/85 [Pipeline] { [Pipeline] checkout [2023-05-31T00:26:52.636Z] Selected Git installation does not exist. Using Default [2023-05-31T00:26:52.636Z] The recommended git tool is: NONE [2023-05-31T00:27:00.127Z] using credential edgex-jenkins-ssh [2023-05-31T00:27:00.144Z] Cloning the remote Git repository [2023-05-31T00:27:00.198Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-31T00:27:00.320Z] > git init /w/workspace/device-snmp-go/85 # timeout=10 [2023-05-31T00:27:00.510Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-31T00:27:00.511Z] > git --version # timeout=10 [2023-05-31T00:27:00.538Z] > git --version # 'git version 2.25.1' [2023-05-31T00:27:00.542Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-31T00:27:00.735Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T00:27:04.222Z] Avoid second fetch [2023-05-31T00:27:04.222Z] Checking out Revision 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 (main) [2023-05-31T00:27:03.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-31T00:27:03.057Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T00:27:04.242Z] > git config core.sparsecheckout # timeout=10 [2023-05-31T00:27:04.329Z] > git checkout -f 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 [2023-05-31T00:27:05.033Z] Commit message: "docs: Add main branch warning (#314)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T00:27:05.966Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-31T00:27:05.966Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T00:27:05.966Z] Dload Upload Total Spent Left Speed [2023-05-31T00:27:05.966Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-05-31T00:27:06.684Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-31T00:27:12.417Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-31T00:27:12.417Z] + sudo tee /etc/docker/daemon.new [2023-05-31T00:27:12.417Z] { [2023-05-31T00:27:12.417Z] "registry-mirrors": [ [2023-05-31T00:27:12.417Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-31T00:27:12.417Z] ], [2023-05-31T00:27:12.417Z] "bip": "10.250.0.254/24", [2023-05-31T00:27:12.417Z] "hosts": [ [2023-05-31T00:27:12.417Z] "tcp://0.0.0.0:5555", [2023-05-31T00:27:12.417Z] "unix:///var/run/docker.sock" [2023-05-31T00:27:12.417Z] ], [2023-05-31T00:27:12.417Z] "mtu": 1458, [2023-05-31T00:27:12.417Z] "selinux-enabled": true, [2023-05-31T00:27:12.417Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-31T00:27:12.417Z] } [Pipeline] sh [2023-05-31T00:27:12.772Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-31T00:27:13.124Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T00:27:31.437Z] provisioning config files... [2023-05-31T00:27:31.472Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/85@tmp/config11862653126076145117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:27:31.865Z] ---> docker-login.sh [2023-05-31T00:27:31.865Z] nexus3.edgexfoundry.org:10001 [2023-05-31T00:27:32.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:27:32.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:27:32.458Z] Configure a credential helper to remove this warning. See [2023-05-31T00:27:32.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:27:32.458Z] [2023-05-31T00:27:32.458Z] Login Succeeded [2023-05-31T00:27:32.732Z] nexus3.edgexfoundry.org:10002 [2023-05-31T00:27:32.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:27:33.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:27:33.007Z] Configure a credential helper to remove this warning. See [2023-05-31T00:27:33.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:27:33.007Z] [2023-05-31T00:27:33.007Z] Login Succeeded [2023-05-31T00:27:33.007Z] nexus3.edgexfoundry.org:10003 [2023-05-31T00:27:33.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:27:33.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:27:33.284Z] Configure a credential helper to remove this warning. See [2023-05-31T00:27:33.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:27:33.284Z] [2023-05-31T00:27:33.562Z] Login Succeeded [2023-05-31T00:27:33.562Z] nexus3.edgexfoundry.org:10004 [2023-05-31T00:27:33.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:27:33.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:27:33.836Z] Configure a credential helper to remove this warning. See [2023-05-31T00:27:33.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:27:33.836Z] [2023-05-31T00:27:33.836Z] Login Succeeded [2023-05-31T00:27:33.836Z] docker.io [2023-05-31T00:27:34.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:27:34.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:27:34.388Z] Configure a credential helper to remove this warning. See [2023-05-31T00:27:34.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:27:34.388Z] [2023-05-31T00:27:34.388Z] Login Succeeded [2023-05-31T00:27:34.388Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T00:27:34.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T00:27:34.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T00:27:34.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T00:27:34.808Z] ========================================================= [2023-05-31T00:27:34.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-31T00:27:34.808Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:27:35.181Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-31T00:27:35.471Z] Sending build context to Docker daemon 3.043MB [2023-05-31T00:27:35.471Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T00:27:35.471Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-31T00:27:35.751Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-31T00:27:35.751Z] c41833b44d91: Pulling fs layer [2023-05-31T00:27:35.751Z] ed15518f5707: Pulling fs layer [2023-05-31T00:27:35.751Z] feae8fd75edb: Pulling fs layer [2023-05-31T00:27:35.751Z] 242c74f7c9fa: Pulling fs layer [2023-05-31T00:27:35.751Z] 3cdef696dda3: Pulling fs layer [2023-05-31T00:27:35.751Z] 2ced38df9373: Pulling fs layer [2023-05-31T00:27:35.751Z] 58f1dce35555: Pulling fs layer [2023-05-31T00:27:35.751Z] 242c74f7c9fa: Waiting [2023-05-31T00:27:35.751Z] 3cdef696dda3: Waiting [2023-05-31T00:27:35.751Z] 58f1dce35555: Waiting [2023-05-31T00:27:35.751Z] 2ced38df9373: Waiting [2023-05-31T00:27:35.751Z] ed15518f5707: Verifying Checksum [2023-05-31T00:27:35.751Z] ed15518f5707: Download complete [2023-05-31T00:27:35.751Z] 242c74f7c9fa: Verifying Checksum [2023-05-31T00:27:35.751Z] 242c74f7c9fa: Download complete [2023-05-31T00:27:35.751Z] 3cdef696dda3: Verifying Checksum [2023-05-31T00:27:35.751Z] 3cdef696dda3: Download complete [2023-05-31T00:27:36.027Z] c41833b44d91: Verifying Checksum [2023-05-31T00:27:36.027Z] c41833b44d91: Download complete [2023-05-31T00:27:37.010Z] c41833b44d91: Pull complete [2023-05-31T00:27:37.607Z] 58f1dce35555: Verifying Checksum [2023-05-31T00:27:37.607Z] 58f1dce35555: Download complete [2023-05-31T00:27:37.607Z] ed15518f5707: Pull complete [2023-05-31T00:27:38.583Z] feae8fd75edb: Verifying Checksum [2023-05-31T00:27:38.583Z] feae8fd75edb: Download complete [2023-05-31T00:27:38.583Z] 2ced38df9373: Verifying Checksum [2023-05-31T00:27:38.583Z] 2ced38df9373: Download complete [2023-05-31T00:27:50.952Z] feae8fd75edb: Pull complete [2023-05-31T00:27:50.952Z] 242c74f7c9fa: Pull complete [2023-05-31T00:27:50.952Z] 3cdef696dda3: Pull complete [2023-05-31T00:27:57.794Z] 2ced38df9373: Pull complete [2023-05-31T00:27:59.214Z] 58f1dce35555: Pull complete [2023-05-31T00:27:59.214Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-31T00:27:59.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-31T00:27:59.214Z] ---> fadd8f120f05 [2023-05-31T00:27:59.214Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-31T00:28:01.846Z] ---> Running in 07847691b3d0 [2023-05-31T00:28:01.846Z] Removing intermediate container 07847691b3d0 [2023-05-31T00:28:01.847Z] ---> 8005ba8743ed [2023-05-31T00:28:01.847Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T00:28:02.119Z] ---> Running in 7207b021b87c [2023-05-31T00:28:02.392Z] Removing intermediate container 7207b021b87c [2023-05-31T00:28:02.392Z] ---> 9e8b2d2915eb [2023-05-31T00:28:02.392Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T00:28:02.687Z] ---> Running in ddc890c549f2 [2023-05-31T00:28:02.958Z] Removing intermediate container ddc890c549f2 [2023-05-31T00:28:02.958Z] ---> 94882ef699c1 [2023-05-31T00:28:02.958Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T00:28:03.229Z] ---> Running in f47eb51c0dfa [2023-05-31T00:28:03.503Z] Removing intermediate container f47eb51c0dfa [2023-05-31T00:28:03.503Z] ---> 6e3c84a6aec8 [2023-05-31T00:28:03.503Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T00:28:03.503Z] ---> Running in 94844ad5036a [2023-05-31T00:28:04.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T00:28:05.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T00:28:06.948Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T00:28:06.948Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-31T00:28:06.948Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T00:28:06.948Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T00:28:06.948Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T00:28:06.948Z] OK: 268 MiB in 57 packages [2023-05-31T00:28:08.366Z] Removing intermediate container 94844ad5036a [2023-05-31T00:28:08.366Z] ---> 878c424058cb [2023-05-31T00:28:08.366Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-31T00:28:08.366Z] ---> Running in b0145417f60f [2023-05-31T00:28:08.636Z] Removing intermediate container b0145417f60f [2023-05-31T00:28:08.636Z] ---> 62928a4fbeab [2023-05-31T00:28:08.636Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-31T00:28:09.224Z] ---> c6cb1f196c72 [2023-05-31T00:28:09.224Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T00:28:09.224Z] ---> Running in 5e52886d69ee [2023-05-31T00:29:17.138Z] Removing intermediate container 5e52886d69ee [2023-05-31T00:29:17.138Z] ---> 5b129fcf12a7 [2023-05-31T00:29:17.138Z] Step 11/12 : COPY . . [2023-05-31T00:29:17.138Z] ---> 3affd403b244 [2023-05-31T00:29:17.138Z] Step 12/12 : RUN ${MAKE} [2023-05-31T00:29:17.408Z] ---> Running in 6eebc754e131 [2023-05-31T00:29:18.376Z] noop [2023-05-31T00:29:19.350Z] Removing intermediate container 6eebc754e131 [2023-05-31T00:29:19.350Z] ---> 532b76b77c85 [2023-05-31T00:29:19.350Z] Successfully built 532b76b77c85 [2023-05-31T00:29:19.350Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:29:19.714Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T00:29:19.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:29:19.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-17416 does not seem to be running inside a container [2023-05-31T00:29:20.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/85 -v /w/workspace/device-snmp-go/85:/w/workspace/device-snmp-go/85:rw,z -v /w/workspace/device-snmp-go/85@tmp:/w/workspace/device-snmp-go/85@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-05-31T00:29:21.402Z] $ docker top 80feaf8dd31bf801819b64286d65ce3fb52e550d13727b8dd47fdc753494227a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T00:29:22.275Z] + go version [2023-05-31T00:29:22.275Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-31T00:29:22.302Z] $ docker stop --time=1 80feaf8dd31bf801819b64286d65ce3fb52e550d13727b8dd47fdc753494227a [2023-05-31T00:29:24.043Z] $ docker rm -f --volumes 80feaf8dd31bf801819b64286d65ce3fb52e550d13727b8dd47fdc753494227a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:29:24.632Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T00:29:24.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:29:24.832Z] prd-ubuntu20.04-docker-arm64-4c-16g-17416 does not seem to be running inside a container [2023-05-31T00:29:24.916Z] $ 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/85 -v /w/workspace/device-snmp-go/85:/w/workspace/device-snmp-go/85:rw,z -v /w/workspace/device-snmp-go/85@tmp:/w/workspace/device-snmp-go/85@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-05-31T00:29:26.244Z] $ docker top e9e1f48ef5729f141020a5d5bf2bba8d6a2e40ffb29e25c820763993b4dc8b0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T00:29:27.116Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/85 [Pipeline] fileExists [Pipeline] sh [2023-05-31T00:29:27.786Z] + make test [2023-05-31T00:29:27.786Z] go test ./... -coverprofile=coverage.out [2023-05-31T00:30:07.125Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-31T00:32:43.964Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-31T00:32:44.235Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements [2023-05-31T00:32:44.823Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-31T00:32:44.823Z] go vet ./... [2023-05-31T00:33:17.105Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T00:33:17.105Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T00:33:17.105Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T00:33:17.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T00:33:17.143Z] $ docker stop --time=1 e9e1f48ef5729f141020a5d5bf2bba8d6a2e40ffb29e25c820763993b4dc8b0d [2023-05-31T00:33:19.077Z] $ docker rm -f --volumes e9e1f48ef5729f141020a5d5bf2bba8d6a2e40ffb29e25c820763993b4dc8b0d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T00:33:20.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T00:33:20.352Z] Warning: overwriting stash ‘coverage-report’ [2023-05-31T00:33:20.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T00:33:21.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T00:33:21.608Z] + ls -al . [2023-05-31T00:33:21.608Z] total 168 [2023-05-31T00:33:21.608Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:29 . [2023-05-31T00:33:21.608Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:27 .. [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 6 May 31 00:27 .dockerignore [2023-05-31T00:33:21.608Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:27 .git [2023-05-31T00:33:21.608Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:27 .github [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 328 May 31 00:27 .gitignore [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 00:27 .golangci.yml [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 31 00:27 Attribution.txt [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 10534 May 31 00:27 CHANGELOG.md [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 31 00:27 Dockerfile [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 00:27 GOVERNANCE.md [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 656 May 31 00:27 Jenkinsfile [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 00:27 LICENSE [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 31 00:27 Makefile [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 00:27 OWNERS.md [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 10559 May 31 00:27 README.md [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 12 May 31 00:23 VERSION [2023-05-31T00:33:21.608Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:27 bin [2023-05-31T00:33:21.608Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:27 cmd [2023-05-31T00:33:21.608Z] -rw-r--r-- 1 jenkins jenkins 8837 May 31 00:32 coverage.out [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 3235 May 31 00:27 go.mod [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 31230 May 31 00:27 go.sum [2023-05-31T00:33:21.608Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:27 internal [2023-05-31T00:33:21.608Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:27 snap [2023-05-31T00:33:21.608Z] -rw-rw-r-- 1 jenkins jenkins 228 May 31 00:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:33:21.954Z] + 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=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 --label arch=arm64 --label version=3.0.0-dev.28 . [2023-05-31T00:33:22.224Z] Sending build context to Docker daemon 3.053MB [2023-05-31T00:33:22.224Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T00:33:22.224Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-31T00:33:22.224Z] ---> 532b76b77c85 [2023-05-31T00:33:22.224Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-31T00:33:22.493Z] ---> Running in 5d20877f6b9e [2023-05-31T00:33:22.762Z] Removing intermediate container 5d20877f6b9e [2023-05-31T00:33:22.762Z] ---> 8199a81cf029 [2023-05-31T00:33:22.762Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T00:33:22.762Z] ---> Running in 36fa55b39724 [2023-05-31T00:33:23.043Z] Removing intermediate container 36fa55b39724 [2023-05-31T00:33:23.043Z] ---> d87c1bdac134 [2023-05-31T00:33:23.043Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T00:33:23.043Z] ---> Running in 57da2b2daad3 [2023-05-31T00:33:23.636Z] Removing intermediate container 57da2b2daad3 [2023-05-31T00:33:23.636Z] ---> 5f458507fa35 [2023-05-31T00:33:23.636Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T00:33:23.636Z] ---> Running in 47334e13d91d [2023-05-31T00:33:23.905Z] Removing intermediate container 47334e13d91d [2023-05-31T00:33:23.905Z] ---> 21603765090b [2023-05-31T00:33:23.905Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T00:33:23.905Z] ---> Running in adc1bab9a9f1 [2023-05-31T00:33:24.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T00:33:25.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T00:33:26.794Z] OK: 268 MiB in 57 packages [2023-05-31T00:33:27.876Z] Removing intermediate container adc1bab9a9f1 [2023-05-31T00:33:27.876Z] ---> 3b5a98b4baf9 [2023-05-31T00:33:27.876Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-31T00:33:27.876Z] ---> Running in f632881e39fb [2023-05-31T00:33:28.147Z] Removing intermediate container f632881e39fb [2023-05-31T00:33:28.147Z] ---> 20c9e8504e2a [2023-05-31T00:33:28.147Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-31T00:33:28.739Z] ---> 6d4817cb19ea [2023-05-31T00:33:28.739Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T00:33:28.739Z] ---> Running in ad09d1377179 [2023-05-31T00:33:31.329Z] Removing intermediate container ad09d1377179 [2023-05-31T00:33:31.329Z] ---> 7dad26c3e379 [2023-05-31T00:33:31.329Z] Step 11/24 : COPY . . [2023-05-31T00:33:32.305Z] ---> 54d5ab189b65 [2023-05-31T00:33:32.305Z] Step 12/24 : RUN ${MAKE} [2023-05-31T00:33:32.305Z] ---> Running in 468de785b6ab [2023-05-31T00:33:33.290Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-31T00:36:10.030Z] Removing intermediate container 468de785b6ab [2023-05-31T00:36:10.030Z] ---> 1c93a0a92e4b [2023-05-31T00:36:10.030Z] Step 13/24 : FROM alpine:3.17 [2023-05-31T00:36:10.030Z] 3.17: Pulling from library/alpine [2023-05-31T00:36:10.030Z] c41833b44d91: Already exists [2023-05-31T00:36:10.030Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T00:36:10.030Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T00:36:10.030Z] ---> 51e60588ff2c [2023-05-31T00:36:10.030Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-31T00:36:10.030Z] ---> Running in d01019fe4ac3 [2023-05-31T00:36:10.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T00:36:10.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T00:36:10.030Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T00:36:10.030Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T00:36:10.030Z] OK: 8 MiB in 16 packages [2023-05-31T00:36:10.030Z] Removing intermediate container d01019fe4ac3 [2023-05-31T00:36:10.030Z] ---> 975a26641c22 [2023-05-31T00:36:10.030Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-31T00:36:10.030Z] ---> eaa5c9b9575b [2023-05-31T00:36:10.030Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-31T00:36:10.030Z] ---> 0ee23c31253f [2023-05-31T00:36:10.030Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-31T00:36:10.030Z] ---> 11c32d896057 [2023-05-31T00:36:10.030Z] Step 18/24 : EXPOSE 59993 [2023-05-31T00:36:10.030Z] ---> Running in 5d43c7bca214 [2023-05-31T00:36:10.030Z] Removing intermediate container 5d43c7bca214 [2023-05-31T00:36:10.030Z] ---> a5105b04c05f [2023-05-31T00:36:10.030Z] Step 19/24 : EXPOSE 161 [2023-05-31T00:36:10.030Z] ---> Running in 1124bc255cd1 [2023-05-31T00:36:10.030Z] Removing intermediate container 1124bc255cd1 [2023-05-31T00:36:10.030Z] ---> 8c787e961bc6 [2023-05-31T00:36:10.030Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-31T00:36:10.030Z] ---> Running in 1a0d67f49d56 [2023-05-31T00:36:10.030Z] Removing intermediate container 1a0d67f49d56 [2023-05-31T00:36:10.030Z] ---> 46c9a77b1df9 [2023-05-31T00:36:10.030Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-31T00:36:10.030Z] ---> Running in 495aca0fccc7 [2023-05-31T00:36:10.030Z] Removing intermediate container 495aca0fccc7 [2023-05-31T00:36:10.030Z] ---> fbb43e1f1efb [2023-05-31T00:36:10.030Z] Step 22/24 : LABEL arch=arm64 [2023-05-31T00:36:10.030Z] ---> Running in a93b46b9074d [2023-05-31T00:36:10.030Z] Removing intermediate container a93b46b9074d [2023-05-31T00:36:10.030Z] ---> 84c537235311 [2023-05-31T00:36:10.030Z] Step 23/24 : LABEL git_sha=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T00:36:10.030Z] ---> Running in 36895b6d233c [2023-05-31T00:36:10.615Z] Removing intermediate container 36895b6d233c [2023-05-31T00:36:10.615Z] ---> 46b20d3740ab [2023-05-31T00:36:10.615Z] Step 24/24 : LABEL version=3.0.0-dev.28 [2023-05-31T00:36:10.615Z] ---> Running in 881a5af32119 [2023-05-31T00:36:10.883Z] Removing intermediate container 881a5af32119 [2023-05-31T00:36:10.883Z] ---> 40cd4b081ce6 [2023-05-31T00:36:10.883Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T00:36:10.883Z] Successfully built 40cd4b081ce6 [2023-05-31T00:36:10.883Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T00:36:10.989Z] provisioning config files... [2023-05-31T00:36:11.003Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/85@tmp/config13034909248302553516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:36:11.341Z] ---> docker-login.sh [2023-05-31T00:36:11.341Z] nexus3.edgexfoundry.org:10001 [2023-05-31T00:36:11.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:36:11.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:36:11.619Z] Configure a credential helper to remove this warning. See [2023-05-31T00:36:11.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:36:11.619Z] [2023-05-31T00:36:11.619Z] Login Succeeded [2023-05-31T00:36:11.619Z] nexus3.edgexfoundry.org:10002 [2023-05-31T00:36:11.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:36:11.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:36:11.887Z] Configure a credential helper to remove this warning. See [2023-05-31T00:36:11.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:36:11.887Z] [2023-05-31T00:36:11.887Z] Login Succeeded [2023-05-31T00:36:11.887Z] nexus3.edgexfoundry.org:10003 [2023-05-31T00:36:12.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:36:12.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:36:12.423Z] Configure a credential helper to remove this warning. See [2023-05-31T00:36:12.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:36:12.423Z] [2023-05-31T00:36:12.423Z] Login Succeeded [2023-05-31T00:36:12.423Z] nexus3.edgexfoundry.org:10004 [2023-05-31T00:36:12.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:36:12.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:36:12.691Z] Configure a credential helper to remove this warning. See [2023-05-31T00:36:12.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:36:12.691Z] [2023-05-31T00:36:12.691Z] Login Succeeded [2023-05-31T00:36:12.691Z] docker.io [2023-05-31T00:36:12.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T00:36:13.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T00:36:13.224Z] Configure a credential helper to remove this warning. See [2023-05-31T00:36:13.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T00:36:13.224Z] [2023-05-31T00:36:13.224Z] Login Succeeded [2023-05-31T00:36:13.224Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T00:36:13.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T00:36:13.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T00:36:13.295Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-31T00:36:13.295Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T00:36:13.295Z] latest [2023-05-31T00:36:13.295Z] 3.0.0-dev.28 [2023-05-31T00:36:13.295Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28 [2023-05-31T00:36:13.295Z] main [2023-05-31T00:36:13.295Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:13.661Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:14.029Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T00:36:14.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T00:36:14.029Z] b54ec5b59f02: Preparing [2023-05-31T00:36:14.029Z] 88c8ca5d0275: Preparing [2023-05-31T00:36:14.029Z] 020c87b3b6c8: Preparing [2023-05-31T00:36:14.029Z] cf6b3314b429: Preparing [2023-05-31T00:36:14.029Z] 26cbea5cba74: Preparing [2023-05-31T00:36:14.029Z] 26cbea5cba74: Layer already exists [2023-05-31T00:36:14.297Z] b54ec5b59f02: Pushed [2023-05-31T00:36:14.297Z] 88c8ca5d0275: Pushed [2023-05-31T00:36:14.297Z] cf6b3314b429: Pushed [2023-05-31T00:36:19.641Z] 020c87b3b6c8: Pushed [2023-05-31T00:36:19.641Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0: digest: sha256:44f394478fe4001263ca6b6f2eaddb7323ace6c8f2289a7e091db2ad946fae1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:20.002Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:20.356Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-31T00:36:20.356Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T00:36:20.356Z] b54ec5b59f02: Preparing [2023-05-31T00:36:20.356Z] 88c8ca5d0275: Preparing [2023-05-31T00:36:20.356Z] 020c87b3b6c8: Preparing [2023-05-31T00:36:20.356Z] cf6b3314b429: Preparing [2023-05-31T00:36:20.356Z] 26cbea5cba74: Preparing [2023-05-31T00:36:20.356Z] b54ec5b59f02: Layer already exists [2023-05-31T00:36:20.356Z] 020c87b3b6c8: Layer already exists [2023-05-31T00:36:20.356Z] 88c8ca5d0275: Layer already exists [2023-05-31T00:36:20.356Z] cf6b3314b429: Layer already exists [2023-05-31T00:36:20.356Z] 26cbea5cba74: Layer already exists [2023-05-31T00:36:20.356Z] latest: digest: sha256:44f394478fe4001263ca6b6f2eaddb7323ace6c8f2289a7e091db2ad946fae1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:20.992Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:21.341Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.28 [2023-05-31T00:36:21.341Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T00:36:21.341Z] b54ec5b59f02: Preparing [2023-05-31T00:36:21.341Z] 88c8ca5d0275: Preparing [2023-05-31T00:36:21.341Z] 020c87b3b6c8: Preparing [2023-05-31T00:36:21.341Z] cf6b3314b429: Preparing [2023-05-31T00:36:21.341Z] 26cbea5cba74: Preparing [2023-05-31T00:36:21.341Z] b54ec5b59f02: Layer already exists [2023-05-31T00:36:21.341Z] cf6b3314b429: Layer already exists [2023-05-31T00:36:21.341Z] 88c8ca5d0275: Layer already exists [2023-05-31T00:36:21.341Z] 26cbea5cba74: Layer already exists [2023-05-31T00:36:21.341Z] 020c87b3b6c8: Layer already exists [2023-05-31T00:36:21.341Z] 3.0.0-dev.28: digest: sha256:44f394478fe4001263ca6b6f2eaddb7323ace6c8f2289a7e091db2ad946fae1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:21.965Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:22.899Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28 [2023-05-31T00:36:22.899Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T00:36:22.899Z] b54ec5b59f02: Preparing [2023-05-31T00:36:22.899Z] 88c8ca5d0275: Preparing [2023-05-31T00:36:22.899Z] 020c87b3b6c8: Preparing [2023-05-31T00:36:22.899Z] cf6b3314b429: Preparing [2023-05-31T00:36:22.899Z] 26cbea5cba74: Preparing [2023-05-31T00:36:22.899Z] b54ec5b59f02: Layer already exists [2023-05-31T00:36:22.899Z] 26cbea5cba74: Layer already exists [2023-05-31T00:36:22.899Z] 020c87b3b6c8: Layer already exists [2023-05-31T00:36:22.899Z] cf6b3314b429: Layer already exists [2023-05-31T00:36:22.899Z] 88c8ca5d0275: Layer already exists [2023-05-31T00:36:22.899Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28: digest: sha256:44f394478fe4001263ca6b6f2eaddb7323ace6c8f2289a7e091db2ad946fae1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:23.511Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:23.851Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-31T00:36:23.851Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T00:36:23.851Z] b54ec5b59f02: Preparing [2023-05-31T00:36:23.851Z] 88c8ca5d0275: Preparing [2023-05-31T00:36:23.851Z] 020c87b3b6c8: Preparing [2023-05-31T00:36:23.851Z] cf6b3314b429: Preparing [2023-05-31T00:36:23.851Z] 26cbea5cba74: Preparing [2023-05-31T00:36:23.851Z] 26cbea5cba74: Layer already exists [2023-05-31T00:36:23.851Z] 88c8ca5d0275: Layer already exists [2023-05-31T00:36:23.851Z] cf6b3314b429: Layer already exists [2023-05-31T00:36:23.851Z] 020c87b3b6c8: Layer already exists [2023-05-31T00:36:23.851Z] b54ec5b59f02: Layer already exists [2023-05-31T00:36:24.120Z] main: digest: sha256:44f394478fe4001263ca6b6f2eaddb7323ace6c8f2289a7e091db2ad946fae1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T00:36:24.179Z] ===================================================== [Pipeline] echo [2023-05-31T00:36:24.187Z] taggedImages: [2023-05-31T00:36:24.187Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T00:36:24.187Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-31T00:36:24.187Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.28 [2023-05-31T00:36:24.187Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0-dev.28 [2023-05-31T00:36:24.187Z] - 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-05-31T00:36:24.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T00:36:24.570Z] [2023-05-31T00:36:24.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:36:24.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T00:36:24.914Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-31T00:36:24.914Z] 8998bd30e6a1: Pulling fs layer [2023-05-31T00:36:24.914Z] 04944245beec: Pulling fs layer [2023-05-31T00:36:25.183Z] 699f458cf7ca: Pulling fs layer [2023-05-31T00:36:25.183Z] 765212b225bb: Pulling fs layer [2023-05-31T00:36:25.183Z] f23df028b6ca: Pulling fs layer [2023-05-31T00:36:25.183Z] d65c8cfc05b1: Pulling fs layer [2023-05-31T00:36:25.183Z] 2437ff75d9bd: Pulling fs layer [2023-05-31T00:36:25.183Z] 765212b225bb: Waiting [2023-05-31T00:36:25.183Z] f23df028b6ca: Waiting [2023-05-31T00:36:25.183Z] d65c8cfc05b1: Waiting [2023-05-31T00:36:25.183Z] 2437ff75d9bd: Waiting [2023-05-31T00:36:25.183Z] 04944245beec: Verifying Checksum [2023-05-31T00:36:25.183Z] 04944245beec: Download complete [2023-05-31T00:36:25.183Z] 765212b225bb: Verifying Checksum [2023-05-31T00:36:25.183Z] 765212b225bb: Download complete [2023-05-31T00:36:25.183Z] f23df028b6ca: Verifying Checksum [2023-05-31T00:36:25.183Z] f23df028b6ca: Download complete [2023-05-31T00:36:25.183Z] d65c8cfc05b1: Verifying Checksum [2023-05-31T00:36:25.183Z] d65c8cfc05b1: Download complete [2023-05-31T00:36:25.452Z] 699f458cf7ca: Verifying Checksum [2023-05-31T00:36:25.452Z] 699f458cf7ca: Download complete [2023-05-31T00:36:25.722Z] 8998bd30e6a1: Download complete [2023-05-31T00:36:28.322Z] 2437ff75d9bd: Verifying Checksum [2023-05-31T00:36:28.322Z] 2437ff75d9bd: Download complete [2023-05-31T00:36:30.286Z] 8998bd30e6a1: Pull complete [2023-05-31T00:36:30.873Z] 04944245beec: Pull complete [2023-05-31T00:36:32.291Z] 699f458cf7ca: Pull complete [2023-05-31T00:36:32.560Z] 765212b225bb: Pull complete [2023-05-31T00:36:33.146Z] f23df028b6ca: Pull complete [2023-05-31T00:36:33.414Z] d65c8cfc05b1: Pull complete [2023-05-31T00:36:48.432Z] 2437ff75d9bd: Pull complete [2023-05-31T00:36:50.375Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-31T00:36:50.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T00:36:50.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:36:50.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-17416 does not seem to be running inside a container [2023-05-31T00:36:50.673Z] $ 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/85 -v /w/workspace/device-snmp-go/85:/w/workspace/device-snmp-go/85:rw,z -v /w/workspace/device-snmp-go/85@tmp:/w/workspace/device-snmp-go/85@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-05-31T00:36:53.445Z] $ docker top e50ffe629690afa91d37afe5527ed524af425bd18f0078578c86b75b050e904b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:36:54.290Z] ---> job-cost.sh [2023-05-31T00:36:54.290Z] lf-activate-venv: SKIPPING [2023-05-31T00:36:54.290Z] INFO: No Stack... [2023-05-31T00:36:54.557Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-31T00:36:55.517Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T00:36:56.160Z] + + cat /w/workspace/device-snmp-go/85/archives/cost.csv [2023-05-31T00:36:56.160Z] cut -d, -f6 [Pipeline] lock [2023-05-31T00:36:56.201Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-85-stack-cost] [2023-05-31T00:36:56.208Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-85-stack-cost] did not exist. Created. [2023-05-31T00:36:56.208Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-85-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T00:36:56.865Z] /w/workspace/device-snmp-go/85@tmp/durable-f1502810/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-31T00:36:57.525Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-31T00:36:57.548Z] Warning: overwriting stash ‘stack-cost’ [2023-05-31T00:36:57.597Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T00:36:57.603Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-85-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T00:36:57.628Z] $ docker stop --time=1 e50ffe629690afa91d37afe5527ed524af425bd18f0078578c86b75b050e904b [2023-05-31T00:36:59.154Z] $ docker rm -f --volumes e50ffe629690afa91d37afe5527ed524af425bd18f0078578c86b75b050e904b [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-05-31T00:36:59.552Z] provisioning config files... [2023-05-31T00:36:59.559Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config354109115272534835tmp [Pipeline] { [Pipeline] sh [2023-05-31T00:36:59.850Z] + set +x [2023-05-31T00:36:59.850Z] + + bash -s -- [2023-05-31T00:36:59.850Z] curl -s https://codecov.io/bash [2023-05-31T00:36:59.850Z] [2023-05-31T00:36:59.850Z] _____ _ [2023-05-31T00:36:59.850Z] / ____| | | [2023-05-31T00:36:59.850Z] | | ___ __| | ___ ___ _____ __ [2023-05-31T00:36:59.850Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-31T00:36:59.850Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-31T00:36:59.850Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-31T00:36:59.850Z] Bash-1.0.6 [2023-05-31T00:36:59.850Z] [2023-05-31T00:36:59.850Z] [2023-05-31T00:36:59.850Z] ==> git version 2.25.1 found [2023-05-31T00:36:59.851Z] ==> 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-05-31T00:36:59.851Z] Release-Date: 2020-01-08 [2023-05-31T00:36:59.851Z] 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-05-31T00:36:59.851Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-31T00:36:59.851Z] ==> Jenkins CI detected. [2023-05-31T00:36:59.851Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-31T00:36:59.851Z] project root: . [2023-05-31T00:36:59.851Z] --> token set from env [2023-05-31T00:36:59.851Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-31T00:36:59.851Z] ==> Running gcov in . (disable via -X gcov) [2023-05-31T00:36:59.851Z] ==> Python coveragepy not found [2023-05-31T00:36:59.851Z] ==> Searching for coverage reports in: [2023-05-31T00:36:59.851Z] + . [2023-05-31T00:36:59.851Z] -> Found 1 reports [2023-05-31T00:36:59.851Z] ==> Detecting git/mercurial file structure [2023-05-31T00:36:59.851Z] ==> Reading reports [2023-05-31T00:36:59.851Z] + ./coverage.out bytes=8837 [2023-05-31T00:36:59.851Z] ==> Appending adjustments [2023-05-31T00:36:59.851Z] https://docs.codecov.io/docs/fixing-reports [2023-05-31T00:37:00.109Z] + Found adjustments [2023-05-31T00:37:00.109Z] ==> Gzipping contents [2023-05-31T00:37:00.109Z] 4.0K /tmp/codecov.fAffPv.gz [2023-05-31T00:37:00.109Z] ==> Uploading reports [2023-05-31T00:37:00.109Z] url: https://codecov.io [2023-05-31T00:37:00.109Z] query: branch=main&commit=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0&build=85&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F85%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T00:37:00.109Z] -> Pinging Codecov [2023-05-31T00:37:00.109Z] 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=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0&build=85&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F85%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T00:37:00.109Z] -> Uploading to [2023-05-31T00:37:00.109Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-31/6C56EA5C29638FB4528AC87E60AF5AE0/3a4f383a77d0147d8cfd096fa38d6fefa237b1d0/3acbafb3-ea0d-4e6a-8d05-de53a3cd9604.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T003700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04a031d54e94d45b9f854d92944a72dd018082c5ed8765d7e517dd04426d751e [2023-05-31T00:37:00.367Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T00:37:00.367Z] Dload Upload Total Spent Left Speed [2023-05-31T00:37:00.367Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7495 --:--:-- --:--:-- --:--:-- 7495 [2023-05-31T00:37:00.367Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } [2023-05-31T00:37:00.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-31T00:37:00.507Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-31T00:37:00.518Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:37:00.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T00:37:00.816Z] [2023-05-31T00:37:00.816Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:37:01.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T00:37:01.112Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-31T00:37:01.112Z] df9b9388f04a: Pulling fs layer [2023-05-31T00:37:01.112Z] 52dc419b0ee2: Pulling fs layer [2023-05-31T00:37:01.112Z] 25bc292e5bac: Pulling fs layer [2023-05-31T00:37:01.112Z] 114826534d7a: Pulling fs layer [2023-05-31T00:37:01.112Z] 4657fd5d0bcf: Pulling fs layer [2023-05-31T00:37:01.112Z] 6ad1cebc031e: Pulling fs layer [2023-05-31T00:37:01.112Z] 8a3aa393b2d8: Pulling fs layer [2023-05-31T00:37:01.112Z] 4657fd5d0bcf: Waiting [2023-05-31T00:37:01.112Z] 6ad1cebc031e: Waiting [2023-05-31T00:37:01.112Z] 8a3aa393b2d8: Waiting [2023-05-31T00:37:01.112Z] 114826534d7a: Waiting [2023-05-31T00:37:01.112Z] 25bc292e5bac: Verifying Checksum [2023-05-31T00:37:01.112Z] 25bc292e5bac: Download complete [2023-05-31T00:37:01.112Z] 52dc419b0ee2: Download complete [2023-05-31T00:37:01.112Z] 4657fd5d0bcf: Verifying Checksum [2023-05-31T00:37:01.112Z] 4657fd5d0bcf: Download complete [2023-05-31T00:37:01.112Z] df9b9388f04a: Download complete [2023-05-31T00:37:01.370Z] df9b9388f04a: Pull complete [2023-05-31T00:37:01.370Z] 6ad1cebc031e: Verifying Checksum [2023-05-31T00:37:01.370Z] 6ad1cebc031e: Download complete [2023-05-31T00:37:01.370Z] 52dc419b0ee2: Pull complete [2023-05-31T00:37:01.370Z] 25bc292e5bac: Pull complete [2023-05-31T00:37:01.939Z] 114826534d7a: Verifying Checksum [2023-05-31T00:37:01.939Z] 114826534d7a: Download complete [2023-05-31T00:37:01.939Z] 8a3aa393b2d8: Verifying Checksum [2023-05-31T00:37:01.939Z] 8a3aa393b2d8: Download complete [2023-05-31T00:37:05.220Z] 114826534d7a: Pull complete [2023-05-31T00:37:05.220Z] 4657fd5d0bcf: Pull complete [2023-05-31T00:37:05.479Z] 6ad1cebc031e: Pull complete [2023-05-31T00:37:08.006Z] 8a3aa393b2d8: Pull complete [2023-05-31T00:37:08.006Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-31T00:37:08.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T00:37:08.006Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:37:08.087Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:37:08.116Z] $ 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-05-31T00:37:12.350Z] $ docker top e12c881363f90b8b1e85caa718350a226cce55a54329147815ff32fae25eeded -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-31T00:37:12.422Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-31T00:37:12.699Z] + set -o pipefail [2023-05-31T00:37:12.699Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-31T00:37:16.882Z] [2023-05-31T00:37:16.882Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-31T00:37:16.882Z] [2023-05-31T00:37:16.882Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/5984efc7-6746-45f8-a702-d98e3de2e8db [2023-05-31T00:37:16.882Z] [2023-05-31T00:37:16.882Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-31T00:37:16.882Z] [2023-05-31T00:37:16.882Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-31T00:37:16.882Z] [2023-05-31T00:37:16.882Z] [2023-05-31T00:37:16.882Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-31T00:37:16.882Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-31T00:37:16.882Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-31T00:37:16.896Z] $ docker stop --time=1 e12c881363f90b8b1e85caa718350a226cce55a54329147815ff32fae25eeded [2023-05-31T00:37:20.855Z] $ docker rm -f --volumes e12c881363f90b8b1e85caa718350a226cce55a54329147815ff32fae25eeded [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-05-31T00:37:21.523Z] + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] sh [2023-05-31T00:37:21.805Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T00:37:21.805Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:37:22.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T00:37:22.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:37:22.172Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:37:22.201Z] $ 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-05-31T00:37:22.832Z] $ docker top 9945639a6decd6285a0b01f4637ad86080bb160392a67dd554e3a6b415fa42e2 -eo pid,comm [2023-05-31T00:37:22.876Z] 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-05-31T00:37:22.876Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-31T00:37:22.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T00:37:22.910Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T00:37:23.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T00:37:23.026Z] $ docker exec 9945639a6decd6285a0b01f4637ad86080bb160392a67dd554e3a6b415fa42e2 ssh-agent [2023-05-31T00:37:23.130Z] SSH_AUTH_SOCK=/tmp/ssh-JMG150CuQk38/agent.33 [2023-05-31T00:37:23.130Z] SSH_AGENT_PID=40 [2023-05-31T00:37:23.135Z] Running ssh-add (command line suppressed) [2023-05-31T00:37:23.242Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15124479942576087359.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15124479942576087359.key) [2023-05-31T00:37:23.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T00:37:23.537Z] + git semver tag [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,705 [run_tag] DEBUG tag force:False [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,705 [check_head_tag] DEBUG check head tag [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,706 [execute] INFO git cat-file --batch-check [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,710 [execute] INFO git cat-file --batch [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,727 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,727 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-31T00:37:23.797Z] 2023-05-31 00:37:23,732 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:37:23.797Z] 3.0.0-dev.28 [Pipeline] } [2023-05-31T00:37:23.808Z] $ docker exec --env ******** --env ******** 9945639a6decd6285a0b01f4637ad86080bb160392a67dd554e3a6b415fa42e2 ssh-agent -k [2023-05-31T00:37:23.906Z] unset SSH_AUTH_SOCK; [2023-05-31T00:37:23.907Z] unset SSH_AGENT_PID; [2023-05-31T00:37:23.907Z] echo Agent pid 40 killed; [2023-05-31T00:37:23.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T00:37:24.208Z] + git semver [Pipeline] } [2023-05-31T00:37:24.480Z] $ docker stop --time=1 9945639a6decd6285a0b01f4637ad86080bb160392a67dd554e3a6b415fa42e2 [2023-05-31T00:37:25.744Z] $ docker rm -f --volumes 9945639a6decd6285a0b01f4637ad86080bb160392a67dd554e3a6b415fa42e2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:37:26.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T00:37:26.099Z] [2023-05-31T00:37:26.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:37:26.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T00:37:26.395Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-31T00:37:26.395Z] ab5ef0e58194: Pulling fs layer [2023-05-31T00:37:26.395Z] 9712f1f96733: Pulling fs layer [2023-05-31T00:37:26.395Z] 63f879dbbcfc: Pulling fs layer [2023-05-31T00:37:26.395Z] 0d9ebad4ef96: Pulling fs layer [2023-05-31T00:37:26.395Z] e9a5061849ea: Pulling fs layer [2023-05-31T00:37:26.395Z] d747dcd14b5f: Pulling fs layer [2023-05-31T00:37:26.395Z] 2de7ff778b66: Pulling fs layer [2023-05-31T00:37:26.395Z] 0d9ebad4ef96: Waiting [2023-05-31T00:37:26.395Z] e9a5061849ea: Waiting [2023-05-31T00:37:26.395Z] 2de7ff778b66: Waiting [2023-05-31T00:37:26.395Z] d747dcd14b5f: Waiting [2023-05-31T00:37:26.395Z] 9712f1f96733: Verifying Checksum [2023-05-31T00:37:26.395Z] 9712f1f96733: Download complete [2023-05-31T00:37:26.653Z] 63f879dbbcfc: Verifying Checksum [2023-05-31T00:37:26.653Z] 63f879dbbcfc: Download complete [2023-05-31T00:37:26.910Z] 0d9ebad4ef96: Verifying Checksum [2023-05-31T00:37:26.910Z] 0d9ebad4ef96: Download complete [2023-05-31T00:37:26.910Z] d747dcd14b5f: Verifying Checksum [2023-05-31T00:37:26.910Z] d747dcd14b5f: Download complete [2023-05-31T00:37:26.910Z] e9a5061849ea: Verifying Checksum [2023-05-31T00:37:26.910Z] e9a5061849ea: Download complete [2023-05-31T00:37:26.910Z] ab5ef0e58194: Download complete [2023-05-31T00:37:26.910Z] 2de7ff778b66: Verifying Checksum [2023-05-31T00:37:29.433Z] ab5ef0e58194: Pull complete [2023-05-31T00:37:29.433Z] 9712f1f96733: Pull complete [2023-05-31T00:37:30.361Z] 63f879dbbcfc: Pull complete [2023-05-31T00:37:33.637Z] 0d9ebad4ef96: Pull complete [2023-05-31T00:37:33.637Z] e9a5061849ea: Pull complete [2023-05-31T00:37:33.637Z] d747dcd14b5f: Pull complete [2023-05-31T00:37:35.008Z] 2de7ff778b66: Pull complete [2023-05-31T00:37:35.008Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-31T00:37:35.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T00:37:35.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:37:35.085Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:37:35.112Z] $ 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-05-31T00:37:40.174Z] $ docker top a32eb33a524ddd4e3d11bb26d157a47a196627a95c8b634736f58f9a042f726b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-31T00:37:40.230Z] provisioning config files... [2023-05-31T00:37:40.238Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6141855770118954807tmp [2023-05-31T00:37:40.247Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16657212929487277679tmp [2023-05-31T00:37:40.254Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5835161256213986865tmp [Pipeline] { [Pipeline] echo [2023-05-31T00:37:40.268Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:37:40.547Z] ---> sigul-configuration.sh [2023-05-31T00:37:40.547Z] gpg: directory `/root/.gnupg' created [2023-05-31T00:37:40.547Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-31T00:37:40.547Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-31T00:37:40.547Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-31T00:37:40.547Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-31T00:37:40.547Z] gpg: CAST5 encrypted data [2023-05-31T00:37:40.547Z] gpg: encrypted with 1 passphrase [2023-05-31T00:37:40.547Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-31T00:37:40.840Z] + mkdir /home/jenkins [2023-05-31T00:37:40.840Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-31T00:37:41.123Z] + 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-05-31T00:37:41.131Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:37:41.417Z] ---> sigul-install.sh [2023-05-31T00:37:41.417Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-31T00:37:41.702Z] + git tag --list [2023-05-31T00:37:41.702Z] 1.0.0 [2023-05-31T00:37:41.702Z] v0.0.0 [2023-05-31T00:37:41.702Z] v1.1.0 [2023-05-31T00:37:41.702Z] v1.1.1 [2023-05-31T00:37:41.702Z] v1.2.2 [2023-05-31T00:37:41.702Z] v1.3.0 [2023-05-31T00:37:41.702Z] v1.3.1 [2023-05-31T00:37:41.702Z] v2.0.0 [2023-05-31T00:37:41.702Z] v2.1.0 [2023-05-31T00:37:41.702Z] v2.1.1 [2023-05-31T00:37:41.702Z] v2.1.1-dev.2 [2023-05-31T00:37:41.702Z] v2.1.1-dev.3 [2023-05-31T00:37:41.702Z] v2.2.0 [2023-05-31T00:37:41.702Z] v2.2.1-dev.1 [2023-05-31T00:37:41.702Z] v2.2.1-dev.2 [2023-05-31T00:37:41.702Z] v2.2.1-dev.3 [2023-05-31T00:37:41.702Z] v2.2.1-dev.4 [2023-05-31T00:37:41.702Z] v2.2.1-dev.5 [2023-05-31T00:37:41.702Z] v2.2.1-dev.6 [2023-05-31T00:37:41.702Z] v2.2.1-dev.7 [2023-05-31T00:37:41.702Z] v2.3.0 [2023-05-31T00:37:41.702Z] v2.3.0-dev.10 [2023-05-31T00:37:41.702Z] v2.3.0-dev.11 [2023-05-31T00:37:41.702Z] v2.3.0-dev.12 [2023-05-31T00:37:41.702Z] v2.3.0-dev.13 [2023-05-31T00:37:41.702Z] v2.3.0-dev.14 [2023-05-31T00:37:41.702Z] v2.3.0-dev.15 [2023-05-31T00:37:41.702Z] v2.3.0-dev.16 [2023-05-31T00:37:41.702Z] v2.3.0-dev.17 [2023-05-31T00:37:41.702Z] v2.3.0-dev.18 [2023-05-31T00:37:41.702Z] v2.3.0-dev.19 [2023-05-31T00:37:41.702Z] v2.3.0-dev.20 [2023-05-31T00:37:41.702Z] v2.3.0-dev.21 [2023-05-31T00:37:41.702Z] v2.3.0-dev.22 [2023-05-31T00:37:41.702Z] v2.3.0-dev.23 [2023-05-31T00:37:41.702Z] v2.3.0-dev.24 [2023-05-31T00:37:41.702Z] v2.3.0-dev.7 [2023-05-31T00:37:41.702Z] v2.3.0-dev.8 [2023-05-31T00:37:41.702Z] v2.3.0-dev.9 [2023-05-31T00:37:41.702Z] v3.0.0-dev.1 [2023-05-31T00:37:41.702Z] v3.0.0-dev.10 [2023-05-31T00:37:41.702Z] v3.0.0-dev.11 [2023-05-31T00:37:41.702Z] v3.0.0-dev.12 [2023-05-31T00:37:41.702Z] v3.0.0-dev.13 [2023-05-31T00:37:41.702Z] v3.0.0-dev.14 [2023-05-31T00:37:41.702Z] v3.0.0-dev.15 [2023-05-31T00:37:41.702Z] v3.0.0-dev.16 [2023-05-31T00:37:41.702Z] v3.0.0-dev.17 [2023-05-31T00:37:41.702Z] v3.0.0-dev.18 [2023-05-31T00:37:41.702Z] v3.0.0-dev.19 [2023-05-31T00:37:41.702Z] v3.0.0-dev.2 [2023-05-31T00:37:41.702Z] v3.0.0-dev.20 [2023-05-31T00:37:41.702Z] v3.0.0-dev.21 [2023-05-31T00:37:41.702Z] v3.0.0-dev.22 [2023-05-31T00:37:41.702Z] v3.0.0-dev.23 [2023-05-31T00:37:41.702Z] v3.0.0-dev.24 [2023-05-31T00:37:41.702Z] v3.0.0-dev.25 [2023-05-31T00:37:41.702Z] v3.0.0-dev.26 [2023-05-31T00:37:41.702Z] v3.0.0-dev.27 [2023-05-31T00:37:41.702Z] v3.0.0-dev.28 [2023-05-31T00:37:41.702Z] v3.0.0-dev.3 [2023-05-31T00:37:41.702Z] v3.0.0-dev.4 [2023-05-31T00:37:41.702Z] v3.0.0-dev.5 [2023-05-31T00:37:41.702Z] v3.0.0-dev.6 [2023-05-31T00:37:41.702Z] v3.0.0-dev.7 [2023-05-31T00:37:41.702Z] v3.0.0-dev.8 [2023-05-31T00:37:41.702Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-31T00:37:41.987Z] + lftools sign git-tag v3.0.0-dev.28 [2023-05-31T00:37:42.656Z] Signing Git tag with Sigul... [2023-05-31T00:37:42.656Z] Signing v3.0.0-dev.28 [Pipeline] echo [2023-05-31T00:37:42.922Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:37:43.206Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-31T00:37:43.214Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-31T00:37:43.237Z] $ docker stop --time=1 a32eb33a524ddd4e3d11bb26d157a47a196627a95c8b634736f58f9a042f726b [2023-05-31T00:37:44.491Z] $ docker rm -f --volumes a32eb33a524ddd4e3d11bb26d157a47a196627a95c8b634736f58f9a042f726b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-31T00:37:44.881Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T00:37:44.881Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:37:45.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T00:37:45.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:37:45.245Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:37:45.279Z] $ 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-05-31T00:37:45.620Z] $ docker top 7443d7f18b839e13271c176eb0a27bd20d2ad67501a03656c4968cb7ffe8deb4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-31T00:37:45.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T00:37:45.699Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T00:37:45.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T00:37:45.814Z] $ docker exec 7443d7f18b839e13271c176eb0a27bd20d2ad67501a03656c4968cb7ffe8deb4 ssh-agent [2023-05-31T00:37:45.920Z] SSH_AUTH_SOCK=/tmp/ssh-YG1sBTgI7bKM/agent.32 [2023-05-31T00:37:45.920Z] SSH_AGENT_PID=38 [2023-05-31T00:37:45.925Z] Running ssh-add (command line suppressed) [2023-05-31T00:37:46.039Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10676272381779636942.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10676272381779636942.key) [2023-05-31T00:37:46.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T00:37:46.337Z] + git semver bump pre [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,519 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,519 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,519 [bump_version] DEBUG bumped version:3.0.0-dev.29 [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,519 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,519 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,519 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,521 [execute] INFO git cat-file --batch-check [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,526 [execute] INFO git cat-file --batch [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-31T00:37:46.595Z] 2023-05-31 00:37:46,532 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:37:46.595Z] 3.0.0-dev.29 [Pipeline] } [2023-05-31T00:37:46.606Z] $ docker exec --env ******** --env ******** 7443d7f18b839e13271c176eb0a27bd20d2ad67501a03656c4968cb7ffe8deb4 ssh-agent -k [2023-05-31T00:37:46.702Z] unset SSH_AUTH_SOCK; [2023-05-31T00:37:46.702Z] unset SSH_AGENT_PID; [2023-05-31T00:37:46.703Z] echo Agent pid 38 killed; [2023-05-31T00:37:46.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T00:37:47.012Z] + git semver [Pipeline] } [2023-05-31T00:37:47.285Z] $ docker stop --time=1 7443d7f18b839e13271c176eb0a27bd20d2ad67501a03656c4968cb7ffe8deb4 [2023-05-31T00:37:48.582Z] $ docker rm -f --volumes 7443d7f18b839e13271c176eb0a27bd20d2ad67501a03656c4968cb7ffe8deb4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T00:37:48.918Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T00:37:48.918Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:37:49.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T00:37:49.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:37:49.287Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:37:49.320Z] $ 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-05-31T00:37:49.701Z] $ docker top 5c0809ea9dd38a680fa42e88a3f1185db09dc64991d73b0a662195de5e1d1c8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-31T00:37:49.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T00:37:49.781Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T00:37:49.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T00:37:49.912Z] $ docker exec 5c0809ea9dd38a680fa42e88a3f1185db09dc64991d73b0a662195de5e1d1c8d ssh-agent [2023-05-31T00:37:50.013Z] SSH_AUTH_SOCK=/tmp/ssh-taIXcZ7RNApO/agent.31 [2023-05-31T00:37:50.013Z] SSH_AGENT_PID=37 [2023-05-31T00:37:50.030Z] Running ssh-add (command line suppressed) [2023-05-31T00:37:50.129Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8935868578618171042.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8935868578618171042.key) [2023-05-31T00:37:50.150Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T00:37:50.449Z] + git semver push [2023-05-31T00:37:50.708Z] 2023-05-31 00:37:50,633 [run_push] DEBUG push [2023-05-31T00:37:50.708Z] 2023-05-31 00:37:50,634 [execute] INFO git cat-file --batch-check [2023-05-31T00:37:50.708Z] 2023-05-31 00:37:50,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-31T00:37:50.708Z] 2023-05-31 00:37:50,637 [execute] INFO git rev-list 720d356a3d63900123dba09f1b14bf42f395c1be -- [2023-05-31T00:37:50.708Z] 2023-05-31 00:37:50,637 [execute] DEBUG Popen(['git', 'rev-list', '720d356a3d63900123dba09f1b14bf42f395c1be', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-31T00:37:50.708Z] 2023-05-31 00:37:50,645 [execute] INFO git fetch -v origin [2023-05-31T00:37:50.708Z] 2023-05-31 00:37:50,645 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-31T00:37:51.274Z] 2023-05-31 00:37:51,109 [run_push] DEBUG no remote changes detected [2023-05-31T00:37:51.274Z] 2023-05-31 00:37:51,110 [execute] INFO git push origin semver [2023-05-31T00:37:51.274Z] 2023-05-31 00:37:51,110 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-31T00:37:52.211Z] 2023-05-31 00:37:51,874 [run_push] DEBUG push all version tags [2023-05-31T00:37:52.211Z] 2023-05-31 00:37:51,875 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-31T00:37:52.211Z] 2023-05-31 00:37:51,875 [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-05-31T00:37:52.777Z] 2023-05-31 00:37:52,570 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T00:37:52.778Z] 3.0.0-dev.29 [Pipeline] } [2023-05-31T00:37:52.788Z] $ docker exec --env ******** --env ******** 5c0809ea9dd38a680fa42e88a3f1185db09dc64991d73b0a662195de5e1d1c8d ssh-agent -k [2023-05-31T00:37:52.888Z] unset SSH_AUTH_SOCK; [2023-05-31T00:37:52.888Z] unset SSH_AGENT_PID; [2023-05-31T00:37:52.888Z] echo Agent pid 37 killed; [2023-05-31T00:37:52.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T00:37:53.203Z] + git semver [Pipeline] } [2023-05-31T00:37:53.479Z] $ docker stop --time=1 5c0809ea9dd38a680fa42e88a3f1185db09dc64991d73b0a662195de5e1d1c8d [2023-05-31T00:37:54.793Z] $ docker rm -f --volumes 5c0809ea9dd38a680fa42e88a3f1185db09dc64991d73b0a662195de5e1d1c8d [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-05-31T00:37:55.342Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-31T00:37:55.343Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-31T00:37:55.343Z] total 16 [2023-05-31T00:37:55.343Z] drwxr-xr-x 3 root root 4096 May 31 00:25 . [2023-05-31T00:37:55.343Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 00:37 .. [2023-05-31T00:37:55.343Z] drwxr-xr-x 2 root root 4096 May 31 00:25 cost [2023-05-31T00:37:55.343Z] -rw-r--r-- 1 root root 85 May 31 00:25 cost.csv [2023-05-31T00:37:55.343Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-31T00:37:55.343Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-31T00:37:55.343Z] total 16 [2023-05-31T00:37:55.343Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:25 . [2023-05-31T00:37:55.343Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 00:37 .. [2023-05-31T00:37:55.343Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 00:25 cost [2023-05-31T00:37:55.343Z] -rw-r--r-- 1 jenkins jenkins 85 May 31 00:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:37:55.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:37:56.497Z] ---> package-listing.sh [2023-05-31T00:37:56.497Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-31T00:37:56.497Z] ++ facter osfamily [2023-05-31T00:37:56.756Z] + OS_FAMILY=debian [2023-05-31T00:37:56.756Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-31T00:37:56.756Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-31T00:37:56.756Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-31T00:37:56.756Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-31T00:37:56.756Z] + PACKAGES=/tmp/packages_start.txt [2023-05-31T00:37:56.756Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-31T00:37:56.756Z] + PACKAGES=/tmp/packages_end.txt [2023-05-31T00:37:56.756Z] + case "${OS_FAMILY}" in [2023-05-31T00:37:56.756Z] + dpkg -l [2023-05-31T00:37:56.756Z] + grep '^ii' [2023-05-31T00:37:56.756Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-31T00:37:56.756Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-31T00:37:56.756Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-31T00:37:56.756Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-31T00:37:56.756Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-31T00:37:56.756Z] + 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-05-31T00:37:56.767Z] 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-05-31T00:37:57.047Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T00:37:57.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T00:37:57.609Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T00:37:57.682Z] prd-ubuntu20.04-docker-8c-8g-17409 does not seem to be running inside a container [2023-05-31T00:37:57.715Z] $ 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-05-31T00:37:57.935Z] $ docker top 503e2d50dfcb50b024d9eda3cb7006c6c8e8d925910a918dbc565671ec1721fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T00:37:58.268Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-31T00:37:58.547Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-31T00:37:58.831Z] + ls /var/log/sa-host [2023-05-31T00:37:58.832Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T00:37:58.908Z] provisioning config files... [2023-05-31T00:37:58.916Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8877449843718314777tmp [Pipeline] { [Pipeline] echo [2023-05-31T00:37:58.928Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:37:59.207Z] ---> create-netrc.sh [Pipeline] } [2023-05-31T00:37:59.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:37:59.527Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-31T00:37:59.536Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:37:59.819Z] ---> sudo-logs.sh [2023-05-31T00:37:59.819Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-31T00:37:59.845Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:38:00.130Z] ---> job-cost.sh [2023-05-31T00:38:00.130Z] lf-activate-venv: SKIPPING [2023-05-31T00:38:00.130Z] DEBUG: total: 0.2199999988079071 [2023-05-31T00:38:00.130Z] INFO: Retrieving Stack Cost... [2023-05-31T00:38:00.389Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T00:38:00.958Z] INFO: Archiving Costs [Pipeline] echo [2023-05-31T00:38:00.970Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T00:38:01.252Z] ---> logs-deploy.sh [2023-05-31T00:38:01.252Z] lf-activate-venv: SKIPPING [2023-05-31T00:38:01.252Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/85 [2023-05-31T00:38:01.252Z] INFO: archiving workspace using pattern(s): [2023-05-31T00:38:02.186Z] Archives upload complete. [2023-05-31T00:38:02.186Z] INFO: archiving logs to Nexus