Started by upstream project "edgexfoundry/cd-management/release" build number 151 originally caused by: Push event to branch release 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-ssh11627946384257850646.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-ssh1518185301343882820.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-ssh11346733005847648975.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-ssh15165802381152259833.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-ssh14475422813295943738.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 ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17543 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 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-31T20:37:34.427Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-31T20:37:34.469Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:37:34.486Z] ========================================================= [2023-05-31T20:37:34.486Z] EdgeX Global Pipelines Version Info [2023-05-31T20:37:34.486Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:37:35.225Z] ------------------- [2023-05-31T20:37:35.226Z] stable info: [2023-05-31T20:37:35.226Z] ------------------- [2023-05-31T20:37:35.226Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-31T20:37:35.226Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T20:37:35.226Z] Message: update stable to v1.0.249 [2023-05-31T20:37:35.795Z] ------------------- [2023-05-31T20:37:35.795Z] experimental info: [2023-05-31T20:37:35.795Z] ------------------- [2023-05-31T20:37:35.795Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-31T20:37:35.795Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T20:37:35.795Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-31T20:37:35.994Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-31T20:37:36.007Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-31T20:37:36.023Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-31T20:37:36.034Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-31T20:37:36.046Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-31T20:37:36.063Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-31T20:37:36.079Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-31T20:37:36.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-31T20:37:36.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-31T20:37:36.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-31T20:37:36.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-31T20:37:36.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-31T20:37:36.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-31T20:37:36.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-31T20:37:36.182Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T20:37:36.194Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T20:37:36.209Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T20:37:36.220Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T20:37:36.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-31T20:37:36.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-31T20:37:36.255Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-31T20:37:36.272Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-31T20:37:36.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-31T20:37:36.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-31T20:37:36.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-31T20:37:36.325Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-31T20:37:36.337Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-31T20:37:36.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-31T20:37:36.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-31T20:37:36.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-31T20:37:36.377Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo [2023-05-31T20:37:36.386Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a4f383 [Pipeline] echo [2023-05-31T20:37:36.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:37:36.443Z] provisioning config files... [2023-05-31T20:37:36.456Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4647921531863801429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:37:36.767Z] ---> docker-login.sh [2023-05-31T20:37:36.767Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:37:37.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:37.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:37.288Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:37.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:37.288Z] [2023-05-31T20:37:37.288Z] Login Succeeded [2023-05-31T20:37:37.288Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:37:37.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:37.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:37.288Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:37.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:37.288Z] [2023-05-31T20:37:37.288Z] Login Succeeded [2023-05-31T20:37:37.288Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:37:37.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:37.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:37.288Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:37.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:37.288Z] [2023-05-31T20:37:37.288Z] Login Succeeded [2023-05-31T20:37:37.288Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:37:37.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:37.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:37.549Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:37.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:37.549Z] [2023-05-31T20:37:37.549Z] Login Succeeded [2023-05-31T20:37:37.549Z] docker.io [2023-05-31T20:37:37.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:37.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:37.809Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:37.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:37.809Z] [2023-05-31T20:37:37.809Z] Login Succeeded [2023-05-31T20:37:37.809Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:37:37.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-31T20:37:38.185Z] + git rev-list -1 --merges 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0~1..3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo [2023-05-31T20:37:38.239Z] -----------> git rev-list -1 --merges 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0~1..3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [false] [Pipeline] sh [2023-05-31T20:37:38.529Z] + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo [2023-05-31T20:37:38.545Z] ========================================================= [2023-05-31T20:37:38.545Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-05-31T20:37:38.545Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:37:38.889Z] + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] echo [2023-05-31T20:37:38.900Z] [semverPrep] GIT_COMMIT: 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0, Commit Message: docs: Add main branch warning (#314) [Pipeline] echo [2023-05-31T20:37:38.909Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-31T20:37:39.262Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:37:39.263Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-31T20:37:39.263Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-31T20:37:39.263Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-31T20:37:39.263Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-31T20:37:39.263Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-31T20:37:39.263Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:37:39.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:37:39.621Z] [2023-05-31T20:37:39.621Z] 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-31T20:37:39.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:37:39.924Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-31T20:37:39.924Z] b85a868b505f: Pulling fs layer [2023-05-31T20:37:39.924Z] e2be974225ed: Pulling fs layer [2023-05-31T20:37:39.924Z] 339a4e72a1f5: Pulling fs layer [2023-05-31T20:37:39.924Z] 988bab9f4d93: Pulling fs layer [2023-05-31T20:37:39.924Z] 1469e6f7b9e6: Pulling fs layer [2023-05-31T20:37:39.924Z] eaf3925da568: Pulling fs layer [2023-05-31T20:37:39.924Z] bab4dde63d76: Pulling fs layer [2023-05-31T20:37:39.924Z] bde34c3a00c8: Pulling fs layer [2023-05-31T20:37:39.924Z] b352a97aabf1: Pulling fs layer [2023-05-31T20:37:39.924Z] 4872d77fe225: Pulling fs layer [2023-05-31T20:37:39.924Z] 5851b861e8e6: Pulling fs layer [2023-05-31T20:37:39.924Z] 1469e6f7b9e6: Waiting [2023-05-31T20:37:39.924Z] eaf3925da568: Waiting [2023-05-31T20:37:39.924Z] bab4dde63d76: Waiting [2023-05-31T20:37:39.924Z] bde34c3a00c8: Waiting [2023-05-31T20:37:39.924Z] b352a97aabf1: Waiting [2023-05-31T20:37:39.924Z] 4872d77fe225: Waiting [2023-05-31T20:37:39.924Z] 5851b861e8e6: Waiting [2023-05-31T20:37:39.924Z] 988bab9f4d93: Waiting [2023-05-31T20:37:39.924Z] e2be974225ed: Download complete [2023-05-31T20:37:39.924Z] 988bab9f4d93: Verifying Checksum [2023-05-31T20:37:39.924Z] 988bab9f4d93: Download complete [2023-05-31T20:37:39.924Z] 1469e6f7b9e6: Verifying Checksum [2023-05-31T20:37:39.924Z] 1469e6f7b9e6: Download complete [2023-05-31T20:37:40.183Z] eaf3925da568: Verifying Checksum [2023-05-31T20:37:40.183Z] eaf3925da568: Download complete [2023-05-31T20:37:40.183Z] 339a4e72a1f5: Verifying Checksum [2023-05-31T20:37:40.183Z] 339a4e72a1f5: Download complete [2023-05-31T20:37:40.183Z] bde34c3a00c8: Verifying Checksum [2023-05-31T20:37:40.183Z] bde34c3a00c8: Download complete [2023-05-31T20:37:40.183Z] b352a97aabf1: Verifying Checksum [2023-05-31T20:37:40.183Z] b352a97aabf1: Download complete [2023-05-31T20:37:40.183Z] 4872d77fe225: Verifying Checksum [2023-05-31T20:37:40.183Z] 4872d77fe225: Download complete [2023-05-31T20:37:40.183Z] 5851b861e8e6: Verifying Checksum [2023-05-31T20:37:40.183Z] 5851b861e8e6: Download complete [2023-05-31T20:37:40.183Z] b85a868b505f: Verifying Checksum [2023-05-31T20:37:40.183Z] b85a868b505f: Download complete [2023-05-31T20:37:40.442Z] bab4dde63d76: Verifying Checksum [2023-05-31T20:37:40.442Z] bab4dde63d76: Download complete [2023-05-31T20:37:41.377Z] b85a868b505f: Pull complete [2023-05-31T20:37:41.637Z] e2be974225ed: Pull complete [2023-05-31T20:37:42.204Z] 339a4e72a1f5: Pull complete [2023-05-31T20:37:42.204Z] 988bab9f4d93: Pull complete [2023-05-31T20:37:42.463Z] 1469e6f7b9e6: Pull complete [2023-05-31T20:37:42.463Z] eaf3925da568: Pull complete [2023-05-31T20:37:44.364Z] bab4dde63d76: Pull complete [2023-05-31T20:37:44.364Z] bde34c3a00c8: Pull complete [2023-05-31T20:37:44.364Z] b352a97aabf1: Pull complete [2023-05-31T20:37:44.624Z] 4872d77fe225: Pull complete [2023-05-31T20:37:44.624Z] 5851b861e8e6: Pull complete [2023-05-31T20:37:44.624Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-31T20:37:44.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:37:44.624Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:37:44.722Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:37:44.748Z] $ 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-31T20:37:48.249Z] $ docker top 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 -eo pid,comm [2023-05-31T20:37:48.306Z] 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-31T20:37:48.306Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-31T20:37:48.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T20:37:48.339Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T20:37:48.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T20:37:48.459Z] $ docker exec 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 ssh-agent [2023-05-31T20:37:48.581Z] SSH_AUTH_SOCK=/tmp/ssh-6qsW8Ody5L9R/agent.32 [2023-05-31T20:37:48.581Z] SSH_AGENT_PID=38 [2023-05-31T20:37:48.589Z] Running ssh-add (command line suppressed) [2023-05-31T20:37:48.689Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18349610812603736984.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18349610812603736984.key) [2023-05-31T20:37:48.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T20:37:48.994Z] + git tag --points-at 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } [2023-05-31T20:37:49.008Z] $ docker exec --env ******** --env ******** 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 ssh-agent -k [2023-05-31T20:37:49.117Z] unset SSH_AUTH_SOCK; [2023-05-31T20:37:49.118Z] unset SSH_AGENT_PID; [2023-05-31T20:37:49.118Z] echo Agent pid 38 killed; [2023-05-31T20:37:49.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-05-31T20:37:49.154Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0|v3.0.0-dev.28' [Pipeline] sshagent [2023-05-31T20:37:49.168Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T20:37:49.168Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T20:37:49.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T20:37:49.284Z] $ docker exec 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 ssh-agent [2023-05-31T20:37:49.407Z] SSH_AUTH_SOCK=/tmp/ssh-J4XlFMkU16UX/agent.71 [2023-05-31T20:37:49.407Z] SSH_AGENT_PID=77 [2023-05-31T20:37:49.413Z] Running ssh-add (command line suppressed) [2023-05-31T20:37:49.516Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8010981942918310422.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8010981942918310422.key) [2023-05-31T20:37:49.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T20:37:49.822Z] + git semver init [2023-05-31T20:37:50.082Z] 2023-05-31 20:37:49,987 [run_init] DEBUG init version:0.0.0 force:False [2023-05-31T20:37:50.082Z] 2023-05-31 20:37:49,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-31T20:37:50.082Z] 2023-05-31 20:37:49,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-31T20:37:50.082Z] 2023-05-31 20:37:49,989 [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-31T20:37:51.019Z] 2023-05-31 20:37:50,748 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-31T20:37:51.019Z] 2023-05-31 20:37:50,749 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-31T20:37:51.019Z] 2023-05-31 20:37:50,749 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T20:37:51.019Z] 2023-05-31 20:37:50,749 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-31T20:37:51.019Z] 3.0.0 [Pipeline] } [2023-05-31T20:37:51.044Z] $ docker exec --env ******** --env ******** 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 ssh-agent -k [2023-05-31T20:37:51.146Z] unset SSH_AUTH_SOCK; [2023-05-31T20:37:51.147Z] unset SSH_AGENT_PID; [2023-05-31T20:37:51.147Z] echo Agent pid 77 killed; [2023-05-31T20:37:51.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:37:51.467Z] + git semver [Pipeline] } [2023-05-31T20:37:51.736Z] $ docker stop --time=1 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 [2023-05-31T20:37:53.029Z] $ docker rm -f --volumes 35b91e4bad4a48c37906ddfde6d57b2ad6090906e57ef1e769c4fc201ef68560 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:37:53.381Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-31T20:37:53.590Z] Stashed 1 file(s) [Pipeline] echo [2023-05-31T20:37:53.592Z] [edgeXSemver]: initialized semver on version 3.0.0 [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] sh [2023-05-31T20:37:53.977Z] + git checkout 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:37:53.977Z] HEAD is now at 3a4f383 docs: Add main branch warning (#314) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:37:54.001Z] provisioning config files... [2023-05-31T20:37:54.010Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15862162351953256360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:37:54.308Z] ---> docker-login.sh [2023-05-31T20:37:54.308Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:37:54.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:54.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:54.308Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:54.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:54.308Z] [2023-05-31T20:37:54.308Z] Login Succeeded [2023-05-31T20:37:54.308Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:37:54.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:54.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:54.308Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:54.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:54.308Z] [2023-05-31T20:37:54.308Z] Login Succeeded [2023-05-31T20:37:54.571Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:37:54.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:54.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:54.571Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:54.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:54.571Z] [2023-05-31T20:37:54.571Z] Login Succeeded [2023-05-31T20:37:54.571Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:37:54.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:54.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:54.571Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:54.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:54.571Z] [2023-05-31T20:37:54.571Z] Login Succeeded [2023-05-31T20:37:54.571Z] docker.io [2023-05-31T20:37:54.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:54.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:54.830Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:54.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:54.830Z] [2023-05-31T20:37:54.830Z] Login Succeeded [2023-05-31T20:37:54.830Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:37:54.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T20:37:54.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:37:54.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:37:54.935Z] ========================================================= [2023-05-31T20:37:54.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-31T20:37:54.935Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:37:55.249Z] + 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-31T20:37:55.249Z] Sending build context to Docker daemon 5.87MB [2023-05-31T20:37:55.249Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:37:55.249Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-31T20:37:55.249Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-31T20:37:55.249Z] f56be85fc22e: Pulling fs layer [2023-05-31T20:37:55.249Z] 85791d961cd3: Pulling fs layer [2023-05-31T20:37:55.249Z] d694b5ae8c79: Pulling fs layer [2023-05-31T20:37:55.249Z] 9f32a84ed3da: Pulling fs layer [2023-05-31T20:37:55.249Z] 9f32a84ed3da: Waiting [2023-05-31T20:37:55.249Z] 4d19c01a9841: Pulling fs layer [2023-05-31T20:37:55.249Z] 9325e15d5711: Pulling fs layer [2023-05-31T20:37:55.249Z] 556b6ee489ea: Pulling fs layer [2023-05-31T20:37:55.249Z] c5a4b2cf53e6: Pulling fs layer [2023-05-31T20:37:55.249Z] 4d19c01a9841: Waiting [2023-05-31T20:37:55.249Z] 9325e15d5711: Waiting [2023-05-31T20:37:55.249Z] 556b6ee489ea: Waiting [2023-05-31T20:37:55.249Z] c5a4b2cf53e6: Waiting [2023-05-31T20:37:55.249Z] 85791d961cd3: Download complete [2023-05-31T20:37:55.249Z] 9f32a84ed3da: Verifying Checksum [2023-05-31T20:37:55.510Z] 4d19c01a9841: Verifying Checksum [2023-05-31T20:37:55.510Z] 4d19c01a9841: Download complete [2023-05-31T20:37:55.510Z] f56be85fc22e: Verifying Checksum [2023-05-31T20:37:55.510Z] f56be85fc22e: Download complete [2023-05-31T20:37:55.510Z] 9325e15d5711: Verifying Checksum [2023-05-31T20:37:55.510Z] 9325e15d5711: Download complete [2023-05-31T20:37:55.510Z] f56be85fc22e: Pull complete [2023-05-31T20:37:55.770Z] 85791d961cd3: Pull complete [2023-05-31T20:37:56.027Z] c5a4b2cf53e6: Verifying Checksum [2023-05-31T20:37:56.027Z] c5a4b2cf53e6: Download complete [2023-05-31T20:37:56.027Z] d694b5ae8c79: Verifying Checksum [2023-05-31T20:37:56.027Z] d694b5ae8c79: Download complete [2023-05-31T20:37:56.285Z] 556b6ee489ea: Verifying Checksum [2023-05-31T20:37:56.285Z] 556b6ee489ea: Download complete [2023-05-31T20:37:58.814Z] d694b5ae8c79: Pull complete [2023-05-31T20:37:59.074Z] 9f32a84ed3da: Pull complete [2023-05-31T20:37:59.074Z] 4d19c01a9841: Pull complete [2023-05-31T20:37:59.074Z] 9325e15d5711: Pull complete [2023-05-31T20:38:01.620Z] 556b6ee489ea: Pull complete [2023-05-31T20:38:02.191Z] c5a4b2cf53e6: Pull complete [2023-05-31T20:38:02.478Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-31T20:38:02.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-31T20:38:02.478Z] ---> c4be618373d6 [2023-05-31T20:38:02.478Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:38:07.761Z] ---> Running in 198d99ac7017 [2023-05-31T20:38:07.761Z] Removing intermediate container 198d99ac7017 [2023-05-31T20:38:07.761Z] ---> 13a356aced93 [2023-05-31T20:38:07.761Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:38:08.020Z] ---> Running in 2b0905ae180d [2023-05-31T20:38:08.020Z] Removing intermediate container 2b0905ae180d [2023-05-31T20:38:08.020Z] ---> 25941f6cadfa [2023-05-31T20:38:08.020Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:38:08.020Z] ---> Running in e701c53ef61c [2023-05-31T20:38:08.020Z] Removing intermediate container e701c53ef61c [2023-05-31T20:38:08.020Z] ---> b361be1c3293 [2023-05-31T20:38:08.020Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:38:08.278Z] ---> Running in 7975e1ed4422 [2023-05-31T20:38:08.278Z] Removing intermediate container 7975e1ed4422 [2023-05-31T20:38:08.278Z] ---> b45fb399ba38 [2023-05-31T20:38:08.278Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:38:08.278Z] ---> Running in 8d156c3fa99e [2023-05-31T20:38:08.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:38:08.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:38:08.679Z] Still waiting to schedule task [2023-05-31T20:38:08.679Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17541’ [2023-05-31T20:38:08.796Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T20:38:09.055Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-31T20:38:09.055Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T20:38:09.055Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T20:38:09.055Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:38:09.055Z] OK: 269 MiB in 57 packages [2023-05-31T20:38:09.619Z] Removing intermediate container 8d156c3fa99e [2023-05-31T20:38:09.619Z] ---> 33de3a9402c7 [2023-05-31T20:38:09.619Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-31T20:38:09.619Z] ---> Running in c41338f1c15d [2023-05-31T20:38:09.619Z] Removing intermediate container c41338f1c15d [2023-05-31T20:38:09.619Z] ---> 5911d0664c66 [2023-05-31T20:38:09.619Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-31T20:38:09.619Z] ---> b575ec9fb289 [2023-05-31T20:38:09.619Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:38:09.619Z] ---> Running in 4b58c45d14f0 [2023-05-31T20:38:41.702Z] Removing intermediate container 4b58c45d14f0 [2023-05-31T20:38:41.703Z] ---> 236ed5481bec [2023-05-31T20:38:41.703Z] Step 11/12 : COPY . . [2023-05-31T20:38:41.703Z] ---> 507e183d5b72 [2023-05-31T20:38:41.703Z] Step 12/12 : RUN ${MAKE} [2023-05-31T20:38:41.703Z] ---> Running in 80fbcc5f6736 [2023-05-31T20:38:41.703Z] noop [2023-05-31T20:38:41.703Z] Removing intermediate container 80fbcc5f6736 [2023-05-31T20:38:41.703Z] ---> 1d1661d1eb1d [2023-05-31T20:38:41.703Z] Successfully built 1d1661d1eb1d [2023-05-31T20:38:41.703Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:38:42.018Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T20:38:42.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:38:42.093Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:38:42.124Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-31T20:38:42.470Z] $ docker top ef3a9a7600c709a20691ca029ff33d5feb708d016f373e705ea290a0afe577b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:38:42.813Z] + go version [2023-05-31T20:38:42.813Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-31T20:38:42.822Z] $ docker stop --time=1 ef3a9a7600c709a20691ca029ff33d5feb708d016f373e705ea290a0afe577b2 [2023-05-31T20:38:44.100Z] $ docker rm -f --volumes ef3a9a7600c709a20691ca029ff33d5feb708d016f373e705ea290a0afe577b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:38:44.509Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T20:38:44.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:38:44.581Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:38:44.612Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-31T20:38:44.926Z] $ docker top 6e9f6dbdd546b359fb408435eb2023188ae7288efb9b646d122c831b18ea28fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:38:45.267Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-31T20:38:45.562Z] + make test [2023-05-31T20:38:45.562Z] go test ./... -coverprofile=coverage.out [2023-05-31T20:38:50.830Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-31T20:38:58.966Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-31T20:38:58.966Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-05-31T20:39:05.523Z] go vet ./... [2023-05-31T20:39:08.807Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T20:39:08.807Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T20:39:08.807Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T20:39:09.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T20:39:09.090Z] $ docker stop --time=1 6e9f6dbdd546b359fb408435eb2023188ae7288efb9b646d122c831b18ea28fb [2023-05-31T20:39:13.038Z] $ docker rm -f --volumes 6e9f6dbdd546b359fb408435eb2023188ae7288efb9b646d122c831b18ea28fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:39:13.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T20:39:13.612Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-31T20:39:14.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T20:39:14.340Z] + ls -al . [2023-05-31T20:39:14.340Z] total 172 [2023-05-31T20:39:14.340Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 20:38 . [2023-05-31T20:39:14.340Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:37 .. [2023-05-31T20:39:14.340Z] -rw-rw-r-- 1 jenkins jenkins 6 May 31 20:37 .dockerignore [2023-05-31T20:39:14.340Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:37 .git [2023-05-31T20:39:14.340Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 .github [2023-05-31T20:39:14.340Z] -rw-rw-r-- 1 jenkins jenkins 328 May 31 20:37 .gitignore [2023-05-31T20:39:14.340Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:37 .golangci.yml [2023-05-31T20:39:14.340Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:37 .semver [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 31 20:37 Attribution.txt [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 10534 May 31 20:37 CHANGELOG.md [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 31 20:37 Dockerfile [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:37 GOVERNANCE.md [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 656 May 31 20:37 Jenkinsfile [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:37 LICENSE [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 31 20:37 Makefile [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:37 OWNERS.md [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 10559 May 31 20:37 README.md [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:37 VERSION [2023-05-31T20:39:14.341Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:37 bin [2023-05-31T20:39:14.341Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 cmd [2023-05-31T20:39:14.341Z] -rw-r--r-- 1 jenkins jenkins 8837 May 31 20:38 coverage.out [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 3235 May 31 20:37 go.mod [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 31230 May 31 20:37 go.sum [2023-05-31T20:39:14.341Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 internal [2023-05-31T20:39:14.341Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:37 snap [2023-05-31T20:39:14.341Z] -rw-rw-r-- 1 jenkins jenkins 228 May 31 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:14.643Z] + 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 . [2023-05-31T20:39:14.643Z] Sending build context to Docker daemon 5.88MB [2023-05-31T20:39:14.643Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:39:14.643Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-31T20:39:14.643Z] ---> 1d1661d1eb1d [2023-05-31T20:39:14.643Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:39:14.643Z] ---> Running in 2c18e4de4803 [2023-05-31T20:39:14.918Z] Removing intermediate container 2c18e4de4803 [2023-05-31T20:39:14.918Z] ---> abb10b9720dc [2023-05-31T20:39:14.918Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:39:14.918Z] ---> Running in 09dfcc74d9b7 [2023-05-31T20:39:14.918Z] Removing intermediate container 09dfcc74d9b7 [2023-05-31T20:39:14.919Z] ---> cc91f4933e24 [2023-05-31T20:39:14.919Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:39:14.919Z] ---> Running in 51eccad124a6 [2023-05-31T20:39:15.179Z] Removing intermediate container 51eccad124a6 [2023-05-31T20:39:15.179Z] ---> 0ffc85f6544c [2023-05-31T20:39:15.179Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:39:15.179Z] ---> Running in a873d4201e50 [2023-05-31T20:39:15.179Z] Removing intermediate container a873d4201e50 [2023-05-31T20:39:15.179Z] ---> 51f41aee6878 [2023-05-31T20:39:15.179Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:39:15.179Z] ---> Running in b6a3362a0098 [2023-05-31T20:39:15.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:15.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:15.954Z] OK: 269 MiB in 57 packages [2023-05-31T20:39:16.212Z] Removing intermediate container b6a3362a0098 [2023-05-31T20:39:16.212Z] ---> e2f826682395 [2023-05-31T20:39:16.212Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-31T20:39:16.212Z] ---> Running in 4838ff1f3775 [2023-05-31T20:39:16.212Z] Removing intermediate container 4838ff1f3775 [2023-05-31T20:39:16.212Z] ---> 7582cc3da494 [2023-05-31T20:39:16.212Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-31T20:39:16.473Z] ---> c0ba2aaeb801 [2023-05-31T20:39:16.473Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:39:16.473Z] ---> Running in 9c0bfeee4f7a [2023-05-31T20:39:17.040Z] Removing intermediate container 9c0bfeee4f7a [2023-05-31T20:39:17.040Z] ---> a944fe1553bb [2023-05-31T20:39:17.040Z] Step 11/24 : COPY . . [2023-05-31T20:39:17.628Z] ---> 04caf1d69b02 [2023-05-31T20:39:17.628Z] Step 12/24 : RUN ${MAKE} [2023-05-31T20:39:17.628Z] ---> Running in 4c6964fa29a5 [2023-05-31T20:39:17.628Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-31T20:39:44.162Z] Removing intermediate container 4c6964fa29a5 [2023-05-31T20:39:44.162Z] ---> d7e5f3c21df2 [2023-05-31T20:39:44.162Z] Step 13/24 : FROM alpine:3.17 [2023-05-31T20:39:44.162Z] 3.17: Pulling from library/alpine [2023-05-31T20:39:44.162Z] f56be85fc22e: Already exists [2023-05-31T20:39:44.162Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T20:39:44.162Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T20:39:44.162Z] ---> 9ed4aefc74f6 [2023-05-31T20:39:44.162Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-31T20:39:44.162Z] ---> Running in cd582dae7ecc [2023-05-31T20:39:44.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:44.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:44.162Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T20:39:44.162Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:39:44.162Z] OK: 7 MiB in 16 packages [2023-05-31T20:39:44.162Z] Removing intermediate container cd582dae7ecc [2023-05-31T20:39:44.162Z] ---> be437e04176c [2023-05-31T20:39:44.162Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-31T20:39:45.099Z] ---> 4f1e85c8a93a [2023-05-31T20:39:45.099Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-31T20:39:45.099Z] ---> cdc7a0aa77ab [2023-05-31T20:39:45.099Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-31T20:39:45.099Z] ---> d4637b6a50a3 [2023-05-31T20:39:45.099Z] Step 18/24 : EXPOSE 59993 [2023-05-31T20:39:45.099Z] ---> Running in c86c75bc3e8e [2023-05-31T20:39:45.358Z] Removing intermediate container c86c75bc3e8e [2023-05-31T20:39:45.358Z] ---> d7f882a3fc56 [2023-05-31T20:39:45.358Z] Step 19/24 : EXPOSE 161 [2023-05-31T20:39:45.358Z] ---> Running in e53a30896767 [2023-05-31T20:39:45.358Z] Removing intermediate container e53a30896767 [2023-05-31T20:39:45.358Z] ---> 252f97f3058f [2023-05-31T20:39:45.358Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-31T20:39:45.358Z] ---> Running in 8836a70d9063 [2023-05-31T20:39:45.358Z] Removing intermediate container 8836a70d9063 [2023-05-31T20:39:45.358Z] ---> c94cb76b658d [2023-05-31T20:39:45.358Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-31T20:39:45.358Z] ---> Running in c9ba87824400 [2023-05-31T20:39:45.617Z] Removing intermediate container c9ba87824400 [2023-05-31T20:39:45.617Z] ---> 2fc4f3f0f780 [2023-05-31T20:39:45.617Z] Step 22/24 : LABEL arch=amd64 [2023-05-31T20:39:45.617Z] ---> Running in ef245b60ce36 [2023-05-31T20:39:45.617Z] Removing intermediate container ef245b60ce36 [2023-05-31T20:39:45.617Z] ---> a0ff06ec0b5b [2023-05-31T20:39:45.617Z] Step 23/24 : LABEL git_sha=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:39:45.874Z] ---> Running in 2a15f0905c42 [2023-05-31T20:39:45.874Z] Removing intermediate container 2a15f0905c42 [2023-05-31T20:39:45.874Z] ---> 6791583eb8f0 [2023-05-31T20:39:45.874Z] Step 24/24 : LABEL version=3.0.0 [2023-05-31T20:39:45.874Z] ---> Running in db9677e1a8b0 [2023-05-31T20:39:45.874Z] Removing intermediate container db9677e1a8b0 [2023-05-31T20:39:45.874Z] ---> a6562e21d4ea [2023-05-31T20:39:45.874Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T20:39:45.874Z] Successfully built a6562e21d4ea [2023-05-31T20:39:45.874Z] 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-31T20:39:46.211Z] provisioning config files... [2023-05-31T20:39:46.219Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9528232780979234174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:39:46.514Z] ---> docker-login.sh [2023-05-31T20:39:46.514Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:39:46.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:46.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:46.514Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:46.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:46.514Z] [2023-05-31T20:39:46.514Z] Login Succeeded [2023-05-31T20:39:46.514Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:39:46.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:46.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:46.514Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:46.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:46.514Z] [2023-05-31T20:39:46.514Z] Login Succeeded [2023-05-31T20:39:46.514Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:39:46.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:46.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:46.773Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:46.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:46.773Z] [2023-05-31T20:39:46.773Z] Login Succeeded [2023-05-31T20:39:46.773Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:39:46.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:46.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:46.773Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:46.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:46.773Z] [2023-05-31T20:39:46.773Z] Login Succeeded [2023-05-31T20:39:46.773Z] docker.io [2023-05-31T20:39:46.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:47.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:47.033Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:47.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:47.033Z] [2023-05-31T20:39:47.033Z] Login Succeeded [2023-05-31T20:39:47.033Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:39:47.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:39:47.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:39:47.091Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-31T20:39:47.091Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:39:47.091Z] latest [2023-05-31T20:39:47.091Z] 3.0.0 [2023-05-31T20:39:47.091Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [2023-05-31T20:39:47.091Z] main [2023-05-31T20:39:47.091Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:47.433Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:47.751Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:39:47.751Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T20:39:47.751Z] 0a9f1009ec47: Preparing [2023-05-31T20:39:47.751Z] 2747137c310c: Preparing [2023-05-31T20:39:47.751Z] 41c611e8c50e: Preparing [2023-05-31T20:39:47.751Z] 4bbc49755521: Preparing [2023-05-31T20:39:47.751Z] f1417ff83b31: Preparing [2023-05-31T20:39:47.751Z] f1417ff83b31: Layer already exists [2023-05-31T20:39:47.751Z] 2747137c310c: Pushed [2023-05-31T20:39:47.751Z] 4bbc49755521: Pushed [2023-05-31T20:39:47.751Z] 0a9f1009ec47: Pushed [2023-05-31T20:39:50.285Z] 41c611e8c50e: Pushed [2023-05-31T20:39:50.543Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:50.858Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:51.157Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-31T20:39:51.157Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T20:39:51.157Z] 0a9f1009ec47: Preparing [2023-05-31T20:39:51.157Z] 2747137c310c: Preparing [2023-05-31T20:39:51.157Z] 41c611e8c50e: Preparing [2023-05-31T20:39:51.157Z] 4bbc49755521: Preparing [2023-05-31T20:39:51.157Z] f1417ff83b31: Preparing [2023-05-31T20:39:51.157Z] 2747137c310c: Layer already exists [2023-05-31T20:39:51.157Z] 4bbc49755521: Layer already exists [2023-05-31T20:39:51.157Z] 41c611e8c50e: Layer already exists [2023-05-31T20:39:51.157Z] f1417ff83b31: Layer already exists [2023-05-31T20:39:51.157Z] 0a9f1009ec47: Layer already exists [2023-05-31T20:39:51.157Z] latest: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:51.476Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:51.788Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0 [2023-05-31T20:39:51.788Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T20:39:51.788Z] 0a9f1009ec47: Preparing [2023-05-31T20:39:51.788Z] 2747137c310c: Preparing [2023-05-31T20:39:51.788Z] 41c611e8c50e: Preparing [2023-05-31T20:39:51.788Z] 4bbc49755521: Preparing [2023-05-31T20:39:51.788Z] f1417ff83b31: Preparing [2023-05-31T20:39:51.788Z] 4bbc49755521: Layer already exists [2023-05-31T20:39:51.788Z] 2747137c310c: Layer already exists [2023-05-31T20:39:51.788Z] 41c611e8c50e: Layer already exists [2023-05-31T20:39:51.788Z] f1417ff83b31: Layer already exists [2023-05-31T20:39:51.788Z] 0a9f1009ec47: Layer already exists [2023-05-31T20:39:51.788Z] 3.0.0: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:52.096Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:52.414Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [2023-05-31T20:39:52.414Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T20:39:52.414Z] 0a9f1009ec47: Preparing [2023-05-31T20:39:52.414Z] 2747137c310c: Preparing [2023-05-31T20:39:52.414Z] 41c611e8c50e: Preparing [2023-05-31T20:39:52.414Z] 4bbc49755521: Preparing [2023-05-31T20:39:52.414Z] f1417ff83b31: Preparing [2023-05-31T20:39:52.414Z] f1417ff83b31: Layer already exists [2023-05-31T20:39:52.414Z] 41c611e8c50e: Layer already exists [2023-05-31T20:39:52.414Z] 4bbc49755521: Layer already exists [2023-05-31T20:39:52.414Z] 0a9f1009ec47: Layer already exists [2023-05-31T20:39:52.414Z] 2747137c310c: Layer already exists [2023-05-31T20:39:52.414Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:52.728Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:53.031Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-31T20:39:53.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-31T20:39:53.031Z] 0a9f1009ec47: Preparing [2023-05-31T20:39:53.031Z] 2747137c310c: Preparing [2023-05-31T20:39:53.031Z] 41c611e8c50e: Preparing [2023-05-31T20:39:53.031Z] 4bbc49755521: Preparing [2023-05-31T20:39:53.031Z] f1417ff83b31: Preparing [2023-05-31T20:39:53.031Z] 0a9f1009ec47: Layer already exists [2023-05-31T20:39:53.031Z] 2747137c310c: Layer already exists [2023-05-31T20:39:53.031Z] 41c611e8c50e: Layer already exists [2023-05-31T20:39:53.031Z] 4bbc49755521: Layer already exists [2023-05-31T20:39:53.031Z] f1417ff83b31: Layer already exists [2023-05-31T20:39:53.031Z] main: digest: sha256:7747dbd9c9827df89d8c1a88ab61c04f243b2ea9747e88fa013bbe126b661c7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:39:53.079Z] ===================================================== [Pipeline] echo [2023-05-31T20:39:53.089Z] taggedImages: [2023-05-31T20:39:53.090Z] - nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:39:53.090Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-31T20:39:53.090Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0 [2023-05-31T20:39:53.090Z] - nexus3.edgexfoundry.org:10004/device-snmp:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [2023-05-31T20:39:53.090Z] - 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-31T20:39:53.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:39:53.455Z] [2023-05-31T20:39:53.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:53.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:39:54.020Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-31T20:39:54.020Z] 5eb5b503b376: Pulling fs layer [2023-05-31T20:39:54.020Z] 5c69ac0246d0: Pulling fs layer [2023-05-31T20:39:54.020Z] ec43610c2a17: Pulling fs layer [2023-05-31T20:39:54.020Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-31T20:39:54.020Z] 33b1e0a273af: Pulling fs layer [2023-05-31T20:39:54.020Z] 5d3b04190fa2: Pulling fs layer [2023-05-31T20:39:54.020Z] 2f39f015ded8: Pulling fs layer [2023-05-31T20:39:54.020Z] 3a2ae6a8a46f: Waiting [2023-05-31T20:39:54.020Z] 33b1e0a273af: Waiting [2023-05-31T20:39:54.020Z] 5d3b04190fa2: Waiting [2023-05-31T20:39:54.020Z] 2f39f015ded8: Waiting [2023-05-31T20:39:54.020Z] 5c69ac0246d0: Verifying Checksum [2023-05-31T20:39:54.020Z] 5c69ac0246d0: Download complete [2023-05-31T20:39:54.020Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-31T20:39:54.020Z] 3a2ae6a8a46f: Download complete [2023-05-31T20:39:54.020Z] 33b1e0a273af: Verifying Checksum [2023-05-31T20:39:54.020Z] 33b1e0a273af: Download complete [2023-05-31T20:39:54.020Z] 5d3b04190fa2: Verifying Checksum [2023-05-31T20:39:54.020Z] 5d3b04190fa2: Download complete [2023-05-31T20:39:54.020Z] ec43610c2a17: Verifying Checksum [2023-05-31T20:39:54.020Z] ec43610c2a17: Download complete [2023-05-31T20:39:54.280Z] 5eb5b503b376: Verifying Checksum [2023-05-31T20:39:54.280Z] 5eb5b503b376: Download complete [2023-05-31T20:39:54.845Z] 2f39f015ded8: Download complete [2023-05-31T20:39:55.778Z] 5eb5b503b376: Pull complete [2023-05-31T20:39:56.036Z] 5c69ac0246d0: Pull complete [2023-05-31T20:39:56.981Z] ec43610c2a17: Pull complete [2023-05-31T20:39:57.240Z] 3a2ae6a8a46f: Pull complete [2023-05-31T20:39:57.808Z] 33b1e0a273af: Pull complete [2023-05-31T20:39:57.808Z] 5d3b04190fa2: Pull complete [2023-05-31T20:40:03.075Z] 2f39f015ded8: Pull complete [2023-05-31T20:40:03.075Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-31T20:40:03.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:40:03.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:40:03.155Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:40:03.194Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-31T20:40:10.665Z] $ docker top adde2154217c51786ff5f2c8c6d84dfaabfa3cf4e8957fac8a42459b3d01dade -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:40:11.035Z] ---> job-cost.sh [2023-05-31T20:40:11.035Z] lf-activate-venv: SKIPPING [2023-05-31T20:40:11.035Z] INFO: No Stack... [2023-05-31T20:40:11.294Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T20:40:11.553Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T20:40:11.843Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-05-31T20:40:11.843Z] + cut -d, -f6 [Pipeline] lock [2023-05-31T20:40:11.857Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [2023-05-31T20:40:11.865Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] did not exist. Created. [2023-05-31T20:40:11.865Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:40:12.175Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-31T20:40:12.203Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T20:40:12.213Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T20:40:12.227Z] $ docker stop --time=1 adde2154217c51786ff5f2c8c6d84dfaabfa3cf4e8957fac8a42459b3d01dade [2023-05-31T20:40:13.405Z] $ docker rm -f --volumes adde2154217c51786ff5f2c8c6d84dfaabfa3cf4e8957fac8a42459b3d01dade [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-31T20:40:37.143Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17554 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-31T20:40:37.153Z] Running in /w/workspace/device-snmp-go/86 [Pipeline] { [Pipeline] checkout [2023-05-31T20:40:37.206Z] Selected Git installation does not exist. Using Default [2023-05-31T20:40:37.206Z] The recommended git tool is: NONE [2023-05-31T20:40:44.445Z] using credential edgex-jenkins-ssh [2023-05-31T20:40:44.468Z] Cloning the remote Git repository [2023-05-31T20:40:44.531Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-31T20:40:44.657Z] > git init /w/workspace/device-snmp-go/86 # timeout=10 [2023-05-31T20:40:44.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-31T20:40:44.850Z] > git --version # timeout=10 [2023-05-31T20:40:44.877Z] > git --version # 'git version 2.25.1' [2023-05-31T20:40:44.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-31T20:40:45.065Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T20:40:46.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-31T20:40:47.185Z] Avoid second fetch [2023-05-31T20:40:47.185Z] Checking out Revision 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 (main) [2023-05-31T20:40:46.230Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T20:40:47.206Z] > git config core.sparsecheckout # timeout=10 [2023-05-31T20:40:47.283Z] > git checkout -f 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 # timeout=10 [2023-05-31T20:40:47.810Z] 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-31T20:40:48.690Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-31T20:40:48.690Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T20:40:48.690Z] Dload Upload Total Spent Left Speed [2023-05-31T20:40:48.690Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-05-31T20:40:49.342Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-31T20:40:49.686Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-31T20:40:49.686Z] + sudo tee /etc/docker/daemon.new [2023-05-31T20:40:49.686Z] { [2023-05-31T20:40:49.686Z] "registry-mirrors": [ [2023-05-31T20:40:49.686Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-31T20:40:49.686Z] ], [2023-05-31T20:40:49.686Z] "bip": "10.250.0.254/24", [2023-05-31T20:40:49.686Z] "hosts": [ [2023-05-31T20:40:49.686Z] "tcp://0.0.0.0:5555", [2023-05-31T20:40:49.686Z] "unix:///var/run/docker.sock" [2023-05-31T20:40:49.686Z] ], [2023-05-31T20:40:49.686Z] "mtu": 1458, [2023-05-31T20:40:49.686Z] "selinux-enabled": true, [2023-05-31T20:40:49.686Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-31T20:40:49.686Z] } [Pipeline] sh [2023-05-31T20:40:50.028Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-31T20:40:50.370Z] + sudo service docker restart [Pipeline] sh [2023-05-31T20:41:09.035Z] + git checkout 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:41:09.035Z] HEAD is now at 3a4f383 docs: Add main branch warning (#314) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:41:09.068Z] provisioning config files... [2023-05-31T20:41:09.102Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/86@tmp/config17697660479847609737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:41:09.488Z] ---> docker-login.sh [2023-05-31T20:41:09.488Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:41:10.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:10.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:10.358Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:10.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:10.358Z] [2023-05-31T20:41:10.358Z] Login Succeeded [2023-05-31T20:41:10.358Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:41:10.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:10.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:10.640Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:10.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:10.640Z] [2023-05-31T20:41:10.640Z] Login Succeeded [2023-05-31T20:41:10.640Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:41:10.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:11.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:11.194Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:11.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:11.194Z] [2023-05-31T20:41:11.194Z] Login Succeeded [2023-05-31T20:41:11.194Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:41:11.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:11.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:11.467Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:11.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:11.467Z] [2023-05-31T20:41:11.467Z] Login Succeeded [2023-05-31T20:41:11.740Z] docker.io [2023-05-31T20:41:12.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:12.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:12.012Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:12.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:12.012Z] [2023-05-31T20:41:12.012Z] Login Succeeded [2023-05-31T20:41:12.287Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:41:12.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T20:41:12.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:41:12.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:41:12.723Z] ========================================================= [2023-05-31T20:41:12.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-31T20:41:12.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:13.108Z] + 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-31T20:41:13.380Z] Sending build context to Docker daemon 3.045MB [2023-05-31T20:41:13.380Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:41:13.380Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-31T20:41:13.656Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-31T20:41:13.656Z] c41833b44d91: Pulling fs layer [2023-05-31T20:41:13.656Z] ed15518f5707: Pulling fs layer [2023-05-31T20:41:13.656Z] feae8fd75edb: Pulling fs layer [2023-05-31T20:41:13.656Z] 242c74f7c9fa: Pulling fs layer [2023-05-31T20:41:13.656Z] 242c74f7c9fa: Waiting [2023-05-31T20:41:13.656Z] 3cdef696dda3: Pulling fs layer [2023-05-31T20:41:13.656Z] 2ced38df9373: Pulling fs layer [2023-05-31T20:41:13.656Z] 58f1dce35555: Pulling fs layer [2023-05-31T20:41:13.656Z] 3cdef696dda3: Waiting [2023-05-31T20:41:13.656Z] 2ced38df9373: Waiting [2023-05-31T20:41:13.656Z] ed15518f5707: Verifying Checksum [2023-05-31T20:41:13.656Z] ed15518f5707: Download complete [2023-05-31T20:41:13.656Z] 242c74f7c9fa: Verifying Checksum [2023-05-31T20:41:13.656Z] 242c74f7c9fa: Download complete [2023-05-31T20:41:13.932Z] 3cdef696dda3: Verifying Checksum [2023-05-31T20:41:13.932Z] 3cdef696dda3: Download complete [2023-05-31T20:41:13.932Z] c41833b44d91: Verifying Checksum [2023-05-31T20:41:13.932Z] c41833b44d91: Download complete [2023-05-31T20:41:14.930Z] c41833b44d91: Pull complete [2023-05-31T20:41:15.525Z] 58f1dce35555: Verifying Checksum [2023-05-31T20:41:15.525Z] 58f1dce35555: Download complete [2023-05-31T20:41:15.808Z] ed15518f5707: Pull complete [2023-05-31T20:41:16.781Z] feae8fd75edb: Verifying Checksum [2023-05-31T20:41:16.781Z] feae8fd75edb: Download complete [2023-05-31T20:41:16.781Z] 2ced38df9373: Verifying Checksum [2023-05-31T20:41:16.781Z] 2ced38df9373: Download complete [2023-05-31T20:41:29.171Z] feae8fd75edb: Pull complete [2023-05-31T20:41:29.172Z] 242c74f7c9fa: Pull complete [2023-05-31T20:41:29.172Z] 3cdef696dda3: Pull complete [2023-05-31T20:41:37.448Z] 2ced38df9373: Pull complete [2023-05-31T20:41:40.197Z] 58f1dce35555: Pull complete [2023-05-31T20:41:40.197Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-31T20:41:40.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-31T20:41:40.197Z] ---> fadd8f120f05 [2023-05-31T20:41:40.197Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:41:42.184Z] ---> Running in f7d1e7427ff3 [2023-05-31T20:41:42.470Z] Removing intermediate container f7d1e7427ff3 [2023-05-31T20:41:42.470Z] ---> 63a7ecefd8b2 [2023-05-31T20:41:42.470Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:41:42.470Z] ---> Running in e23bee197abd [2023-05-31T20:41:43.086Z] Removing intermediate container e23bee197abd [2023-05-31T20:41:43.086Z] ---> eb43fe7019bd [2023-05-31T20:41:43.086Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:41:43.086Z] ---> Running in 377def911684 [2023-05-31T20:41:43.696Z] Removing intermediate container 377def911684 [2023-05-31T20:41:43.696Z] ---> 617178db1cda [2023-05-31T20:41:43.696Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:41:44.217Z] ---> Running in 3422a8b047b4 [2023-05-31T20:41:44.516Z] Removing intermediate container 3422a8b047b4 [2023-05-31T20:41:44.516Z] ---> bd93848b44f1 [2023-05-31T20:41:44.516Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:41:44.800Z] ---> Running in b3784560eef8 [2023-05-31T20:41:46.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:41:47.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:41:48.676Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T20:41:48.958Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-31T20:41:48.958Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T20:41:48.958Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T20:41:48.958Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:41:48.958Z] OK: 268 MiB in 57 packages [2023-05-31T20:41:50.406Z] Removing intermediate container b3784560eef8 [2023-05-31T20:41:50.406Z] ---> aa2bad574a91 [2023-05-31T20:41:50.406Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-31T20:41:50.683Z] ---> Running in b178fb35250a [2023-05-31T20:41:50.962Z] Removing intermediate container b178fb35250a [2023-05-31T20:41:50.962Z] ---> c41bfc78aa94 [2023-05-31T20:41:50.962Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-31T20:41:51.567Z] ---> 31730b269132 [2023-05-31T20:41:51.567Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:41:51.843Z] ---> Running in 609f0eabe234 [2023-05-31T20:43:13.675Z] Removing intermediate container 609f0eabe234 [2023-05-31T20:43:13.675Z] ---> e3d6071af76a [2023-05-31T20:43:13.675Z] Step 11/12 : COPY . . [2023-05-31T20:43:13.675Z] ---> e19e99e0a70b [2023-05-31T20:43:13.675Z] Step 12/12 : RUN ${MAKE} [2023-05-31T20:43:13.675Z] ---> Running in c636e328f998 [2023-05-31T20:43:13.675Z] noop [2023-05-31T20:43:13.675Z] Removing intermediate container c636e328f998 [2023-05-31T20:43:13.675Z] ---> 5098d406c034 [2023-05-31T20:43:13.675Z] Successfully built 5098d406c034 [2023-05-31T20:43:13.675Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:43:14.071Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T20:43:14.071Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:43:14.333Z] prd-ubuntu20.04-docker-arm64-4c-16g-17554 does not seem to be running inside a container [2023-05-31T20:43:14.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/86 -v /w/workspace/device-snmp-go/86:/w/workspace/device-snmp-go/86:rw,z -v /w/workspace/device-snmp-go/86@tmp:/w/workspace/device-snmp-go/86@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 ******** -e ******** ci-base-image-arm64 cat [2023-05-31T20:43:16.061Z] $ docker top 39d589c93d56800fb20109d848322584a610ed6070ca3c74472ac73964892b4b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:43:16.981Z] + go version [2023-05-31T20:43:16.981Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-31T20:43:17.004Z] $ docker stop --time=1 39d589c93d56800fb20109d848322584a610ed6070ca3c74472ac73964892b4b [2023-05-31T20:43:18.792Z] $ docker rm -f --volumes 39d589c93d56800fb20109d848322584a610ed6070ca3c74472ac73964892b4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:43:19.384Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T20:43:19.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:43:19.633Z] prd-ubuntu20.04-docker-arm64-4c-16g-17554 does not seem to be running inside a container [2023-05-31T20:43:19.764Z] $ 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/86 -v /w/workspace/device-snmp-go/86:/w/workspace/device-snmp-go/86:rw,z -v /w/workspace/device-snmp-go/86@tmp:/w/workspace/device-snmp-go/86@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 ******** -e ******** ci-base-image-arm64 cat [2023-05-31T20:43:21.340Z] $ docker top 31a8bdec33e6bcd6894e7cbc45b934c3429d3c2dcee7b7630963af88c11278b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:43:22.320Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/86 [Pipeline] fileExists [Pipeline] sh [2023-05-31T20:43:23.027Z] + make test [2023-05-31T20:43:23.027Z] go test ./... -coverprofile=coverage.out [2023-05-31T20:44:09.983Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-31T20:46:48.349Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-31T20:46:48.349Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.054s coverage: 0.0% of statements [2023-05-31T20:46:48.349Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-31T20:46:48.349Z] go vet ./... [2023-05-31T20:47:15.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T20:47:15.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T20:47:15.099Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T20:47:15.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T20:47:15.139Z] $ docker stop --time=1 31a8bdec33e6bcd6894e7cbc45b934c3429d3c2dcee7b7630963af88c11278b1 [2023-05-31T20:47:17.178Z] $ docker rm -f --volumes 31a8bdec33e6bcd6894e7cbc45b934c3429d3c2dcee7b7630963af88c11278b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:47:18.587Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T20:47:18.618Z] Warning: overwriting stash ‘coverage-report’ [2023-05-31T20:47:19.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:47:19.650Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T20:47:20.003Z] + ls -al . [2023-05-31T20:47:20.003Z] total 168 [2023-05-31T20:47:20.003Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:43 . [2023-05-31T20:47:20.003Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:40 .. [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 6 May 31 20:40 .dockerignore [2023-05-31T20:47:20.003Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:41 .git [2023-05-31T20:47:20.003Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 .github [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 328 May 31 20:40 .gitignore [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:40 .golangci.yml [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 31 20:40 Attribution.txt [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 10534 May 31 20:40 CHANGELOG.md [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 31 20:40 Dockerfile [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:40 GOVERNANCE.md [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 656 May 31 20:40 Jenkinsfile [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:40 LICENSE [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 31 20:40 Makefile [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:40 OWNERS.md [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 10559 May 31 20:40 README.md [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:37 VERSION [2023-05-31T20:47:20.003Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:40 bin [2023-05-31T20:47:20.003Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 cmd [2023-05-31T20:47:20.003Z] -rw-r--r-- 1 jenkins jenkins 8837 May 31 20:46 coverage.out [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 3235 May 31 20:40 go.mod [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 31230 May 31 20:40 go.sum [2023-05-31T20:47:20.003Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 internal [2023-05-31T20:47:20.003Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:40 snap [2023-05-31T20:47:20.003Z] -rw-rw-r-- 1 jenkins jenkins 228 May 31 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:47:20.373Z] + 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 . [2023-05-31T20:47:20.652Z] Sending build context to Docker daemon 3.055MB [2023-05-31T20:47:20.922Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:47:20.922Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-31T20:47:20.922Z] ---> 5098d406c034 [2023-05-31T20:47:20.922Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:47:20.922Z] ---> Running in 422d30ed454e [2023-05-31T20:47:21.191Z] Removing intermediate container 422d30ed454e [2023-05-31T20:47:21.192Z] ---> e602b6382b70 [2023-05-31T20:47:21.192Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:47:21.465Z] ---> Running in 2c260fc4630c [2023-05-31T20:47:21.738Z] Removing intermediate container 2c260fc4630c [2023-05-31T20:47:21.738Z] ---> 1d65a22e6407 [2023-05-31T20:47:21.738Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:47:21.738Z] ---> Running in d8c33f3d3863 [2023-05-31T20:47:22.333Z] Removing intermediate container d8c33f3d3863 [2023-05-31T20:47:22.333Z] ---> eaf219ff551c [2023-05-31T20:47:22.333Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:47:22.333Z] ---> Running in 52ae6a7356fa [2023-05-31T20:47:22.605Z] Removing intermediate container 52ae6a7356fa [2023-05-31T20:47:22.605Z] ---> c12a06ed6e83 [2023-05-31T20:47:22.605Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:47:22.877Z] ---> Running in ff956602319b [2023-05-31T20:47:23.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:47:24.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:47:26.265Z] OK: 268 MiB in 57 packages [2023-05-31T20:47:27.693Z] Removing intermediate container ff956602319b [2023-05-31T20:47:27.693Z] ---> a217903eadcd [2023-05-31T20:47:27.693Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-31T20:47:27.693Z] ---> Running in 97738834add1 [2023-05-31T20:47:27.966Z] Removing intermediate container 97738834add1 [2023-05-31T20:47:27.966Z] ---> 486fda53002a [2023-05-31T20:47:27.966Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-31T20:47:28.944Z] ---> 02fb0baaf6f5 [2023-05-31T20:47:28.944Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:47:28.944Z] ---> Running in a793b980ba65 [2023-05-31T20:47:31.542Z] Removing intermediate container a793b980ba65 [2023-05-31T20:47:31.542Z] ---> b6cd17e05401 [2023-05-31T20:47:31.542Z] Step 11/24 : COPY . . [2023-05-31T20:47:32.982Z] ---> 6aafcfd1536a [2023-05-31T20:47:32.982Z] Step 12/24 : RUN ${MAKE} [2023-05-31T20:47:32.982Z] ---> Running in 19f615197d6f [2023-05-31T20:47:33.956Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-31T20:50:25.802Z] Removing intermediate container 19f615197d6f [2023-05-31T20:50:25.802Z] ---> d4b3b6ed7282 [2023-05-31T20:50:25.802Z] Step 13/24 : FROM alpine:3.17 [2023-05-31T20:50:25.802Z] 3.17: Pulling from library/alpine [2023-05-31T20:50:25.802Z] c41833b44d91: Already exists [2023-05-31T20:50:25.802Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T20:50:25.802Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T20:50:25.802Z] ---> 51e60588ff2c [2023-05-31T20:50:25.802Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-31T20:50:25.802Z] ---> Running in f524b383a0df [2023-05-31T20:50:25.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:50:25.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:50:26.393Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T20:50:26.393Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:50:26.393Z] OK: 8 MiB in 16 packages [2023-05-31T20:50:27.366Z] Removing intermediate container f524b383a0df [2023-05-31T20:50:27.366Z] ---> bf1b02c9ebac [2023-05-31T20:50:27.366Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-31T20:50:28.784Z] ---> c103c147adfe [2023-05-31T20:50:28.784Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-31T20:50:29.373Z] ---> 104ec05f48cb [2023-05-31T20:50:29.373Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-31T20:50:29.960Z] ---> b4c322bbcc59 [2023-05-31T20:50:29.960Z] Step 18/24 : EXPOSE 59993 [2023-05-31T20:50:29.960Z] ---> Running in 040c3c500108 [2023-05-31T20:50:30.289Z] Removing intermediate container 040c3c500108 [2023-05-31T20:50:30.289Z] ---> 62bb8db729da [2023-05-31T20:50:30.289Z] Step 19/24 : EXPOSE 161 [2023-05-31T20:50:30.558Z] ---> Running in c1b56932ba80 [2023-05-31T20:50:30.827Z] Removing intermediate container c1b56932ba80 [2023-05-31T20:50:30.827Z] ---> bb9b8f466815 [2023-05-31T20:50:30.827Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-31T20:50:30.827Z] ---> Running in 08a2eb16650e [2023-05-31T20:50:31.184Z] Removing intermediate container 08a2eb16650e [2023-05-31T20:50:31.184Z] ---> 3898455f2be2 [2023-05-31T20:50:31.184Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-31T20:50:31.475Z] ---> Running in 3f231225466f [2023-05-31T20:50:31.750Z] Removing intermediate container 3f231225466f [2023-05-31T20:50:31.750Z] ---> c117ee921d66 [2023-05-31T20:50:31.750Z] Step 22/24 : LABEL arch=arm64 [2023-05-31T20:50:31.750Z] ---> Running in a43f47158684 [2023-05-31T20:50:32.369Z] Removing intermediate container a43f47158684 [2023-05-31T20:50:32.369Z] ---> ef46424ee581 [2023-05-31T20:50:32.369Z] Step 23/24 : LABEL git_sha=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:50:32.369Z] ---> Running in 89702914a042 [2023-05-31T20:50:32.656Z] Removing intermediate container 89702914a042 [2023-05-31T20:50:32.656Z] ---> e4d2efd84f19 [2023-05-31T20:50:32.656Z] Step 24/24 : LABEL version=3.0.0 [2023-05-31T20:50:32.656Z] ---> Running in cd0875cf5d87 [2023-05-31T20:50:33.260Z] Removing intermediate container cd0875cf5d87 [2023-05-31T20:50:33.260Z] ---> 4f4d5cc637f3 [2023-05-31T20:50:33.260Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T20:50:33.260Z] Successfully built 4f4d5cc637f3 [2023-05-31T20:50:33.260Z] 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-31T20:50:33.384Z] provisioning config files... [2023-05-31T20:50:33.410Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/86@tmp/config14300891923615411584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:50:33.800Z] ---> docker-login.sh [2023-05-31T20:50:33.800Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:50:34.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:34.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:34.071Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:34.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:34.071Z] [2023-05-31T20:50:34.071Z] Login Succeeded [2023-05-31T20:50:34.071Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:50:34.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:34.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:34.615Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:34.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:34.615Z] [2023-05-31T20:50:34.615Z] Login Succeeded [2023-05-31T20:50:34.615Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:50:34.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:34.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:34.886Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:34.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:34.886Z] [2023-05-31T20:50:34.886Z] Login Succeeded [2023-05-31T20:50:35.158Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:50:35.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:35.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:35.432Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:35.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:35.432Z] [2023-05-31T20:50:35.432Z] Login Succeeded [2023-05-31T20:50:35.432Z] docker.io [2023-05-31T20:50:35.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:35.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:35.972Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:35.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:35.972Z] [2023-05-31T20:50:35.972Z] Login Succeeded [2023-05-31T20:50:35.972Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:50:35.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:50:36.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:50:36.034Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-31T20:50:36.034Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:50:36.034Z] latest [2023-05-31T20:50:36.034Z] 3.0.0 [2023-05-31T20:50:36.034Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [2023-05-31T20:50:36.034Z] main [2023-05-31T20:50:36.034Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:36.392Z] + 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-31T20:50:36.752Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:50:36.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T20:50:36.752Z] 73424e2acb80: Preparing [2023-05-31T20:50:36.752Z] be7aab254db4: Preparing [2023-05-31T20:50:36.752Z] b9bc828a1a8b: Preparing [2023-05-31T20:50:36.752Z] 9adc9aa6db96: Preparing [2023-05-31T20:50:36.752Z] 26cbea5cba74: Preparing [2023-05-31T20:50:36.752Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:37.036Z] be7aab254db4: Pushed [2023-05-31T20:50:37.036Z] 9adc9aa6db96: Pushed [2023-05-31T20:50:37.036Z] 73424e2acb80: Pushed [2023-05-31T20:50:43.724Z] b9bc828a1a8b: Pushed [2023-05-31T20:50:43.724Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:44.080Z] + 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-31T20:50:44.435Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-31T20:50:44.435Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T20:50:44.435Z] 73424e2acb80: Preparing [2023-05-31T20:50:44.435Z] be7aab254db4: Preparing [2023-05-31T20:50:44.435Z] b9bc828a1a8b: Preparing [2023-05-31T20:50:44.435Z] 9adc9aa6db96: Preparing [2023-05-31T20:50:44.435Z] 26cbea5cba74: Preparing [2023-05-31T20:50:44.436Z] be7aab254db4: Layer already exists [2023-05-31T20:50:44.436Z] 73424e2acb80: Layer already exists [2023-05-31T20:50:44.436Z] b9bc828a1a8b: Layer already exists [2023-05-31T20:50:44.436Z] 9adc9aa6db96: Layer already exists [2023-05-31T20:50:44.436Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:44.707Z] latest: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:45.065Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:45.422Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0 [2023-05-31T20:50:45.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T20:50:45.422Z] 73424e2acb80: Preparing [2023-05-31T20:50:45.422Z] be7aab254db4: Preparing [2023-05-31T20:50:45.422Z] b9bc828a1a8b: Preparing [2023-05-31T20:50:45.422Z] 9adc9aa6db96: Preparing [2023-05-31T20:50:45.422Z] 26cbea5cba74: Preparing [2023-05-31T20:50:45.422Z] 73424e2acb80: Layer already exists [2023-05-31T20:50:45.422Z] be7aab254db4: Layer already exists [2023-05-31T20:50:45.422Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:45.422Z] b9bc828a1a8b: Layer already exists [2023-05-31T20:50:45.422Z] 9adc9aa6db96: Layer already exists [2023-05-31T20:50:45.693Z] 3.0.0: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:46.048Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:46.402Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [2023-05-31T20:50:46.402Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T20:50:46.402Z] 73424e2acb80: Preparing [2023-05-31T20:50:46.402Z] be7aab254db4: Preparing [2023-05-31T20:50:46.402Z] b9bc828a1a8b: Preparing [2023-05-31T20:50:46.402Z] 9adc9aa6db96: Preparing [2023-05-31T20:50:46.402Z] 26cbea5cba74: Preparing [2023-05-31T20:50:46.402Z] be7aab254db4: Layer already exists [2023-05-31T20:50:46.402Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:46.402Z] 9adc9aa6db96: Layer already exists [2023-05-31T20:50:46.402Z] 73424e2acb80: Layer already exists [2023-05-31T20:50:46.402Z] b9bc828a1a8b: Layer already exists [2023-05-31T20:50:46.672Z] 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:47.036Z] + 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-31T20:50:47.398Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-31T20:50:47.399Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-31T20:50:47.399Z] 73424e2acb80: Preparing [2023-05-31T20:50:47.399Z] be7aab254db4: Preparing [2023-05-31T20:50:47.399Z] b9bc828a1a8b: Preparing [2023-05-31T20:50:47.399Z] 9adc9aa6db96: Preparing [2023-05-31T20:50:47.399Z] 26cbea5cba74: Preparing [2023-05-31T20:50:47.399Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:47.399Z] b9bc828a1a8b: Layer already exists [2023-05-31T20:50:47.399Z] 9adc9aa6db96: Layer already exists [2023-05-31T20:50:47.399Z] 73424e2acb80: Layer already exists [2023-05-31T20:50:47.399Z] be7aab254db4: Layer already exists [2023-05-31T20:50:47.668Z] main: digest: sha256:3aa3b8a4956b3ea5debd9bad68ce6f00bc2ffa43af20226ac9ea61572fc3553c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:50:47.791Z] ===================================================== [Pipeline] echo [2023-05-31T20:50:47.798Z] taggedImages: [2023-05-31T20:50:47.798Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [2023-05-31T20:50:47.798Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-31T20:50:47.798Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0 [2023-05-31T20:50:47.798Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3a4f383a77d0147d8cfd096fa38d6fefa237b1d0-3.0.0 [2023-05-31T20:50:47.798Z] - 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-31T20:50:48.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:50:48.187Z] [2023-05-31T20:50:48.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:48.536Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:50:48.811Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-31T20:50:48.811Z] 8998bd30e6a1: Pulling fs layer [2023-05-31T20:50:48.811Z] 04944245beec: Pulling fs layer [2023-05-31T20:50:48.811Z] 699f458cf7ca: Pulling fs layer [2023-05-31T20:50:48.811Z] 765212b225bb: Pulling fs layer [2023-05-31T20:50:48.811Z] f23df028b6ca: Pulling fs layer [2023-05-31T20:50:48.811Z] d65c8cfc05b1: Pulling fs layer [2023-05-31T20:50:48.811Z] 2437ff75d9bd: Pulling fs layer [2023-05-31T20:50:48.811Z] 765212b225bb: Waiting [2023-05-31T20:50:48.811Z] f23df028b6ca: Waiting [2023-05-31T20:50:48.811Z] d65c8cfc05b1: Waiting [2023-05-31T20:50:48.811Z] 2437ff75d9bd: Waiting [2023-05-31T20:50:48.811Z] 04944245beec: Verifying Checksum [2023-05-31T20:50:48.811Z] 04944245beec: Download complete [2023-05-31T20:50:48.811Z] 765212b225bb: Download complete [2023-05-31T20:50:48.811Z] f23df028b6ca: Download complete [2023-05-31T20:50:48.811Z] d65c8cfc05b1: Verifying Checksum [2023-05-31T20:50:48.811Z] d65c8cfc05b1: Download complete [2023-05-31T20:50:49.089Z] 699f458cf7ca: Verifying Checksum [2023-05-31T20:50:49.089Z] 699f458cf7ca: Download complete [2023-05-31T20:50:49.361Z] 8998bd30e6a1: Verifying Checksum [2023-05-31T20:50:49.361Z] 8998bd30e6a1: Download complete [2023-05-31T20:50:51.962Z] 2437ff75d9bd: Verifying Checksum [2023-05-31T20:50:51.962Z] 2437ff75d9bd: Download complete [2023-05-31T20:50:54.566Z] 8998bd30e6a1: Pull complete [2023-05-31T20:50:54.566Z] 04944245beec: Pull complete [2023-05-31T20:50:55.986Z] 699f458cf7ca: Pull complete [2023-05-31T20:50:56.255Z] 765212b225bb: Pull complete [2023-05-31T20:50:57.218Z] f23df028b6ca: Pull complete [2023-05-31T20:50:57.485Z] d65c8cfc05b1: Pull complete [2023-05-31T20:51:12.481Z] 2437ff75d9bd: Pull complete [2023-05-31T20:51:12.481Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-31T20:51:12.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:51:12.481Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:12.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-17554 does not seem to be running inside a container [2023-05-31T20:51:12.754Z] $ 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/86 -v /w/workspace/device-snmp-go/86:/w/workspace/device-snmp-go/86:rw,z -v /w/workspace/device-snmp-go/86@tmp:/w/workspace/device-snmp-go/86@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-31T20:51:15.864Z] $ docker top 5d6957c36cc59f94fc51949cf205426a320d55bbdd64c569cf8cfcd9ad69bd69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:16.720Z] ---> job-cost.sh [2023-05-31T20:51:16.720Z] lf-activate-venv: SKIPPING [2023-05-31T20:51:16.720Z] INFO: No Stack... [2023-05-31T20:51:17.303Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-31T20:51:17.891Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T20:51:18.802Z] + cat /w/workspace/device-snmp-go/86/archives/cost.csv [2023-05-31T20:51:18.802Z] + cut -d, -f6 [Pipeline] lock [2023-05-31T20:51:18.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [2023-05-31T20:51:18.879Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] did not exist. Created. [2023-05-31T20:51:18.879Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:51:19.625Z] /w/workspace/device-snmp-go/86@tmp/durable-b6e079a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-31T20:51:20.289Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-31T20:51:20.314Z] Warning: overwriting stash ‘stack-cost’ [2023-05-31T20:51:20.367Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T20:51:20.380Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T20:51:20.398Z] $ docker stop --time=1 5d6957c36cc59f94fc51949cf205426a320d55bbdd64c569cf8cfcd9ad69bd69 [2023-05-31T20:51:21.948Z] $ docker rm -f --volumes 5d6957c36cc59f94fc51949cf205426a320d55bbdd64c569cf8cfcd9ad69bd69 [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-31T20:51:22.373Z] provisioning config files... [2023-05-31T20:51:22.382Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4202957234481859269tmp [Pipeline] { [Pipeline] sh [2023-05-31T20:51:22.674Z] + set +x [2023-05-31T20:51:22.674Z] + curl -s https://codecov.io/bash [2023-05-31T20:51:22.674Z] + bash -s -- [2023-05-31T20:51:22.674Z] [2023-05-31T20:51:22.674Z] _____ _ [2023-05-31T20:51:22.674Z] / ____| | | [2023-05-31T20:51:22.674Z] | | ___ __| | ___ ___ _____ __ [2023-05-31T20:51:22.674Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-31T20:51:22.674Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-31T20:51:22.674Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-31T20:51:22.674Z] Bash-1.0.6 [2023-05-31T20:51:22.674Z] [2023-05-31T20:51:22.674Z] [2023-05-31T20:51:22.674Z] ==> git version 2.25.1 found [2023-05-31T20:51:22.674Z] ==> 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-31T20:51:22.674Z] Release-Date: 2020-01-08 [2023-05-31T20:51:22.674Z] 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-31T20:51:22.674Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-31T20:51:22.674Z] ==> Jenkins CI detected. [2023-05-31T20:51:22.674Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-31T20:51:22.674Z] project root: . [2023-05-31T20:51:22.674Z] --> token set from env [2023-05-31T20:51:22.674Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-31T20:51:22.674Z] ==> Running gcov in . (disable via -X gcov) [2023-05-31T20:51:22.674Z] ==> Python coveragepy not found [2023-05-31T20:51:22.674Z] ==> Searching for coverage reports in: [2023-05-31T20:51:22.674Z] + . [2023-05-31T20:51:22.674Z] -> Found 1 reports [2023-05-31T20:51:22.674Z] ==> Detecting git/mercurial file structure [2023-05-31T20:51:22.674Z] ==> Reading reports [2023-05-31T20:51:22.674Z] + ./coverage.out bytes=8837 [2023-05-31T20:51:22.674Z] ==> Appending adjustments [2023-05-31T20:51:22.674Z] https://docs.codecov.io/docs/fixing-reports [2023-05-31T20:51:22.934Z] + Found adjustments [2023-05-31T20:51:22.934Z] ==> Gzipping contents [2023-05-31T20:51:22.934Z] 4.0K /tmp/codecov.i6alwa.gz [2023-05-31T20:51:22.934Z] ==> Uploading reports [2023-05-31T20:51:22.934Z] url: https://codecov.io [2023-05-31T20:51:22.934Z] query: branch=main&commit=3a4f383a77d0147d8cfd096fa38d6fefa237b1d0&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T20:51:22.934Z] -> Pinging Codecov [2023-05-31T20:51:22.934Z] 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=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T20:51:22.934Z] -> Uploading to [2023-05-31T20:51:22.934Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-31/6C56EA5C29638FB4528AC87E60AF5AE0/3a4f383a77d0147d8cfd096fa38d6fefa237b1d0/a052f7e6-1c4d-4729-87f2-8fbd4535d7e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T205122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24da8497ff16189c1359b26b77573b2179f1def02161d0613ed2a79e3f54b6f7 [2023-05-31T20:51:22.934Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T20:51:22.934Z] Dload Upload Total Spent Left Speed [2023-05-31T20:51:23.192Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8020 --:--:-- --:--:-- --:--:-- 8020 100 1604 0 0 100 1604 0 8020 --:--:-- --:--:-- --:--:-- 7980 [2023-05-31T20:51:23.192Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] } [2023-05-31T20:51:23.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-31T20:51:23.337Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-31T20:51:23.349Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:23.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:51:23.661Z] [2023-05-31T20:51:23.661Z] 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-31T20:51:23.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:51:23.962Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-31T20:51:23.962Z] df9b9388f04a: Pulling fs layer [2023-05-31T20:51:23.962Z] 52dc419b0ee2: Pulling fs layer [2023-05-31T20:51:23.962Z] 25bc292e5bac: Pulling fs layer [2023-05-31T20:51:23.962Z] 114826534d7a: Pulling fs layer [2023-05-31T20:51:23.962Z] 4657fd5d0bcf: Pulling fs layer [2023-05-31T20:51:23.962Z] 6ad1cebc031e: Pulling fs layer [2023-05-31T20:51:23.962Z] 8a3aa393b2d8: Pulling fs layer [2023-05-31T20:51:23.962Z] 114826534d7a: Waiting [2023-05-31T20:51:23.962Z] 4657fd5d0bcf: Waiting [2023-05-31T20:51:23.962Z] 6ad1cebc031e: Waiting [2023-05-31T20:51:23.962Z] 8a3aa393b2d8: Waiting [2023-05-31T20:51:23.962Z] 25bc292e5bac: Verifying Checksum [2023-05-31T20:51:23.962Z] 25bc292e5bac: Download complete [2023-05-31T20:51:23.962Z] 52dc419b0ee2: Verifying Checksum [2023-05-31T20:51:23.962Z] 52dc419b0ee2: Download complete [2023-05-31T20:51:23.962Z] 4657fd5d0bcf: Download complete [2023-05-31T20:51:23.962Z] df9b9388f04a: Download complete [2023-05-31T20:51:24.434Z] 6ad1cebc031e: Verifying Checksum [2023-05-31T20:51:24.434Z] 6ad1cebc031e: Download complete [2023-05-31T20:51:24.434Z] df9b9388f04a: Pull complete [2023-05-31T20:51:24.692Z] 52dc419b0ee2: Pull complete [2023-05-31T20:51:24.692Z] 114826534d7a: Verifying Checksum [2023-05-31T20:51:24.692Z] 114826534d7a: Download complete [2023-05-31T20:51:24.692Z] 25bc292e5bac: Pull complete [2023-05-31T20:51:24.692Z] 8a3aa393b2d8: Verifying Checksum [2023-05-31T20:51:24.692Z] 8a3aa393b2d8: Download complete [2023-05-31T20:51:27.996Z] 114826534d7a: Pull complete [2023-05-31T20:51:27.996Z] 4657fd5d0bcf: Pull complete [2023-05-31T20:51:28.261Z] 6ad1cebc031e: Pull complete [2023-05-31T20:51:31.545Z] 8a3aa393b2d8: Pull complete [2023-05-31T20:51:31.545Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-31T20:51:31.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:51:31.545Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:31.637Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:51:31.669Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-31T20:51:35.578Z] $ docker top be76075e89f52c31eb6abb5486d9911b36c99bbbb89cdd65b8bceab797ecd48b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-31T20:51:35.643Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-31T20:51:35.915Z] + set -o pipefail [2023-05-31T20:51:35.915Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-31T20:51:40.112Z] [2023-05-31T20:51:40.112Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-31T20:51:40.112Z] [2023-05-31T20:51:40.112Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/47334fd7-9245-49ec-94d3-6b793313d2b1 [2023-05-31T20:51:40.112Z] [2023-05-31T20:51:40.112Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-31T20:51:40.112Z] [2023-05-31T20:51:40.112Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-31T20:51:40.112Z] [2023-05-31T20:51:40.112Z] [2023-05-31T20:51:40.112Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-31T20:51:40.112Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-31T20:51:40.112Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-31T20:51:40.123Z] $ docker stop --time=1 be76075e89f52c31eb6abb5486d9911b36c99bbbb89cdd65b8bceab797ecd48b [2023-05-31T20:51:43.159Z] $ docker rm -f --volumes be76075e89f52c31eb6abb5486d9911b36c99bbbb89cdd65b8bceab797ecd48b [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-31T20:51:43.822Z] + git log --format=format:%s -1 3a4f383a77d0147d8cfd096fa38d6fefa237b1d0 [Pipeline] sh [2023-05-31T20:51:44.113Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:51:44.114Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:44.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:51:44.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:44.479Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:51:44.508Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:51:44.959Z] $ docker top eb77504d3cd170fabb4c96fd02c9c30fa2170547b1abf864658f7dfacbf05c21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:51:45.040Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:51:45.331Z] + git semver [Pipeline] } [2023-05-31T20:51:45.601Z] $ docker stop --time=1 eb77504d3cd170fabb4c96fd02c9c30fa2170547b1abf864658f7dfacbf05c21 [2023-05-31T20:51:46.879Z] $ docker rm -f --volumes eb77504d3cd170fabb4c96fd02c9c30fa2170547b1abf864658f7dfacbf05c21 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:47.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:51:47.265Z] [2023-05-31T20:51:47.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:47.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:51:47.560Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-31T20:51:47.560Z] ab5ef0e58194: Pulling fs layer [2023-05-31T20:51:47.560Z] 9712f1f96733: Pulling fs layer [2023-05-31T20:51:47.560Z] 63f879dbbcfc: Pulling fs layer [2023-05-31T20:51:47.560Z] 0d9ebad4ef96: Pulling fs layer [2023-05-31T20:51:47.560Z] e9a5061849ea: Pulling fs layer [2023-05-31T20:51:47.560Z] d747dcd14b5f: Pulling fs layer [2023-05-31T20:51:47.560Z] 2de7ff778b66: Pulling fs layer [2023-05-31T20:51:47.560Z] e9a5061849ea: Waiting [2023-05-31T20:51:47.560Z] d747dcd14b5f: Waiting [2023-05-31T20:51:47.560Z] 2de7ff778b66: Waiting [2023-05-31T20:51:47.560Z] 0d9ebad4ef96: Waiting [2023-05-31T20:51:47.560Z] 9712f1f96733: Verifying Checksum [2023-05-31T20:51:47.560Z] 9712f1f96733: Download complete [2023-05-31T20:51:47.820Z] 63f879dbbcfc: Verifying Checksum [2023-05-31T20:51:47.820Z] 63f879dbbcfc: Download complete [2023-05-31T20:51:48.078Z] 0d9ebad4ef96: Verifying Checksum [2023-05-31T20:51:48.078Z] 0d9ebad4ef96: Download complete [2023-05-31T20:51:48.078Z] e9a5061849ea: Verifying Checksum [2023-05-31T20:51:48.078Z] e9a5061849ea: Download complete [2023-05-31T20:51:48.078Z] d747dcd14b5f: Download complete [2023-05-31T20:51:48.078Z] ab5ef0e58194: Verifying Checksum [2023-05-31T20:51:48.078Z] ab5ef0e58194: Download complete [2023-05-31T20:51:48.078Z] 2de7ff778b66: Verifying Checksum [2023-05-31T20:51:48.078Z] 2de7ff778b66: Download complete [2023-05-31T20:51:50.601Z] ab5ef0e58194: Pull complete [2023-05-31T20:51:50.601Z] 9712f1f96733: Pull complete [2023-05-31T20:51:51.173Z] 63f879dbbcfc: Pull complete [2023-05-31T20:51:55.355Z] 0d9ebad4ef96: Pull complete [2023-05-31T20:51:55.355Z] e9a5061849ea: Pull complete [2023-05-31T20:51:55.355Z] d747dcd14b5f: Pull complete [2023-05-31T20:51:55.922Z] 2de7ff778b66: Pull complete [2023-05-31T20:51:55.922Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-31T20:51:55.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:51:55.922Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:56.005Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:51:56.033Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-31T20:52:00.879Z] $ docker top 560ff73ad7217490f5541d2d5ec926cedf0f034484e6b9ef95c57b885b435187 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:52:00.948Z] provisioning config files... [2023-05-31T20:52:00.955Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12572764489121922934tmp [2023-05-31T20:52:00.964Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3299124863098910370tmp [2023-05-31T20:52:00.972Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5954911337466689429tmp [Pipeline] { [Pipeline] echo [2023-05-31T20:52:00.985Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:01.268Z] ---> sigul-configuration.sh [2023-05-31T20:52:01.268Z] gpg: directory `/root/.gnupg' created [2023-05-31T20:52:01.268Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-31T20:52:01.268Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-31T20:52:01.268Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-31T20:52:01.268Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-31T20:52:01.268Z] gpg: CAST5 encrypted data [2023-05-31T20:52:01.268Z] gpg: encrypted with 1 passphrase [2023-05-31T20:52:01.268Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-31T20:52:01.555Z] + mkdir /home/jenkins [2023-05-31T20:52:01.555Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-31T20:52:01.841Z] + 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-31T20:52:01.848Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:02.131Z] ---> sigul-install.sh [2023-05-31T20:52:02.131Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-31T20:52:02.415Z] + git tag --list [2023-05-31T20:52:02.415Z] 1.0.0 [2023-05-31T20:52:02.415Z] v0.0.0 [2023-05-31T20:52:02.415Z] v1.1.0 [2023-05-31T20:52:02.415Z] v1.1.1 [2023-05-31T20:52:02.415Z] v1.2.2 [2023-05-31T20:52:02.415Z] v1.3.0 [2023-05-31T20:52:02.415Z] v1.3.1 [2023-05-31T20:52:02.415Z] v2.0.0 [2023-05-31T20:52:02.415Z] v2.1.0 [2023-05-31T20:52:02.415Z] v2.1.1 [2023-05-31T20:52:02.415Z] v2.1.1-dev.2 [2023-05-31T20:52:02.415Z] v2.1.1-dev.3 [2023-05-31T20:52:02.415Z] v2.2.0 [2023-05-31T20:52:02.415Z] v2.2.1-dev.1 [2023-05-31T20:52:02.415Z] v2.2.1-dev.2 [2023-05-31T20:52:02.415Z] v2.2.1-dev.3 [2023-05-31T20:52:02.415Z] v2.2.1-dev.4 [2023-05-31T20:52:02.415Z] v2.2.1-dev.5 [2023-05-31T20:52:02.415Z] v2.2.1-dev.6 [2023-05-31T20:52:02.415Z] v2.2.1-dev.7 [2023-05-31T20:52:02.415Z] v2.3.0 [2023-05-31T20:52:02.415Z] v2.3.0-dev.10 [2023-05-31T20:52:02.415Z] v2.3.0-dev.11 [2023-05-31T20:52:02.415Z] v2.3.0-dev.12 [2023-05-31T20:52:02.415Z] v2.3.0-dev.13 [2023-05-31T20:52:02.415Z] v2.3.0-dev.14 [2023-05-31T20:52:02.415Z] v2.3.0-dev.15 [2023-05-31T20:52:02.415Z] v2.3.0-dev.16 [2023-05-31T20:52:02.415Z] v2.3.0-dev.17 [2023-05-31T20:52:02.415Z] v2.3.0-dev.18 [2023-05-31T20:52:02.415Z] v2.3.0-dev.19 [2023-05-31T20:52:02.415Z] v2.3.0-dev.20 [2023-05-31T20:52:02.415Z] v2.3.0-dev.21 [2023-05-31T20:52:02.415Z] v2.3.0-dev.22 [2023-05-31T20:52:02.415Z] v2.3.0-dev.23 [2023-05-31T20:52:02.415Z] v2.3.0-dev.24 [2023-05-31T20:52:02.415Z] v2.3.0-dev.7 [2023-05-31T20:52:02.415Z] v2.3.0-dev.8 [2023-05-31T20:52:02.415Z] v2.3.0-dev.9 [2023-05-31T20:52:02.415Z] v3.0.0 [2023-05-31T20:52:02.415Z] v3.0.0-dev.1 [2023-05-31T20:52:02.415Z] v3.0.0-dev.10 [2023-05-31T20:52:02.415Z] v3.0.0-dev.11 [2023-05-31T20:52:02.415Z] v3.0.0-dev.12 [2023-05-31T20:52:02.415Z] v3.0.0-dev.13 [2023-05-31T20:52:02.415Z] v3.0.0-dev.14 [2023-05-31T20:52:02.415Z] v3.0.0-dev.15 [2023-05-31T20:52:02.415Z] v3.0.0-dev.16 [2023-05-31T20:52:02.415Z] v3.0.0-dev.17 [2023-05-31T20:52:02.415Z] v3.0.0-dev.18 [2023-05-31T20:52:02.415Z] v3.0.0-dev.19 [2023-05-31T20:52:02.415Z] v3.0.0-dev.2 [2023-05-31T20:52:02.415Z] v3.0.0-dev.20 [2023-05-31T20:52:02.415Z] v3.0.0-dev.21 [2023-05-31T20:52:02.415Z] v3.0.0-dev.22 [2023-05-31T20:52:02.415Z] v3.0.0-dev.23 [2023-05-31T20:52:02.415Z] v3.0.0-dev.24 [2023-05-31T20:52:02.415Z] v3.0.0-dev.25 [2023-05-31T20:52:02.415Z] v3.0.0-dev.26 [2023-05-31T20:52:02.415Z] v3.0.0-dev.27 [2023-05-31T20:52:02.415Z] v3.0.0-dev.28 [2023-05-31T20:52:02.415Z] v3.0.0-dev.3 [2023-05-31T20:52:02.415Z] v3.0.0-dev.4 [2023-05-31T20:52:02.415Z] v3.0.0-dev.5 [2023-05-31T20:52:02.415Z] v3.0.0-dev.6 [2023-05-31T20:52:02.415Z] v3.0.0-dev.7 [2023-05-31T20:52:02.415Z] v3.0.0-dev.8 [2023-05-31T20:52:02.415Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-31T20:52:02.712Z] + lftools sign git-tag v3.0.0 [2023-05-31T20:52:03.280Z] Signing Git tag with Sigul... [2023-05-31T20:52:03.280Z] Signing v3.0.0 [Pipeline] echo [2023-05-31T20:52:03.550Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:03.837Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-31T20:52:03.845Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-31T20:52:03.868Z] $ docker stop --time=1 560ff73ad7217490f5541d2d5ec926cedf0f034484e6b9ef95c57b885b435187 [2023-05-31T20:52:05.144Z] $ docker rm -f --volumes 560ff73ad7217490f5541d2d5ec926cedf0f034484e6b9ef95c57b885b435187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-31T20:52:05.559Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:52:05.559Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:05.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:52:05.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:05.931Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:52:05.961Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:52:06.294Z] $ docker top ce7c206be974d4ec7080f10db17b610c9b257ad408130ee01109706fbcf9867e -eo pid,comm [2023-05-31T20:52:06.340Z] 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-31T20:52:06.340Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:52:06.359Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:52:06.643Z] + git semver [Pipeline] } [2023-05-31T20:52:06.912Z] $ docker stop --time=1 ce7c206be974d4ec7080f10db17b610c9b257ad408130ee01109706fbcf9867e [2023-05-31T20:52:08.192Z] $ docker rm -f --volumes ce7c206be974d4ec7080f10db17b610c9b257ad408130ee01109706fbcf9867e [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:52:08.541Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:52:08.541Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:08.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:52:08.838Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:08.906Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:52:08.935Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:52:09.284Z] $ docker top 1e21386ffa6aacf008be031226b1554fb03a913f5e820b9e6634426fbd190640 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:52:09.387Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:52:09.681Z] + git semver [Pipeline] } [2023-05-31T20:52:09.951Z] $ docker stop --time=1 1e21386ffa6aacf008be031226b1554fb03a913f5e820b9e6634426fbd190640 [2023-05-31T20:52:11.199Z] $ docker rm -f --volumes 1e21386ffa6aacf008be031226b1554fb03a913f5e820b9e6634426fbd190640 [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-31T20:52:11.760Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-31T20:52:11.760Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-31T20:52:11.760Z] total 16 [2023-05-31T20:52:11.760Z] drwxr-xr-x 3 root root 4096 May 31 20:40 . [2023-05-31T20:52:11.760Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:52 .. [2023-05-31T20:52:11.760Z] drwxr-xr-x 2 root root 4096 May 31 20:40 cost [2023-05-31T20:52:11.760Z] -rw-r--r-- 1 root root 85 May 31 20:40 cost.csv [2023-05-31T20:52:11.760Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-31T20:52:11.760Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-31T20:52:11.760Z] total 16 [2023-05-31T20:52:11.760Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:40 . [2023-05-31T20:52:11.760Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:52 .. [2023-05-31T20:52:11.760Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 20:40 cost [2023-05-31T20:52:11.760Z] -rw-r--r-- 1 jenkins jenkins 85 May 31 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:12.054Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:12.916Z] ---> package-listing.sh [2023-05-31T20:52:12.916Z] ++ facter osfamily [2023-05-31T20:52:12.916Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-31T20:52:13.176Z] + OS_FAMILY=debian [2023-05-31T20:52:13.176Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-31T20:52:13.176Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-31T20:52:13.176Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-31T20:52:13.176Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-31T20:52:13.176Z] + PACKAGES=/tmp/packages_start.txt [2023-05-31T20:52:13.176Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-31T20:52:13.176Z] + PACKAGES=/tmp/packages_end.txt [2023-05-31T20:52:13.176Z] + case "${OS_FAMILY}" in [2023-05-31T20:52:13.176Z] + dpkg -l [2023-05-31T20:52:13.176Z] + grep '^ii' [2023-05-31T20:52:13.176Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-31T20:52:13.176Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-31T20:52:13.176Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-31T20:52:13.177Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-31T20:52:13.177Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-31T20:52:13.177Z] + 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-31T20:52:13.194Z] 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-31T20:52:13.474Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:14.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:52:14.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:14.111Z] prd-ubuntu20.04-docker-8c-8g-17543 does not seem to be running inside a container [2023-05-31T20:52:14.139Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-31T20:52:14.356Z] $ docker top f84df4f396e1bae0480b487da1d99c278946941184348cb84ee497c744ce1adc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:52:14.696Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-31T20:52:14.974Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-31T20:52:15.258Z] + ls /var/log/sa-host [2023-05-31T20:52:15.258Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:52:15.324Z] provisioning config files... [2023-05-31T20:52:15.333Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2039573392484223562tmp [Pipeline] { [Pipeline] echo [2023-05-31T20:52:15.347Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:15.631Z] ---> create-netrc.sh [Pipeline] } [2023-05-31T20:52:15.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:15.967Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-31T20:52:15.973Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:16.304Z] ---> sudo-logs.sh [2023-05-31T20:52:16.304Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-31T20:52:16.360Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:16.684Z] ---> job-cost.sh [2023-05-31T20:52:16.684Z] lf-activate-venv: SKIPPING [2023-05-31T20:52:16.684Z] DEBUG: total: 0.2199999988079071 [2023-05-31T20:52:16.684Z] INFO: Retrieving Stack Cost... [2023-05-31T20:52:16.961Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T20:52:17.549Z] INFO: Archiving Costs [Pipeline] echo [2023-05-31T20:52:17.561Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:17.847Z] ---> logs-deploy.sh [2023-05-31T20:52:17.847Z] lf-activate-venv: SKIPPING [2023-05-31T20:52:17.847Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/86 [2023-05-31T20:52:17.847Z] INFO: archiving workspace using pattern(s): [2023-05-31T20:52:18.789Z] Archives upload complete. [2023-05-31T20:52:18.789Z] INFO: archiving logs to Nexus