Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e+d829a2c887c40068ff6155ebb33a7321d05cdfd6 (5940237d136401f5a358ffa6e20c2b758e353903) 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-ssh4211047034958176900.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11360208509013650786.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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/PR-251/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/PR-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17881853396576803296.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh2325447743954221182.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/PR-251/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/PR-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16882211835444152355.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-497 in /w/workspace/gexfoundry_device-snmp-go_PR-251 [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-251 # 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 > 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/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d829a2c887c40068ff6155ebb33a7321d05cdfd6 into PR head commit 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e Merge succeeded, producing fcbfb434b8c66164bcba4590f30b5611a962fb87 Checking out Revision fcbfb434b8c66164bcba4590f30b5611a962fb87 (PR-251) > git config core.sparsecheckout # timeout=10 > git checkout -f 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d829a2c887c40068ff6155ebb33a7321d05cdfd6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fcbfb434b8c66164bcba4590f30b5611a962fb87 # timeout=10 Commit message: "Merge commit 'd829a2c887c40068ff6155ebb33a7321d05cdfd6' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 8c2519db2237788d20e0a13f322e7c487dc0e3dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T15:28:59.885Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T15:28:59.933Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T15:28:59.945Z] ========================================================= [2023-03-15T15:28:59.945Z] EdgeX Global Pipelines Version Info [2023-03-15T15:28:59.945Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:29:00.711Z] ------------------- [2023-03-15T15:29:00.711Z] stable info: [2023-03-15T15:29:00.711Z] ------------------- [2023-03-15T15:29:00.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T15:29:00.711Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T15:29:00.711Z] Message: update stable to v1.0.245 [2023-03-15T15:29:01.280Z] ------------------- [2023-03-15T15:29:01.280Z] experimental info: [2023-03-15T15:29:01.280Z] ------------------- [2023-03-15T15:29:01.280Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T15:29:01.280Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T15:29:01.280Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T15:29:01.432Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-15T15:29:01.444Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-15T15:29:01.458Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T15:29:01.469Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T15:29:01.481Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T15:29:01.492Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T15:29:01.506Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T15:29:01.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T15:29:01.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T15:29:01.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T15:29:01.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T15:29:01.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-15T15:29:01.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T15:29:01.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T15:29:01.600Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T15:29:01.611Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T15:29:01.623Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T15:29:01.635Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T15:29:01.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T15:29:01.659Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T15:29:01.671Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T15:29:01.683Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T15:29:01.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T15:29:01.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T15:29:01.717Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T15:29:01.727Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T15:29:01.737Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T15:29:01.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo [2023-03-15T15:29:01.757Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo [2023-03-15T15:29:01.766Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo [2023-03-15T15:29:01.775Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcbfb434b8c66164bcba4590f30b5611a962fb87 [Pipeline] echo [2023-03-15T15:29:01.784Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcbfb43 [Pipeline] echo [2023-03-15T15:29:01.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T15:29:01.827Z] provisioning config files... [2023-03-15T15:29:01.843Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config10155724555400633533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:29:02.140Z] ---> docker-login.sh [2023-03-15T15:29:02.140Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:29:02.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:02.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:02.402Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:02.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:02.402Z] [2023-03-15T15:29:02.402Z] Login Succeeded [2023-03-15T15:29:02.402Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:29:02.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:02.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:02.662Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:02.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:02.662Z] [2023-03-15T15:29:02.662Z] Login Succeeded [2023-03-15T15:29:02.662Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:29:02.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:02.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:02.662Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:02.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:02.662Z] [2023-03-15T15:29:02.662Z] Login Succeeded [2023-03-15T15:29:02.662Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:29:02.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:02.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:02.922Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:02.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:02.922Z] [2023-03-15T15:29:02.922Z] Login Succeeded [2023-03-15T15:29:02.922Z] docker.io [2023-03-15T15:29:02.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:03.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:03.181Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:03.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:03.181Z] [2023-03-15T15:29:03.181Z] Login Succeeded [2023-03-15T15:29:03.181Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:29:03.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T15:29:03.552Z] + git rev-list -1 --merges fcbfb434b8c66164bcba4590f30b5611a962fb87~1..fcbfb434b8c66164bcba4590f30b5611a962fb87 [Pipeline] echo [2023-03-15T15:29:03.603Z] -----------> git rev-list -1 --merges fcbfb434b8c66164bcba4590f30b5611a962fb87~1..fcbfb434b8c66164bcba4590f30b5611a962fb87 fcbfb434b8c66164bcba4590f30b5611a962fb87 [2023-03-15T15:29:03.603Z] fcbfb434b8c66164bcba4590f30b5611a962fb87 [false] [Pipeline] sh [2023-03-15T15:29:03.890Z] + git log --format=format:%s -1 fcbfb434b8c66164bcba4590f30b5611a962fb87 [Pipeline] echo [2023-03-15T15:29:03.911Z] ========================================================= [2023-03-15T15:29:03.911Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T15:29:03.911Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T15:29:04.235Z] + git log --format=format:%s -1 fcbfb434b8c66164bcba4590f30b5611a962fb87 [Pipeline] echo [2023-03-15T15:29:04.244Z] [semverPrep] GIT_COMMIT: fcbfb434b8c66164bcba4590f30b5611a962fb87, Commit Message: Merge commit 'd829a2c887c40068ff6155ebb33a7321d05cdfd6' into HEAD [Pipeline] echo [2023-03-15T15:29:04.254Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T15:29:04.588Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T15:29:04.588Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T15:29:04.588Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T15:29:04.588Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T15:29:04.588Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T15:29:04.588Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T15:29:04.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:29:04.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:29:04.941Z] [2023-03-15T15:29:04.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:29:05.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:29:05.257Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T15:29:05.257Z] b85a868b505f: Pulling fs layer [2023-03-15T15:29:05.257Z] e2be974225ed: Pulling fs layer [2023-03-15T15:29:05.257Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T15:29:05.257Z] 988bab9f4d93: Pulling fs layer [2023-03-15T15:29:05.257Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T15:29:05.257Z] eaf3925da568: Pulling fs layer [2023-03-15T15:29:05.257Z] bab4dde63d76: Pulling fs layer [2023-03-15T15:29:05.257Z] bde34c3a00c8: Pulling fs layer [2023-03-15T15:29:05.257Z] b352a97aabf1: Pulling fs layer [2023-03-15T15:29:05.257Z] 4872d77fe225: Pulling fs layer [2023-03-15T15:29:05.257Z] 5851b861e8e6: Pulling fs layer [2023-03-15T15:29:05.257Z] bab4dde63d76: Waiting [2023-03-15T15:29:05.257Z] bde34c3a00c8: Waiting [2023-03-15T15:29:05.257Z] b352a97aabf1: Waiting [2023-03-15T15:29:05.257Z] 4872d77fe225: Waiting [2023-03-15T15:29:05.257Z] 988bab9f4d93: Waiting [2023-03-15T15:29:05.257Z] 1469e6f7b9e6: Waiting [2023-03-15T15:29:05.257Z] eaf3925da568: Waiting [2023-03-15T15:29:05.257Z] 5851b861e8e6: Waiting [2023-03-15T15:29:05.257Z] e2be974225ed: Verifying Checksum [2023-03-15T15:29:05.257Z] e2be974225ed: Download complete [2023-03-15T15:29:05.257Z] 988bab9f4d93: Verifying Checksum [2023-03-15T15:29:05.257Z] 988bab9f4d93: Download complete [2023-03-15T15:29:05.521Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T15:29:05.521Z] 1469e6f7b9e6: Download complete [2023-03-15T15:29:05.521Z] eaf3925da568: Verifying Checksum [2023-03-15T15:29:05.521Z] eaf3925da568: Download complete [2023-03-15T15:29:05.521Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T15:29:05.521Z] 339a4e72a1f5: Download complete [2023-03-15T15:29:05.521Z] bde34c3a00c8: Download complete [2023-03-15T15:29:05.521Z] b352a97aabf1: Download complete [2023-03-15T15:29:05.521Z] 4872d77fe225: Verifying Checksum [2023-03-15T15:29:05.521Z] 4872d77fe225: Download complete [2023-03-15T15:29:05.521Z] 5851b861e8e6: Verifying Checksum [2023-03-15T15:29:05.521Z] 5851b861e8e6: Download complete [2023-03-15T15:29:05.521Z] b85a868b505f: Verifying Checksum [2023-03-15T15:29:05.521Z] b85a868b505f: Download complete [2023-03-15T15:29:06.096Z] bab4dde63d76: Download complete [2023-03-15T15:29:07.034Z] b85a868b505f: Pull complete [2023-03-15T15:29:07.293Z] e2be974225ed: Pull complete [2023-03-15T15:29:07.859Z] 339a4e72a1f5: Pull complete [2023-03-15T15:29:07.859Z] 988bab9f4d93: Pull complete [2023-03-15T15:29:08.794Z] 1469e6f7b9e6: Pull complete [2023-03-15T15:29:09.053Z] eaf3925da568: Pull complete [2023-03-15T15:29:11.583Z] bab4dde63d76: Pull complete [2023-03-15T15:29:11.583Z] bde34c3a00c8: Pull complete [2023-03-15T15:29:11.842Z] b352a97aabf1: Pull complete [2023-03-15T15:29:11.842Z] 4872d77fe225: Pull complete [2023-03-15T15:29:12.102Z] 5851b861e8e6: Pull complete [2023-03-15T15:29:12.102Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T15:29:12.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:29:12.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:29:12.199Z] prd-ubuntu20.04-docker-8c-8g-497 does not seem to be running inside a container [2023-03-15T15:29:12.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T15:29:15.724Z] $ docker top 8fc1997a559ab163969eff2a04064c8c36c07ae28a5daab3dca42f90a467cc1d -eo pid,comm [2023-03-15T15:29:15.777Z] 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-03-15T15:29:15.777Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T15:29:15.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T15:29:15.815Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T15:29:15.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T15:29:15.941Z] $ docker exec 8fc1997a559ab163969eff2a04064c8c36c07ae28a5daab3dca42f90a467cc1d ssh-agent [2023-03-15T15:29:16.042Z] SSH_AUTH_SOCK=/tmp/ssh-axJOVBet3ouV/agent.32 [2023-03-15T15:29:16.042Z] SSH_AGENT_PID=38 [2023-03-15T15:29:16.048Z] Running ssh-add (command line suppressed) [2023-03-15T15:29:16.155Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_14803927538122336333.key (/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_14803927538122336333.key) [2023-03-15T15:29:16.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T15:29:16.456Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T15:29:16.476Z] $ docker exec --env ******** --env ******** 8fc1997a559ab163969eff2a04064c8c36c07ae28a5daab3dca42f90a467cc1d ssh-agent -k [2023-03-15T15:29:16.583Z] unset SSH_AUTH_SOCK; [2023-03-15T15:29:16.584Z] unset SSH_AGENT_PID; [2023-03-15T15:29:16.584Z] echo Agent pid 38 killed; [2023-03-15T15:29:16.590Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T15:29:16.617Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T15:29:16.617Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T15:29:16.747Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T15:29:16.753Z] $ docker exec 8fc1997a559ab163969eff2a04064c8c36c07ae28a5daab3dca42f90a467cc1d ssh-agent [2023-03-15T15:29:16.865Z] SSH_AUTH_SOCK=/tmp/ssh-ZaXmXFTaf24b/agent.70 [2023-03-15T15:29:16.865Z] SSH_AGENT_PID=76 [2023-03-15T15:29:16.870Z] Running ssh-add (command line suppressed) [2023-03-15T15:29:16.993Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_13233126956494399498.key (/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/private_key_13233126956494399498.key) [2023-03-15T15:29:17.016Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T15:29:17.373Z] + git semver init [2023-03-15T15:29:17.637Z] 2023-03-15 15:29:17,516 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T15:29:17.637Z] 2023-03-15 15:29:17,517 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver [2023-03-15T15:29:17.637Z] 2023-03-15 15:29:17,518 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-251/.semver [2023-03-15T15:29:17.637Z] 2023-03-15 15:29:17,518 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251, universal_newlines=False, shell=None, istream=None) [2023-03-15T15:29:18.607Z] 2023-03-15 15:29:18,307 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-251/.git/info/exclude [2023-03-15T15:29:18.607Z] 2023-03-15 15:29:18,308 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 with force:False [2023-03-15T15:29:18.607Z] 2023-03-15 15:29:18,309 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 [2023-03-15T15:29:18.607Z] 2023-03-15 15:29:18,313 [execute] INFO git cat-file --batch-check [2023-03-15T15:29:18.607Z] 2023-03-15 15:29:18,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T15:29:18.607Z] 2023-03-15 15:29:18,319 [execute] INFO git cat-file --batch [2023-03-15T15:29:18.607Z] 2023-03-15 15:29:18,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-251/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T15:29:18.607Z] 2023-03-15 15:29:18,323 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-251/.semver/PR-251 [2023-03-15T15:29:18.608Z] 0.0.0 [Pipeline] } [2023-03-15T15:29:18.622Z] $ docker exec --env ******** --env ******** 8fc1997a559ab163969eff2a04064c8c36c07ae28a5daab3dca42f90a467cc1d ssh-agent -k [2023-03-15T15:29:18.737Z] unset SSH_AUTH_SOCK; [2023-03-15T15:29:18.738Z] unset SSH_AGENT_PID; [2023-03-15T15:29:18.738Z] echo Agent pid 76 killed; [2023-03-15T15:29:18.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T15:29:19.061Z] + git semver [Pipeline] } [2023-03-15T15:29:19.349Z] $ docker stop --time=1 8fc1997a559ab163969eff2a04064c8c36c07ae28a5daab3dca42f90a467cc1d [2023-03-15T15:29:20.678Z] $ docker rm -f --volumes 8fc1997a559ab163969eff2a04064c8c36c07ae28a5daab3dca42f90a467cc1d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T15:29:21.035Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T15:29:21.243Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T15:29:21.246Z] [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-03-15T15:29:21.373Z] provisioning config files... [2023-03-15T15:29:21.384Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config2597898102309211112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:29:21.682Z] ---> docker-login.sh [2023-03-15T15:29:21.682Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:29:21.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:21.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:21.682Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:21.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:21.682Z] [2023-03-15T15:29:21.682Z] Login Succeeded [2023-03-15T15:29:21.682Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:29:21.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:21.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:21.682Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:21.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:21.682Z] [2023-03-15T15:29:21.682Z] Login Succeeded [2023-03-15T15:29:21.682Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:29:21.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:21.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:21.941Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:21.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:21.941Z] [2023-03-15T15:29:21.941Z] Login Succeeded [2023-03-15T15:29:21.941Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:29:21.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:21.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:21.941Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:21.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:21.941Z] [2023-03-15T15:29:21.941Z] Login Succeeded [2023-03-15T15:29:21.941Z] docker.io [2023-03-15T15:29:22.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:29:22.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:29:22.200Z] Configure a credential helper to remove this warning. See [2023-03-15T15:29:22.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:29:22.200Z] [2023-03-15T15:29:22.200Z] Login Succeeded [2023-03-15T15:29:22.200Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:29:22.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T15:29:22.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:29:22.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:29:22.283Z] ========================================================= [2023-03-15T15:29:22.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T15:29:22.283Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:29:22.602Z] + 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-03-15T15:29:22.602Z] Sending build context to Docker daemon 5.743MB [2023-03-15T15:29:22.602Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:29:22.602Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T15:29:22.602Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T15:29:22.602Z] 63b65145d645: Pulling fs layer [2023-03-15T15:29:22.602Z] a2d21d5440eb: Pulling fs layer [2023-03-15T15:29:22.602Z] 935e6c44a52c: Pulling fs layer [2023-03-15T15:29:22.602Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T15:29:22.602Z] 30dea6a524f1: Pulling fs layer [2023-03-15T15:29:22.602Z] a2aff8979fd8: Pulling fs layer [2023-03-15T15:29:22.602Z] 6808be2612f2: Pulling fs layer [2023-03-15T15:29:22.602Z] f25807f1079a: Pulling fs layer [2023-03-15T15:29:22.602Z] 94cc34f8dd06: Waiting [2023-03-15T15:29:22.602Z] 30dea6a524f1: Waiting [2023-03-15T15:29:22.603Z] f25807f1079a: Waiting [2023-03-15T15:29:22.603Z] a2aff8979fd8: Waiting [2023-03-15T15:29:22.603Z] 6808be2612f2: Waiting [2023-03-15T15:29:22.864Z] a2d21d5440eb: Verifying Checksum [2023-03-15T15:29:22.864Z] a2d21d5440eb: Download complete [2023-03-15T15:29:22.864Z] 94cc34f8dd06: Download complete [2023-03-15T15:29:22.864Z] 30dea6a524f1: Verifying Checksum [2023-03-15T15:29:22.864Z] 30dea6a524f1: Download complete [2023-03-15T15:29:22.864Z] 63b65145d645: Verifying Checksum [2023-03-15T15:29:22.864Z] 63b65145d645: Download complete [2023-03-15T15:29:22.864Z] a2aff8979fd8: Verifying Checksum [2023-03-15T15:29:22.864Z] a2aff8979fd8: Download complete [2023-03-15T15:29:22.864Z] 63b65145d645: Pull complete [2023-03-15T15:29:23.126Z] a2d21d5440eb: Pull complete [2023-03-15T15:29:23.386Z] f25807f1079a: Verifying Checksum [2023-03-15T15:29:23.645Z] 935e6c44a52c: Download complete [2023-03-15T15:29:23.645Z] 6808be2612f2: Verifying Checksum [2023-03-15T15:29:23.645Z] 6808be2612f2: Download complete [2023-03-15T15:29:26.932Z] 935e6c44a52c: Pull complete [2023-03-15T15:29:26.932Z] 94cc34f8dd06: Pull complete [2023-03-15T15:29:27.190Z] 30dea6a524f1: Pull complete [2023-03-15T15:29:27.190Z] a2aff8979fd8: Pull complete [2023-03-15T15:29:30.478Z] 6808be2612f2: Pull complete [2023-03-15T15:29:31.047Z] f25807f1079a: Pull complete [2023-03-15T15:29:31.047Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T15:29:31.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T15:29:31.047Z] ---> 3b553350e43f [2023-03-15T15:29:31.047Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:29:36.333Z] Still waiting to schedule task [2023-03-15T15:29:36.333Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-15T15:29:41.053Z] ---> Running in 87dd5e5d759e [2023-03-15T15:29:41.053Z] Removing intermediate container 87dd5e5d759e [2023-03-15T15:29:41.053Z] ---> 6bf03f537f85 [2023-03-15T15:29:41.053Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:29:41.053Z] ---> Running in 245377801a15 [2023-03-15T15:29:41.053Z] Removing intermediate container 245377801a15 [2023-03-15T15:29:41.053Z] ---> 865d5e599d22 [2023-03-15T15:29:41.053Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T15:29:41.053Z] ---> Running in eca99cf7dec0 [2023-03-15T15:29:41.053Z] Removing intermediate container eca99cf7dec0 [2023-03-15T15:29:41.053Z] ---> 25a3af6c0653 [2023-03-15T15:29:41.053Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T15:29:41.053Z] ---> Running in 58382fa33800 [2023-03-15T15:29:41.053Z] Removing intermediate container 58382fa33800 [2023-03-15T15:29:41.053Z] ---> ea1c4c2db07a [2023-03-15T15:29:41.053Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T15:29:41.053Z] ---> Running in 21ab669f90dd [2023-03-15T15:29:41.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:29:41.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:29:41.313Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T15:29:41.313Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T15:29:41.313Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T15:29:41.594Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T15:29:41.594Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:29:41.594Z] OK: 269 MiB in 57 packages [2023-03-15T15:29:42.162Z] Removing intermediate container 21ab669f90dd [2023-03-15T15:29:42.162Z] ---> 8969ba0ab3a4 [2023-03-15T15:29:42.162Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-15T15:29:42.162Z] ---> Running in 1da5484bcf73 [2023-03-15T15:29:42.433Z] Removing intermediate container 1da5484bcf73 [2023-03-15T15:29:42.433Z] ---> 6d256319ad1b [2023-03-15T15:29:42.433Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T15:29:42.692Z] ---> cb5168f949ef [2023-03-15T15:29:42.692Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:29:42.692Z] ---> Running in 492fb0d2bed8 [2023-03-15T15:30:29.406Z] Removing intermediate container 492fb0d2bed8 [2023-03-15T15:30:29.406Z] ---> 91304e836c5a [2023-03-15T15:30:29.406Z] Step 11/12 : COPY . . [2023-03-15T15:30:29.406Z] ---> 1e9a64783efa [2023-03-15T15:30:29.406Z] Step 12/12 : RUN ${MAKE} [2023-03-15T15:30:29.406Z] ---> Running in 9fda01215ec6 [2023-03-15T15:30:29.406Z] noop [2023-03-15T15:30:29.406Z] Removing intermediate container 9fda01215ec6 [2023-03-15T15:30:29.406Z] ---> de6c5818731a [2023-03-15T15:30:29.406Z] Successfully built de6c5818731a [2023-03-15T15:30:29.406Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:30:29.722Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T15:30:29.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:30:29.802Z] prd-ubuntu20.04-docker-8c-8g-497 does not seem to be running inside a container [2023-03-15T15:30:29.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T15:30:30.190Z] $ docker top 158a61ff5b976b128d8a3650297a30a82df63a3533276ba2cf14d4a698f30f78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:30:30.519Z] + go version [2023-03-15T15:30:30.519Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T15:30:30.534Z] $ docker stop --time=1 158a61ff5b976b128d8a3650297a30a82df63a3533276ba2cf14d4a698f30f78 [2023-03-15T15:30:31.845Z] $ docker rm -f --volumes 158a61ff5b976b128d8a3650297a30a82df63a3533276ba2cf14d4a698f30f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:30:32.223Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T15:30:32.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:30:32.294Z] prd-ubuntu20.04-docker-8c-8g-497 does not seem to be running inside a container [2023-03-15T15:30:32.330Z] $ 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-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T15:30:32.678Z] $ docker top 7a165bbcda016004d658fe1b924ed6ae87c8a513ea5f32193267ac09513829cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:30:33.020Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-251 [Pipeline] fileExists [Pipeline] sh [2023-03-15T15:30:33.314Z] + make test [2023-03-15T15:30:33.315Z] go test ./... -coverprofile=coverage.out [2023-03-15T15:30:38.578Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-15T15:30:48.543Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-15T15:30:48.543Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements [2023-03-15T15:30:55.097Z] go vet ./... [2023-03-15T15:30:58.375Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T15:30:58.375Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T15:30:58.375Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T15:30:58.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T15:30:58.402Z] $ docker stop --time=1 7a165bbcda016004d658fe1b924ed6ae87c8a513ea5f32193267ac09513829cc [2023-03-15T15:31:02.532Z] $ docker rm -f --volumes 7a165bbcda016004d658fe1b924ed6ae87c8a513ea5f32193267ac09513829cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T15:31:02.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T15:31:03.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T15:31:03.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T15:31:03.794Z] + ls -al . [2023-03-15T15:31:03.794Z] total 172 [2023-03-15T15:31:03.794Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 15:30 . [2023-03-15T15:31:03.794Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:28 .. [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 15 15:28 .dockerignore [2023-03-15T15:31:03.794Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:29 .git [2023-03-15T15:31:03.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:28 .github [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 15 15:28 .gitignore [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:28 .golangci.yml [2023-03-15T15:31:03.794Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:29 .semver [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 15 15:28 Attribution.txt [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 15 15:28 CHANGELOG.md [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 15 15:28 Dockerfile [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:28 GOVERNANCE.md [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 15 15:28 Jenkinsfile [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:28 LICENSE [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 15 15:28 Makefile [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 15:28 OWNERS.md [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 15 15:28 README.md [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:29 VERSION [2023-03-15T15:31:03.794Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:28 bin [2023-03-15T15:31:03.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:28 cmd [2023-03-15T15:31:03.794Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 15 15:30 coverage.out [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 15 15:28 go.mod [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 15 15:28 go.sum [2023-03-15T15:31:03.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:28 internal [2023-03-15T15:31:03.794Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:28 snap [2023-03-15T15:31:03.794Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 15 15:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:31:04.089Z] + 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=fcbfb434b8c66164bcba4590f30b5611a962fb87 --label arch=amd64 --label version=0.0.0 . [2023-03-15T15:31:04.090Z] Sending build context to Docker daemon 5.751MB [2023-03-15T15:31:04.090Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:31:04.090Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T15:31:04.090Z] ---> de6c5818731a [2023-03-15T15:31:04.090Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:31:04.348Z] ---> Running in 51843c5839d4 [2023-03-15T15:31:04.348Z] Removing intermediate container 51843c5839d4 [2023-03-15T15:31:04.348Z] ---> 21753dbe1ae9 [2023-03-15T15:31:04.348Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:31:04.348Z] ---> Running in 306aa4a1ba6e [2023-03-15T15:31:04.348Z] Removing intermediate container 306aa4a1ba6e [2023-03-15T15:31:04.348Z] ---> 2a68435da0fc [2023-03-15T15:31:04.348Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T15:31:04.348Z] ---> Running in 5fb005d4a765 [2023-03-15T15:31:04.607Z] Removing intermediate container 5fb005d4a765 [2023-03-15T15:31:04.607Z] ---> 8bc0f6165fb6 [2023-03-15T15:31:04.607Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T15:31:04.607Z] ---> Running in ece785eb2d94 [2023-03-15T15:31:04.607Z] Removing intermediate container ece785eb2d94 [2023-03-15T15:31:04.607Z] ---> a1404e93a49e [2023-03-15T15:31:04.607Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T15:31:04.607Z] ---> Running in d324c49572a6 [2023-03-15T15:31:05.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:31:05.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:31:05.434Z] OK: 269 MiB in 57 packages [2023-03-15T15:31:05.694Z] Removing intermediate container d324c49572a6 [2023-03-15T15:31:05.694Z] ---> 1e282f4867b4 [2023-03-15T15:31:05.694Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-15T15:31:05.952Z] ---> Running in 136626467dbe [2023-03-15T15:31:05.952Z] Removing intermediate container 136626467dbe [2023-03-15T15:31:05.952Z] ---> 8f30b8f67a0c [2023-03-15T15:31:05.953Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T15:31:06.224Z] ---> 5658a9cbd153 [2023-03-15T15:31:06.224Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:31:06.483Z] ---> Running in e53aaae64df5 [2023-03-15T15:31:07.419Z] Removing intermediate container e53aaae64df5 [2023-03-15T15:31:07.419Z] ---> 321521277994 [2023-03-15T15:31:07.419Z] Step 11/24 : COPY . . [2023-03-15T15:31:07.677Z] ---> 08080652816d [2023-03-15T15:31:07.677Z] Step 12/24 : RUN ${MAKE} [2023-03-15T15:31:07.935Z] ---> Running in 2d9c8567f19d [2023-03-15T15:31:08.193Z] 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-03-15T15:31:30.109Z] Removing intermediate container 2d9c8567f19d [2023-03-15T15:31:30.109Z] ---> 4d5fcab890f6 [2023-03-15T15:31:30.109Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T15:31:30.109Z] 3.17: Pulling from library/alpine [2023-03-15T15:31:30.109Z] 63b65145d645: Already exists [2023-03-15T15:31:30.109Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T15:31:30.109Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T15:31:30.109Z] ---> b2aa39c304c2 [2023-03-15T15:31:30.109Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T15:31:30.109Z] ---> Running in 57f00eb8602c [2023-03-15T15:31:30.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:31:30.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:31:30.109Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T15:31:30.109Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:31:30.109Z] OK: 7 MiB in 16 packages [2023-03-15T15:31:30.109Z] Removing intermediate container 57f00eb8602c [2023-03-15T15:31:30.109Z] ---> b4556b54bb8f [2023-03-15T15:31:30.109Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-15T15:31:30.109Z] ---> 436a99bfa6e0 [2023-03-15T15:31:30.109Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-15T15:31:30.109Z] ---> abd98dd39a94 [2023-03-15T15:31:30.109Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-15T15:31:30.109Z] ---> 6fd00bdf28f2 [2023-03-15T15:31:30.109Z] Step 18/24 : EXPOSE 59993 [2023-03-15T15:31:30.109Z] ---> Running in 0a4396a3a3fa [2023-03-15T15:31:30.109Z] Removing intermediate container 0a4396a3a3fa [2023-03-15T15:31:30.109Z] ---> 2adc53bc642b [2023-03-15T15:31:30.109Z] Step 19/24 : EXPOSE 161 [2023-03-15T15:31:30.109Z] ---> Running in 87fab08f6198 [2023-03-15T15:31:30.109Z] Removing intermediate container 87fab08f6198 [2023-03-15T15:31:30.109Z] ---> d251ddb5c223 [2023-03-15T15:31:30.109Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-15T15:31:30.109Z] ---> Running in bb162245e3e3 [2023-03-15T15:31:30.367Z] Removing intermediate container bb162245e3e3 [2023-03-15T15:31:30.367Z] ---> b1c6e713ee28 [2023-03-15T15:31:30.367Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T15:31:30.367Z] ---> Running in c1498aaf8e76 [2023-03-15T15:31:30.367Z] Removing intermediate container c1498aaf8e76 [2023-03-15T15:31:30.367Z] ---> 24eb3dbc7d06 [2023-03-15T15:31:30.367Z] Step 22/24 : LABEL arch=amd64 [2023-03-15T15:31:30.367Z] ---> Running in c84048341664 [2023-03-15T15:31:30.625Z] Removing intermediate container c84048341664 [2023-03-15T15:31:30.625Z] ---> 1e809671093d [2023-03-15T15:31:30.625Z] Step 23/24 : LABEL git_sha=fcbfb434b8c66164bcba4590f30b5611a962fb87 [2023-03-15T15:31:30.625Z] ---> Running in 5b435da5494a [2023-03-15T15:31:30.625Z] Removing intermediate container 5b435da5494a [2023-03-15T15:31:30.625Z] ---> a1fe3af0278e [2023-03-15T15:31:30.625Z] Step 24/24 : LABEL version=0.0.0 [2023-03-15T15:31:30.625Z] ---> Running in fe709bef4889 [2023-03-15T15:31:30.884Z] Removing intermediate container fe709bef4889 [2023-03-15T15:31:30.884Z] ---> c9ebc4ed19f8 [2023-03-15T15:31:30.884Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T15:31:30.884Z] Successfully built c9ebc4ed19f8 [2023-03-15T15:31:30.884Z] 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-03-15T15:31:31.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:31:31.276Z] [2023-03-15T15:31:31.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:31:31.566Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:31:31.566Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T15:31:31.566Z] 5eb5b503b376: Pulling fs layer [2023-03-15T15:31:31.566Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T15:31:31.566Z] ec43610c2a17: Pulling fs layer [2023-03-15T15:31:31.566Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T15:31:31.566Z] 33b1e0a273af: Pulling fs layer [2023-03-15T15:31:31.566Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T15:31:31.566Z] 2f39f015ded8: Pulling fs layer [2023-03-15T15:31:31.566Z] 33b1e0a273af: Waiting [2023-03-15T15:31:31.566Z] 5d3b04190fa2: Waiting [2023-03-15T15:31:31.566Z] 2f39f015ded8: Waiting [2023-03-15T15:31:31.566Z] 3a2ae6a8a46f: Waiting [2023-03-15T15:31:31.566Z] 5c69ac0246d0: Download complete [2023-03-15T15:31:31.566Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T15:31:31.566Z] 3a2ae6a8a46f: Download complete [2023-03-15T15:31:31.827Z] 33b1e0a273af: Verifying Checksum [2023-03-15T15:31:31.827Z] 33b1e0a273af: Download complete [2023-03-15T15:31:31.827Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T15:31:31.827Z] 5d3b04190fa2: Download complete [2023-03-15T15:31:31.827Z] ec43610c2a17: Verifying Checksum [2023-03-15T15:31:31.827Z] ec43610c2a17: Download complete [2023-03-15T15:31:31.827Z] 5eb5b503b376: Verifying Checksum [2023-03-15T15:31:31.827Z] 5eb5b503b376: Download complete [2023-03-15T15:31:32.393Z] 2f39f015ded8: Verifying Checksum [2023-03-15T15:31:32.393Z] 2f39f015ded8: Download complete [2023-03-15T15:31:32.958Z] 5eb5b503b376: Pull complete [2023-03-15T15:31:32.958Z] 5c69ac0246d0: Pull complete [2023-03-15T15:31:33.891Z] ec43610c2a17: Pull complete [2023-03-15T15:31:33.891Z] 3a2ae6a8a46f: Pull complete [2023-03-15T15:31:34.148Z] 33b1e0a273af: Pull complete [2023-03-15T15:31:34.148Z] 5d3b04190fa2: Pull complete [2023-03-15T15:31:38.328Z] 2f39f015ded8: Pull complete [2023-03-15T15:31:38.328Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T15:31:38.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:31:38.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:31:38.402Z] prd-ubuntu20.04-docker-8c-8g-497 does not seem to be running inside a container [2023-03-15T15:31:38.436Z] $ 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-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T15:31:43.860Z] $ docker top 93d73307c9fd3dc5d2fd9dffc5a4c39d2ce491e260692fd526b6e325194a1474 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:31:44.223Z] ---> job-cost.sh [2023-03-15T15:31:44.223Z] lf-activate-venv: SKIPPING [2023-03-15T15:31:44.223Z] INFO: No Stack... [2023-03-15T15:31:44.481Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T15:31:45.419Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T15:31:45.706Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/cost.csv [2023-03-15T15:31:45.706Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T15:31:45.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-251-4-stack-cost] [2023-03-15T15:31:45.736Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-251-4-stack-cost] did not exist. Created. [2023-03-15T15:31:45.736Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-251-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T15:31:46.040Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T15:31:46.066Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T15:31:46.076Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-251-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T15:31:46.157Z] $ docker stop --time=1 93d73307c9fd3dc5d2fd9dffc5a4c39d2ce491e260692fd526b6e325194a1474 [2023-03-15T15:31:47.316Z] $ docker rm -f --volumes 93d73307c9fd3dc5d2fd9dffc5a4c39d2ce491e260692fd526b6e325194a1474 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T15:32:29.589Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-504 in /w/workspace/gexfoundry_device-snmp-go_PR-251 [Pipeline] { [Pipeline] ws [2023-03-15T15:32:29.603Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2023-03-15T15:32:29.633Z] Selected Git installation does not exist. Using Default [2023-03-15T15:32:29.633Z] The recommended git tool is: NONE [2023-03-15T15:32:36.172Z] using credential edgex-jenkins-ssh [2023-03-15T15:32:36.192Z] Cloning the remote Git repository [2023-03-15T15:32:36.238Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-15T15:32:36.325Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2023-03-15T15:32:36.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-15T15:32:36.494Z] > git --version # timeout=10 [2023-03-15T15:32:36.517Z] > git --version # 'git version 2.25.1' [2023-03-15T15:32:36.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T15:32:36.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T15:32:37.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-15T15:32:37.907Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T15:32:39.497Z] Merging remotes/origin/main commit d829a2c887c40068ff6155ebb33a7321d05cdfd6 into PR head commit 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e [2023-03-15T15:32:39.884Z] Merge succeeded, producing 5482301bf7f68f88053f8dd1adf4302c4915f855 [2023-03-15T15:32:39.884Z] Checking out Revision 5482301bf7f68f88053f8dd1adf4302c4915f855 (PR-251) [2023-03-15T15:32:38.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-15T15:32:38.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-15T15:32:38.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T15:32:39.000Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T15:32:39.517Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T15:32:39.607Z] > git checkout -f 80c976afe94a2097a3e37d86ffb3c4e3a856bb9e # timeout=10 [2023-03-15T15:32:39.699Z] > git remote # timeout=10 [2023-03-15T15:32:39.723Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T15:32:39.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T15:32:39.782Z] > git merge d829a2c887c40068ff6155ebb33a7321d05cdfd6 # timeout=10 [2023-03-15T15:32:39.859Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T15:32:39.893Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T15:32:39.908Z] > git checkout -f 5482301bf7f68f88053f8dd1adf4302c4915f855 # timeout=10 [2023-03-15T15:32:43.460Z] Commit message: "Merge commit 'd829a2c887c40068ff6155ebb33a7321d05cdfd6' into HEAD" [2023-03-15T15:32:43.492Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T15:32:44.475Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T15:32:44.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T15:32:44.475Z] Dload Upload Total Spent Left Speed [2023-03-15T15:32:44.475Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 155k 0 --:--:-- --:--:-- --:--:-- 155k [2023-03-15T15:32:43.472Z] > git rev-list --no-walk 8c2519db2237788d20e0a13f322e7c487dc0e3dc # timeout=10 [Pipeline] sh [2023-03-15T15:32:45.223Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T15:32:45.556Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T15:32:45.556Z] + sudo tee /etc/docker/daemon.new [2023-03-15T15:32:45.556Z] { [2023-03-15T15:32:45.556Z] "registry-mirrors": [ [2023-03-15T15:32:45.556Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T15:32:45.556Z] ], [2023-03-15T15:32:45.556Z] "bip": "10.250.0.254/24", [2023-03-15T15:32:45.556Z] "hosts": [ [2023-03-15T15:32:45.556Z] "tcp://0.0.0.0:5555", [2023-03-15T15:32:45.556Z] "unix:///var/run/docker.sock" [2023-03-15T15:32:45.556Z] ], [2023-03-15T15:32:45.556Z] "mtu": 1458, [2023-03-15T15:32:45.556Z] "selinux-enabled": true, [2023-03-15T15:32:45.556Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T15:32:45.556Z] } [Pipeline] sh [2023-03-15T15:32:45.898Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T15:32:46.254Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T15:33:04.597Z] provisioning config files... [2023-03-15T15:33:04.635Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config12439977099626490706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:33:05.016Z] ---> docker-login.sh [2023-03-15T15:33:05.016Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:33:05.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:33:05.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:33:05.611Z] Configure a credential helper to remove this warning. See [2023-03-15T15:33:05.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:33:05.611Z] [2023-03-15T15:33:05.611Z] Login Succeeded [2023-03-15T15:33:05.611Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:33:05.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:33:06.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:33:06.162Z] Configure a credential helper to remove this warning. See [2023-03-15T15:33:06.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:33:06.162Z] [2023-03-15T15:33:06.162Z] Login Succeeded [2023-03-15T15:33:06.162Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:33:06.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:33:06.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:33:06.435Z] Configure a credential helper to remove this warning. See [2023-03-15T15:33:06.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:33:06.435Z] [2023-03-15T15:33:06.435Z] Login Succeeded [2023-03-15T15:33:06.435Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:33:07.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:33:07.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:33:07.034Z] Configure a credential helper to remove this warning. See [2023-03-15T15:33:07.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:33:07.034Z] [2023-03-15T15:33:07.034Z] Login Succeeded [2023-03-15T15:33:07.034Z] docker.io [2023-03-15T15:33:07.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:33:07.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:33:07.580Z] Configure a credential helper to remove this warning. See [2023-03-15T15:33:07.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:33:07.580Z] [2023-03-15T15:33:07.580Z] Login Succeeded [2023-03-15T15:33:07.580Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:33:07.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T15:33:07.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:33:07.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:33:07.966Z] ========================================================= [2023-03-15T15:33:07.966Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T15:33:07.966Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:33:08.323Z] + 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-03-15T15:33:08.599Z] Sending build context to Docker daemon 2.982MB [2023-03-15T15:33:08.599Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:33:08.599Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T15:33:08.881Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T15:33:08.881Z] af6eaf76a39c: Pulling fs layer [2023-03-15T15:33:08.881Z] 55522c791124: Pulling fs layer [2023-03-15T15:33:08.881Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T15:33:08.881Z] 169dfbe0d373: Pulling fs layer [2023-03-15T15:33:08.881Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T15:33:08.881Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T15:33:08.881Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T15:33:08.881Z] e1ff8fa3b103: Waiting [2023-03-15T15:33:08.881Z] 52ebb69f0ebf: Waiting [2023-03-15T15:33:08.881Z] 5abe8eddf0d5: Waiting [2023-03-15T15:33:08.881Z] 55522c791124: Download complete [2023-03-15T15:33:08.881Z] 169dfbe0d373: Verifying Checksum [2023-03-15T15:33:08.881Z] 169dfbe0d373: Download complete [2023-03-15T15:33:09.161Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T15:33:09.161Z] e1ff8fa3b103: Download complete [2023-03-15T15:33:09.161Z] af6eaf76a39c: Verifying Checksum [2023-03-15T15:33:10.166Z] af6eaf76a39c: Pull complete [2023-03-15T15:33:10.166Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T15:33:10.166Z] 5abe8eddf0d5: Download complete [2023-03-15T15:33:10.763Z] 55522c791124: Pull complete [2023-03-15T15:33:11.751Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T15:33:11.751Z] 52ebb69f0ebf: Download complete [2023-03-15T15:33:11.751Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T15:33:11.751Z] ce5c4a1c91eb: Download complete [2023-03-15T15:33:24.149Z] ce5c4a1c91eb: Pull complete [2023-03-15T15:33:24.149Z] 169dfbe0d373: Pull complete [2023-03-15T15:33:24.149Z] e1ff8fa3b103: Pull complete [2023-03-15T15:33:30.839Z] 52ebb69f0ebf: Pull complete [2023-03-15T15:33:31.819Z] 5abe8eddf0d5: Pull complete [2023-03-15T15:33:31.819Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T15:33:31.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T15:33:31.819Z] ---> 6cb57ee374ae [2023-03-15T15:33:31.819Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:33:33.248Z] ---> Running in 4f94932bbf2c [2023-03-15T15:33:33.523Z] Removing intermediate container 4f94932bbf2c [2023-03-15T15:33:33.523Z] ---> 3ffca6eeccbf [2023-03-15T15:33:33.523Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:33:33.795Z] ---> Running in e20a1ae7138c [2023-03-15T15:33:34.077Z] Removing intermediate container e20a1ae7138c [2023-03-15T15:33:34.077Z] ---> d9d41a091a1d [2023-03-15T15:33:34.077Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T15:33:34.077Z] ---> Running in c2b01ed773ec [2023-03-15T15:33:34.667Z] Removing intermediate container c2b01ed773ec [2023-03-15T15:33:34.667Z] ---> af092e92e0cb [2023-03-15T15:33:34.667Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T15:33:34.667Z] ---> Running in e0e5f7c3f58b [2023-03-15T15:33:34.936Z] Removing intermediate container e0e5f7c3f58b [2023-03-15T15:33:34.936Z] ---> e6ebc3e7beda [2023-03-15T15:33:34.936Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T15:33:35.207Z] ---> Running in 6feb23af9043 [2023-03-15T15:33:36.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T15:33:37.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T15:33:38.188Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T15:33:38.188Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T15:33:38.461Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T15:33:38.461Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T15:33:38.461Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:33:38.461Z] OK: 268 MiB in 57 packages [2023-03-15T15:33:39.893Z] Removing intermediate container 6feb23af9043 [2023-03-15T15:33:39.893Z] ---> 988d57e3f7e5 [2023-03-15T15:33:39.893Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-15T15:33:41.854Z] ---> Running in 5d35c93a6f05 [2023-03-15T15:33:42.126Z] Removing intermediate container 5d35c93a6f05 [2023-03-15T15:33:42.126Z] ---> 344ccd1edfb5 [2023-03-15T15:33:42.126Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T15:33:42.726Z] ---> 7c89258e515c [2023-03-15T15:33:42.726Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:33:43.010Z] ---> Running in 0e44cb05c07e [2023-03-15T15:35:04.682Z] Removing intermediate container 0e44cb05c07e [2023-03-15T15:35:04.682Z] ---> 0300f90dc867 [2023-03-15T15:35:04.682Z] Step 11/12 : COPY . . [2023-03-15T15:35:04.682Z] ---> f22116895836 [2023-03-15T15:35:04.682Z] Step 12/12 : RUN ${MAKE} [2023-03-15T15:35:04.682Z] ---> Running in 62281c3e293b [2023-03-15T15:35:04.682Z] noop [2023-03-15T15:35:04.682Z] Removing intermediate container 62281c3e293b [2023-03-15T15:35:04.682Z] ---> 6351bd859791 [2023-03-15T15:35:04.682Z] Successfully built 6351bd859791 [2023-03-15T15:35:04.682Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:35:05.031Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T15:35:05.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:35:05.262Z] prd-ubuntu20.04-docker-arm64-4c-16g-504 does not seem to be running inside a container [2023-03-15T15:35:05.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2023-03-15T15:35:06.733Z] $ docker top c6336d8e610658807b5296cb50daa3db06e1edd1f68f7162c55f72f0b2ed8aa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:35:07.597Z] + go version [2023-03-15T15:35:07.597Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T15:35:07.628Z] $ docker stop --time=1 c6336d8e610658807b5296cb50daa3db06e1edd1f68f7162c55f72f0b2ed8aa2 [2023-03-15T15:35:09.330Z] $ docker rm -f --volumes c6336d8e610658807b5296cb50daa3db06e1edd1f68f7162c55f72f0b2ed8aa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:35:09.880Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T15:35:09.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:35:10.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-504 does not seem to be running inside a container [2023-03-15T15:35:10.171Z] $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2023-03-15T15:35:11.508Z] $ docker top a1b35cd3fd634a7169d9c402f66acbed946b5e80b58cedc85addd0b977235422 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:35:12.382Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/4 [Pipeline] fileExists [Pipeline] sh [2023-03-15T15:35:13.055Z] + make test [2023-03-15T15:35:13.055Z] go test ./... -coverprofile=coverage.out [2023-03-15T15:35:51.982Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-15T15:38:28.754Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-15T15:38:28.754Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2023-03-15T15:38:28.754Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T15:38:28.754Z] go vet ./... [2023-03-15T15:38:46.998Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T15:38:46.998Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T15:38:46.998Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T15:38:47.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T15:38:47.044Z] $ docker stop --time=1 a1b35cd3fd634a7169d9c402f66acbed946b5e80b58cedc85addd0b977235422 [2023-03-15T15:38:48.997Z] $ docker rm -f --volumes a1b35cd3fd634a7169d9c402f66acbed946b5e80b58cedc85addd0b977235422 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T15:38:50.209Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T15:38:50.233Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T15:38:50.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T15:38:51.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T15:38:51.419Z] + ls -al . [2023-03-15T15:38:51.419Z] total 168 [2023-03-15T15:38:51.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:35 . [2023-03-15T15:38:51.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:32 .. [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 15 15:32 .dockerignore [2023-03-15T15:38:51.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:32 .git [2023-03-15T15:38:51.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:32 .github [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 15 15:32 .gitignore [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:32 .golangci.yml [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 9045 Mar 15 15:32 Attribution.txt [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 15 15:32 CHANGELOG.md [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 15 15:32 Dockerfile [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:32 GOVERNANCE.md [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 15 15:32 Jenkinsfile [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:32 LICENSE [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 2114 Mar 15 15:32 Makefile [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 15:32 OWNERS.md [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 15 15:32 README.md [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:29 VERSION [2023-03-15T15:38:51.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:32 bin [2023-03-15T15:38:51.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:32 cmd [2023-03-15T15:38:51.419Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 15 15:38 coverage.out [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 15 15:32 go.mod [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 15 15:32 go.sum [2023-03-15T15:38:51.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:32 internal [2023-03-15T15:38:51.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:32 snap [2023-03-15T15:38:51.419Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 15 15:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:38:51.845Z] + 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=5482301bf7f68f88053f8dd1adf4302c4915f855 --label arch=arm64 --label version=0.0.0 . [2023-03-15T15:38:52.121Z] Sending build context to Docker daemon 2.991MB [2023-03-15T15:38:52.121Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:38:52.121Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T15:38:52.121Z] ---> 6351bd859791 [2023-03-15T15:38:52.121Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:38:52.398Z] ---> Running in 83e0cf7bc746 [2023-03-15T15:38:52.672Z] Removing intermediate container 83e0cf7bc746 [2023-03-15T15:38:52.672Z] ---> 66200ac9da2e [2023-03-15T15:38:52.672Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:38:52.672Z] ---> Running in 970393543b9a [2023-03-15T15:38:52.961Z] Removing intermediate container 970393543b9a [2023-03-15T15:38:52.961Z] ---> 8808868f3fd9 [2023-03-15T15:38:52.961Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T15:38:52.961Z] ---> Running in cd0d49001e54 [2023-03-15T15:38:53.566Z] Removing intermediate container cd0d49001e54 [2023-03-15T15:38:53.566Z] ---> 5819f619ea9f [2023-03-15T15:38:53.566Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T15:38:53.566Z] ---> Running in 5aa887afba7c [2023-03-15T15:38:53.859Z] Removing intermediate container 5aa887afba7c [2023-03-15T15:38:53.859Z] ---> adf3d311fa0f [2023-03-15T15:38:53.859Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T15:38:53.859Z] ---> Running in 00c98ed864e1 [2023-03-15T15:38:55.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T15:38:55.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T15:38:56.532Z] OK: 268 MiB in 57 packages [2023-03-15T15:38:57.513Z] Removing intermediate container 00c98ed864e1 [2023-03-15T15:38:57.513Z] ---> b2b300cc013b [2023-03-15T15:38:57.513Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-15T15:38:57.513Z] ---> Running in 9b20a6aec1e7 [2023-03-15T15:38:58.109Z] Removing intermediate container 9b20a6aec1e7 [2023-03-15T15:38:58.109Z] ---> cee55d36fa42 [2023-03-15T15:38:58.109Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T15:38:58.383Z] ---> b3f87198c12c [2023-03-15T15:38:58.383Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:38:58.654Z] ---> Running in 105591b75368 [2023-03-15T15:39:01.257Z] Removing intermediate container 105591b75368 [2023-03-15T15:39:01.257Z] ---> 2e82ac78257e [2023-03-15T15:39:01.257Z] Step 11/24 : COPY . . [2023-03-15T15:39:02.224Z] ---> c8b856e4a4af [2023-03-15T15:39:02.224Z] Step 12/24 : RUN ${MAKE} [2023-03-15T15:39:02.507Z] ---> Running in 30e0b8689b05 [2023-03-15T15:39:03.472Z] 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-03-15T15:41:25.233Z] Removing intermediate container 30e0b8689b05 [2023-03-15T15:41:25.233Z] ---> 62cb2436f26b [2023-03-15T15:41:25.233Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T15:41:25.233Z] 3.17: Pulling from library/alpine [2023-03-15T15:41:25.233Z] af6eaf76a39c: Already exists [2023-03-15T15:41:25.233Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T15:41:25.233Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T15:41:25.233Z] ---> d74e625d9115 [2023-03-15T15:41:25.233Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T15:41:25.233Z] ---> Running in aadae47e3fec [2023-03-15T15:41:25.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T15:41:26.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T15:41:27.808Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T15:41:27.808Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:41:27.808Z] OK: 8 MiB in 16 packages [2023-03-15T15:41:28.400Z] Removing intermediate container aadae47e3fec [2023-03-15T15:41:28.400Z] ---> 8fd2962ad3d5 [2023-03-15T15:41:28.400Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-15T15:41:29.810Z] ---> 86fda3e942ec [2023-03-15T15:41:29.810Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-15T15:41:30.393Z] ---> 7660ca30069a [2023-03-15T15:41:30.393Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-15T15:41:30.659Z] ---> 31f6b6486f8a [2023-03-15T15:41:30.659Z] Step 18/24 : EXPOSE 59993 [2023-03-15T15:41:30.925Z] ---> Running in 14ef4eed07dd [2023-03-15T15:41:31.192Z] Removing intermediate container 14ef4eed07dd [2023-03-15T15:41:31.192Z] ---> febae4ef21ad [2023-03-15T15:41:31.192Z] Step 19/24 : EXPOSE 161 [2023-03-15T15:41:31.192Z] ---> Running in faa11fc99d8a [2023-03-15T15:41:31.461Z] Removing intermediate container faa11fc99d8a [2023-03-15T15:41:31.461Z] ---> e7670fd82497 [2023-03-15T15:41:31.461Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-15T15:41:31.461Z] ---> Running in 06a42f3b4355 [2023-03-15T15:41:31.733Z] Removing intermediate container 06a42f3b4355 [2023-03-15T15:41:31.733Z] ---> b7d80863be4d [2023-03-15T15:41:31.733Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T15:41:32.000Z] ---> Running in 6252e85a6d82 [2023-03-15T15:41:32.267Z] Removing intermediate container 6252e85a6d82 [2023-03-15T15:41:32.267Z] ---> 8896f1304415 [2023-03-15T15:41:32.267Z] Step 22/24 : LABEL arch=arm64 [2023-03-15T15:41:32.267Z] ---> Running in 346eca7a641e [2023-03-15T15:41:32.542Z] Removing intermediate container 346eca7a641e [2023-03-15T15:41:32.542Z] ---> c0d9a6efe21a [2023-03-15T15:41:32.542Z] Step 23/24 : LABEL git_sha=5482301bf7f68f88053f8dd1adf4302c4915f855 [2023-03-15T15:41:32.816Z] ---> Running in c2f1136a76ff [2023-03-15T15:41:33.084Z] Removing intermediate container c2f1136a76ff [2023-03-15T15:41:33.084Z] ---> e705e7feddf4 [2023-03-15T15:41:33.084Z] Step 24/24 : LABEL version=0.0.0 [2023-03-15T15:41:33.084Z] ---> Running in c27c68e46974 [2023-03-15T15:41:33.353Z] Removing intermediate container c27c68e46974 [2023-03-15T15:41:33.353Z] ---> 572d6d51a166 [2023-03-15T15:41:33.353Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T15:41:33.353Z] Successfully built 572d6d51a166 [2023-03-15T15:41:33.353Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:41:33.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T15:41:33.796Z] [2023-03-15T15:41:33.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:41:34.140Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T15:41:34.140Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T15:41:34.140Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T15:41:34.140Z] 04944245beec: Pulling fs layer [2023-03-15T15:41:34.140Z] 699f458cf7ca: Pulling fs layer [2023-03-15T15:41:34.140Z] 765212b225bb: Pulling fs layer [2023-03-15T15:41:34.140Z] f23df028b6ca: Pulling fs layer [2023-03-15T15:41:34.140Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T15:41:34.140Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T15:41:34.140Z] 2437ff75d9bd: Waiting [2023-03-15T15:41:34.140Z] 765212b225bb: Waiting [2023-03-15T15:41:34.140Z] d65c8cfc05b1: Waiting [2023-03-15T15:41:34.140Z] f23df028b6ca: Waiting [2023-03-15T15:41:34.412Z] 04944245beec: Verifying Checksum [2023-03-15T15:41:34.412Z] 04944245beec: Download complete [2023-03-15T15:41:34.412Z] 765212b225bb: Verifying Checksum [2023-03-15T15:41:34.412Z] 765212b225bb: Download complete [2023-03-15T15:41:34.412Z] f23df028b6ca: Download complete [2023-03-15T15:41:34.412Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T15:41:34.412Z] d65c8cfc05b1: Download complete [2023-03-15T15:41:34.681Z] 699f458cf7ca: Verifying Checksum [2023-03-15T15:41:34.681Z] 699f458cf7ca: Download complete [2023-03-15T15:41:34.952Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T15:41:37.547Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T15:41:37.547Z] 2437ff75d9bd: Download complete [2023-03-15T15:41:39.499Z] 8998bd30e6a1: Pull complete [2023-03-15T15:41:39.768Z] 04944245beec: Pull complete [2023-03-15T15:41:41.190Z] 699f458cf7ca: Pull complete [2023-03-15T15:41:41.460Z] 765212b225bb: Pull complete [2023-03-15T15:41:42.423Z] f23df028b6ca: Pull complete [2023-03-15T15:41:42.694Z] d65c8cfc05b1: Pull complete [2023-03-15T15:41:57.699Z] 2437ff75d9bd: Pull complete [2023-03-15T15:41:57.699Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T15:41:57.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T15:41:57.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:41:57.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-504 does not seem to be running inside a container [2023-03-15T15:41:57.961Z] $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T15:42:00.622Z] $ docker top d636dfd37a1b5d27248d0fe78fcada9af3dcbabda442dce6d5a2d7351e3170e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:42:01.477Z] ---> job-cost.sh [2023-03-15T15:42:01.477Z] lf-activate-venv: SKIPPING [2023-03-15T15:42:01.477Z] INFO: No Stack... [2023-03-15T15:42:01.744Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T15:42:02.705Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T15:42:03.350Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv [2023-03-15T15:42:03.350Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T15:42:03.419Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-251-4-stack-cost] [2023-03-15T15:42:03.425Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-251-4-stack-cost] did not exist. Created. [2023-03-15T15:42:03.425Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-251-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T15:42:04.072Z] /w/workspace/device-snmp-go/4@tmp/durable-87e00ebd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T15:42:04.722Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T15:42:04.752Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T15:42:04.796Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T15:42:04.806Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-251-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T15:42:04.833Z] $ docker stop --time=1 d636dfd37a1b5d27248d0fe78fcada9af3dcbabda442dce6d5a2d7351e3170e8 [2023-03-15T15:42:06.402Z] $ docker rm -f --volumes d636dfd37a1b5d27248d0fe78fcada9af3dcbabda442dce6d5a2d7351e3170e8 [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-03-15T15:42:06.784Z] provisioning config files... [2023-03-15T15:42:06.793Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config5928797108881358707tmp [Pipeline] { [Pipeline] sh [2023-03-15T15:42:07.076Z] + set +x [2023-03-15T15:42:07.076Z] + curl -s https://codecov.io/bash [2023-03-15T15:42:07.076Z] + bash -s -- [2023-03-15T15:42:07.076Z] [2023-03-15T15:42:07.076Z] _____ _ [2023-03-15T15:42:07.076Z] / ____| | | [2023-03-15T15:42:07.076Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T15:42:07.076Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T15:42:07.076Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T15:42:07.076Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T15:42:07.076Z] Bash-1.0.6 [2023-03-15T15:42:07.076Z] [2023-03-15T15:42:07.076Z] [2023-03-15T15:42:07.076Z] ==> git version 2.25.1 found [2023-03-15T15:42:07.076Z] ==> 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-03-15T15:42:07.076Z] Release-Date: 2020-01-08 [2023-03-15T15:42:07.076Z] 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-03-15T15:42:07.076Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T15:42:07.076Z] ==> Jenkins CI detected. [2023-03-15T15:42:07.076Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-251 [2023-03-15T15:42:07.076Z] project root: . [2023-03-15T15:42:07.076Z] --> token set from env [2023-03-15T15:42:07.076Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T15:42:07.076Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T15:42:07.076Z] ==> Python coveragepy not found [2023-03-15T15:42:07.076Z] ==> Searching for coverage reports in: [2023-03-15T15:42:07.076Z] + . [2023-03-15T15:42:07.076Z] -> Found 1 reports [2023-03-15T15:42:07.076Z] ==> Detecting git/mercurial file structure [2023-03-15T15:42:07.076Z] ==> Reading reports [2023-03-15T15:42:07.076Z] + ./coverage.out bytes=7631 [2023-03-15T15:42:07.076Z] ==> Appending adjustments [2023-03-15T15:42:07.076Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T15:42:07.334Z] + Found adjustments [2023-03-15T15:42:07.334Z] ==> Gzipping contents [2023-03-15T15:42:07.334Z] 4.0K /tmp/codecov.NX4KmP.gz [2023-03-15T15:42:07.334Z] ==> Uploading reports [2023-03-15T15:42:07.334Z] url: https://codecov.io [2023-03-15T15:42:07.334Z] query: branch=PR-251&commit=fcbfb434b8c66164bcba4590f30b5611a962fb87&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-251%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=251&job=&cmd_args= [2023-03-15T15:42:07.334Z] -> Pinging Codecov [2023-03-15T15:42:07.334Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-251&commit=fcbfb434b8c66164bcba4590f30b5611a962fb87&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-251%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=251&job=&cmd_args= [2023-03-15T15:42:07.334Z] -> Uploading to [2023-03-15T15:42:07.334Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/6C56EA5C29638FB4528AC87E60AF5AE0/fcbfb434b8c66164bcba4590f30b5611a962fb87/974b41b7-93be-428c-a201-9cc0de1caa29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T154207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e603ae2726cdd3c01da8b05edccf1be167300b2ef857637b3813498033a828f3 [2023-03-15T15:42:07.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T15:42:07.334Z] Dload Upload Total Spent Left Speed [2023-03-15T15:42:07.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1507 0 0 100 1507 0 3529 --:--:-- --:--:-- --:--:-- 3521 100 1507 0 0 100 1507 0 3521 --:--:-- --:--:-- --:--:-- 3512 [2023-03-15T15:42:07.900Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/fcbfb434b8c66164bcba4590f30b5611a962fb87 [Pipeline] } [2023-03-15T15:42:07.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-03-15T15:42:08.554Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-251/archives ] [2023-03-15T15:42:08.554Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-251/archives [2023-03-15T15:42:08.554Z] total 16 [2023-03-15T15:42:08.554Z] drwxr-xr-x 3 root root 4096 Mar 15 15:31 . [2023-03-15T15:42:08.554Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:31 .. [2023-03-15T15:42:08.554Z] drwxr-xr-x 2 root root 4096 Mar 15 15:31 cost [2023-03-15T15:42:08.554Z] -rw-r--r-- 1 root root 86 Mar 15 15:31 cost.csv [2023-03-15T15:42:08.554Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-251/archives [2023-03-15T15:42:08.554Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-251/archives [2023-03-15T15:42:08.554Z] total 16 [2023-03-15T15:42:08.554Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:31 . [2023-03-15T15:42:08.554Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:31 .. [2023-03-15T15:42:08.554Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 15:31 cost [2023-03-15T15:42:08.554Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 15:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:42:08.838Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:42:09.716Z] ---> package-listing.sh [2023-03-15T15:42:09.716Z] ++ facter osfamily [2023-03-15T15:42:09.716Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T15:42:09.975Z] + OS_FAMILY=debian [2023-03-15T15:42:09.975Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-251 [2023-03-15T15:42:09.975Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T15:42:09.975Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T15:42:09.975Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T15:42:09.975Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T15:42:09.975Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-251 ']' [2023-03-15T15:42:09.975Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T15:42:09.975Z] + case "${OS_FAMILY}" in [2023-03-15T15:42:09.975Z] + dpkg -l [2023-03-15T15:42:09.975Z] + grep '^ii' [2023-03-15T15:42:09.975Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T15:42:09.975Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T15:42:09.975Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T15:42:09.975Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-251 ']' [2023-03-15T15:42:09.975Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/ [2023-03-15T15:42:09.975Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-251/archives/ [Pipeline] echo [2023-03-15T15:42:09.985Z] 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-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T15:42:10.354Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:42:10.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:42:10.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:42:10.967Z] prd-ubuntu20.04-docker-8c-8g-497 does not seem to be running inside a container [2023-03-15T15:42:11.001Z] $ 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-251/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-251 -v /w/workspace/gexfoundry_device-snmp-go_PR-251:/w/workspace/gexfoundry_device-snmp-go_PR-251:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-251@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-251@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-03-15T15:42:11.544Z] $ docker top f1fa59775a9fc6bc5f2a63bfadd8b634bd283233137ffc2b7e32e1a02260fa71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:42:11.872Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T15:42:12.156Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T15:42:12.438Z] + ls /var/log/sa-host [2023-03-15T15:42:12.438Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T15:42:12.506Z] provisioning config files... [2023-03-15T15:42:12.520Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-251@tmp/config12931944555688594097tmp [Pipeline] { [Pipeline] echo [2023-03-15T15:42:12.537Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:42:12.816Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T15:42:12.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:42:13.143Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T15:42:13.150Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:42:13.436Z] ---> sudo-logs.sh [2023-03-15T15:42:13.436Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T15:42:13.455Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:42:13.732Z] ---> job-cost.sh [2023-03-15T15:42:13.732Z] lf-activate-venv: SKIPPING [2023-03-15T15:42:13.732Z] DEBUG: total: 0.2199999988079071 [2023-03-15T15:42:13.732Z] INFO: Retrieving Stack Cost... [2023-03-15T15:42:14.299Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T15:42:14.556Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T15:42:14.567Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:42:14.850Z] ---> logs-deploy.sh [2023-03-15T15:42:14.850Z] lf-activate-venv: SKIPPING [2023-03-15T15:42:14.850Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-251/4 [2023-03-15T15:42:14.850Z] INFO: archiving workspace using pattern(s): [2023-03-15T15:42:15.788Z] Archives upload complete. [2023-03-15T15:42:16.073Z] INFO: archiving logs to Nexus [2023-03-15T15:42:17.012Z] ---> uname -a: [2023-03-15T15:42:17.012Z] Linux prd-ubuntu20-04-docker-8c-8g-497 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-15T15:42:17.012Z] [2023-03-15T15:42:17.012Z] [2023-03-15T15:42:17.012Z] ---> lscpu: [2023-03-15T15:42:17.012Z] Architecture: x86_64 [2023-03-15T15:42:17.012Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-15T15:42:17.012Z] Byte Order: Little Endian [2023-03-15T15:42:17.012Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-15T15:42:17.012Z] CPU(s): 8 [2023-03-15T15:42:17.012Z] On-line CPU(s) list: 0-7 [2023-03-15T15:42:17.012Z] Thread(s) per core: 1 [2023-03-15T15:42:17.012Z] Core(s) per socket: 1 [2023-03-15T15:42:17.012Z] Socket(s): 8 [2023-03-15T15:42:17.012Z] NUMA node(s): 1 [2023-03-15T15:42:17.012Z] Vendor ID: AuthenticAMD [2023-03-15T15:42:17.012Z] CPU family: 23 [2023-03-15T15:42:17.012Z] Model: 49 [2023-03-15T15:42:17.012Z] Model name: AMD EPYC-Rome Processor [2023-03-15T15:42:17.012Z] Stepping: 0 [2023-03-15T15:42:17.012Z] CPU MHz: 2799.998 [2023-03-15T15:42:17.012Z] BogoMIPS: 5599.99 [2023-03-15T15:42:17.012Z] Virtualization: AMD-V [2023-03-15T15:42:17.012Z] Hypervisor vendor: KVM [2023-03-15T15:42:17.012Z] Virtualization type: full [2023-03-15T15:42:17.012Z] L1d cache: 256 KiB [2023-03-15T15:42:17.012Z] L1i cache: 256 KiB [2023-03-15T15:42:17.012Z] L2 cache: 4 MiB [2023-03-15T15:42:17.012Z] L3 cache: 128 MiB [2023-03-15T15:42:17.012Z] NUMA node0 CPU(s): 0-7 [2023-03-15T15:42:17.012Z] Vulnerability Itlb multihit: Not affected [2023-03-15T15:42:17.012Z] Vulnerability L1tf: Not affected [2023-03-15T15:42:17.012Z] Vulnerability Mds: Not affected [2023-03-15T15:42:17.012Z] Vulnerability Meltdown: Not affected [2023-03-15T15:42:17.012Z] Vulnerability Mmio stale data: Not affected [2023-03-15T15:42:17.012Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-15T15:42:17.012Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-15T15:42:17.012Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-15T15:42:17.012Z] Vulnerability Srbds: Not affected [2023-03-15T15:42:17.012Z] Vulnerability Tsx async abort: Not affected [2023-03-15T15:42:17.012Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-03-15T15:42:17.012Z] [2023-03-15T15:42:17.012Z] [2023-03-15T15:42:17.012Z] ---> nproc: [2023-03-15T15:42:17.012Z] 8 [2023-03-15T15:42:17.012Z] [2023-03-15T15:42:17.012Z] [2023-03-15T15:42:17.012Z] ---> df -h: [2023-03-15T15:42:17.012Z] Filesystem Size Used Avail Use% Mounted on [2023-03-15T15:42:17.012Z] overlay 155G 12G 144G 8% / [2023-03-15T15:42:17.012Z] tmpfs 64M 0 64M 0% /dev [2023-03-15T15:42:17.012Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-03-15T15:42:17.012Z] shm 64M 0 64M 0% /dev/shm [2023-03-15T15:42:17.012Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-03-15T15:42:17.012Z] [2023-03-15T15:42:17.012Z]