Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4540667df76160ba2257f08fa194345a2d771c5a 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-ssh4746006798323256352.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh5122414151031650313.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh10220136772620421530.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh18199691792270073098.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-ssh16842876098193081780.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-9540’ Running on prd-ubuntu20.04-docker-8c-8g-9542 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 4540667df76160ba2257f08fa194345a2d771c5a (main) Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug (#294)" > 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 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 > git rev-list --no-walk 7429475b8b1c7d2813665a0cabf567e5cd6ad519 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T16:00:38.497Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T16:00:38.556Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T16:00:38.575Z] ========================================================= [2023-04-24T16:00:38.575Z] EdgeX Global Pipelines Version Info [2023-04-24T16:00:38.575Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:00:39.284Z] ------------------- [2023-04-24T16:00:39.284Z] stable info: [2023-04-24T16:00:39.284Z] ------------------- [2023-04-24T16:00:39.284Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T16:00:39.284Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T16:00:39.284Z] Message: update stable to v1.0.248 [2023-04-24T16:00:39.856Z] ------------------- [2023-04-24T16:00:39.856Z] experimental info: [2023-04-24T16:00:39.856Z] ------------------- [2023-04-24T16:00:39.856Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T16:00:39.856Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T16:00:39.856Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T16:00:40.006Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-04-24T16:00:40.017Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-04-24T16:00:40.027Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T16:00:40.036Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T16:00:40.047Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T16:00:40.069Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T16:00:40.088Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T16:00:40.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T16:00:40.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T16:00:40.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T16:00:40.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T16:00:40.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-04-24T16:00:40.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T16:00:40.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T16:00:40.206Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T16:00:40.217Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T16:00:40.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T16:00:40.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T16:00:40.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T16:00:40.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T16:00:40.290Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T16:00:40.306Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T16:00:40.324Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T16:00:40.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T16:00:40.367Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T16:00:40.385Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T16:00:40.408Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T16:00:40.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-24T16:00:40.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-24T16:00:40.461Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-24T16:00:40.478Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4540667df76160ba2257f08fa194345a2d771c5a [Pipeline] echo [2023-04-24T16:00:40.493Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4540667 [Pipeline] echo [2023-04-24T16:00:40.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:00:40.554Z] provisioning config files... [2023-04-24T16:00:40.566Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17291104933882820271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:00:40.869Z] ---> docker-login.sh [2023-04-24T16:00:40.869Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:00:41.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:41.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:41.129Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:41.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:41.129Z] [2023-04-24T16:00:41.129Z] Login Succeeded [2023-04-24T16:00:41.129Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:00:41.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:41.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:41.129Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:41.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:41.129Z] [2023-04-24T16:00:41.129Z] Login Succeeded [2023-04-24T16:00:41.129Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:00:41.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:41.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:41.390Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:41.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:41.390Z] [2023-04-24T16:00:41.390Z] Login Succeeded [2023-04-24T16:00:41.390Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:00:41.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:41.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:41.390Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:41.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:41.390Z] [2023-04-24T16:00:41.390Z] Login Succeeded [2023-04-24T16:00:41.390Z] docker.io [2023-04-24T16:00:41.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:41.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:41.652Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:41.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:41.652Z] [2023-04-24T16:00:41.652Z] Login Succeeded [2023-04-24T16:00:41.652Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:00:41.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T16:00:42.026Z] + git rev-list -1 --merges 4540667df76160ba2257f08fa194345a2d771c5a~1..4540667df76160ba2257f08fa194345a2d771c5a [Pipeline] echo [2023-04-24T16:00:42.075Z] -----------> git rev-list -1 --merges 4540667df76160ba2257f08fa194345a2d771c5a~1..4540667df76160ba2257f08fa194345a2d771c5a 4540667df76160ba2257f08fa194345a2d771c5a [false] [Pipeline] sh [2023-04-24T16:00:42.363Z] + git log --format=format:%s -1 4540667df76160ba2257f08fa194345a2d771c5a [Pipeline] echo [2023-04-24T16:00:42.377Z] ========================================================= [2023-04-24T16:00:42.377Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T16:00:42.377Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T16:00:42.720Z] + git log --format=format:%s -1 4540667df76160ba2257f08fa194345a2d771c5a [Pipeline] echo [2023-04-24T16:00:42.730Z] [semverPrep] GIT_COMMIT: 4540667df76160ba2257f08fa194345a2d771c5a, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug (#294) [Pipeline] echo [2023-04-24T16:00:42.746Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T16:00:43.096Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T16:00:43.096Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T16:00:43.096Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T16:00:43.096Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T16:00:43.096Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T16:00:43.096Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T16:00:43.096Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:00:43.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:00:43.441Z] [2023-04-24T16:00:43.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:00:43.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:00:43.736Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T16:00:43.736Z] b85a868b505f: Pulling fs layer [2023-04-24T16:00:43.736Z] e2be974225ed: Pulling fs layer [2023-04-24T16:00:43.736Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T16:00:43.736Z] 988bab9f4d93: Pulling fs layer [2023-04-24T16:00:43.736Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T16:00:43.736Z] 988bab9f4d93: Waiting [2023-04-24T16:00:43.736Z] eaf3925da568: Pulling fs layer [2023-04-24T16:00:43.736Z] bab4dde63d76: Pulling fs layer [2023-04-24T16:00:43.736Z] bde34c3a00c8: Pulling fs layer [2023-04-24T16:00:43.736Z] b352a97aabf1: Pulling fs layer [2023-04-24T16:00:43.736Z] 1469e6f7b9e6: Waiting [2023-04-24T16:00:43.736Z] bde34c3a00c8: Waiting [2023-04-24T16:00:43.736Z] eaf3925da568: Waiting [2023-04-24T16:00:43.736Z] bab4dde63d76: Waiting [2023-04-24T16:00:43.736Z] 4872d77fe225: Pulling fs layer [2023-04-24T16:00:43.736Z] 5851b861e8e6: Pulling fs layer [2023-04-24T16:00:43.736Z] b352a97aabf1: Waiting [2023-04-24T16:00:43.736Z] 5851b861e8e6: Waiting [2023-04-24T16:00:43.736Z] e2be974225ed: Download complete [2023-04-24T16:00:43.736Z] 988bab9f4d93: Verifying Checksum [2023-04-24T16:00:43.736Z] 988bab9f4d93: Download complete [2023-04-24T16:00:43.736Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T16:00:43.737Z] 1469e6f7b9e6: Download complete [2023-04-24T16:00:43.737Z] eaf3925da568: Download complete [2023-04-24T16:00:43.997Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T16:00:43.997Z] 339a4e72a1f5: Download complete [2023-04-24T16:00:43.997Z] bde34c3a00c8: Verifying Checksum [2023-04-24T16:00:43.997Z] bde34c3a00c8: Download complete [2023-04-24T16:00:43.997Z] b352a97aabf1: Verifying Checksum [2023-04-24T16:00:43.997Z] b352a97aabf1: Download complete [2023-04-24T16:00:43.997Z] 4872d77fe225: Download complete [2023-04-24T16:00:43.997Z] 5851b861e8e6: Download complete [2023-04-24T16:00:43.997Z] b85a868b505f: Download complete [2023-04-24T16:00:44.255Z] bab4dde63d76: Download complete [2023-04-24T16:00:45.191Z] b85a868b505f: Pull complete [2023-04-24T16:00:45.191Z] e2be974225ed: Pull complete [2023-04-24T16:00:45.757Z] 339a4e72a1f5: Pull complete [2023-04-24T16:00:45.757Z] 988bab9f4d93: Pull complete [2023-04-24T16:00:46.016Z] 1469e6f7b9e6: Pull complete [2023-04-24T16:00:46.016Z] eaf3925da568: Pull complete [2023-04-24T16:00:47.395Z] bab4dde63d76: Pull complete [2023-04-24T16:00:47.654Z] bde34c3a00c8: Pull complete [2023-04-24T16:00:47.654Z] b352a97aabf1: Pull complete [2023-04-24T16:00:47.654Z] 4872d77fe225: Pull complete [2023-04-24T16:00:47.913Z] 5851b861e8e6: Pull complete [2023-04-24T16:00:47.913Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T16:00:47.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:00:47.913Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:00:48.014Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:00:48.049Z] $ 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-04-24T16:00:50.146Z] $ docker top 0c1cab3214719bb66890f2cdf9b6e2eff799c3da81436609890457003e6ce7ce -eo pid,comm [2023-04-24T16:00:50.230Z] 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-04-24T16:00:50.230Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T16:00:50.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:00:50.271Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:00:50.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:00:50.379Z] $ docker exec 0c1cab3214719bb66890f2cdf9b6e2eff799c3da81436609890457003e6ce7ce ssh-agent [2023-04-24T16:00:50.484Z] SSH_AUTH_SOCK=/tmp/ssh-UGE92T8dpIAh/agent.32 [2023-04-24T16:00:50.484Z] SSH_AGENT_PID=38 [2023-04-24T16:00:50.491Z] Running ssh-add (command line suppressed) [2023-04-24T16:00:50.585Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12094214368124459144.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12094214368124459144.key) [2023-04-24T16:00:50.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:00:50.886Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T16:00:50.899Z] $ docker exec --env ******** --env ******** 0c1cab3214719bb66890f2cdf9b6e2eff799c3da81436609890457003e6ce7ce ssh-agent -k [2023-04-24T16:00:50.993Z] unset SSH_AUTH_SOCK; [2023-04-24T16:00:50.994Z] unset SSH_AGENT_PID; [2023-04-24T16:00:50.994Z] echo Agent pid 38 killed; [2023-04-24T16:00:51.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T16:00:51.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:00:51.028Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:00:51.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:00:51.140Z] $ docker exec 0c1cab3214719bb66890f2cdf9b6e2eff799c3da81436609890457003e6ce7ce ssh-agent [2023-04-24T16:00:51.248Z] SSH_AUTH_SOCK=/tmp/ssh-SsBDIjz9eWXq/agent.70 [2023-04-24T16:00:51.248Z] SSH_AGENT_PID=76 [2023-04-24T16:00:51.253Z] Running ssh-add (command line suppressed) [2023-04-24T16:00:51.365Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9386146019268996570.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9386146019268996570.key) [2023-04-24T16:00:51.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:00:51.670Z] + git semver init [2023-04-24T16:00:51.929Z] 2023-04-24 16:00:51,842 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T16:00:51.929Z] 2023-04-24 16:00:51,843 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-24T16:00:51.929Z] 2023-04-24 16:00:51,844 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-24T16:00:51.929Z] 2023-04-24 16:00:51,844 [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-04-24T16:00:52.869Z] 2023-04-24 16:00:52,597 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-04-24T16:00:52.869Z] 2023-04-24 16:00:52,598 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-04-24T16:00:52.869Z] 2023-04-24 16:00:52,598 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:00:52.869Z] 2023-04-24 16:00:52,598 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:00:52.869Z] 3.0.0-dev.17 [Pipeline] } [2023-04-24T16:00:52.880Z] $ docker exec --env ******** --env ******** 0c1cab3214719bb66890f2cdf9b6e2eff799c3da81436609890457003e6ce7ce ssh-agent -k [2023-04-24T16:00:52.981Z] unset SSH_AUTH_SOCK; [2023-04-24T16:00:52.982Z] unset SSH_AGENT_PID; [2023-04-24T16:00:52.982Z] echo Agent pid 76 killed; [2023-04-24T16:00:52.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T16:00:53.299Z] + git semver [Pipeline] } [2023-04-24T16:00:53.570Z] $ docker stop --time=1 0c1cab3214719bb66890f2cdf9b6e2eff799c3da81436609890457003e6ce7ce [2023-04-24T16:00:54.827Z] $ docker rm -f --volumes 0c1cab3214719bb66890f2cdf9b6e2eff799c3da81436609890457003e6ce7ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T16:00:55.151Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T16:00:55.346Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T16:00:55.348Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:00:55.464Z] provisioning config files... [2023-04-24T16:00:55.474Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10071186865930341521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:00:55.770Z] ---> docker-login.sh [2023-04-24T16:00:55.770Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:00:55.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:55.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:55.770Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:55.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:55.770Z] [2023-04-24T16:00:55.770Z] Login Succeeded [2023-04-24T16:00:55.770Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:00:55.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:55.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:55.770Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:55.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:55.770Z] [2023-04-24T16:00:55.770Z] Login Succeeded [2023-04-24T16:00:55.770Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:00:56.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:56.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:56.029Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:56.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:56.029Z] [2023-04-24T16:00:56.029Z] Login Succeeded [2023-04-24T16:00:56.029Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:00:56.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:56.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:56.029Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:56.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:56.029Z] [2023-04-24T16:00:56.029Z] Login Succeeded [2023-04-24T16:00:56.029Z] docker.io [2023-04-24T16:00:56.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:00:56.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:00:56.288Z] Configure a credential helper to remove this warning. See [2023-04-24T16:00:56.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:00:56.288Z] [2023-04-24T16:00:56.288Z] Login Succeeded [2023-04-24T16:00:56.288Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:00:56.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T16:00:56.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:00:56.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:00:56.385Z] ========================================================= [2023-04-24T16:00:56.385Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T16:00:56.385Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:00:56.740Z] + 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-04-24T16:00:56.740Z] Sending build context to Docker daemon 5.789MB [2023-04-24T16:00:56.740Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T16:00:56.740Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T16:00:56.740Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T16:00:56.740Z] 63b65145d645: Pulling fs layer [2023-04-24T16:00:56.740Z] a2d21d5440eb: Pulling fs layer [2023-04-24T16:00:56.740Z] 935e6c44a52c: Pulling fs layer [2023-04-24T16:00:56.740Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T16:00:56.740Z] 30dea6a524f1: Pulling fs layer [2023-04-24T16:00:56.740Z] a2aff8979fd8: Pulling fs layer [2023-04-24T16:00:56.740Z] 6808be2612f2: Pulling fs layer [2023-04-24T16:00:56.740Z] f25807f1079a: Pulling fs layer [2023-04-24T16:00:56.740Z] 94cc34f8dd06: Waiting [2023-04-24T16:00:56.740Z] a2aff8979fd8: Waiting [2023-04-24T16:00:56.740Z] f25807f1079a: Waiting [2023-04-24T16:00:56.740Z] 6808be2612f2: Waiting [2023-04-24T16:00:56.740Z] 30dea6a524f1: Waiting [2023-04-24T16:00:56.740Z] a2d21d5440eb: Download complete [2023-04-24T16:00:56.740Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T16:00:56.740Z] 94cc34f8dd06: Download complete [2023-04-24T16:00:56.740Z] 30dea6a524f1: Verifying Checksum [2023-04-24T16:00:56.740Z] 30dea6a524f1: Download complete [2023-04-24T16:00:56.740Z] 63b65145d645: Verifying Checksum [2023-04-24T16:00:56.740Z] 63b65145d645: Download complete [2023-04-24T16:00:56.740Z] a2aff8979fd8: Verifying Checksum [2023-04-24T16:00:56.740Z] a2aff8979fd8: Download complete [2023-04-24T16:00:56.998Z] 63b65145d645: Pull complete [2023-04-24T16:00:56.998Z] a2d21d5440eb: Pull complete [2023-04-24T16:00:57.259Z] f25807f1079a: Verifying Checksum [2023-04-24T16:00:57.259Z] f25807f1079a: Download complete [2023-04-24T16:00:57.517Z] 935e6c44a52c: Verifying Checksum [2023-04-24T16:00:57.517Z] 935e6c44a52c: Download complete [2023-04-24T16:00:57.517Z] 6808be2612f2: Verifying Checksum [2023-04-24T16:00:57.517Z] 6808be2612f2: Download complete [2023-04-24T16:01:00.815Z] 935e6c44a52c: Pull complete [2023-04-24T16:01:00.815Z] 94cc34f8dd06: Pull complete [2023-04-24T16:01:00.815Z] 30dea6a524f1: Pull complete [2023-04-24T16:01:00.815Z] a2aff8979fd8: Pull complete [2023-04-24T16:01:02.723Z] 6808be2612f2: Pull complete [2023-04-24T16:01:03.288Z] f25807f1079a: Pull complete [2023-04-24T16:01:03.288Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T16:01:03.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T16:01:03.288Z] ---> 3b553350e43f [2023-04-24T16:01:03.288Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T16:01:07.475Z] ---> Running in 7cf20b84775e [2023-04-24T16:01:07.475Z] Removing intermediate container 7cf20b84775e [2023-04-24T16:01:07.475Z] ---> 585b03268284 [2023-04-24T16:01:07.475Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T16:01:07.475Z] ---> Running in 6c9a2eee4db1 [2023-04-24T16:01:07.475Z] Removing intermediate container 6c9a2eee4db1 [2023-04-24T16:01:07.475Z] ---> cd8d2670b932 [2023-04-24T16:01:07.475Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T16:01:07.475Z] ---> Running in 2609a85ba9e4 [2023-04-24T16:01:07.475Z] Removing intermediate container 2609a85ba9e4 [2023-04-24T16:01:07.475Z] ---> dacd6e9ef8dd [2023-04-24T16:01:07.475Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T16:01:07.733Z] ---> Running in 03c527af6fd3 [2023-04-24T16:01:07.733Z] Removing intermediate container 03c527af6fd3 [2023-04-24T16:01:07.733Z] ---> ac1f17d27c63 [2023-04-24T16:01:07.733Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T16:01:07.733Z] ---> Running in 32ce14e21994 [2023-04-24T16:01:07.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T16:01:07.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T16:01:08.257Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T16:01:08.257Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T16:01:08.257Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T16:01:08.257Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T16:01:08.257Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T16:01:08.257Z] OK: 269 MiB in 57 packages [2023-04-24T16:01:08.822Z] Removing intermediate container 32ce14e21994 [2023-04-24T16:01:08.822Z] ---> d5d950b486a3 [2023-04-24T16:01:08.822Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-24T16:01:08.822Z] ---> Running in ca3deab522e1 [2023-04-24T16:01:08.822Z] Removing intermediate container ca3deab522e1 [2023-04-24T16:01:08.822Z] ---> a402feca1302 [2023-04-24T16:01:08.822Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T16:01:09.082Z] ---> dd7f5527dab9 [2023-04-24T16:01:09.083Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T16:01:09.083Z] ---> Running in 5d91d61b97a7 [2023-04-24T16:01:10.434Z] Still waiting to schedule task [2023-04-24T16:01:10.434Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9541’ [2023-04-24T16:01:41.221Z] Removing intermediate container 5d91d61b97a7 [2023-04-24T16:01:41.221Z] ---> 854fa58719f9 [2023-04-24T16:01:41.221Z] Step 11/12 : COPY . . [2023-04-24T16:01:41.479Z] ---> ec643b39e702 [2023-04-24T16:01:41.479Z] Step 12/12 : RUN ${MAKE} [2023-04-24T16:01:41.765Z] ---> Running in ed449e74f392 [2023-04-24T16:01:42.023Z] noop [2023-04-24T16:01:42.281Z] Removing intermediate container ed449e74f392 [2023-04-24T16:01:42.281Z] ---> 8512ec1135ff [2023-04-24T16:01:42.281Z] Successfully built 8512ec1135ff [2023-04-24T16:01:42.281Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:01:42.596Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T16:01:42.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:01:42.664Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:01:42.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T16:01:43.187Z] $ docker top 8497fac06e52712b306a77838c95abcf511b8732323c75b8ac272fabf5f1d24a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:01:43.528Z] + go version [2023-04-24T16:01:43.528Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T16:01:43.536Z] $ docker stop --time=1 8497fac06e52712b306a77838c95abcf511b8732323c75b8ac272fabf5f1d24a [2023-04-24T16:01:44.975Z] $ docker rm -f --volumes 8497fac06e52712b306a77838c95abcf511b8732323c75b8ac272fabf5f1d24a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:01:45.426Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T16:01:45.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:01:45.500Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:01:45.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T16:01:46.289Z] $ docker top 06812eb3afc6e87b116c2014aa282a2f23d868926146da37924a68d66cd24b80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:01:46.635Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-24T16:01:46.931Z] + make test [2023-04-24T16:01:46.931Z] go test ./... -coverprofile=coverage.out [2023-04-24T16:01:52.202Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-24T16:02:02.167Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-24T16:02:02.167Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2023-04-24T16:02:06.348Z] go vet ./... [2023-04-24T16:02:09.629Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T16:02:09.629Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T16:02:09.629Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T16:02:09.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T16:02:09.648Z] $ docker stop --time=1 06812eb3afc6e87b116c2014aa282a2f23d868926146da37924a68d66cd24b80 [2023-04-24T16:02:13.220Z] $ docker rm -f --volumes 06812eb3afc6e87b116c2014aa282a2f23d868926146da37924a68d66cd24b80 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T16:02:13.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T16:02:13.719Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T16:02:14.165Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T16:02:14.449Z] + ls -al . [2023-04-24T16:02:14.449Z] total 172 [2023-04-24T16:02:14.449Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 16:01 . [2023-04-24T16:02:14.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 16:00 .. [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 24 16:00 .dockerignore [2023-04-24T16:02:14.449Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 16:00 .git [2023-04-24T16:02:14.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:00 .github [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 24 16:00 .gitignore [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 16:00 .golangci.yml [2023-04-24T16:02:14.449Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 16:00 .semver [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 24 16:00 Attribution.txt [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 24 16:00 CHANGELOG.md [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 24 16:00 Dockerfile [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 16:00 GOVERNANCE.md [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 24 16:00 Jenkinsfile [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 16:00 LICENSE [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 24 16:00 Makefile [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 16:00 OWNERS.md [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 24 16:00 README.md [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 16:00 VERSION [2023-04-24T16:02:14.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 16:00 bin [2023-04-24T16:02:14.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:00 cmd [2023-04-24T16:02:14.449Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 24 16:02 coverage.out [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 24 16:00 go.mod [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 31441 Apr 24 16:00 go.sum [2023-04-24T16:02:14.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:00 internal [2023-04-24T16:02:14.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 16:00 snap [2023-04-24T16:02:14.449Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 24 16:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:14.753Z] + 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=4540667df76160ba2257f08fa194345a2d771c5a --label arch=amd64 --label version=3.0.0-dev.17 . [2023-04-24T16:02:14.753Z] Sending build context to Docker daemon 5.799MB [2023-04-24T16:02:14.753Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T16:02:14.753Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-24T16:02:14.753Z] ---> 8512ec1135ff [2023-04-24T16:02:14.753Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-24T16:02:14.753Z] ---> Running in 8b927d501189 [2023-04-24T16:02:15.017Z] Removing intermediate container 8b927d501189 [2023-04-24T16:02:15.017Z] ---> 058d83376331 [2023-04-24T16:02:15.017Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T16:02:15.017Z] ---> Running in 2722578883d7 [2023-04-24T16:02:15.017Z] Removing intermediate container 2722578883d7 [2023-04-24T16:02:15.017Z] ---> 2a0b25cc0eee [2023-04-24T16:02:15.017Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T16:02:15.017Z] ---> Running in 03602dbe3b57 [2023-04-24T16:02:15.017Z] Removing intermediate container 03602dbe3b57 [2023-04-24T16:02:15.017Z] ---> d7eff878c086 [2023-04-24T16:02:15.017Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T16:02:15.276Z] ---> Running in 0a5e18c4a135 [2023-04-24T16:02:15.276Z] Removing intermediate container 0a5e18c4a135 [2023-04-24T16:02:15.276Z] ---> d156de2308e2 [2023-04-24T16:02:15.276Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T16:02:15.276Z] ---> Running in 29b8974761a0 [2023-04-24T16:02:15.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T16:02:15.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T16:02:15.807Z] OK: 269 MiB in 57 packages [2023-04-24T16:02:16.067Z] Removing intermediate container 29b8974761a0 [2023-04-24T16:02:16.067Z] ---> b1d4820b26ce [2023-04-24T16:02:16.067Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-24T16:02:16.067Z] ---> Running in af8e041773aa [2023-04-24T16:02:16.346Z] Removing intermediate container af8e041773aa [2023-04-24T16:02:16.346Z] ---> 9c2a7b463b8a [2023-04-24T16:02:16.346Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-24T16:02:16.346Z] ---> f01ab31ade3c [2023-04-24T16:02:16.346Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T16:02:16.346Z] ---> Running in 702a0ef9a463 [2023-04-24T16:02:16.953Z] Removing intermediate container 702a0ef9a463 [2023-04-24T16:02:16.953Z] ---> 3c379e80e260 [2023-04-24T16:02:16.953Z] Step 11/24 : COPY . . [2023-04-24T16:02:17.367Z] ---> e4d0d40804a3 [2023-04-24T16:02:17.367Z] Step 12/24 : RUN ${MAKE} [2023-04-24T16:02:17.656Z] ---> Running in 44abb1474a0a [2023-04-24T16:02:17.656Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-24T16:02:39.587Z] Removing intermediate container 44abb1474a0a [2023-04-24T16:02:39.587Z] ---> 9b558c479da3 [2023-04-24T16:02:39.587Z] Step 13/24 : FROM alpine:3.17 [2023-04-24T16:02:39.587Z] 3.17: Pulling from library/alpine [2023-04-24T16:02:39.587Z] f56be85fc22e: Pulling fs layer [2023-04-24T16:02:39.587Z] f56be85fc22e: Verifying Checksum [2023-04-24T16:02:39.587Z] f56be85fc22e: Download complete [2023-04-24T16:02:39.587Z] f56be85fc22e: Pull complete [2023-04-24T16:02:39.587Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T16:02:39.587Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T16:02:39.587Z] ---> 9ed4aefc74f6 [2023-04-24T16:02:39.587Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-24T16:02:39.587Z] ---> Running in 0846fbf242e5 [2023-04-24T16:02:39.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T16:02:39.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T16:02:39.587Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T16:02:39.587Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T16:02:39.587Z] OK: 7 MiB in 16 packages [2023-04-24T16:02:39.587Z] Removing intermediate container 0846fbf242e5 [2023-04-24T16:02:39.587Z] ---> deb5121f76c5 [2023-04-24T16:02:39.587Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-24T16:02:39.587Z] ---> a4545d2694a4 [2023-04-24T16:02:39.587Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-24T16:02:39.587Z] ---> 346b301f980c [2023-04-24T16:02:39.587Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-24T16:02:39.587Z] ---> 3d7d294c0855 [2023-04-24T16:02:39.587Z] Step 18/24 : EXPOSE 59993 [2023-04-24T16:02:39.587Z] ---> Running in 5350565ec82e [2023-04-24T16:02:39.587Z] Removing intermediate container 5350565ec82e [2023-04-24T16:02:39.587Z] ---> 976de564cfce [2023-04-24T16:02:39.587Z] Step 19/24 : EXPOSE 161 [2023-04-24T16:02:39.587Z] ---> Running in f40af18ff811 [2023-04-24T16:02:39.587Z] Removing intermediate container f40af18ff811 [2023-04-24T16:02:39.587Z] ---> 880822992ab5 [2023-04-24T16:02:39.587Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-24T16:02:39.587Z] ---> Running in eceaa2a6bdf5 [2023-04-24T16:02:39.587Z] Removing intermediate container eceaa2a6bdf5 [2023-04-24T16:02:39.587Z] ---> ee31ff0c0f75 [2023-04-24T16:02:39.587Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T16:02:39.587Z] ---> Running in 16242034da3e [2023-04-24T16:02:39.587Z] Removing intermediate container 16242034da3e [2023-04-24T16:02:39.587Z] ---> eda63e3d4c4b [2023-04-24T16:02:39.587Z] Step 22/24 : LABEL arch=amd64 [2023-04-24T16:02:39.587Z] ---> Running in a8646dc596e0 [2023-04-24T16:02:39.587Z] Removing intermediate container a8646dc596e0 [2023-04-24T16:02:39.587Z] ---> a626cda8d0e7 [2023-04-24T16:02:39.587Z] Step 23/24 : LABEL git_sha=4540667df76160ba2257f08fa194345a2d771c5a [2023-04-24T16:02:39.587Z] ---> Running in 1e36c2b56184 [2023-04-24T16:02:39.587Z] Removing intermediate container 1e36c2b56184 [2023-04-24T16:02:39.587Z] ---> 968b2b191bfc [2023-04-24T16:02:39.587Z] Step 24/24 : LABEL version=3.0.0-dev.17 [2023-04-24T16:02:39.587Z] ---> Running in 11c41af09b0c [2023-04-24T16:02:39.587Z] Removing intermediate container 11c41af09b0c [2023-04-24T16:02:39.587Z] ---> 8e481a9fe0ce [2023-04-24T16:02:39.587Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T16:02:39.587Z] Successfully built 8e481a9fe0ce [2023-04-24T16:02:39.587Z] 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-04-24T16:02:39.687Z] provisioning config files... [2023-04-24T16:02:39.696Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10491350825019491791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:02:39.992Z] ---> docker-login.sh [2023-04-24T16:02:39.992Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:02:39.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:02:39.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:02:39.992Z] Configure a credential helper to remove this warning. See [2023-04-24T16:02:39.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:02:39.992Z] [2023-04-24T16:02:39.992Z] Login Succeeded [2023-04-24T16:02:39.992Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:02:39.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:02:39.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:02:39.992Z] Configure a credential helper to remove this warning. See [2023-04-24T16:02:39.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:02:39.992Z] [2023-04-24T16:02:39.992Z] Login Succeeded [2023-04-24T16:02:39.992Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:02:39.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:02:40.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:02:40.252Z] Configure a credential helper to remove this warning. See [2023-04-24T16:02:40.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:02:40.252Z] [2023-04-24T16:02:40.252Z] Login Succeeded [2023-04-24T16:02:40.252Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:02:40.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:02:40.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:02:40.252Z] Configure a credential helper to remove this warning. See [2023-04-24T16:02:40.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:02:40.252Z] [2023-04-24T16:02:40.252Z] Login Succeeded [2023-04-24T16:02:40.252Z] docker.io [2023-04-24T16:02:40.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:02:40.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:02:40.511Z] Configure a credential helper to remove this warning. See [2023-04-24T16:02:40.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:02:40.511Z] [2023-04-24T16:02:40.511Z] Login Succeeded [2023-04-24T16:02:40.511Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:02:40.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T16:02:40.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:02:40.580Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-04-24T16:02:40.580Z] 4540667df76160ba2257f08fa194345a2d771c5a [2023-04-24T16:02:40.580Z] latest [2023-04-24T16:02:40.580Z] 3.0.0-dev.17 [2023-04-24T16:02:40.580Z] 4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17 [2023-04-24T16:02:40.580Z] main [2023-04-24T16:02:40.580Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:40.910Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:4540667df76160ba2257f08fa194345a2d771c5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:41.220Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:4540667df76160ba2257f08fa194345a2d771c5a [2023-04-24T16:02:41.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T16:02:41.220Z] 99b688b6dab4: Preparing [2023-04-24T16:02:41.220Z] bd39119f076e: Preparing [2023-04-24T16:02:41.220Z] d1a4bc6265df: Preparing [2023-04-24T16:02:41.220Z] 0e6df57138e5: Preparing [2023-04-24T16:02:41.220Z] f1417ff83b31: Preparing [2023-04-24T16:02:41.220Z] f1417ff83b31: Layer already exists [2023-04-24T16:02:41.220Z] 0e6df57138e5: Pushed [2023-04-24T16:02:41.220Z] bd39119f076e: Pushed [2023-04-24T16:02:41.220Z] 99b688b6dab4: Pushed [2023-04-24T16:02:43.756Z] d1a4bc6265df: Pushed [2023-04-24T16:02:43.756Z] 4540667df76160ba2257f08fa194345a2d771c5a: digest: sha256:1ec926de8320c84cf6e610c9c7ab2098467b06855192e606dc206c5612bbac0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:44.077Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:44.391Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-24T16:02:44.391Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T16:02:44.391Z] 99b688b6dab4: Preparing [2023-04-24T16:02:44.391Z] bd39119f076e: Preparing [2023-04-24T16:02:44.391Z] d1a4bc6265df: Preparing [2023-04-24T16:02:44.391Z] 0e6df57138e5: Preparing [2023-04-24T16:02:44.391Z] f1417ff83b31: Preparing [2023-04-24T16:02:44.391Z] 99b688b6dab4: Layer already exists [2023-04-24T16:02:44.391Z] d1a4bc6265df: Layer already exists [2023-04-24T16:02:44.391Z] bd39119f076e: Layer already exists [2023-04-24T16:02:44.391Z] 0e6df57138e5: Layer already exists [2023-04-24T16:02:44.391Z] f1417ff83b31: Layer already exists [2023-04-24T16:02:44.391Z] latest: digest: sha256:1ec926de8320c84cf6e610c9c7ab2098467b06855192e606dc206c5612bbac0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:44.696Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:45.000Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.17 [2023-04-24T16:02:45.000Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T16:02:45.000Z] 99b688b6dab4: Preparing [2023-04-24T16:02:45.000Z] bd39119f076e: Preparing [2023-04-24T16:02:45.000Z] d1a4bc6265df: Preparing [2023-04-24T16:02:45.000Z] 0e6df57138e5: Preparing [2023-04-24T16:02:45.000Z] f1417ff83b31: Preparing [2023-04-24T16:02:45.000Z] 0e6df57138e5: Layer already exists [2023-04-24T16:02:45.000Z] f1417ff83b31: Layer already exists [2023-04-24T16:02:45.000Z] d1a4bc6265df: Layer already exists [2023-04-24T16:02:45.000Z] bd39119f076e: Layer already exists [2023-04-24T16:02:45.000Z] 99b688b6dab4: Layer already exists [2023-04-24T16:02:45.000Z] 3.0.0-dev.17: digest: sha256:1ec926de8320c84cf6e610c9c7ab2098467b06855192e606dc206c5612bbac0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:45.307Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:45.613Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17 [2023-04-24T16:02:45.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T16:02:45.613Z] 99b688b6dab4: Preparing [2023-04-24T16:02:45.613Z] bd39119f076e: Preparing [2023-04-24T16:02:45.613Z] d1a4bc6265df: Preparing [2023-04-24T16:02:45.613Z] 0e6df57138e5: Preparing [2023-04-24T16:02:45.613Z] f1417ff83b31: Preparing [2023-04-24T16:02:45.613Z] d1a4bc6265df: Layer already exists [2023-04-24T16:02:45.613Z] 99b688b6dab4: Layer already exists [2023-04-24T16:02:45.613Z] bd39119f076e: Layer already exists [2023-04-24T16:02:45.613Z] 0e6df57138e5: Layer already exists [2023-04-24T16:02:45.613Z] f1417ff83b31: Layer already exists [2023-04-24T16:02:45.613Z] 4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17: digest: sha256:1ec926de8320c84cf6e610c9c7ab2098467b06855192e606dc206c5612bbac0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:45.926Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:46.233Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-04-24T16:02:46.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T16:02:46.233Z] 99b688b6dab4: Preparing [2023-04-24T16:02:46.233Z] bd39119f076e: Preparing [2023-04-24T16:02:46.233Z] d1a4bc6265df: Preparing [2023-04-24T16:02:46.233Z] 0e6df57138e5: Preparing [2023-04-24T16:02:46.233Z] f1417ff83b31: Preparing [2023-04-24T16:02:46.233Z] d1a4bc6265df: Layer already exists [2023-04-24T16:02:46.233Z] 0e6df57138e5: Layer already exists [2023-04-24T16:02:46.233Z] 99b688b6dab4: Layer already exists [2023-04-24T16:02:46.233Z] f1417ff83b31: Layer already exists [2023-04-24T16:02:46.233Z] bd39119f076e: Layer already exists [2023-04-24T16:02:46.233Z] main: digest: sha256:1ec926de8320c84cf6e610c9c7ab2098467b06855192e606dc206c5612bbac0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T16:02:46.280Z] ===================================================== [Pipeline] echo [2023-04-24T16:02:46.292Z] taggedImages: [2023-04-24T16:02:46.292Z] - nexus3.edgexfoundry.org:10004/device-snmp:4540667df76160ba2257f08fa194345a2d771c5a [2023-04-24T16:02:46.292Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-24T16:02:46.292Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.17 [2023-04-24T16:02:46.292Z] - nexus3.edgexfoundry.org:10004/device-snmp:4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17 [2023-04-24T16:02:46.292Z] - 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-04-24T16:02:46.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T16:02:46.663Z] [2023-04-24T16:02:46.663Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:46.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T16:02:46.963Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T16:02:46.963Z] 5eb5b503b376: Pulling fs layer [2023-04-24T16:02:46.963Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T16:02:46.963Z] ec43610c2a17: Pulling fs layer [2023-04-24T16:02:46.963Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T16:02:46.963Z] 33b1e0a273af: Pulling fs layer [2023-04-24T16:02:46.963Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T16:02:46.963Z] 2f39f015ded8: Pulling fs layer [2023-04-24T16:02:46.963Z] 3a2ae6a8a46f: Waiting [2023-04-24T16:02:46.963Z] 33b1e0a273af: Waiting [2023-04-24T16:02:46.963Z] 5d3b04190fa2: Waiting [2023-04-24T16:02:46.963Z] 2f39f015ded8: Waiting [2023-04-24T16:02:46.963Z] 5c69ac0246d0: Verifying Checksum [2023-04-24T16:02:46.963Z] 5c69ac0246d0: Download complete [2023-04-24T16:02:46.963Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T16:02:46.963Z] 3a2ae6a8a46f: Download complete [2023-04-24T16:02:46.963Z] 33b1e0a273af: Verifying Checksum [2023-04-24T16:02:46.963Z] 33b1e0a273af: Download complete [2023-04-24T16:02:46.963Z] 5d3b04190fa2: Verifying Checksum [2023-04-24T16:02:46.963Z] 5d3b04190fa2: Download complete [2023-04-24T16:02:46.963Z] ec43610c2a17: Verifying Checksum [2023-04-24T16:02:46.963Z] ec43610c2a17: Download complete [2023-04-24T16:02:47.222Z] 5eb5b503b376: Download complete [2023-04-24T16:02:47.788Z] 2f39f015ded8: Download complete [2023-04-24T16:02:48.352Z] 5eb5b503b376: Pull complete [2023-04-24T16:02:48.352Z] 5c69ac0246d0: Pull complete [2023-04-24T16:02:48.917Z] ec43610c2a17: Pull complete [2023-04-24T16:02:48.917Z] 3a2ae6a8a46f: Pull complete [2023-04-24T16:02:49.174Z] 33b1e0a273af: Pull complete [2023-04-24T16:02:49.174Z] 5d3b04190fa2: Pull complete [2023-04-24T16:02:53.353Z] 2f39f015ded8: Pull complete [2023-04-24T16:02:53.353Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T16:02:53.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T16:02:53.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:02:53.440Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:02:53.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T16:02:57.011Z] $ docker top fa299fee17351f668acd72f9bd36bb3321a49d32f3161fad81469c4ce4f7f50b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:02:57.406Z] ---> job-cost.sh [2023-04-24T16:02:57.406Z] lf-activate-venv: SKIPPING [2023-04-24T16:02:57.406Z] INFO: No Stack... [2023-04-24T16:02:57.666Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T16:02:57.927Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T16:02:58.221Z] + + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-04-24T16:02:58.221Z] cut -d, -f6 [Pipeline] lock [2023-04-24T16:02:58.234Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-74-stack-cost] [2023-04-24T16:02:58.244Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-74-stack-cost] did not exist. Created. [2023-04-24T16:02:58.245Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T16:02:58.551Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T16:02:58.583Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T16:02:58.590Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T16:02:58.609Z] $ docker stop --time=1 fa299fee17351f668acd72f9bd36bb3321a49d32f3161fad81469c4ce4f7f50b [2023-04-24T16:02:59.765Z] $ docker rm -f --volumes fa299fee17351f668acd72f9bd36bb3321a49d32f3161fad81469c4ce4f7f50b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T16:03:43.150Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9545 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-04-24T16:03:43.164Z] Running in /w/workspace/device-snmp-go/74 [Pipeline] { [Pipeline] checkout [2023-04-24T16:03:43.198Z] Selected Git installation does not exist. Using Default [2023-04-24T16:03:43.198Z] The recommended git tool is: NONE [2023-04-24T16:03:49.760Z] using credential edgex-jenkins-ssh [2023-04-24T16:03:49.779Z] Cloning the remote Git repository [2023-04-24T16:03:49.833Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-04-24T16:03:49.943Z] > git init /w/workspace/device-snmp-go/74 # timeout=10 [2023-04-24T16:03:50.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-04-24T16:03:50.143Z] > git --version # timeout=10 [2023-04-24T16:03:50.169Z] > git --version # 'git version 2.25.1' [2023-04-24T16:03:50.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T16:03:50.372Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T16:03:51.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-04-24T16:03:51.485Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T16:03:52.472Z] Avoid second fetch [2023-04-24T16:03:52.473Z] Checking out Revision 4540667df76160ba2257f08fa194345a2d771c5a (main) [2023-04-24T16:03:53.033Z] Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug (#294)" [2023-04-24T16:03:52.491Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T16:03:52.557Z] > git checkout -f 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T16:03:54.117Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T16:03:54.117Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T16:03:54.117Z] Dload Upload Total Spent Left Speed [2023-04-24T16:03:54.117Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-04-24T16:03:54.818Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T16:03:55.150Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T16:03:55.150Z] + sudo tee /etc/docker/daemon.new [2023-04-24T16:03:55.150Z] { [2023-04-24T16:03:55.150Z] "registry-mirrors": [ [2023-04-24T16:03:55.150Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T16:03:55.150Z] ], [2023-04-24T16:03:55.150Z] "bip": "10.250.0.254/24", [2023-04-24T16:03:55.150Z] "hosts": [ [2023-04-24T16:03:55.150Z] "tcp://0.0.0.0:5555", [2023-04-24T16:03:55.150Z] "unix:///var/run/docker.sock" [2023-04-24T16:03:55.150Z] ], [2023-04-24T16:03:55.150Z] "mtu": 1458, [2023-04-24T16:03:55.150Z] "selinux-enabled": true, [2023-04-24T16:03:55.150Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T16:03:55.150Z] } [Pipeline] sh [2023-04-24T16:03:55.492Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T16:03:55.846Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:04:18.030Z] provisioning config files... [2023-04-24T16:04:18.057Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/74@tmp/config8179952237512664004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:04:18.423Z] ---> docker-login.sh [2023-04-24T16:04:18.423Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:04:19.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:04:19.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:04:19.012Z] Configure a credential helper to remove this warning. See [2023-04-24T16:04:19.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:04:19.012Z] [2023-04-24T16:04:19.012Z] Login Succeeded [2023-04-24T16:04:19.012Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:04:19.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:04:19.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:04:19.554Z] Configure a credential helper to remove this warning. See [2023-04-24T16:04:19.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:04:19.554Z] [2023-04-24T16:04:19.554Z] Login Succeeded [2023-04-24T16:04:19.554Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:04:19.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:04:19.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:04:19.825Z] Configure a credential helper to remove this warning. See [2023-04-24T16:04:19.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:04:19.825Z] [2023-04-24T16:04:19.825Z] Login Succeeded [2023-04-24T16:04:19.825Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:04:20.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:04:20.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:04:20.097Z] Configure a credential helper to remove this warning. See [2023-04-24T16:04:20.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:04:20.097Z] [2023-04-24T16:04:20.097Z] Login Succeeded [2023-04-24T16:04:20.097Z] docker.io [2023-04-24T16:04:20.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:04:20.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:04:20.640Z] Configure a credential helper to remove this warning. See [2023-04-24T16:04:20.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:04:20.640Z] [2023-04-24T16:04:20.640Z] Login Succeeded [2023-04-24T16:04:20.640Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:04:20.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T16:04:20.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:04:20.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:04:20.998Z] ========================================================= [2023-04-24T16:04:20.998Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T16:04:20.998Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:04:21.354Z] + 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-04-24T16:04:21.623Z] Sending build context to Docker daemon 2.996MB [2023-04-24T16:04:21.623Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T16:04:21.623Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T16:04:21.896Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T16:04:21.896Z] af6eaf76a39c: Pulling fs layer [2023-04-24T16:04:21.896Z] 55522c791124: Pulling fs layer [2023-04-24T16:04:21.896Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T16:04:21.896Z] 169dfbe0d373: Pulling fs layer [2023-04-24T16:04:21.896Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T16:04:21.896Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T16:04:21.896Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T16:04:21.896Z] 169dfbe0d373: Waiting [2023-04-24T16:04:21.896Z] e1ff8fa3b103: Waiting [2023-04-24T16:04:21.896Z] 52ebb69f0ebf: Waiting [2023-04-24T16:04:21.896Z] 5abe8eddf0d5: Waiting [2023-04-24T16:04:21.896Z] 55522c791124: Verifying Checksum [2023-04-24T16:04:21.896Z] 55522c791124: Download complete [2023-04-24T16:04:21.896Z] 169dfbe0d373: Verifying Checksum [2023-04-24T16:04:21.896Z] 169dfbe0d373: Download complete [2023-04-24T16:04:21.896Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T16:04:21.896Z] e1ff8fa3b103: Download complete [2023-04-24T16:04:21.896Z] af6eaf76a39c: Download complete [2023-04-24T16:04:23.326Z] af6eaf76a39c: Pull complete [2023-04-24T16:04:23.326Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T16:04:23.326Z] 5abe8eddf0d5: Download complete [2023-04-24T16:04:23.595Z] 55522c791124: Pull complete [2023-04-24T16:04:24.573Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T16:04:24.573Z] 52ebb69f0ebf: Download complete [2023-04-24T16:04:24.573Z] ce5c4a1c91eb: Download complete [2023-04-24T16:04:36.919Z] ce5c4a1c91eb: Pull complete [2023-04-24T16:04:36.919Z] 169dfbe0d373: Pull complete [2023-04-24T16:04:36.919Z] e1ff8fa3b103: Pull complete [2023-04-24T16:04:43.616Z] 52ebb69f0ebf: Pull complete [2023-04-24T16:04:45.184Z] 5abe8eddf0d5: Pull complete [2023-04-24T16:04:45.184Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T16:04:45.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T16:04:45.184Z] ---> 6cb57ee374ae [2023-04-24T16:04:45.184Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T16:04:46.708Z] ---> Running in 80ec2df96ce0 [2023-04-24T16:04:47.302Z] Removing intermediate container 80ec2df96ce0 [2023-04-24T16:04:47.302Z] ---> b59bcc3b8ea5 [2023-04-24T16:04:47.302Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T16:04:47.302Z] ---> Running in 5cfe1e707a7a [2023-04-24T16:04:47.570Z] Removing intermediate container 5cfe1e707a7a [2023-04-24T16:04:47.570Z] ---> ddaf57355e3a [2023-04-24T16:04:47.570Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T16:04:47.570Z] ---> Running in bacff265834f [2023-04-24T16:04:47.838Z] Removing intermediate container bacff265834f [2023-04-24T16:04:47.838Z] ---> 1f752f0b54a0 [2023-04-24T16:04:47.838Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T16:04:48.108Z] ---> Running in e20e6ab4ede9 [2023-04-24T16:04:48.376Z] Removing intermediate container e20e6ab4ede9 [2023-04-24T16:04:48.376Z] ---> 1c04a5c319c9 [2023-04-24T16:04:48.376Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T16:04:48.376Z] ---> Running in eaeb97ac26a4 [2023-04-24T16:04:49.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T16:04:50.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T16:04:51.033Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T16:04:51.033Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T16:04:51.306Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T16:04:51.306Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T16:04:51.306Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T16:04:51.306Z] OK: 268 MiB in 57 packages [2023-04-24T16:04:53.898Z] Removing intermediate container eaeb97ac26a4 [2023-04-24T16:04:53.898Z] ---> 71b626b58467 [2023-04-24T16:04:53.898Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-24T16:04:54.166Z] ---> Running in 74f5295171ce [2023-04-24T16:04:54.434Z] Removing intermediate container 74f5295171ce [2023-04-24T16:04:54.434Z] ---> f4cdcf8a1dc8 [2023-04-24T16:04:54.434Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T16:04:55.017Z] ---> 0b78fdc6fe0d [2023-04-24T16:04:55.017Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T16:04:55.017Z] ---> Running in 7bbd29ca3fb0 [2023-04-24T16:06:02.925Z] Removing intermediate container 7bbd29ca3fb0 [2023-04-24T16:06:02.925Z] ---> fe3dab8ed802 [2023-04-24T16:06:02.925Z] Step 11/12 : COPY . . [2023-04-24T16:06:02.925Z] ---> caec7033bcf9 [2023-04-24T16:06:02.925Z] Step 12/12 : RUN ${MAKE} [2023-04-24T16:06:02.925Z] ---> Running in d5c67f06dfcc [2023-04-24T16:06:02.925Z] noop [2023-04-24T16:06:03.195Z] Removing intermediate container d5c67f06dfcc [2023-04-24T16:06:03.195Z] ---> 9400ab9ab4e6 [2023-04-24T16:06:03.195Z] Successfully built 9400ab9ab4e6 [2023-04-24T16:06:03.195Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:06:03.828Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T16:06:03.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:06:04.062Z] prd-ubuntu20.04-docker-arm64-4c-16g-9545 does not seem to be running inside a container [2023-04-24T16:06:04.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/74 -v /w/workspace/device-snmp-go/74:/w/workspace/device-snmp-go/74:rw,z -v /w/workspace/device-snmp-go/74@tmp:/w/workspace/device-snmp-go/74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T16:06:05.437Z] $ docker top d76559266ec6c038679c49b98af73773bf0011ad0d354104e63e07341a751ca1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:06:06.314Z] + go version [2023-04-24T16:06:06.314Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T16:06:06.337Z] $ docker stop --time=1 d76559266ec6c038679c49b98af73773bf0011ad0d354104e63e07341a751ca1 [2023-04-24T16:06:07.978Z] $ docker rm -f --volumes d76559266ec6c038679c49b98af73773bf0011ad0d354104e63e07341a751ca1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:06:08.532Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T16:06:08.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:06:08.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-9545 does not seem to be running inside a container [2023-04-24T16:06:08.789Z] $ 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/74 -v /w/workspace/device-snmp-go/74:/w/workspace/device-snmp-go/74:rw,z -v /w/workspace/device-snmp-go/74@tmp:/w/workspace/device-snmp-go/74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T16:06:09.940Z] $ docker top 159a76b485d07ea3ca37d8dd8441b140c2f7ab070406c7ab47cdb268e40fa3d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:06:10.457Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/74 [Pipeline] fileExists [Pipeline] sh [2023-04-24T16:06:11.126Z] + make test [2023-04-24T16:06:11.126Z] go test ./... -coverprofile=coverage.out [2023-04-24T16:06:50.060Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-24T16:08:56.782Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-24T16:08:56.782Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2023-04-24T16:08:56.782Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T16:08:56.782Z] go vet ./... [2023-04-24T16:09:23.487Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T16:09:23.487Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T16:09:23.487Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T16:09:23.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T16:09:23.518Z] $ docker stop --time=1 159a76b485d07ea3ca37d8dd8441b140c2f7ab070406c7ab47cdb268e40fa3d0 [2023-04-24T16:09:25.462Z] $ docker rm -f --volumes 159a76b485d07ea3ca37d8dd8441b140c2f7ab070406c7ab47cdb268e40fa3d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T16:09:26.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T16:09:26.719Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T16:09:27.247Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T16:09:27.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T16:09:27.975Z] + ls -al . [2023-04-24T16:09:27.975Z] total 168 [2023-04-24T16:09:27.975Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 16:06 . [2023-04-24T16:09:27.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 16:03 .. [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 24 16:03 .dockerignore [2023-04-24T16:09:27.975Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 16:03 .git [2023-04-24T16:09:27.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:03 .github [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 24 16:03 .gitignore [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 16:03 .golangci.yml [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 24 16:03 Attribution.txt [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 24 16:03 CHANGELOG.md [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 24 16:03 Dockerfile [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 16:03 GOVERNANCE.md [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 24 16:03 Jenkinsfile [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 16:03 LICENSE [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 24 16:03 Makefile [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 16:03 OWNERS.md [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 24 16:03 README.md [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 16:00 VERSION [2023-04-24T16:09:27.975Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 16:03 bin [2023-04-24T16:09:27.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:03 cmd [2023-04-24T16:09:27.975Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 24 16:08 coverage.out [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 24 16:03 go.mod [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 31441 Apr 24 16:03 go.sum [2023-04-24T16:09:27.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:03 internal [2023-04-24T16:09:27.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 16:03 snap [2023-04-24T16:09:27.975Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 24 16:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:09:28.325Z] + 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=4540667df76160ba2257f08fa194345a2d771c5a --label arch=arm64 --label version=3.0.0-dev.17 . [2023-04-24T16:09:28.595Z] Sending build context to Docker daemon 3.006MB [2023-04-24T16:09:28.595Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T16:09:28.595Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-24T16:09:28.595Z] ---> 9400ab9ab4e6 [2023-04-24T16:09:28.595Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-24T16:09:28.865Z] ---> Running in 61583c16d2ec [2023-04-24T16:09:29.135Z] Removing intermediate container 61583c16d2ec [2023-04-24T16:09:29.135Z] ---> 5659c09cc6b4 [2023-04-24T16:09:29.135Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T16:09:29.135Z] ---> Running in 7c3bc1a42d74 [2023-04-24T16:09:29.734Z] Removing intermediate container 7c3bc1a42d74 [2023-04-24T16:09:29.734Z] ---> ac9fedd77be0 [2023-04-24T16:09:29.734Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T16:09:29.734Z] ---> Running in 6c13e51c9a12 [2023-04-24T16:09:30.007Z] Removing intermediate container 6c13e51c9a12 [2023-04-24T16:09:30.007Z] ---> 18ac9a3c0226 [2023-04-24T16:09:30.007Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T16:09:30.007Z] ---> Running in 8278989f6627 [2023-04-24T16:09:30.595Z] Removing intermediate container 8278989f6627 [2023-04-24T16:09:30.595Z] ---> e16210d52057 [2023-04-24T16:09:30.595Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T16:09:30.595Z] ---> Running in 552e88da663b [2023-04-24T16:09:31.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T16:09:32.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T16:09:33.503Z] OK: 268 MiB in 57 packages [2023-04-24T16:09:34.470Z] Removing intermediate container 552e88da663b [2023-04-24T16:09:34.470Z] ---> e45f216b3e1a [2023-04-24T16:09:34.470Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-24T16:09:34.470Z] ---> Running in 6607666f1115 [2023-04-24T16:09:34.741Z] Removing intermediate container 6607666f1115 [2023-04-24T16:09:34.741Z] ---> 15711d21c912 [2023-04-24T16:09:34.741Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-24T16:09:35.331Z] ---> e1a4faa93eb8 [2023-04-24T16:09:35.331Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T16:09:35.608Z] ---> Running in 1af8f55a9dbc [2023-04-24T16:09:38.198Z] Removing intermediate container 1af8f55a9dbc [2023-04-24T16:09:38.198Z] ---> 86a5ac2a38d8 [2023-04-24T16:09:38.198Z] Step 11/24 : COPY . . [2023-04-24T16:09:39.162Z] ---> 751d4bcbd05e [2023-04-24T16:09:39.162Z] Step 12/24 : RUN ${MAKE} [2023-04-24T16:09:39.162Z] ---> Running in 2393cd79e81f [2023-04-24T16:09:40.128Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-24T16:12:01.857Z] Removing intermediate container 2393cd79e81f [2023-04-24T16:12:01.857Z] ---> 228a92e7c17c [2023-04-24T16:12:01.857Z] Step 13/24 : FROM alpine:3.17 [2023-04-24T16:12:01.857Z] 3.17: Pulling from library/alpine [2023-04-24T16:12:01.857Z] c41833b44d91: Pulling fs layer [2023-04-24T16:12:01.857Z] c41833b44d91: Verifying Checksum [2023-04-24T16:12:01.857Z] c41833b44d91: Download complete [2023-04-24T16:12:01.857Z] c41833b44d91: Pull complete [2023-04-24T16:12:01.857Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T16:12:01.857Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T16:12:01.857Z] ---> 51e60588ff2c [2023-04-24T16:12:01.857Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-24T16:12:01.857Z] ---> Running in 0fdfa6c2468b [2023-04-24T16:12:01.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T16:12:01.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T16:12:02.819Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T16:12:02.819Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T16:12:02.819Z] OK: 8 MiB in 16 packages [2023-04-24T16:12:03.404Z] Removing intermediate container 0fdfa6c2468b [2023-04-24T16:12:03.404Z] ---> 578cf1a1d87c [2023-04-24T16:12:03.404Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-24T16:12:04.818Z] ---> 4d2800cb4e51 [2023-04-24T16:12:04.818Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-24T16:12:05.407Z] ---> 742f43d2875a [2023-04-24T16:12:05.407Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-24T16:12:05.676Z] ---> 19386cf9b337 [2023-04-24T16:12:05.676Z] Step 18/24 : EXPOSE 59993 [2023-04-24T16:12:05.947Z] ---> Running in 642d29384652 [2023-04-24T16:12:06.213Z] Removing intermediate container 642d29384652 [2023-04-24T16:12:06.213Z] ---> d06a47f2819c [2023-04-24T16:12:06.213Z] Step 19/24 : EXPOSE 161 [2023-04-24T16:12:06.213Z] ---> Running in 760eaaa34694 [2023-04-24T16:12:06.491Z] Removing intermediate container 760eaaa34694 [2023-04-24T16:12:06.491Z] ---> 1569cac66c1f [2023-04-24T16:12:06.491Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-24T16:12:06.491Z] ---> Running in a92db307ef2c [2023-04-24T16:12:06.760Z] Removing intermediate container a92db307ef2c [2023-04-24T16:12:06.760Z] ---> e4809f0466eb [2023-04-24T16:12:06.760Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T16:12:07.028Z] ---> Running in eb85f0293352 [2023-04-24T16:12:07.295Z] Removing intermediate container eb85f0293352 [2023-04-24T16:12:07.295Z] ---> 0dd9b3598b2e [2023-04-24T16:12:07.295Z] Step 22/24 : LABEL arch=arm64 [2023-04-24T16:12:07.295Z] ---> Running in 666c028fc178 [2023-04-24T16:12:07.564Z] Removing intermediate container 666c028fc178 [2023-04-24T16:12:07.564Z] ---> a2077284a805 [2023-04-24T16:12:07.564Z] Step 23/24 : LABEL git_sha=4540667df76160ba2257f08fa194345a2d771c5a [2023-04-24T16:12:07.564Z] ---> Running in 573bf6289784 [2023-04-24T16:12:07.834Z] Removing intermediate container 573bf6289784 [2023-04-24T16:12:07.834Z] ---> e89e4963b089 [2023-04-24T16:12:07.834Z] Step 24/24 : LABEL version=3.0.0-dev.17 [2023-04-24T16:12:08.113Z] ---> Running in d5ca53bcc704 [2023-04-24T16:12:08.113Z] Removing intermediate container d5ca53bcc704 [2023-04-24T16:12:08.113Z] ---> 3573b07b0115 [2023-04-24T16:12:08.113Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T16:12:08.381Z] Successfully built 3573b07b0115 [2023-04-24T16:12:08.381Z] 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-04-24T16:12:08.506Z] provisioning config files... [2023-04-24T16:12:08.522Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/74@tmp/config7913256364498293375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:12:08.861Z] ---> docker-login.sh [2023-04-24T16:12:08.861Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:12:08.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:12:10.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:12:10.815Z] Configure a credential helper to remove this warning. See [2023-04-24T16:12:10.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:12:10.815Z] [2023-04-24T16:12:10.815Z] Login Succeeded [2023-04-24T16:12:10.815Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:12:11.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:12:11.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:12:11.358Z] Configure a credential helper to remove this warning. See [2023-04-24T16:12:11.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:12:11.358Z] [2023-04-24T16:12:11.358Z] Login Succeeded [2023-04-24T16:12:11.358Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:12:11.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:12:11.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:12:11.631Z] Configure a credential helper to remove this warning. See [2023-04-24T16:12:11.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:12:11.631Z] [2023-04-24T16:12:11.631Z] Login Succeeded [2023-04-24T16:12:11.631Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:12:11.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:12:12.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:12:12.170Z] Configure a credential helper to remove this warning. See [2023-04-24T16:12:12.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:12:12.170Z] [2023-04-24T16:12:12.170Z] Login Succeeded [2023-04-24T16:12:12.170Z] docker.io [2023-04-24T16:12:12.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:12:12.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:12:12.707Z] Configure a credential helper to remove this warning. See [2023-04-24T16:12:12.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:12:12.707Z] [2023-04-24T16:12:12.707Z] Login Succeeded [2023-04-24T16:12:12.707Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:12:12.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T16:12:12.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:12:12.762Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-04-24T16:12:12.762Z] 4540667df76160ba2257f08fa194345a2d771c5a [2023-04-24T16:12:12.762Z] latest [2023-04-24T16:12:12.762Z] 3.0.0-dev.17 [2023-04-24T16:12:12.762Z] 4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17 [2023-04-24T16:12:12.762Z] main [2023-04-24T16:12:12.762Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:13.170Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:4540667df76160ba2257f08fa194345a2d771c5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:13.552Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:4540667df76160ba2257f08fa194345a2d771c5a [2023-04-24T16:12:13.552Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T16:12:13.552Z] dea612cc10af: Preparing [2023-04-24T16:12:13.552Z] f193cd7a5af4: Preparing [2023-04-24T16:12:13.552Z] 34423b7bbcdb: Preparing [2023-04-24T16:12:13.552Z] 8f47a44016d6: Preparing [2023-04-24T16:12:13.552Z] 26cbea5cba74: Preparing [2023-04-24T16:12:13.552Z] 26cbea5cba74: Layer already exists [2023-04-24T16:12:13.826Z] f193cd7a5af4: Pushed [2023-04-24T16:12:13.826Z] 8f47a44016d6: Pushed [2023-04-24T16:12:13.826Z] dea612cc10af: Pushed [2023-04-24T16:12:19.256Z] 34423b7bbcdb: Pushed [2023-04-24T16:12:19.256Z] 4540667df76160ba2257f08fa194345a2d771c5a: digest: sha256:b9cda82b807db8b5d925f36d6918ea7b754bb43aaea610fd16921ef01a4062f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:19.608Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:19.953Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-24T16:12:19.953Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T16:12:19.953Z] dea612cc10af: Preparing [2023-04-24T16:12:19.953Z] f193cd7a5af4: Preparing [2023-04-24T16:12:19.953Z] 34423b7bbcdb: Preparing [2023-04-24T16:12:19.953Z] 8f47a44016d6: Preparing [2023-04-24T16:12:19.953Z] 26cbea5cba74: Preparing [2023-04-24T16:12:19.953Z] 26cbea5cba74: Layer already exists [2023-04-24T16:12:19.953Z] dea612cc10af: Layer already exists [2023-04-24T16:12:19.953Z] f193cd7a5af4: Layer already exists [2023-04-24T16:12:19.953Z] 8f47a44016d6: Layer already exists [2023-04-24T16:12:19.953Z] 34423b7bbcdb: Layer already exists [2023-04-24T16:12:20.222Z] latest: digest: sha256:b9cda82b807db8b5d925f36d6918ea7b754bb43aaea610fd16921ef01a4062f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:20.574Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:20.921Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.17 [2023-04-24T16:12:20.921Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T16:12:20.921Z] dea612cc10af: Preparing [2023-04-24T16:12:20.921Z] f193cd7a5af4: Preparing [2023-04-24T16:12:20.921Z] 34423b7bbcdb: Preparing [2023-04-24T16:12:20.921Z] 8f47a44016d6: Preparing [2023-04-24T16:12:20.921Z] 26cbea5cba74: Preparing [2023-04-24T16:12:20.921Z] 8f47a44016d6: Layer already exists [2023-04-24T16:12:20.921Z] 26cbea5cba74: Layer already exists [2023-04-24T16:12:20.921Z] f193cd7a5af4: Layer already exists [2023-04-24T16:12:20.921Z] dea612cc10af: Layer already exists [2023-04-24T16:12:20.921Z] 34423b7bbcdb: Layer already exists [2023-04-24T16:12:20.921Z] 3.0.0-dev.17: digest: sha256:b9cda82b807db8b5d925f36d6918ea7b754bb43aaea610fd16921ef01a4062f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:21.269Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:21.616Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17 [2023-04-24T16:12:21.616Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T16:12:21.616Z] dea612cc10af: Preparing [2023-04-24T16:12:21.616Z] f193cd7a5af4: Preparing [2023-04-24T16:12:21.616Z] 34423b7bbcdb: Preparing [2023-04-24T16:12:21.616Z] 8f47a44016d6: Preparing [2023-04-24T16:12:21.616Z] 26cbea5cba74: Preparing [2023-04-24T16:12:21.616Z] f193cd7a5af4: Layer already exists [2023-04-24T16:12:21.616Z] 8f47a44016d6: Layer already exists [2023-04-24T16:12:21.616Z] dea612cc10af: Layer already exists [2023-04-24T16:12:21.616Z] 34423b7bbcdb: Layer already exists [2023-04-24T16:12:21.616Z] 26cbea5cba74: Layer already exists [2023-04-24T16:12:21.616Z] 4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17: digest: sha256:b9cda82b807db8b5d925f36d6918ea7b754bb43aaea610fd16921ef01a4062f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:22.232Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:22.575Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-04-24T16:12:22.576Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T16:12:22.576Z] dea612cc10af: Preparing [2023-04-24T16:12:22.576Z] f193cd7a5af4: Preparing [2023-04-24T16:12:22.576Z] 34423b7bbcdb: Preparing [2023-04-24T16:12:22.576Z] 8f47a44016d6: Preparing [2023-04-24T16:12:22.576Z] 26cbea5cba74: Preparing [2023-04-24T16:12:22.576Z] 26cbea5cba74: Layer already exists [2023-04-24T16:12:22.576Z] 8f47a44016d6: Layer already exists [2023-04-24T16:12:22.576Z] dea612cc10af: Layer already exists [2023-04-24T16:12:22.576Z] 34423b7bbcdb: Layer already exists [2023-04-24T16:12:22.576Z] f193cd7a5af4: Layer already exists [2023-04-24T16:12:22.576Z] main: digest: sha256:b9cda82b807db8b5d925f36d6918ea7b754bb43aaea610fd16921ef01a4062f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T16:12:22.906Z] ===================================================== [Pipeline] echo [2023-04-24T16:12:22.916Z] taggedImages: [2023-04-24T16:12:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:4540667df76160ba2257f08fa194345a2d771c5a [2023-04-24T16:12:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-24T16:12:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.17 [2023-04-24T16:12:22.916Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:4540667df76160ba2257f08fa194345a2d771c5a-3.0.0-dev.17 [2023-04-24T16:12:22.916Z] - 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-04-24T16:12:23.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T16:12:23.280Z] [2023-04-24T16:12:23.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:23.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T16:12:23.619Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T16:12:23.619Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T16:12:23.619Z] 04944245beec: Pulling fs layer [2023-04-24T16:12:23.619Z] 699f458cf7ca: Pulling fs layer [2023-04-24T16:12:23.619Z] 765212b225bb: Pulling fs layer [2023-04-24T16:12:23.619Z] f23df028b6ca: Pulling fs layer [2023-04-24T16:12:23.619Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T16:12:23.619Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T16:12:23.619Z] f23df028b6ca: Waiting [2023-04-24T16:12:23.619Z] d65c8cfc05b1: Waiting [2023-04-24T16:12:23.619Z] 2437ff75d9bd: Waiting [2023-04-24T16:12:23.619Z] 765212b225bb: Waiting [2023-04-24T16:12:23.889Z] 04944245beec: Verifying Checksum [2023-04-24T16:12:23.889Z] 04944245beec: Download complete [2023-04-24T16:12:23.889Z] 765212b225bb: Verifying Checksum [2023-04-24T16:12:23.889Z] 765212b225bb: Download complete [2023-04-24T16:12:23.889Z] f23df028b6ca: Verifying Checksum [2023-04-24T16:12:23.889Z] f23df028b6ca: Download complete [2023-04-24T16:12:23.889Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T16:12:23.889Z] d65c8cfc05b1: Download complete [2023-04-24T16:12:24.159Z] 699f458cf7ca: Verifying Checksum [2023-04-24T16:12:24.159Z] 699f458cf7ca: Download complete [2023-04-24T16:12:24.429Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T16:12:24.429Z] 8998bd30e6a1: Download complete [2023-04-24T16:12:27.020Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T16:12:27.020Z] 2437ff75d9bd: Download complete [2023-04-24T16:12:28.431Z] 8998bd30e6a1: Pull complete [2023-04-24T16:12:29.018Z] 04944245beec: Pull complete [2023-04-24T16:12:30.430Z] 699f458cf7ca: Pull complete [2023-04-24T16:12:30.430Z] 765212b225bb: Pull complete [2023-04-24T16:12:31.390Z] f23df028b6ca: Pull complete [2023-04-24T16:12:31.658Z] d65c8cfc05b1: Pull complete [2023-04-24T16:12:46.657Z] 2437ff75d9bd: Pull complete [2023-04-24T16:12:46.657Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T16:12:46.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T16:12:46.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:12:46.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-9545 does not seem to be running inside a container [2023-04-24T16:12:46.948Z] $ 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/74 -v /w/workspace/device-snmp-go/74:/w/workspace/device-snmp-go/74:rw,z -v /w/workspace/device-snmp-go/74@tmp:/w/workspace/device-snmp-go/74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T16:12:49.751Z] $ docker top b2f071de47a4fcb48e09ab06b60e09486cef36608eab0f8c45df7b7314fe8241 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:12:50.282Z] ---> job-cost.sh [2023-04-24T16:12:50.550Z] lf-activate-venv: SKIPPING [2023-04-24T16:12:50.551Z] INFO: No Stack... [2023-04-24T16:12:51.134Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T16:12:51.717Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T16:12:52.367Z] + cat /w/workspace/device-snmp-go/74/archives/cost.csv [2023-04-24T16:12:52.367Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T16:12:52.437Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-74-stack-cost] [2023-04-24T16:12:52.443Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-74-stack-cost] did not exist. Created. [2023-04-24T16:12:52.443Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T16:12:52.780Z] /w/workspace/device-snmp-go/74@tmp/durable-54b1ba59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T16:12:53.441Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T16:12:53.462Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T16:12:53.510Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T16:12:53.520Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T16:12:53.539Z] $ docker stop --time=1 b2f071de47a4fcb48e09ab06b60e09486cef36608eab0f8c45df7b7314fe8241 [2023-04-24T16:12:55.063Z] $ docker rm -f --volumes b2f071de47a4fcb48e09ab06b60e09486cef36608eab0f8c45df7b7314fe8241 [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-04-24T16:12:55.523Z] provisioning config files... [2023-04-24T16:12:55.532Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14873567937310144494tmp [Pipeline] { [Pipeline] sh [2023-04-24T16:12:55.832Z] + set +x [2023-04-24T16:12:55.832Z] + + curlbash -s -s https://codecov.io/bash -- [2023-04-24T16:12:55.832Z] [2023-04-24T16:12:55.832Z] [2023-04-24T16:12:55.832Z] _____ _ [2023-04-24T16:12:55.832Z] / ____| | | [2023-04-24T16:12:55.832Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T16:12:55.832Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T16:12:55.832Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T16:12:55.832Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T16:12:55.832Z] Bash-1.0.6 [2023-04-24T16:12:55.832Z] [2023-04-24T16:12:55.832Z] [2023-04-24T16:12:55.832Z] ==> git version 2.25.1 found [2023-04-24T16:12:55.832Z] ==> 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-04-24T16:12:55.832Z] Release-Date: 2020-01-08 [2023-04-24T16:12:55.832Z] 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-04-24T16:12:55.832Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T16:12:55.832Z] ==> Jenkins CI detected. [2023-04-24T16:12:55.832Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-04-24T16:12:55.833Z] project root: . [2023-04-24T16:12:55.833Z] --> token set from env [2023-04-24T16:12:55.833Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T16:12:55.833Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T16:12:55.833Z] ==> Python coveragepy not found [2023-04-24T16:12:55.833Z] ==> Searching for coverage reports in: [2023-04-24T16:12:55.833Z] + . [2023-04-24T16:12:55.833Z] -> Found 1 reports [2023-04-24T16:12:55.833Z] ==> Detecting git/mercurial file structure [2023-04-24T16:12:55.833Z] ==> Reading reports [2023-04-24T16:12:55.833Z] + ./coverage.out bytes=8837 [2023-04-24T16:12:56.092Z] ==> Appending adjustments [2023-04-24T16:12:56.092Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T16:12:56.092Z] + Found adjustments [2023-04-24T16:12:56.092Z] ==> Gzipping contents [2023-04-24T16:12:56.092Z] 4.0K /tmp/codecov.QllCoJ.gz [2023-04-24T16:12:56.092Z] ==> Uploading reports [2023-04-24T16:12:56.092Z] url: https://codecov.io [2023-04-24T16:12:56.092Z] query: branch=main&commit=4540667df76160ba2257f08fa194345a2d771c5a&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-24T16:12:56.092Z] -> Pinging Codecov [2023-04-24T16:12:56.092Z] 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=4540667df76160ba2257f08fa194345a2d771c5a&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-24T16:12:56.092Z] -> Uploading to [2023-04-24T16:12:56.092Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/6C56EA5C29638FB4528AC87E60AF5AE0/4540667df76160ba2257f08fa194345a2d771c5a/684baefa-6e3d-46d1-8a88-494de1b80df0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T161256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2bf66f04b6d0dd5806de146cde029f30754e718a756e67703c7577fb69081473 [2023-04-24T16:12:56.351Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T16:12:56.351Z] Dload Upload Total Spent Left Speed [2023-04-24T16:12:56.351Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 6739 --:--:-- --:--:-- --:--:-- 6739 [2023-04-24T16:12:56.351Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/4540667df76160ba2257f08fa194345a2d771c5a [Pipeline] } [2023-04-24T16:12:56.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-24T16:12:56.491Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-24T16:12:56.502Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:56.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T16:12:56.795Z] [2023-04-24T16:12:56.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:12:57.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T16:12:57.106Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-24T16:12:57.106Z] df9b9388f04a: Pulling fs layer [2023-04-24T16:12:57.106Z] 52dc419b0ee2: Pulling fs layer [2023-04-24T16:12:57.106Z] 25bc292e5bac: Pulling fs layer [2023-04-24T16:12:57.106Z] 114826534d7a: Pulling fs layer [2023-04-24T16:12:57.106Z] 4657fd5d0bcf: Pulling fs layer [2023-04-24T16:12:57.106Z] 6ad1cebc031e: Pulling fs layer [2023-04-24T16:12:57.106Z] 8a3aa393b2d8: Pulling fs layer [2023-04-24T16:12:57.106Z] 114826534d7a: Waiting [2023-04-24T16:12:57.106Z] 4657fd5d0bcf: Waiting [2023-04-24T16:12:57.106Z] 6ad1cebc031e: Waiting [2023-04-24T16:12:57.106Z] 25bc292e5bac: Verifying Checksum [2023-04-24T16:12:57.106Z] 25bc292e5bac: Download complete [2023-04-24T16:12:57.106Z] 52dc419b0ee2: Verifying Checksum [2023-04-24T16:12:57.106Z] 52dc419b0ee2: Download complete [2023-04-24T16:12:57.106Z] 4657fd5d0bcf: Verifying Checksum [2023-04-24T16:12:57.106Z] 4657fd5d0bcf: Download complete [2023-04-24T16:12:57.106Z] df9b9388f04a: Download complete [2023-04-24T16:12:57.365Z] 6ad1cebc031e: Download complete [2023-04-24T16:12:57.365Z] df9b9388f04a: Pull complete [2023-04-24T16:12:57.365Z] 52dc419b0ee2: Pull complete [2023-04-24T16:12:57.365Z] 25bc292e5bac: Pull complete [2023-04-24T16:12:57.936Z] 114826534d7a: Verifying Checksum [2023-04-24T16:12:57.936Z] 114826534d7a: Download complete [2023-04-24T16:12:57.936Z] 8a3aa393b2d8: Verifying Checksum [2023-04-24T16:12:57.936Z] 8a3aa393b2d8: Download complete [2023-04-24T16:13:01.224Z] 114826534d7a: Pull complete [2023-04-24T16:13:01.483Z] 4657fd5d0bcf: Pull complete [2023-04-24T16:13:01.743Z] 6ad1cebc031e: Pull complete [2023-04-24T16:13:05.048Z] 8a3aa393b2d8: Pull complete [2023-04-24T16:13:05.048Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-24T16:13:05.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T16:13:05.048Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:13:05.124Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:13:05.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-24T16:13:09.153Z] $ docker top a402c90178e0d25db04ec12537fc8ee53e462929c9e097189c75c5333f61aafd -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-24T16:13:09.219Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-04-24T16:13:09.494Z] + set -o pipefail [2023-04-24T16:13:09.495Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-04-24T16:13:13.683Z] [2023-04-24T16:13:13.683Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-04-24T16:13:13.683Z] [2023-04-24T16:13:13.683Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/de5c8f6f-9b10-4304-9539-3f9d1ca63b1c [2023-04-24T16:13:13.683Z] [2023-04-24T16:13:13.683Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-24T16:13:13.683Z] [2023-04-24T16:13:13.683Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-24T16:13:13.683Z] [2023-04-24T16:13:13.683Z] [2023-04-24T16:13:13.683Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-24T16:13:13.683Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-24T16:13:13.683Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-24T16:13:13.689Z] $ docker stop --time=1 a402c90178e0d25db04ec12537fc8ee53e462929c9e097189c75c5333f61aafd [2023-04-24T16:13:16.768Z] $ docker rm -f --volumes a402c90178e0d25db04ec12537fc8ee53e462929c9e097189c75c5333f61aafd [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-04-24T16:13:17.485Z] + git log --format=format:%s -1 4540667df76160ba2257f08fa194345a2d771c5a [Pipeline] sh [2023-04-24T16:13:17.778Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T16:13:17.778Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:18.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:13:18.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:13:18.173Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:13:18.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T16:13:18.596Z] $ docker top 9a2802e494bbff14d989ffcc5a8b832f350c2a858fa70a908174fd11df499e2e -eo pid,comm [2023-04-24T16:13:18.643Z] 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-04-24T16:13:18.644Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T16:13:18.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:13:18.682Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:13:18.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:13:18.788Z] $ docker exec 9a2802e494bbff14d989ffcc5a8b832f350c2a858fa70a908174fd11df499e2e ssh-agent [2023-04-24T16:13:18.899Z] SSH_AUTH_SOCK=/tmp/ssh-GVKgfTVXOEoD/agent.33 [2023-04-24T16:13:18.899Z] SSH_AGENT_PID=39 [2023-04-24T16:13:18.904Z] Running ssh-add (command line suppressed) [2023-04-24T16:13:18.998Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15501291151832486309.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15501291151832486309.key) [2023-04-24T16:13:19.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:13:19.302Z] + git semver tag [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,475 [run_tag] DEBUG tag force:False [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,475 [check_head_tag] DEBUG check head tag [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,476 [execute] INFO git cat-file --batch-check [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,476 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,480 [execute] INFO git cat-file --batch [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,497 [execute] INFO git tag -a v3.0.0-dev.17 -m v3.0.0-dev.17 [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,497 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.17', '-m', 'v3.0.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-24T16:13:19.561Z] 2023-04-24 16:13:19,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:13:19.561Z] 3.0.0-dev.17 [Pipeline] } [2023-04-24T16:13:19.566Z] $ docker exec --env ******** --env ******** 9a2802e494bbff14d989ffcc5a8b832f350c2a858fa70a908174fd11df499e2e ssh-agent -k [2023-04-24T16:13:19.648Z] unset SSH_AUTH_SOCK; [2023-04-24T16:13:19.649Z] unset SSH_AGENT_PID; [2023-04-24T16:13:19.649Z] echo Agent pid 39 killed; [2023-04-24T16:13:19.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T16:13:19.963Z] + git semver [Pipeline] } [2023-04-24T16:13:20.229Z] $ docker stop --time=1 9a2802e494bbff14d989ffcc5a8b832f350c2a858fa70a908174fd11df499e2e [2023-04-24T16:13:21.501Z] $ docker rm -f --volumes 9a2802e494bbff14d989ffcc5a8b832f350c2a858fa70a908174fd11df499e2e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:21.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T16:13:21.900Z] [2023-04-24T16:13:21.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:22.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T16:13:22.194Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-24T16:13:22.194Z] ab5ef0e58194: Pulling fs layer [2023-04-24T16:13:22.194Z] 9712f1f96733: Pulling fs layer [2023-04-24T16:13:22.194Z] 63f879dbbcfc: Pulling fs layer [2023-04-24T16:13:22.194Z] 0d9ebad4ef96: Pulling fs layer [2023-04-24T16:13:22.194Z] e9a5061849ea: Pulling fs layer [2023-04-24T16:13:22.194Z] d747dcd14b5f: Pulling fs layer [2023-04-24T16:13:22.194Z] 2de7ff778b66: Pulling fs layer [2023-04-24T16:13:22.194Z] 2de7ff778b66: Waiting [2023-04-24T16:13:22.194Z] d747dcd14b5f: Waiting [2023-04-24T16:13:22.194Z] 0d9ebad4ef96: Waiting [2023-04-24T16:13:22.194Z] 9712f1f96733: Verifying Checksum [2023-04-24T16:13:22.194Z] 9712f1f96733: Download complete [2023-04-24T16:13:22.453Z] 63f879dbbcfc: Verifying Checksum [2023-04-24T16:13:22.453Z] 63f879dbbcfc: Download complete [2023-04-24T16:13:22.713Z] e9a5061849ea: Verifying Checksum [2023-04-24T16:13:22.713Z] e9a5061849ea: Download complete [2023-04-24T16:13:22.713Z] d747dcd14b5f: Verifying Checksum [2023-04-24T16:13:22.713Z] d747dcd14b5f: Download complete [2023-04-24T16:13:22.713Z] 0d9ebad4ef96: Verifying Checksum [2023-04-24T16:13:22.713Z] 0d9ebad4ef96: Download complete [2023-04-24T16:13:22.713Z] ab5ef0e58194: Verifying Checksum [2023-04-24T16:13:22.713Z] ab5ef0e58194: Download complete [2023-04-24T16:13:22.713Z] 2de7ff778b66: Verifying Checksum [2023-04-24T16:13:22.713Z] 2de7ff778b66: Download complete [2023-04-24T16:13:25.242Z] ab5ef0e58194: Pull complete [2023-04-24T16:13:25.242Z] 9712f1f96733: Pull complete [2023-04-24T16:13:25.814Z] 63f879dbbcfc: Pull complete [2023-04-24T16:13:29.095Z] 0d9ebad4ef96: Pull complete [2023-04-24T16:13:29.354Z] e9a5061849ea: Pull complete [2023-04-24T16:13:29.613Z] d747dcd14b5f: Pull complete [2023-04-24T16:13:30.544Z] 2de7ff778b66: Pull complete [2023-04-24T16:13:30.544Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-24T16:13:30.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T16:13:30.544Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:13:30.626Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:13:30.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-24T16:13:33.957Z] $ docker top f5c2d0f8ef6b99f2f0c13c1909f620f67e5584301eb6e7a37ae29275d806b2b9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:13:34.024Z] provisioning config files... [2023-04-24T16:13:34.029Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16602291420897806046tmp [2023-04-24T16:13:34.037Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8020899942774309565tmp [2023-04-24T16:13:34.059Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5663101529898778879tmp [Pipeline] { [Pipeline] echo [2023-04-24T16:13:34.072Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:34.355Z] ---> sigul-configuration.sh [2023-04-24T16:13:34.355Z] gpg: directory `/root/.gnupg' created [2023-04-24T16:13:34.355Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-24T16:13:34.355Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-24T16:13:34.355Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-24T16:13:34.355Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-24T16:13:34.355Z] gpg: CAST5 encrypted data [2023-04-24T16:13:34.355Z] gpg: encrypted with 1 passphrase [2023-04-24T16:13:34.355Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-24T16:13:34.639Z] + mkdir /home/jenkins [2023-04-24T16:13:34.639Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-24T16:13:34.924Z] + 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-04-24T16:13:34.932Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:35.211Z] ---> sigul-install.sh [2023-04-24T16:13:35.211Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-24T16:13:35.495Z] + git tag --list [2023-04-24T16:13:35.495Z] 1.0.0 [2023-04-24T16:13:35.495Z] v0.0.0 [2023-04-24T16:13:35.495Z] v1.1.0 [2023-04-24T16:13:35.495Z] v1.1.1 [2023-04-24T16:13:35.495Z] v1.2.2 [2023-04-24T16:13:35.495Z] v1.3.0 [2023-04-24T16:13:35.495Z] v1.3.1 [2023-04-24T16:13:35.495Z] v2.0.0 [2023-04-24T16:13:35.495Z] v2.1.0 [2023-04-24T16:13:35.495Z] v2.1.1 [2023-04-24T16:13:35.495Z] v2.1.1-dev.2 [2023-04-24T16:13:35.495Z] v2.1.1-dev.3 [2023-04-24T16:13:35.495Z] v2.2.0 [2023-04-24T16:13:35.495Z] v2.2.1-dev.1 [2023-04-24T16:13:35.495Z] v2.2.1-dev.2 [2023-04-24T16:13:35.495Z] v2.2.1-dev.3 [2023-04-24T16:13:35.495Z] v2.2.1-dev.4 [2023-04-24T16:13:35.495Z] v2.2.1-dev.5 [2023-04-24T16:13:35.495Z] v2.2.1-dev.6 [2023-04-24T16:13:35.495Z] v2.2.1-dev.7 [2023-04-24T16:13:35.495Z] v2.3.0 [2023-04-24T16:13:35.495Z] v2.3.0-dev.10 [2023-04-24T16:13:35.495Z] v2.3.0-dev.11 [2023-04-24T16:13:35.495Z] v2.3.0-dev.12 [2023-04-24T16:13:35.495Z] v2.3.0-dev.13 [2023-04-24T16:13:35.495Z] v2.3.0-dev.14 [2023-04-24T16:13:35.495Z] v2.3.0-dev.15 [2023-04-24T16:13:35.495Z] v2.3.0-dev.16 [2023-04-24T16:13:35.495Z] v2.3.0-dev.17 [2023-04-24T16:13:35.495Z] v2.3.0-dev.18 [2023-04-24T16:13:35.495Z] v2.3.0-dev.19 [2023-04-24T16:13:35.495Z] v2.3.0-dev.20 [2023-04-24T16:13:35.495Z] v2.3.0-dev.21 [2023-04-24T16:13:35.495Z] v2.3.0-dev.22 [2023-04-24T16:13:35.495Z] v2.3.0-dev.23 [2023-04-24T16:13:35.495Z] v2.3.0-dev.24 [2023-04-24T16:13:35.495Z] v2.3.0-dev.7 [2023-04-24T16:13:35.495Z] v2.3.0-dev.8 [2023-04-24T16:13:35.495Z] v2.3.0-dev.9 [2023-04-24T16:13:35.495Z] v3.0.0-dev.1 [2023-04-24T16:13:35.495Z] v3.0.0-dev.10 [2023-04-24T16:13:35.495Z] v3.0.0-dev.11 [2023-04-24T16:13:35.495Z] v3.0.0-dev.12 [2023-04-24T16:13:35.495Z] v3.0.0-dev.13 [2023-04-24T16:13:35.495Z] v3.0.0-dev.14 [2023-04-24T16:13:35.495Z] v3.0.0-dev.15 [2023-04-24T16:13:35.495Z] v3.0.0-dev.16 [2023-04-24T16:13:35.495Z] v3.0.0-dev.17 [2023-04-24T16:13:35.495Z] v3.0.0-dev.2 [2023-04-24T16:13:35.495Z] v3.0.0-dev.3 [2023-04-24T16:13:35.495Z] v3.0.0-dev.4 [2023-04-24T16:13:35.495Z] v3.0.0-dev.5 [2023-04-24T16:13:35.495Z] v3.0.0-dev.6 [2023-04-24T16:13:35.495Z] v3.0.0-dev.7 [2023-04-24T16:13:35.495Z] v3.0.0-dev.8 [2023-04-24T16:13:35.495Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-24T16:13:35.782Z] + lftools sign git-tag v3.0.0-dev.17 [2023-04-24T16:13:36.351Z] Signing Git tag with Sigul... [2023-04-24T16:13:36.351Z] Signing v3.0.0-dev.17 [Pipeline] echo [2023-04-24T16:13:36.618Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:36.904Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-24T16:13:36.911Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-24T16:13:36.926Z] $ docker stop --time=1 f5c2d0f8ef6b99f2f0c13c1909f620f67e5584301eb6e7a37ae29275d806b2b9 [2023-04-24T16:13:38.184Z] $ docker rm -f --volumes f5c2d0f8ef6b99f2f0c13c1909f620f67e5584301eb6e7a37ae29275d806b2b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-24T16:13:38.597Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T16:13:38.597Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:38.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:13:38.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:13:38.972Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:13:38.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T16:13:39.325Z] $ docker top 83acdc5e99ff80fac09704a7fd749d7664f29d82a24435a138d8cff21661c1db -eo pid,comm [2023-04-24T16:13:39.370Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-24T16:13:39.370Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T16:13:39.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:13:39.398Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:13:39.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:13:39.498Z] $ docker exec 83acdc5e99ff80fac09704a7fd749d7664f29d82a24435a138d8cff21661c1db ssh-agent [2023-04-24T16:13:39.615Z] SSH_AUTH_SOCK=/tmp/ssh-vWTL5ZveMcak/agent.31 [2023-04-24T16:13:39.615Z] SSH_AGENT_PID=38 [2023-04-24T16:13:39.620Z] Running ssh-add (command line suppressed) [2023-04-24T16:13:39.717Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6129527880336659124.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6129527880336659124.key) [2023-04-24T16:13:39.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:13:40.021Z] + git semver bump pre [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,226 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,226 [bump_version] DEBUG bumping version:3.0.0-dev.17 on axis:pre with prefix:dev [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,226 [bump_version] DEBUG bumped version:3.0.0-dev.18 [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,226 [write_version] DEBUG write version:3.0.0-dev.18 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,226 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,226 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,228 [execute] INFO git cat-file --batch-check [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,233 [execute] INFO git cat-file --batch [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T16:13:40.281Z] 2023-04-24 16:13:40,237 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:13:40.281Z] 3.0.0-dev.18 [Pipeline] } [2023-04-24T16:13:40.286Z] $ docker exec --env ******** --env ******** 83acdc5e99ff80fac09704a7fd749d7664f29d82a24435a138d8cff21661c1db ssh-agent -k [2023-04-24T16:13:40.375Z] unset SSH_AUTH_SOCK; [2023-04-24T16:13:40.375Z] unset SSH_AGENT_PID; [2023-04-24T16:13:40.375Z] echo Agent pid 38 killed; [2023-04-24T16:13:40.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T16:13:40.685Z] + git semver [Pipeline] } [2023-04-24T16:13:40.952Z] $ docker stop --time=1 83acdc5e99ff80fac09704a7fd749d7664f29d82a24435a138d8cff21661c1db [2023-04-24T16:13:42.220Z] $ docker rm -f --volumes 83acdc5e99ff80fac09704a7fd749d7664f29d82a24435a138d8cff21661c1db [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T16:13:42.562Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T16:13:42.562Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:42.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:13:42.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:13:42.940Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:13:42.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T16:13:43.317Z] $ docker top ccf6ddfbbd45399c62a7461c5521eceb274140277240a269c5f64684cb51cd79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T16:13:43.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:13:43.413Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:13:43.513Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:13:43.512Z] $ docker exec ccf6ddfbbd45399c62a7461c5521eceb274140277240a269c5f64684cb51cd79 ssh-agent [2023-04-24T16:13:43.624Z] SSH_AUTH_SOCK=/tmp/ssh-UgqDjEcKVxPD/agent.32 [2023-04-24T16:13:43.624Z] SSH_AGENT_PID=38 [2023-04-24T16:13:43.629Z] Running ssh-add (command line suppressed) [2023-04-24T16:13:43.724Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1959483829535789957.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1959483829535789957.key) [2023-04-24T16:13:43.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:13:44.029Z] + git semver push [2023-04-24T16:13:44.288Z] 2023-04-24 16:13:44,210 [run_push] DEBUG push [2023-04-24T16:13:44.288Z] 2023-04-24 16:13:44,211 [execute] INFO git cat-file --batch-check [2023-04-24T16:13:44.288Z] 2023-04-24 16:13:44,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T16:13:44.288Z] 2023-04-24 16:13:44,214 [execute] INFO git rev-list fafd66ecca6a96f755b6aa49fffc239f3128d575 -- [2023-04-24T16:13:44.288Z] 2023-04-24 16:13:44,215 [execute] DEBUG Popen(['git', 'rev-list', 'fafd66ecca6a96f755b6aa49fffc239f3128d575', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-24T16:13:44.288Z] 2023-04-24 16:13:44,224 [execute] INFO git fetch -v origin [2023-04-24T16:13:44.288Z] 2023-04-24 16:13:44,224 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-24T16:13:44.854Z] 2023-04-24 16:13:44,713 [run_push] DEBUG no remote changes detected [2023-04-24T16:13:44.854Z] 2023-04-24 16:13:44,714 [execute] INFO git push origin semver [2023-04-24T16:13:44.854Z] 2023-04-24 16:13:44,714 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-24T16:13:45.795Z] 2023-04-24 16:13:45,628 [run_push] DEBUG push all version tags [2023-04-24T16:13:45.795Z] 2023-04-24 16:13:45,628 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-24T16:13:45.795Z] 2023-04-24 16:13:45,629 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-24T16:13:46.732Z] 2023-04-24 16:13:46,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T16:13:46.732Z] 3.0.0-dev.18 [Pipeline] } [2023-04-24T16:13:46.738Z] $ docker exec --env ******** --env ******** ccf6ddfbbd45399c62a7461c5521eceb274140277240a269c5f64684cb51cd79 ssh-agent -k [2023-04-24T16:13:46.831Z] unset SSH_AUTH_SOCK; [2023-04-24T16:13:46.832Z] unset SSH_AGENT_PID; [2023-04-24T16:13:46.832Z] echo Agent pid 38 killed; [2023-04-24T16:13:46.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T16:13:47.155Z] + git semver [Pipeline] } [2023-04-24T16:13:47.424Z] $ docker stop --time=1 ccf6ddfbbd45399c62a7461c5521eceb274140277240a269c5f64684cb51cd79 [2023-04-24T16:13:48.736Z] $ docker rm -f --volumes ccf6ddfbbd45399c62a7461c5521eceb274140277240a269c5f64684cb51cd79 [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-04-24T16:13:49.333Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-04-24T16:13:49.333Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-24T16:13:49.333Z] total 16 [2023-04-24T16:13:49.333Z] drwxr-xr-x 3 root root 4096 Apr 24 16:02 . [2023-04-24T16:13:49.333Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 16:13 .. [2023-04-24T16:13:49.333Z] drwxr-xr-x 2 root root 4096 Apr 24 16:02 cost [2023-04-24T16:13:49.333Z] -rw-r--r-- 1 root root 85 Apr 24 16:02 cost.csv [2023-04-24T16:13:49.333Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-24T16:13:49.333Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-24T16:13:49.333Z] total 16 [2023-04-24T16:13:49.333Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 16:02 . [2023-04-24T16:13:49.333Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 16:13 .. [2023-04-24T16:13:49.333Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 16:02 cost [2023-04-24T16:13:49.333Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 24 16:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:49.628Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:50.491Z] ---> package-listing.sh [2023-04-24T16:13:50.491Z] ++ facter osfamily [2023-04-24T16:13:50.491Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T16:13:50.750Z] + OS_FAMILY=debian [2023-04-24T16:13:50.750Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-04-24T16:13:50.750Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T16:13:50.750Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T16:13:50.750Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T16:13:50.750Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T16:13:50.750Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-24T16:13:50.750Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T16:13:50.750Z] + case "${OS_FAMILY}" in [2023-04-24T16:13:50.750Z] + dpkg -l [2023-04-24T16:13:50.750Z] + grep '^ii' [2023-04-24T16:13:50.750Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T16:13:50.750Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T16:13:50.750Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T16:13:50.750Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-24T16:13:50.750Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-04-24T16:13:50.750Z] + 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-04-24T16:13:50.761Z] 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-04-24T16:13:51.040Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:51.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T16:13:51.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:13:51.683Z] prd-ubuntu20.04-docker-8c-8g-9542 does not seem to be running inside a container [2023-04-24T16:13:51.715Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T16:13:51.943Z] $ docker top e1b7bf3034493dcaeb68019c044de9abb194b46cd8fb823848874c12e6bab879 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:13:52.284Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T16:13:52.569Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T16:13:52.897Z] + ls /var/log/sa-host [2023-04-24T16:13:52.897Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:13:52.979Z] provisioning config files... [2023-04-24T16:13:52.990Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9951849905920121112tmp [Pipeline] { [Pipeline] echo [2023-04-24T16:13:53.009Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:53.322Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T16:13:53.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:53.739Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T16:13:53.746Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:54.028Z] ---> sudo-logs.sh [2023-04-24T16:13:54.029Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T16:13:54.060Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:54.342Z] ---> job-cost.sh [2023-04-24T16:13:54.342Z] lf-activate-venv: SKIPPING [2023-04-24T16:13:54.342Z] DEBUG: total: 0.2199999988079071 [2023-04-24T16:13:54.342Z] INFO: Retrieving Stack Cost... [2023-04-24T16:13:54.909Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T16:13:55.169Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T16:13:55.179Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:55.460Z] ---> logs-deploy.sh [2023-04-24T16:13:55.460Z] lf-activate-venv: SKIPPING [2023-04-24T16:13:55.460Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/74 [2023-04-24T16:13:55.460Z] INFO: archiving workspace using pattern(s): [2023-04-24T16:13:56.397Z] Archives upload complete. [2023-04-24T16:13:56.397Z] INFO: archiving logs to Nexus