Pull request #302 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 4540667df76160ba2257f08fa194345a2d771c5a rather than 75a2d2d486d34bd86faa9df11ef63bdac674ee8d 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-ssh8252815726574738246.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh263708665664207027.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3940084842404025789.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3635909403023406653.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh13119466866934696726.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5072130382741340707.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13829 in /w/workspace/gexfoundry_device-snmp-go_PR-302 [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/gexfoundry_device-snmp-go_PR-302 # 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 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 75a2d2d486d34bd86faa9df11ef63bdac674ee8d > 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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 Merge succeeded, producing 75a2d2d486d34bd86faa9df11ef63bdac674ee8d Checking out Revision 75a2d2d486d34bd86faa9df11ef63bdac674ee8d (PR-302) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T05:44:01.050Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T05:44:01.235Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T05:44:01.334Z] ========================================================= [2023-05-05T05:44:01.334Z] EdgeX Global Pipelines Version Info [2023-05-05T05:44:01.334Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:44:02.113Z] ------------------- [2023-05-05T05:44:02.113Z] stable info: [2023-05-05T05:44:02.113Z] ------------------- [2023-05-05T05:44:02.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T05:44:02.113Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T05:44:02.113Z] Message: update stable to v1.0.249 [2023-05-05T05:44:02.685Z] ------------------- [2023-05-05T05:44:02.685Z] experimental info: [2023-05-05T05:44:02.685Z] ------------------- [2023-05-05T05:44:02.685Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T05:44:02.685Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T05:44:02.685Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T05:44:02.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-05T05:44:03.004Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-05T05:44:03.044Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T05:44:03.090Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T05:44:03.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T05:44:03.174Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T05:44:03.215Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T05:44:03.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T05:44:03.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T05:44:03.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T05:44:03.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T05:44:03.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-05T05:44:03.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T05:44:03.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T05:44:03.548Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T05:44:03.589Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T05:44:03.630Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T05:44:03.672Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T05:44:03.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T05:44:03.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T05:44:03.798Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-05T05:44:03.840Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-05T05:44:03.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T05:44:03.925Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T05:44:03.964Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T05:44:04.002Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T05:44:04.040Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T05:44:04.080Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo [2023-05-05T05:44:04.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo [2023-05-05T05:44:04.168Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo [2023-05-05T05:44:04.211Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] echo [2023-05-05T05:44:04.254Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75a2d2d [Pipeline] echo [2023-05-05T05:44:04.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T05:44:04.423Z] provisioning config files... [2023-05-05T05:44:04.438Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/config4560065920739783149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:44:04.777Z] ---> docker-login.sh [2023-05-05T05:44:04.777Z] nexus3.edgexfoundry.org:10001 [2023-05-05T05:44:05.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:05.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:05.038Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:05.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:05.038Z] [2023-05-05T05:44:05.038Z] Login Succeeded [2023-05-05T05:44:05.038Z] nexus3.edgexfoundry.org:10002 [2023-05-05T05:44:05.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:05.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:05.306Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:05.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:05.306Z] [2023-05-05T05:44:05.306Z] Login Succeeded [2023-05-05T05:44:05.306Z] nexus3.edgexfoundry.org:10003 [2023-05-05T05:44:05.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:05.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:05.306Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:05.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:05.306Z] [2023-05-05T05:44:05.306Z] Login Succeeded [2023-05-05T05:44:05.306Z] nexus3.edgexfoundry.org:10004 [2023-05-05T05:44:05.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:05.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:05.306Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:05.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:05.306Z] [2023-05-05T05:44:05.306Z] Login Succeeded [2023-05-05T05:44:05.306Z] docker.io [2023-05-05T05:44:05.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:05.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:05.566Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:05.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:05.566Z] [2023-05-05T05:44:05.566Z] Login Succeeded [2023-05-05T05:44:05.566Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T05:44:05.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T05:44:06.206Z] + git rev-list -1 --merges 75a2d2d486d34bd86faa9df11ef63bdac674ee8d~1..75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] echo [2023-05-05T05:44:06.264Z] -----------> git rev-list -1 --merges 75a2d2d486d34bd86faa9df11ef63bdac674ee8d~1..75a2d2d486d34bd86faa9df11ef63bdac674ee8d 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [false] [Pipeline] sh [2023-05-05T05:44:06.567Z] + git log --format=format:%s -1 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] echo [2023-05-05T05:44:06.603Z] ========================================================= [2023-05-05T05:44:06.603Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T05:44:06.603Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T05:44:07.022Z] + git log --format=format:%s -1 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [Pipeline] echo [2023-05-05T05:44:07.053Z] [semverPrep] GIT_COMMIT: 75a2d2d486d34bd86faa9df11ef63bdac674ee8d, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo [2023-05-05T05:44:07.078Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T05:44:07.446Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T05:44:07.446Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T05:44:07.446Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T05:44:07.446Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T05:44:07.446Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T05:44:07.446Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T05:44:07.446Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:44:07.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T05:44:07.880Z] [2023-05-05T05:44:07.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:44:08.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T05:44:08.247Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T05:44:08.248Z] b85a868b505f: Pulling fs layer [2023-05-05T05:44:08.248Z] e2be974225ed: Pulling fs layer [2023-05-05T05:44:08.248Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T05:44:08.248Z] 988bab9f4d93: Pulling fs layer [2023-05-05T05:44:08.248Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T05:44:08.248Z] eaf3925da568: Pulling fs layer [2023-05-05T05:44:08.248Z] bab4dde63d76: Pulling fs layer [2023-05-05T05:44:08.248Z] bde34c3a00c8: Pulling fs layer [2023-05-05T05:44:08.248Z] b352a97aabf1: Pulling fs layer [2023-05-05T05:44:08.248Z] 1469e6f7b9e6: Waiting [2023-05-05T05:44:08.248Z] 4872d77fe225: Pulling fs layer [2023-05-05T05:44:08.248Z] 5851b861e8e6: Pulling fs layer [2023-05-05T05:44:08.248Z] eaf3925da568: Waiting [2023-05-05T05:44:08.248Z] bab4dde63d76: Waiting [2023-05-05T05:44:08.248Z] 988bab9f4d93: Waiting [2023-05-05T05:44:08.248Z] b352a97aabf1: Waiting [2023-05-05T05:44:08.248Z] 5851b861e8e6: Waiting [2023-05-05T05:44:08.248Z] bde34c3a00c8: Waiting [2023-05-05T05:44:08.248Z] e2be974225ed: Download complete [2023-05-05T05:44:08.248Z] 988bab9f4d93: Verifying Checksum [2023-05-05T05:44:08.248Z] 988bab9f4d93: Download complete [2023-05-05T05:44:08.248Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T05:44:08.248Z] 1469e6f7b9e6: Download complete [2023-05-05T05:44:08.506Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T05:44:08.506Z] 339a4e72a1f5: Download complete [2023-05-05T05:44:08.506Z] eaf3925da568: Verifying Checksum [2023-05-05T05:44:08.506Z] eaf3925da568: Download complete [2023-05-05T05:44:08.506Z] bde34c3a00c8: Verifying Checksum [2023-05-05T05:44:08.506Z] bde34c3a00c8: Download complete [2023-05-05T05:44:08.506Z] b352a97aabf1: Verifying Checksum [2023-05-05T05:44:08.506Z] b352a97aabf1: Download complete [2023-05-05T05:44:08.506Z] 4872d77fe225: Verifying Checksum [2023-05-05T05:44:08.506Z] 5851b861e8e6: Verifying Checksum [2023-05-05T05:44:08.506Z] 5851b861e8e6: Download complete [2023-05-05T05:44:08.507Z] b85a868b505f: Verifying Checksum [2023-05-05T05:44:08.507Z] b85a868b505f: Download complete [2023-05-05T05:44:08.765Z] bab4dde63d76: Verifying Checksum [2023-05-05T05:44:08.765Z] bab4dde63d76: Download complete [2023-05-05T05:44:09.700Z] b85a868b505f: Pull complete [2023-05-05T05:44:09.700Z] e2be974225ed: Pull complete [2023-05-05T05:44:09.959Z] 339a4e72a1f5: Pull complete [2023-05-05T05:44:10.218Z] 988bab9f4d93: Pull complete [2023-05-05T05:44:10.476Z] 1469e6f7b9e6: Pull complete [2023-05-05T05:44:10.476Z] eaf3925da568: Pull complete [2023-05-05T05:44:12.375Z] bab4dde63d76: Pull complete [2023-05-05T05:44:12.375Z] bde34c3a00c8: Pull complete [2023-05-05T05:44:12.375Z] b352a97aabf1: Pull complete [2023-05-05T05:44:12.375Z] 4872d77fe225: Pull complete [2023-05-05T05:44:12.375Z] 5851b861e8e6: Pull complete [2023-05-05T05:44:12.375Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T05:44:12.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T05:44:12.634Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:44:12.867Z] prd-ubuntu20.04-docker-8c-8g-13829 does not seem to be running inside a container [2023-05-05T05:44:12.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T05:44:14.100Z] $ docker top 933fe3b083cdbd7cb66300161492a186ed57e9d717d074f35b19334e536a6f21 -eo pid,comm [2023-05-05T05:44:14.164Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-05T05:44:14.164Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T05:44:14.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T05:44:14.294Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T05:44:14.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T05:44:14.407Z] $ docker exec 933fe3b083cdbd7cb66300161492a186ed57e9d717d074f35b19334e536a6f21 ssh-agent [2023-05-05T05:44:14.532Z] SSH_AUTH_SOCK=/tmp/ssh-iHVWNpqToYE2/agent.32 [2023-05-05T05:44:14.532Z] SSH_AGENT_PID=38 [2023-05-05T05:44:14.538Z] Running ssh-add (command line suppressed) [2023-05-05T05:44:14.660Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/private_key_10811828947608688106.key (/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/private_key_10811828947608688106.key) [2023-05-05T05:44:14.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T05:44:15.015Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T05:44:15.037Z] $ docker exec --env ******** --env ******** 933fe3b083cdbd7cb66300161492a186ed57e9d717d074f35b19334e536a6f21 ssh-agent -k [2023-05-05T05:44:15.136Z] unset SSH_AUTH_SOCK; [2023-05-05T05:44:15.137Z] unset SSH_AGENT_PID; [2023-05-05T05:44:15.137Z] echo Agent pid 38 killed; [2023-05-05T05:44:15.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T05:44:15.260Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T05:44:15.260Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T05:44:15.374Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T05:44:15.373Z] $ docker exec 933fe3b083cdbd7cb66300161492a186ed57e9d717d074f35b19334e536a6f21 ssh-agent [2023-05-05T05:44:15.488Z] SSH_AUTH_SOCK=/tmp/ssh-fOVrohSVQ8tJ/agent.70 [2023-05-05T05:44:15.488Z] SSH_AGENT_PID=76 [2023-05-05T05:44:15.494Z] Running ssh-add (command line suppressed) [2023-05-05T05:44:15.591Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/private_key_2616856311885844755.key (/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/private_key_2616856311885844755.key) [2023-05-05T05:44:15.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T05:44:15.948Z] + git semver init [2023-05-05T05:44:16.208Z] 2023-05-05 05:44:16,112 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T05:44:16.208Z] 2023-05-05 05:44:16,113 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver [2023-05-05T05:44:16.208Z] 2023-05-05 05:44:16,114 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-302/.semver [2023-05-05T05:44:16.208Z] 2023-05-05 05:44:16,114 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-302, universal_newlines=False, shell=None, istream=None) [2023-05-05T05:44:17.146Z] 2023-05-05 05:44:16,827 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-302/.git/info/exclude [2023-05-05T05:44:17.146Z] 2023-05-05 05:44:16,827 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver/PR-302 with force:False [2023-05-05T05:44:17.146Z] 2023-05-05 05:44:16,827 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver/PR-302 [2023-05-05T05:44:17.146Z] 2023-05-05 05:44:16,831 [execute] INFO git cat-file --batch-check [2023-05-05T05:44:17.147Z] 2023-05-05 05:44:16,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T05:44:17.147Z] 2023-05-05 05:44:16,838 [execute] INFO git cat-file --batch [2023-05-05T05:44:17.147Z] 2023-05-05 05:44:16,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T05:44:17.147Z] 2023-05-05 05:44:16,843 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-302/.semver/PR-302 [2023-05-05T05:44:17.147Z] 0.0.0 [Pipeline] } [2023-05-05T05:44:17.171Z] $ docker exec --env ******** --env ******** 933fe3b083cdbd7cb66300161492a186ed57e9d717d074f35b19334e536a6f21 ssh-agent -k [2023-05-05T05:44:17.262Z] unset SSH_AUTH_SOCK; [2023-05-05T05:44:17.263Z] unset SSH_AGENT_PID; [2023-05-05T05:44:17.263Z] echo Agent pid 76 killed; [2023-05-05T05:44:17.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T05:44:17.684Z] + git semver [Pipeline] } [2023-05-05T05:44:17.964Z] $ docker stop --time=1 933fe3b083cdbd7cb66300161492a186ed57e9d717d074f35b19334e536a6f21 [2023-05-05T05:44:19.257Z] $ docker rm -f --volumes 933fe3b083cdbd7cb66300161492a186ed57e9d717d074f35b19334e536a6f21 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T05:44:19.663Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T05:44:19.928Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T05:44:19.946Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T05:44:20.492Z] provisioning config files... [2023-05-05T05:44:20.501Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/config5567421888813943581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:44:20.840Z] ---> docker-login.sh [2023-05-05T05:44:20.840Z] nexus3.edgexfoundry.org:10001 [2023-05-05T05:44:20.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:20.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:20.840Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:20.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:20.840Z] [2023-05-05T05:44:20.840Z] Login Succeeded [2023-05-05T05:44:20.840Z] nexus3.edgexfoundry.org:10002 [2023-05-05T05:44:20.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:20.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:20.840Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:20.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:20.840Z] [2023-05-05T05:44:20.840Z] Login Succeeded [2023-05-05T05:44:20.840Z] nexus3.edgexfoundry.org:10003 [2023-05-05T05:44:21.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:21.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:21.101Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:21.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:21.101Z] [2023-05-05T05:44:21.101Z] Login Succeeded [2023-05-05T05:44:21.101Z] nexus3.edgexfoundry.org:10004 [2023-05-05T05:44:21.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:21.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:21.101Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:21.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:21.101Z] [2023-05-05T05:44:21.101Z] Login Succeeded [2023-05-05T05:44:21.101Z] docker.io [2023-05-05T05:44:21.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:44:21.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:44:21.360Z] Configure a credential helper to remove this warning. See [2023-05-05T05:44:21.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:44:21.360Z] [2023-05-05T05:44:21.360Z] Login Succeeded [2023-05-05T05:44:21.360Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T05:44:21.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T05:44:21.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T05:44:21.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T05:44:21.645Z] ========================================================= [2023-05-05T05:44:21.645Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T05:44:21.645Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:44:22.125Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-05T05:44:22.125Z] Sending build context to Docker daemon 5.812MB [2023-05-05T05:44:22.125Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T05:44:22.125Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T05:44:22.125Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T05:44:22.125Z] f56be85fc22e: Pulling fs layer [2023-05-05T05:44:22.125Z] 85791d961cd3: Pulling fs layer [2023-05-05T05:44:22.125Z] d694b5ae8c79: Pulling fs layer [2023-05-05T05:44:22.125Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T05:44:22.125Z] 4d19c01a9841: Pulling fs layer [2023-05-05T05:44:22.125Z] 9325e15d5711: Pulling fs layer [2023-05-05T05:44:22.125Z] 556b6ee489ea: Pulling fs layer [2023-05-05T05:44:22.125Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T05:44:22.125Z] 4d19c01a9841: Waiting [2023-05-05T05:44:22.125Z] 9325e15d5711: Waiting [2023-05-05T05:44:22.125Z] 556b6ee489ea: Waiting [2023-05-05T05:44:22.125Z] c5a4b2cf53e6: Waiting [2023-05-05T05:44:22.125Z] 9f32a84ed3da: Waiting [2023-05-05T05:44:22.125Z] 85791d961cd3: Download complete [2023-05-05T05:44:22.125Z] 9f32a84ed3da: Download complete [2023-05-05T05:44:22.125Z] 4d19c01a9841: Verifying Checksum [2023-05-05T05:44:22.125Z] 4d19c01a9841: Download complete [2023-05-05T05:44:22.125Z] f56be85fc22e: Download complete [2023-05-05T05:44:22.384Z] 9325e15d5711: Verifying Checksum [2023-05-05T05:44:22.384Z] 9325e15d5711: Download complete [2023-05-05T05:44:22.384Z] f56be85fc22e: Pull complete [2023-05-05T05:44:22.384Z] 85791d961cd3: Pull complete [2023-05-05T05:44:22.644Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T05:44:22.644Z] c5a4b2cf53e6: Download complete [2023-05-05T05:44:22.903Z] d694b5ae8c79: Verifying Checksum [2023-05-05T05:44:22.903Z] d694b5ae8c79: Download complete [2023-05-05T05:44:22.903Z] 556b6ee489ea: Verifying Checksum [2023-05-05T05:44:22.903Z] 556b6ee489ea: Download complete [2023-05-05T05:44:26.186Z] d694b5ae8c79: Pull complete [2023-05-05T05:44:26.186Z] 9f32a84ed3da: Pull complete [2023-05-05T05:44:26.186Z] 4d19c01a9841: Pull complete [2023-05-05T05:44:26.186Z] 9325e15d5711: Pull complete [2023-05-05T05:44:28.722Z] 556b6ee489ea: Pull complete [2023-05-05T05:44:29.288Z] c5a4b2cf53e6: Pull complete [2023-05-05T05:44:29.288Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T05:44:29.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T05:44:29.288Z] ---> c4be618373d6 [2023-05-05T05:44:29.288Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T05:44:30.669Z] ---> Running in 07d99898ab0f [2023-05-05T05:44:30.930Z] Removing intermediate container 07d99898ab0f [2023-05-05T05:44:30.930Z] ---> 9c46c60b4732 [2023-05-05T05:44:30.930Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T05:44:30.930Z] ---> Running in 700a4f6db840 [2023-05-05T05:44:30.930Z] Removing intermediate container 700a4f6db840 [2023-05-05T05:44:30.930Z] ---> 95314554b01f [2023-05-05T05:44:30.930Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T05:44:30.930Z] ---> Running in 63d276810676 [2023-05-05T05:44:31.190Z] Removing intermediate container 63d276810676 [2023-05-05T05:44:31.190Z] ---> 9b155e65091f [2023-05-05T05:44:31.190Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T05:44:31.190Z] ---> Running in 7f28a943bf9b [2023-05-05T05:44:31.190Z] Removing intermediate container 7f28a943bf9b [2023-05-05T05:44:31.190Z] ---> e5568466e3f7 [2023-05-05T05:44:31.190Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T05:44:31.190Z] ---> Running in f6c744e736ca [2023-05-05T05:44:31.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T05:44:31.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T05:44:31.710Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T05:44:31.710Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T05:44:31.710Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T05:44:31.969Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T05:44:31.969Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T05:44:31.969Z] OK: 269 MiB in 57 packages [2023-05-05T05:44:32.229Z] Removing intermediate container f6c744e736ca [2023-05-05T05:44:32.229Z] ---> 458873010932 [2023-05-05T05:44:32.229Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-05T05:44:32.229Z] ---> Running in 035ef5d3b1dc [2023-05-05T05:44:32.487Z] Removing intermediate container 035ef5d3b1dc [2023-05-05T05:44:32.487Z] ---> b1e2b259e8ee [2023-05-05T05:44:32.487Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T05:44:32.487Z] ---> 3cda2cb32e2d [2023-05-05T05:44:32.487Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T05:44:32.487Z] ---> Running in 73f0923ab639 [2023-05-05T05:44:35.329Z] Still waiting to schedule task [2023-05-05T05:44:35.330Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T05:44:54.423Z] Removing intermediate container 73f0923ab639 [2023-05-05T05:44:54.423Z] ---> f0e3d2296211 [2023-05-05T05:44:54.423Z] Step 11/12 : COPY . . [2023-05-05T05:44:54.423Z] ---> fee8d7c05980 [2023-05-05T05:44:54.423Z] Step 12/12 : RUN ${MAKE} [2023-05-05T05:44:54.423Z] ---> Running in e53adba1828b [2023-05-05T05:44:54.423Z] noop [2023-05-05T05:44:54.423Z] Removing intermediate container e53adba1828b [2023-05-05T05:44:54.423Z] ---> 49f8fd3b4f20 [2023-05-05T05:44:54.423Z] Successfully built 49f8fd3b4f20 [2023-05-05T05:44:54.423Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:44:54.843Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T05:44:54.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:44:54.989Z] prd-ubuntu20.04-docker-8c-8g-13829 does not seem to be running inside a container [2023-05-05T05:44:55.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T05:44:55.362Z] $ docker top 64ca6334f5de8d6f51e92eed4524b86c7e0f7714631f1c0816436613b88dc146 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T05:44:55.763Z] + go version [2023-05-05T05:44:55.763Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T05:44:55.802Z] $ docker stop --time=1 64ca6334f5de8d6f51e92eed4524b86c7e0f7714631f1c0816436613b88dc146 [2023-05-05T05:44:57.077Z] $ docker rm -f --volumes 64ca6334f5de8d6f51e92eed4524b86c7e0f7714631f1c0816436613b88dc146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:44:57.772Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T05:44:57.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:44:57.920Z] prd-ubuntu20.04-docker-8c-8g-13829 does not seem to be running inside a container [2023-05-05T05:44:57.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T05:44:58.294Z] $ docker top 87a8598072dcb3673875c3fff6162eaf1172e20eded036bead2b9f53b5358f21 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T05:44:58.687Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-302 [Pipeline] fileExists [Pipeline] sh [2023-05-05T05:44:59.045Z] + make test [2023-05-05T05:44:59.045Z] go test ./... -coverprofile=coverage.out [2023-05-05T05:45:04.317Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-05T05:45:14.284Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-05T05:45:14.284Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2023-05-05T05:45:20.842Z] go vet ./... [2023-05-05T05:45:25.026Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T05:45:25.026Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T05:45:25.026Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T05:45:25.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T05:45:25.096Z] $ docker stop --time=1 87a8598072dcb3673875c3fff6162eaf1172e20eded036bead2b9f53b5358f21 [2023-05-05T05:45:26.885Z] $ docker rm -f --volumes 87a8598072dcb3673875c3fff6162eaf1172e20eded036bead2b9f53b5358f21 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T05:45:27.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T05:45:27.477Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T05:45:28.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T05:45:28.388Z] + ls -al . [2023-05-05T05:45:28.388Z] total 172 [2023-05-05T05:45:28.388Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 05:44 . [2023-05-05T05:45:28.388Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:43 .. [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 6 May 5 05:43 .dockerignore [2023-05-05T05:45:28.388Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:44 .git [2023-05-05T05:45:28.388Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:43 .github [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 328 May 5 05:43 .gitignore [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 05:43 .golangci.yml [2023-05-05T05:45:28.388Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 05:44 .semver [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 5 05:43 Attribution.txt [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 5 05:43 CHANGELOG.md [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 5 05:43 Dockerfile [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 05:43 GOVERNANCE.md [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 656 May 5 05:43 Jenkinsfile [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 05:43 LICENSE [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 5 05:43 Makefile [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 05:43 OWNERS.md [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 5 05:43 README.md [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:44 VERSION [2023-05-05T05:45:28.388Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:43 bin [2023-05-05T05:45:28.388Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:43 cmd [2023-05-05T05:45:28.388Z] -rw-r--r-- 1 jenkins jenkins 8837 May 5 05:45 coverage.out [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 5 05:43 go.mod [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 31441 May 5 05:43 go.sum [2023-05-05T05:45:28.388Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:43 internal [2023-05-05T05:45:28.388Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:43 snap [2023-05-05T05:45:28.388Z] -rw-rw-r-- 1 jenkins jenkins 228 May 5 05:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:45:28.765Z] + 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=75a2d2d486d34bd86faa9df11ef63bdac674ee8d --label arch=amd64 --label version=0.0.0 . [2023-05-05T05:45:28.765Z] Sending build context to Docker daemon 5.821MB [2023-05-05T05:45:28.765Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T05:45:28.765Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-05T05:45:28.765Z] ---> 49f8fd3b4f20 [2023-05-05T05:45:28.765Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-05T05:45:28.765Z] ---> Running in 61a8e0a0b02f [2023-05-05T05:45:28.765Z] Removing intermediate container 61a8e0a0b02f [2023-05-05T05:45:28.765Z] ---> 8a2903d8206f [2023-05-05T05:45:28.765Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T05:45:29.025Z] ---> Running in aa9345fc6688 [2023-05-05T05:45:29.025Z] Removing intermediate container aa9345fc6688 [2023-05-05T05:45:29.025Z] ---> ecda50e947ab [2023-05-05T05:45:29.025Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T05:45:29.025Z] ---> Running in dad7786c5093 [2023-05-05T05:45:29.025Z] Removing intermediate container dad7786c5093 [2023-05-05T05:45:29.025Z] ---> 409fa9005f2a [2023-05-05T05:45:29.025Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T05:45:29.025Z] ---> Running in 02e9ee322d76 [2023-05-05T05:45:29.284Z] Removing intermediate container 02e9ee322d76 [2023-05-05T05:45:29.284Z] ---> a8cf40739f6b [2023-05-05T05:45:29.284Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T05:45:29.284Z] ---> Running in a80a7b21641b [2023-05-05T05:45:29.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T05:45:29.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T05:45:29.801Z] OK: 269 MiB in 57 packages [2023-05-05T05:45:30.371Z] Removing intermediate container a80a7b21641b [2023-05-05T05:45:30.371Z] ---> 0ba85b684513 [2023-05-05T05:45:30.371Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-05T05:45:30.371Z] ---> Running in d379e70c7b74 [2023-05-05T05:45:30.371Z] Removing intermediate container d379e70c7b74 [2023-05-05T05:45:30.371Z] ---> 98d9fbdb9a37 [2023-05-05T05:45:30.371Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-05T05:45:30.371Z] ---> ced0326bf4fe [2023-05-05T05:45:30.371Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T05:45:30.371Z] ---> Running in eea9341e07f7 [2023-05-05T05:45:31.309Z] Removing intermediate container eea9341e07f7 [2023-05-05T05:45:31.309Z] ---> 153e0631cba6 [2023-05-05T05:45:31.309Z] Step 11/24 : COPY . . [2023-05-05T05:45:31.567Z] ---> 710c79a8013d [2023-05-05T05:45:31.567Z] Step 12/24 : RUN ${MAKE} [2023-05-05T05:45:31.567Z] ---> Running in 4cfafc7f4b50 [2023-05-05T05:45:31.826Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-05T05:45:49.912Z] Removing intermediate container 4cfafc7f4b50 [2023-05-05T05:45:49.912Z] ---> 321ab99494d0 [2023-05-05T05:45:49.912Z] Step 13/24 : FROM alpine:3.17 [2023-05-05T05:45:49.912Z] 3.17: Pulling from library/alpine [2023-05-05T05:45:49.912Z] f56be85fc22e: Already exists [2023-05-05T05:45:49.912Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T05:45:49.912Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T05:45:49.912Z] ---> 9ed4aefc74f6 [2023-05-05T05:45:49.912Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-05T05:45:49.912Z] ---> Running in bca1851b63ce [2023-05-05T05:45:50.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T05:45:50.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T05:45:50.428Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T05:45:50.428Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T05:45:50.428Z] OK: 7 MiB in 16 packages [2023-05-05T05:45:50.994Z] Removing intermediate container bca1851b63ce [2023-05-05T05:45:50.994Z] ---> 544388c1bcbc [2023-05-05T05:45:50.994Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-05T05:45:51.253Z] ---> 40018b635a98 [2023-05-05T05:45:51.253Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-05T05:45:51.512Z] ---> 84884329b29b [2023-05-05T05:45:51.513Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-05T05:45:51.513Z] ---> 3010cc8407d7 [2023-05-05T05:45:51.513Z] Step 18/24 : EXPOSE 59993 [2023-05-05T05:45:51.513Z] ---> Running in 5d9ad767321f [2023-05-05T05:45:51.771Z] Removing intermediate container 5d9ad767321f [2023-05-05T05:45:51.771Z] ---> 5ecb005d677a [2023-05-05T05:45:51.771Z] Step 19/24 : EXPOSE 161 [2023-05-05T05:45:51.771Z] ---> Running in e7f8c40e4a13 [2023-05-05T05:45:51.771Z] Removing intermediate container e7f8c40e4a13 [2023-05-05T05:45:51.771Z] ---> 73ec3b38ce3c [2023-05-05T05:45:51.771Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-05T05:45:51.771Z] ---> Running in f535351dbc28 [2023-05-05T05:45:51.771Z] Removing intermediate container f535351dbc28 [2023-05-05T05:45:51.771Z] ---> 9bb10842a142 [2023-05-05T05:45:51.771Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-05T05:45:51.771Z] ---> Running in 527966a27987 [2023-05-05T05:45:52.030Z] Removing intermediate container 527966a27987 [2023-05-05T05:45:52.030Z] ---> 44fd62adca22 [2023-05-05T05:45:52.030Z] Step 22/24 : LABEL arch=amd64 [2023-05-05T05:45:52.030Z] ---> Running in 18c49bb000a5 [2023-05-05T05:45:52.030Z] Removing intermediate container 18c49bb000a5 [2023-05-05T05:45:52.030Z] ---> f1ff35adcccc [2023-05-05T05:45:52.030Z] Step 23/24 : LABEL git_sha=75a2d2d486d34bd86faa9df11ef63bdac674ee8d [2023-05-05T05:45:52.030Z] ---> Running in e2355d0af824 [2023-05-05T05:45:52.030Z] Removing intermediate container e2355d0af824 [2023-05-05T05:45:52.030Z] ---> 35ed631ce07c [2023-05-05T05:45:52.030Z] Step 24/24 : LABEL version=0.0.0 [2023-05-05T05:45:52.289Z] ---> Running in f5294adee49e [2023-05-05T05:45:52.289Z] Removing intermediate container f5294adee49e [2023-05-05T05:45:52.289Z] ---> 24fa2ecf47bb [2023-05-05T05:45:52.289Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T05:45:52.289Z] Successfully built 24fa2ecf47bb [2023-05-05T05:45:52.289Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:45:53.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T05:45:53.145Z] [2023-05-05T05:45:53.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:45:53.508Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T05:45:53.508Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T05:45:53.508Z] 5eb5b503b376: Pulling fs layer [2023-05-05T05:45:53.508Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T05:45:53.508Z] ec43610c2a17: Pulling fs layer [2023-05-05T05:45:53.508Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T05:45:53.508Z] 33b1e0a273af: Pulling fs layer [2023-05-05T05:45:53.508Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T05:45:53.508Z] 2f39f015ded8: Pulling fs layer [2023-05-05T05:45:53.508Z] 3a2ae6a8a46f: Waiting [2023-05-05T05:45:53.508Z] 33b1e0a273af: Waiting [2023-05-05T05:45:53.508Z] 5d3b04190fa2: Waiting [2023-05-05T05:45:53.508Z] 2f39f015ded8: Waiting [2023-05-05T05:45:53.508Z] 5c69ac0246d0: Download complete [2023-05-05T05:45:53.508Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-05T05:45:53.508Z] 3a2ae6a8a46f: Download complete [2023-05-05T05:45:53.508Z] 33b1e0a273af: Verifying Checksum [2023-05-05T05:45:53.508Z] 33b1e0a273af: Download complete [2023-05-05T05:45:53.508Z] 5d3b04190fa2: Download complete [2023-05-05T05:45:53.508Z] ec43610c2a17: Verifying Checksum [2023-05-05T05:45:53.508Z] ec43610c2a17: Download complete [2023-05-05T05:45:53.766Z] 5eb5b503b376: Verifying Checksum [2023-05-05T05:45:53.766Z] 5eb5b503b376: Download complete [2023-05-05T05:45:54.333Z] 2f39f015ded8: Download complete [2023-05-05T05:45:54.898Z] 5eb5b503b376: Pull complete [2023-05-05T05:45:55.156Z] 5c69ac0246d0: Pull complete [2023-05-05T05:45:55.414Z] ec43610c2a17: Pull complete [2023-05-05T05:45:55.673Z] 3a2ae6a8a46f: Pull complete [2023-05-05T05:45:55.932Z] 33b1e0a273af: Pull complete [2023-05-05T05:45:55.932Z] 5d3b04190fa2: Pull complete [2023-05-05T05:46:00.118Z] 2f39f015ded8: Pull complete [2023-05-05T05:46:00.118Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T05:46:00.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T05:46:00.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:46:00.340Z] prd-ubuntu20.04-docker-8c-8g-13829 does not seem to be running inside a container [2023-05-05T05:46:00.375Z] $ 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/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T05:46:01.536Z] $ docker top 2cad7d324649898b897a6e601feaca5ac45cbee9113207e1132bdf63eebba472 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:46:01.975Z] ---> job-cost.sh [2023-05-05T05:46:01.975Z] lf-activate-venv: SKIPPING [2023-05-05T05:46:01.975Z] INFO: No Stack... [2023-05-05T05:46:02.234Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T05:46:02.801Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T05:46:03.131Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-302/archives/cost.csv [2023-05-05T05:46:03.131Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T05:46:03.173Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-302-1-stack-cost] [2023-05-05T05:46:03.178Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-302-1-stack-cost] did not exist. Created. [2023-05-05T05:46:03.178Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T05:46:03.572Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T05:46:03.621Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T05:46:03.648Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T05:46:03.727Z] $ docker stop --time=1 2cad7d324649898b897a6e601feaca5ac45cbee9113207e1132bdf63eebba472 [2023-05-05T05:46:04.881Z] $ docker rm -f --volumes 2cad7d324649898b897a6e601feaca5ac45cbee9113207e1132bdf63eebba472 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T05:47:20.251Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13830 in /w/workspace/gexfoundry_device-snmp-go_PR-302 [Pipeline] { [Pipeline] ws [2023-05-05T05:47:20.308Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-05-05T05:47:20.391Z] Selected Git installation does not exist. Using Default [2023-05-05T05:47:20.391Z] The recommended git tool is: NONE [2023-05-05T05:47:26.702Z] using credential edgex-jenkins-ssh [2023-05-05T05:47:26.722Z] Cloning the remote Git repository [2023-05-05T05:47:26.785Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-05T05:47:26.897Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-05-05T05:47:27.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-05T05:47:27.070Z] > git --version # timeout=10 [2023-05-05T05:47:27.095Z] > git --version # 'git version 2.25.1' [2023-05-05T05:47:27.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T05:47:27.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T05:47:28.358Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-05T05:47:28.384Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T05:47:30.201Z] Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [2023-05-05T05:47:30.568Z] Merge succeeded, producing 75a2d2d486d34bd86faa9df11ef63bdac674ee8d [2023-05-05T05:47:30.568Z] Checking out Revision 75a2d2d486d34bd86faa9df11ef63bdac674ee8d (PR-302) [2023-05-05T05:47:29.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-05T05:47:29.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-05T05:47:29.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T05:47:29.599Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-05T05:47:30.231Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T05:47:30.337Z] > git checkout -f 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 [2023-05-05T05:47:30.434Z] > git remote # timeout=10 [2023-05-05T05:47:30.461Z] > git config --get remote.origin.url # timeout=10 [2023-05-05T05:47:30.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T05:47:30.506Z] > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 [2023-05-05T05:47:30.547Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-05T05:47:30.583Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T05:47:30.606Z] > git checkout -f 75a2d2d486d34bd86faa9df11ef63bdac674ee8d # timeout=10 [2023-05-05T05:47:34.252Z] Commit message: "build: Ignore all go-mods except device-sdk-go" [2023-05-05T05:47:34.329Z] > git --version # timeout=10 [2023-05-05T05:47:34.349Z] > git --version # 'git version 2.25.1' [2023-05-05T05:47:34.364Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T05:47:35.628Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T05:47:35.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T05:47:35.628Z] Dload Upload Total Spent Left Speed [2023-05-05T05:47:35.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-05-05T05:47:36.444Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T05:47:36.814Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-05T05:47:36.814Z] + sudo tee /etc/docker/daemon.new [2023-05-05T05:47:36.814Z] { [2023-05-05T05:47:36.814Z] "registry-mirrors": [ [2023-05-05T05:47:36.814Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T05:47:36.814Z] ], [2023-05-05T05:47:36.814Z] "bip": "10.250.0.254/24", [2023-05-05T05:47:36.814Z] "hosts": [ [2023-05-05T05:47:36.814Z] "tcp://0.0.0.0:5555", [2023-05-05T05:47:36.814Z] "unix:///var/run/docker.sock" [2023-05-05T05:47:36.814Z] ], [2023-05-05T05:47:36.814Z] "mtu": 1458, [2023-05-05T05:47:36.814Z] "selinux-enabled": true, [2023-05-05T05:47:36.814Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T05:47:36.814Z] } [Pipeline] sh [2023-05-05T05:47:37.168Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T05:47:37.564Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T05:47:55.922Z] provisioning config files... [2023-05-05T05:47:55.961Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2726136802331127914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:47:56.391Z] ---> docker-login.sh [2023-05-05T05:47:56.391Z] nexus3.edgexfoundry.org:10001 [2023-05-05T05:47:56.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:48:29.264Z] Error response from daemon: Get "https://nexus3.edgexfoundry.org:10001/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers) [Pipeline] } [2023-05-05T05:48:29.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:48:30.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T05:48:30.523Z] [2023-05-05T05:48:30.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:48:30.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T05:48:41.047Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T05:48:41.047Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T05:48:41.047Z] 04944245beec: Pulling fs layer [2023-05-05T05:48:41.047Z] 699f458cf7ca: Pulling fs layer [2023-05-05T05:48:41.047Z] 765212b225bb: Pulling fs layer [2023-05-05T05:48:41.047Z] f23df028b6ca: Pulling fs layer [2023-05-05T05:48:41.047Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T05:48:41.047Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T05:48:41.047Z] f23df028b6ca: Waiting [2023-05-05T05:48:41.047Z] d65c8cfc05b1: Waiting [2023-05-05T05:48:41.047Z] 2437ff75d9bd: Waiting [2023-05-05T05:48:41.047Z] 765212b225bb: Waiting [2023-05-05T05:48:56.076Z] 04944245beec: Verifying Checksum [2023-05-05T05:48:56.076Z] 04944245beec: Download complete [2023-05-05T05:48:56.076Z] 765212b225bb: Verifying Checksum [2023-05-05T05:48:56.076Z] 765212b225bb: Download complete [2023-05-05T05:48:56.076Z] f23df028b6ca: Download complete [2023-05-05T05:48:56.076Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T05:48:56.076Z] d65c8cfc05b1: Download complete [2023-05-05T05:48:56.076Z] 699f458cf7ca: Verifying Checksum [2023-05-05T05:48:56.076Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T05:48:56.076Z] 8998bd30e6a1: Download complete [2023-05-05T05:48:56.344Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T05:48:56.344Z] 2437ff75d9bd: Download complete [2023-05-05T05:49:00.612Z] 8998bd30e6a1: Pull complete [2023-05-05T05:49:00.612Z] 04944245beec: Pull complete [2023-05-05T05:49:02.032Z] 699f458cf7ca: Pull complete [2023-05-05T05:49:02.033Z] 765212b225bb: Pull complete [2023-05-05T05:49:02.999Z] f23df028b6ca: Pull complete [2023-05-05T05:49:03.269Z] d65c8cfc05b1: Pull complete [2023-05-05T05:49:18.297Z] 2437ff75d9bd: Pull complete [2023-05-05T05:49:18.297Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T05:49:18.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T05:49:18.297Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:49:18.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-13830 does not seem to be running inside a container [2023-05-05T05:49:18.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-05T05:49:21.613Z] $ docker top 6166f9e7b76fe34a848b877aa789a85fa0731d9d05e657a2d116a2b1c4542912 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:49:22.545Z] ---> job-cost.sh [2023-05-05T05:49:22.545Z] lf-activate-venv: SKIPPING [2023-05-05T05:49:22.545Z] INFO: No Stack... [2023-05-05T05:49:23.130Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T05:49:23.716Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T05:49:24.394Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-05-05T05:49:24.394Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T05:49:24.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-302-1-stack-cost] [2023-05-05T05:49:24.494Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-302-1-stack-cost] did not exist. Created. [2023-05-05T05:49:24.495Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T05:49:25.394Z] /w/workspace/device-snmp-go/1@tmp/durable-b4bfc7b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T05:49:26.074Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T05:49:26.114Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T05:49:26.570Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T05:49:26.585Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T05:49:26.671Z] $ docker stop --time=1 6166f9e7b76fe34a848b877aa789a85fa0731d9d05e657a2d116a2b1c4542912 [2023-05-05T05:49:28.201Z] $ docker rm -f --volumes 6166f9e7b76fe34a848b877aa789a85fa0731d9d05e657a2d116a2b1c4542912 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T05:49:28.900Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-05T05:49:30.898Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-302/archives ] [2023-05-05T05:49:30.898Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-302/archives [2023-05-05T05:49:30.898Z] total 16 [2023-05-05T05:49:30.898Z] drwxr-xr-x 3 root root 4096 May 5 05:46 . [2023-05-05T05:49:30.898Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:46 .. [2023-05-05T05:49:30.898Z] drwxr-xr-x 2 root root 4096 May 5 05:46 cost [2023-05-05T05:49:30.898Z] -rw-r--r-- 1 root root 86 May 5 05:46 cost.csv [2023-05-05T05:49:30.898Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-302/archives [2023-05-05T05:49:30.898Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-302/archives [2023-05-05T05:49:30.898Z] total 16 [2023-05-05T05:49:30.898Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 05:46 . [2023-05-05T05:49:30.898Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:46 .. [2023-05-05T05:49:30.898Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 05:46 cost [2023-05-05T05:49:30.898Z] -rw-r--r-- 1 jenkins jenkins 86 May 5 05:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:49:31.229Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:49:32.123Z] ---> package-listing.sh [2023-05-05T05:49:32.123Z] ++ facter osfamily [2023-05-05T05:49:32.123Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T05:49:32.383Z] + OS_FAMILY=debian [2023-05-05T05:49:32.383Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-302 [2023-05-05T05:49:32.383Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T05:49:32.383Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T05:49:32.383Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T05:49:32.383Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T05:49:32.383Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-302 ']' [2023-05-05T05:49:32.383Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T05:49:32.383Z] + case "${OS_FAMILY}" in [2023-05-05T05:49:32.383Z] + dpkg -l [2023-05-05T05:49:32.383Z] + grep '^ii' [2023-05-05T05:49:32.383Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T05:49:32.383Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T05:49:32.383Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T05:49:32.383Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-302 ']' [2023-05-05T05:49:32.383Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-302/archives/ [2023-05-05T05:49:32.384Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-302/archives/ [Pipeline] echo [2023-05-05T05:49:32.420Z] 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/gexfoundry_device-snmp-go_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-05T05:49:32.714Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:49:33.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T05:49:33.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:49:33.504Z] prd-ubuntu20.04-docker-8c-8g-13829 does not seem to be running inside a container [2023-05-05T05:49:33.538Z] $ 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/gexfoundry_device-snmp-go_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-302 -v /w/workspace/gexfoundry_device-snmp-go_PR-302:/w/workspace/gexfoundry_device-snmp-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T05:49:33.742Z] $ docker top 0c64174cf9518a3530705022252d113c587b143b264625d45ddd8301424e0ec1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T05:49:34.136Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T05:49:34.447Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T05:49:34.769Z] + ls /var/log/sa-host [2023-05-05T05:49:34.769Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T05:49:34.922Z] provisioning config files... [2023-05-05T05:49:34.930Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-302@tmp/config6358316690743911123tmp [Pipeline] { [Pipeline] echo [2023-05-05T05:49:34.984Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:49:35.307Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T05:49:35.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:49:35.739Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T05:49:35.782Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:49:36.112Z] ---> sudo-logs.sh [2023-05-05T05:49:36.112Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T05:49:36.197Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:49:36.513Z] ---> job-cost.sh [2023-05-05T05:49:36.513Z] lf-activate-venv: SKIPPING [2023-05-05T05:49:36.513Z] DEBUG: total: 0.2199999988079071 [2023-05-05T05:49:36.513Z] INFO: Retrieving Stack Cost... [2023-05-05T05:49:36.773Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T05:49:37.342Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T05:49:37.381Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:49:37.689Z] ---> logs-deploy.sh [2023-05-05T05:49:37.689Z] lf-activate-venv: SKIPPING [2023-05-05T05:49:37.689Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-302/1 [2023-05-05T05:49:37.689Z] INFO: archiving workspace using pattern(s): [2023-05-05T05:49:38.629Z] Archives upload complete. [2023-05-05T05:49:38.629Z] INFO: archiving logs to Nexus