Pull request #185 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at f6828afe08f553138e4b56b0659b8be13fc1cd72 rather than 04de622028cfaebb47307c4dd7f541b6c5c0373c Obtained Jenkinsfile from f6828afe08f553138e4b56b0659b8be13fc1cd72 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-ssh430167074484325796.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh4167603763560523620.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-185/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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7161802753793884558.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh2197943630654730916.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-185/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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16329886272733368025.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.18 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-20580 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [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-185 # 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 Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit 04de622028cfaebb47307c4dd7f541b6c5c0373c Merge succeeded, producing 04de622028cfaebb47307c4dd7f541b6c5c0373c Checking out Revision 04de622028cfaebb47307c4dd7f541b6c5c0373c (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 04de622028cfaebb47307c4dd7f541b6c5c0373c # 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 f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 04de622028cfaebb47307c4dd7f541b6c5c0373c # timeout=10 Commit message: "fix(snap): Update go.mod" > git rev-list --no-walk fc507b4a86c486e8eb8c77e2bd6f75d86e5cdfa9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-20T12:01:00.097Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-20T12:01:00.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-20T12:01:00.155Z] ========================================================= [2022-07-20T12:01:00.155Z] EdgeX Global Pipelines Version Info [2022-07-20T12:01:00.155Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:01:00.915Z] ------------------- [2022-07-20T12:01:00.915Z] stable info: [2022-07-20T12:01:00.915Z] ------------------- [2022-07-20T12:01:00.915Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T12:01:00.915Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T12:01:00.915Z] Message: update stable to v1.0.238 [2022-07-20T12:01:01.488Z] ------------------- [2022-07-20T12:01:01.488Z] experimental info: [2022-07-20T12:01:01.488Z] ------------------- [2022-07-20T12:01:01.488Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T12:01:01.488Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T12:01:01.488Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-20T12:01:01.678Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-07-20T12:01:01.691Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-07-20T12:01:01.705Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-20T12:01:01.717Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-20T12:01:01.728Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-20T12:01:01.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-20T12:01:01.754Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-20T12:01:01.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-20T12:01:01.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-20T12:01:01.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-20T12:01:01.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-20T12:01:01.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-07-20T12:01:01.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-20T12:01:01.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-20T12:01:01.851Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T12:01:01.870Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T12:01:01.887Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T12:01:01.900Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T12:01:01.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-20T12:01:01.924Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-20T12:01:01.938Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-20T12:01:01.948Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-20T12:01:01.956Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-20T12:01:01.964Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-20T12:01:01.973Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-20T12:01:01.981Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-20T12:01:01.989Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-20T12:01:01.997Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-07-20T12:01:02.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-07-20T12:01:02.013Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-07-20T12:01:02.021Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 04de622028cfaebb47307c4dd7f541b6c5c0373c [Pipeline] echo [2022-07-20T12:01:02.030Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 04de622 [Pipeline] echo [2022-07-20T12:01:02.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T12:01:02.070Z] provisioning config files... [2022-07-20T12:01:02.084Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config6593525174820612600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:01:02.397Z] ---> docker-login.sh [2022-07-20T12:01:02.397Z] nexus3.edgexfoundry.org:10001 [2022-07-20T12:01:02.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:02.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:02.922Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:02.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:02.922Z] [2022-07-20T12:01:02.922Z] Login Succeeded [2022-07-20T12:01:02.922Z] nexus3.edgexfoundry.org:10002 [2022-07-20T12:01:02.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:03.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:03.186Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:03.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:03.186Z] [2022-07-20T12:01:03.186Z] Login Succeeded [2022-07-20T12:01:03.186Z] nexus3.edgexfoundry.org:10003 [2022-07-20T12:01:03.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:03.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:03.186Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:03.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:03.186Z] [2022-07-20T12:01:03.186Z] Login Succeeded [2022-07-20T12:01:03.186Z] nexus3.edgexfoundry.org:10004 [2022-07-20T12:01:03.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:03.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:03.448Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:03.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:03.448Z] [2022-07-20T12:01:03.448Z] Login Succeeded [2022-07-20T12:01:03.448Z] docker.io [2022-07-20T12:01:03.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:04.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:04.023Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:04.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:04.023Z] [2022-07-20T12:01:04.023Z] Login Succeeded [2022-07-20T12:01:04.023Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T12:01:04.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-20T12:01:04.422Z] + git rev-list -1 --merges 04de622028cfaebb47307c4dd7f541b6c5c0373c~1..04de622028cfaebb47307c4dd7f541b6c5c0373c [Pipeline] echo [2022-07-20T12:01:04.457Z] -----------> git rev-list -1 --merges 04de622028cfaebb47307c4dd7f541b6c5c0373c~1..04de622028cfaebb47307c4dd7f541b6c5c0373c 04de622028cfaebb47307c4dd7f541b6c5c0373c [false] [Pipeline] sh [2022-07-20T12:01:04.755Z] + git log --format=format:%s -1 04de622028cfaebb47307c4dd7f541b6c5c0373c [Pipeline] echo [2022-07-20T12:01:04.772Z] ========================================================= [2022-07-20T12:01:04.772Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-20T12:01:04.772Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T12:01:05.118Z] + git log --format=format:%s -1 04de622028cfaebb47307c4dd7f541b6c5c0373c [Pipeline] echo [2022-07-20T12:01:05.131Z] [semverPrep] GIT_COMMIT: 04de622028cfaebb47307c4dd7f541b6c5c0373c, Commit Message: fix(snap): Update go.mod [Pipeline] echo [2022-07-20T12:01:05.139Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-20T12:01:05.502Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-20T12:01:05.502Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-20T12:01:05.502Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-20T12:01:05.502Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-20T12:01:05.502Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-20T12:01:05.502Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-20T12:01:05.502Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:01:05.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T12:01:05.921Z] [2022-07-20T12:01:05.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:01:06.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T12:01:06.231Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-20T12:01:06.231Z] b85a868b505f: Pulling fs layer [2022-07-20T12:01:06.231Z] e2be974225ed: Pulling fs layer [2022-07-20T12:01:06.231Z] 339a4e72a1f5: Pulling fs layer [2022-07-20T12:01:06.231Z] 988bab9f4d93: Pulling fs layer [2022-07-20T12:01:06.231Z] 1469e6f7b9e6: Pulling fs layer [2022-07-20T12:01:06.231Z] eaf3925da568: Pulling fs layer [2022-07-20T12:01:06.231Z] bab4dde63d76: Pulling fs layer [2022-07-20T12:01:06.231Z] bde34c3a00c8: Pulling fs layer [2022-07-20T12:01:06.231Z] b352a97aabf1: Pulling fs layer [2022-07-20T12:01:06.231Z] 4872d77fe225: Pulling fs layer [2022-07-20T12:01:06.231Z] 5851b861e8e6: Pulling fs layer [2022-07-20T12:01:06.231Z] 988bab9f4d93: Waiting [2022-07-20T12:01:06.231Z] 1469e6f7b9e6: Waiting [2022-07-20T12:01:06.231Z] eaf3925da568: Waiting [2022-07-20T12:01:06.231Z] bab4dde63d76: Waiting [2022-07-20T12:01:06.231Z] 4872d77fe225: Waiting [2022-07-20T12:01:06.231Z] bde34c3a00c8: Waiting [2022-07-20T12:01:06.231Z] 5851b861e8e6: Waiting [2022-07-20T12:01:06.231Z] e2be974225ed: Verifying Checksum [2022-07-20T12:01:06.231Z] e2be974225ed: Download complete [2022-07-20T12:01:06.231Z] 988bab9f4d93: Verifying Checksum [2022-07-20T12:01:06.231Z] 988bab9f4d93: Download complete [2022-07-20T12:01:06.492Z] 1469e6f7b9e6: Verifying Checksum [2022-07-20T12:01:06.492Z] 1469e6f7b9e6: Download complete [2022-07-20T12:01:06.492Z] 339a4e72a1f5: Verifying Checksum [2022-07-20T12:01:06.492Z] 339a4e72a1f5: Download complete [2022-07-20T12:01:06.492Z] eaf3925da568: Verifying Checksum [2022-07-20T12:01:06.492Z] eaf3925da568: Download complete [2022-07-20T12:01:06.492Z] bde34c3a00c8: Download complete [2022-07-20T12:01:06.492Z] b352a97aabf1: Verifying Checksum [2022-07-20T12:01:06.492Z] b352a97aabf1: Download complete [2022-07-20T12:01:06.492Z] 4872d77fe225: Download complete [2022-07-20T12:01:06.492Z] 5851b861e8e6: Download complete [2022-07-20T12:01:06.492Z] b85a868b505f: Verifying Checksum [2022-07-20T12:01:06.492Z] b85a868b505f: Download complete [2022-07-20T12:01:06.753Z] bab4dde63d76: Verifying Checksum [2022-07-20T12:01:06.753Z] bab4dde63d76: Download complete [2022-07-20T12:01:08.136Z] b85a868b505f: Pull complete [2022-07-20T12:01:08.136Z] e2be974225ed: Pull complete [2022-07-20T12:01:08.715Z] 339a4e72a1f5: Pull complete [2022-07-20T12:01:08.715Z] 988bab9f4d93: Pull complete [2022-07-20T12:01:08.979Z] 1469e6f7b9e6: Pull complete [2022-07-20T12:01:08.979Z] eaf3925da568: Pull complete [2022-07-20T12:01:10.896Z] bab4dde63d76: Pull complete [2022-07-20T12:01:11.159Z] bde34c3a00c8: Pull complete [2022-07-20T12:01:11.422Z] b352a97aabf1: Pull complete [2022-07-20T12:01:11.422Z] 4872d77fe225: Pull complete [2022-07-20T12:01:11.422Z] 5851b861e8e6: Pull complete [2022-07-20T12:01:11.422Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-20T12:01:11.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T12:01:11.422Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:01:11.527Z] prd-ubuntu20.04-docker-8c-8g-20580 does not seem to be running inside a container [2022-07-20T12:01:11.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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-devops/py-git-semver:0.1.4 cat [2022-07-20T12:01:12.954Z] $ docker top 353ea3ac14d02b6759202fac8c5a99ad1e420f6578fab77f39f25bbc01fb30b0 -eo pid,comm [2022-07-20T12:01:13.021Z] 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). [2022-07-20T12:01:13.021Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-20T12:01:13.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T12:01:13.061Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T12:01:13.198Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T12:01:13.205Z] $ docker exec 353ea3ac14d02b6759202fac8c5a99ad1e420f6578fab77f39f25bbc01fb30b0 ssh-agent [2022-07-20T12:01:13.338Z] SSH_AUTH_SOCK=/tmp/ssh-OmkI0EP19rHV/agent.34 [2022-07-20T12:01:13.338Z] SSH_AGENT_PID=40 [2022-07-20T12:01:13.344Z] Running ssh-add (command line suppressed) [2022-07-20T12:01:13.468Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_7522960930417295886.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_7522960930417295886.key) [2022-07-20T12:01:13.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T12:01:13.771Z] + git tag --points-at HEAD [Pipeline] } [2022-07-20T12:01:13.788Z] $ docker exec --env ******** --env ******** 353ea3ac14d02b6759202fac8c5a99ad1e420f6578fab77f39f25bbc01fb30b0 ssh-agent -k [2022-07-20T12:01:13.892Z] unset SSH_AUTH_SOCK; [2022-07-20T12:01:13.892Z] unset SSH_AGENT_PID; [2022-07-20T12:01:13.893Z] echo Agent pid 40 killed; [2022-07-20T12:01:13.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-20T12:01:13.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T12:01:13.930Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T12:01:14.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T12:01:14.069Z] $ docker exec 353ea3ac14d02b6759202fac8c5a99ad1e420f6578fab77f39f25bbc01fb30b0 ssh-agent [2022-07-20T12:01:14.179Z] SSH_AUTH_SOCK=/tmp/ssh-Z7XvXEk7dw1c/agent.74 [2022-07-20T12:01:14.179Z] SSH_AGENT_PID=80 [2022-07-20T12:01:14.184Z] Running ssh-add (command line suppressed) [2022-07-20T12:01:14.329Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_2742947086465868604.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_2742947086465868604.key) [2022-07-20T12:01:14.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T12:01:14.632Z] + git semver init [2022-07-20T12:01:14.892Z] 2022-07-20 12:01:14,850 [run_init] DEBUG init version:0.0.0 force:False [2022-07-20T12:01:14.892Z] 2022-07-20 12:01:14,851 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver [2022-07-20T12:01:14.892Z] 2022-07-20 12:01:14,851 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver [2022-07-20T12:01:14.892Z] 2022-07-20 12:01:14,852 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185, universal_newlines=False, shell=None, istream=None) [2022-07-20T12:01:15.835Z] 2022-07-20 12:01:15,569 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.git/info/exclude [2022-07-20T12:01:15.835Z] 2022-07-20 12:01:15,569 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 with force:False [2022-07-20T12:01:15.835Z] 2022-07-20 12:01:15,569 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 [2022-07-20T12:01:15.835Z] 2022-07-20 12:01:15,573 [execute] INFO git cat-file --batch-check [2022-07-20T12:01:15.835Z] 2022-07-20 12:01:15,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T12:01:15.835Z] 2022-07-20 12:01:15,582 [execute] INFO git cat-file --batch [2022-07-20T12:01:15.836Z] 2022-07-20 12:01:15,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T12:01:15.836Z] 2022-07-20 12:01:15,588 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 [2022-07-20T12:01:15.836Z] 0.0.0 [Pipeline] } [2022-07-20T12:01:15.852Z] $ docker exec --env ******** --env ******** 353ea3ac14d02b6759202fac8c5a99ad1e420f6578fab77f39f25bbc01fb30b0 ssh-agent -k [2022-07-20T12:01:15.976Z] unset SSH_AUTH_SOCK; [2022-07-20T12:01:15.976Z] unset SSH_AGENT_PID; [2022-07-20T12:01:15.976Z] echo Agent pid 80 killed; [2022-07-20T12:01:15.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-20T12:01:16.295Z] + git semver [Pipeline] } [2022-07-20T12:01:16.574Z] $ docker stop --time=1 353ea3ac14d02b6759202fac8c5a99ad1e420f6578fab77f39f25bbc01fb30b0 [2022-07-20T12:01:17.880Z] $ docker rm -f 353ea3ac14d02b6759202fac8c5a99ad1e420f6578fab77f39f25bbc01fb30b0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T12:01:18.246Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-20T12:01:18.517Z] Stashed 1 file(s) [Pipeline] echo [2022-07-20T12:01:18.520Z] [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 [2022-07-20T12:01:18.647Z] provisioning config files... [2022-07-20T12:01:18.657Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config1812590651499902803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:01:18.952Z] ---> docker-login.sh [2022-07-20T12:01:18.952Z] nexus3.edgexfoundry.org:10001 [2022-07-20T12:01:18.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:18.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:18.952Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:18.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:18.952Z] [2022-07-20T12:01:18.952Z] Login Succeeded [2022-07-20T12:01:18.952Z] nexus3.edgexfoundry.org:10002 [2022-07-20T12:01:18.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:19.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:19.212Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:19.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:19.212Z] [2022-07-20T12:01:19.212Z] Login Succeeded [2022-07-20T12:01:19.212Z] nexus3.edgexfoundry.org:10003 [2022-07-20T12:01:19.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:19.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:19.212Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:19.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:19.212Z] [2022-07-20T12:01:19.212Z] Login Succeeded [2022-07-20T12:01:19.212Z] nexus3.edgexfoundry.org:10004 [2022-07-20T12:01:19.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:19.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:19.473Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:19.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:19.473Z] [2022-07-20T12:01:19.474Z] Login Succeeded [2022-07-20T12:01:19.474Z] docker.io [2022-07-20T12:01:19.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:01:19.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:01:19.734Z] Configure a credential helper to remove this warning. See [2022-07-20T12:01:19.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:01:19.734Z] [2022-07-20T12:01:19.734Z] Login Succeeded [2022-07-20T12:01:19.734Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T12:01:19.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T12:01:19.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T12:01:19.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T12:01:19.820Z] ========================================================= [2022-07-20T12:01:19.820Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-20T12:01:19.820Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:01:20.137Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-20T12:01:20.137Z] Sending build context to Docker daemon 5.46MB [2022-07-20T12:01:20.137Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T12:01:20.137Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-20T12:01:20.137Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-20T12:01:20.137Z] 2408cc74d12b: Pulling fs layer [2022-07-20T12:01:20.137Z] ea60b727a1ce: Pulling fs layer [2022-07-20T12:01:20.137Z] 30c4a7721957: Pulling fs layer [2022-07-20T12:01:20.137Z] 370296b7ddb6: Pulling fs layer [2022-07-20T12:01:20.137Z] 7c6cee850709: Pulling fs layer [2022-07-20T12:01:20.137Z] 39a5fcdaea64: Pulling fs layer [2022-07-20T12:01:20.137Z] d94ebbe4e438: Pulling fs layer [2022-07-20T12:01:20.137Z] bcfd1f05c69d: Pulling fs layer [2022-07-20T12:01:20.137Z] 59ccb84bbe0f: Pulling fs layer [2022-07-20T12:01:20.137Z] 39a5fcdaea64: Waiting [2022-07-20T12:01:20.137Z] 370296b7ddb6: Waiting [2022-07-20T12:01:20.137Z] d94ebbe4e438: Waiting [2022-07-20T12:01:20.137Z] bcfd1f05c69d: Waiting [2022-07-20T12:01:20.137Z] 7c6cee850709: Waiting [2022-07-20T12:01:20.137Z] 59ccb84bbe0f: Waiting [2022-07-20T12:01:20.137Z] 30c4a7721957: Verifying Checksum [2022-07-20T12:01:20.137Z] 30c4a7721957: Download complete [2022-07-20T12:01:20.137Z] ea60b727a1ce: Verifying Checksum [2022-07-20T12:01:20.137Z] ea60b727a1ce: Download complete [2022-07-20T12:01:20.137Z] 7c6cee850709: Verifying Checksum [2022-07-20T12:01:20.137Z] 7c6cee850709: Download complete [2022-07-20T12:01:20.402Z] 39a5fcdaea64: Verifying Checksum [2022-07-20T12:01:20.402Z] 39a5fcdaea64: Download complete [2022-07-20T12:01:20.402Z] 2408cc74d12b: Download complete [2022-07-20T12:01:20.402Z] d94ebbe4e438: Verifying Checksum [2022-07-20T12:01:20.402Z] d94ebbe4e438: Download complete [2022-07-20T12:01:20.402Z] 2408cc74d12b: Pull complete [2022-07-20T12:01:20.676Z] ea60b727a1ce: Pull complete [2022-07-20T12:01:20.676Z] 30c4a7721957: Pull complete [2022-07-20T12:01:20.939Z] 59ccb84bbe0f: Verifying Checksum [2022-07-20T12:01:20.939Z] 59ccb84bbe0f: Download complete [2022-07-20T12:01:20.939Z] bcfd1f05c69d: Verifying Checksum [2022-07-20T12:01:20.939Z] bcfd1f05c69d: Download complete [2022-07-20T12:01:20.939Z] 370296b7ddb6: Verifying Checksum [2022-07-20T12:01:20.939Z] 370296b7ddb6: Download complete [2022-07-20T12:01:25.132Z] 370296b7ddb6: Pull complete [2022-07-20T12:01:25.410Z] 7c6cee850709: Pull complete [2022-07-20T12:01:25.410Z] 39a5fcdaea64: Pull complete [2022-07-20T12:01:25.410Z] d94ebbe4e438: Pull complete [2022-07-20T12:01:27.321Z] bcfd1f05c69d: Pull complete [2022-07-20T12:01:28.262Z] 59ccb84bbe0f: Pull complete [2022-07-20T12:01:28.262Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-20T12:01:28.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-20T12:01:28.262Z] ---> a4fb48ad2a94 [2022-07-20T12:01:28.262Z] Step 3/12 : ARG MAKE='make build' [2022-07-20T12:01:30.826Z] ---> Running in 34a7c9acf514 [2022-07-20T12:01:30.826Z] Removing intermediate container 34a7c9acf514 [2022-07-20T12:01:30.826Z] ---> 49b0f90debc4 [2022-07-20T12:01:30.826Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T12:01:30.826Z] ---> Running in ee28bc34dcc1 [2022-07-20T12:01:30.826Z] Removing intermediate container ee28bc34dcc1 [2022-07-20T12:01:30.826Z] ---> ee9c52db3594 [2022-07-20T12:01:30.826Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T12:01:31.088Z] ---> Running in e2a59cc1a079 [2022-07-20T12:01:31.088Z] Removing intermediate container e2a59cc1a079 [2022-07-20T12:01:31.088Z] ---> bff90a35c041 [2022-07-20T12:01:31.088Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T12:01:31.348Z] ---> Running in f8181eaaf01c [2022-07-20T12:01:32.291Z] Removing intermediate container f8181eaaf01c [2022-07-20T12:01:32.291Z] ---> 4bbb269f9d1d [2022-07-20T12:01:32.291Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T12:01:32.291Z] ---> Running in 6a2dff9e2976 [2022-07-20T12:01:32.555Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T12:01:33.506Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T12:01:33.619Z] Still waiting to schedule task [2022-07-20T12:01:33.619Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-20T12:01:33.766Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-20T12:01:33.766Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-20T12:01:34.026Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-20T12:01:34.026Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-20T12:01:34.026Z] Executing busybox-1.35.0-r13.trigger [2022-07-20T12:01:34.026Z] OK: 216 MiB in 55 packages [2022-07-20T12:01:34.597Z] Removing intermediate container 6a2dff9e2976 [2022-07-20T12:01:34.597Z] ---> f553453f2998 [2022-07-20T12:01:34.597Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-20T12:01:34.597Z] ---> Running in cc6d6724e8ef [2022-07-20T12:01:34.597Z] Removing intermediate container cc6d6724e8ef [2022-07-20T12:01:34.597Z] ---> c07dfb07cc3a [2022-07-20T12:01:34.597Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-20T12:01:34.858Z] ---> c430aea65d53 [2022-07-20T12:01:34.858Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T12:01:34.858Z] ---> Running in 1200c7a833ec [2022-07-20T12:01:56.824Z] Removing intermediate container 1200c7a833ec [2022-07-20T12:01:56.824Z] ---> 4284fb560e99 [2022-07-20T12:01:56.824Z] Step 11/12 : COPY . . [2022-07-20T12:01:56.824Z] ---> 0d2c0fd9fc01 [2022-07-20T12:01:56.824Z] Step 12/12 : RUN ${MAKE} [2022-07-20T12:01:56.824Z] ---> Running in 8d3cfc57d26f [2022-07-20T12:01:56.824Z] noop [2022-07-20T12:01:56.824Z] Removing intermediate container 8d3cfc57d26f [2022-07-20T12:01:56.824Z] ---> 23b4d326871f [2022-07-20T12:01:56.824Z] Successfully built 23b4d326871f [2022-07-20T12:01:56.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:01:57.141Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T12:01:57.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:01:57.222Z] prd-ubuntu20.04-docker-8c-8g-20580 does not seem to be running inside a container [2022-07-20T12:01:57.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-20T12:01:57.646Z] $ docker top 9a4203f525caeb4853deae829cc5a9749e960bcf2614b04093a674ee248f661b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:01:58.006Z] + go version [2022-07-20T12:01:58.006Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-20T12:01:58.022Z] $ docker stop --time=1 9a4203f525caeb4853deae829cc5a9749e960bcf2614b04093a674ee248f661b [2022-07-20T12:01:59.317Z] $ docker rm -f 9a4203f525caeb4853deae829cc5a9749e960bcf2614b04093a674ee248f661b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:01:59.746Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T12:01:59.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:01:59.852Z] prd-ubuntu20.04-docker-8c-8g-20580 does not seem to be running inside a container [2022-07-20T12:01:59.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-20T12:02:00.307Z] $ docker top 01b87827fed406d5c4fb371487974e6f0169bc3af0b2b879b671e06900f3c24b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:02:00.681Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] fileExists [Pipeline] sh [2022-07-20T12:02:00.980Z] + make test [2022-07-20T12:02:00.981Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-20T12:02:01.240Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-20T12:02:11.223Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-20T12:02:11.223Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2022-07-20T12:02:17.799Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-20T12:02:17.799Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T12:02:19.706Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T12:02:19.706Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T12:02:19.706Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T12:02:19.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T12:02:19.996Z] $ docker stop --time=1 01b87827fed406d5c4fb371487974e6f0169bc3af0b2b879b671e06900f3c24b [2022-07-20T12:02:21.896Z] $ docker rm -f 01b87827fed406d5c4fb371487974e6f0169bc3af0b2b879b671e06900f3c24b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T12:02:22.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T12:02:22.414Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-20T12:02:22.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T12:02:23.226Z] + ls -al . [2022-07-20T12:02:23.226Z] total 168 [2022-07-20T12:02:23.226Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 12:02 . [2022-07-20T12:02:23.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:00 .. [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 12:00 .dockerignore [2022-07-20T12:02:23.226Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:02 .git [2022-07-20T12:02:23.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:00 .github [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 12:00 .gitignore [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 12:00 .golangci.yml [2022-07-20T12:02:23.226Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 12:01 .semver [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 12:00 Attribution.txt [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 12:00 CHANGELOG.md [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 12:00 Dockerfile [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 12:00 GOVERNANCE.md [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 12:00 Jenkinsfile [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 12:00 LICENSE [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 12:00 Makefile [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 12:00 OWNERS.md [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 12:00 README.md [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 12:01 VERSION [2022-07-20T12:02:23.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 12:00 bin [2022-07-20T12:02:23.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:00 cmd [2022-07-20T12:02:23.226Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 12:02 coverage.out [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 12:00 go.mod [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 12:00 go.sum [2022-07-20T12:02:23.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:00 internal [2022-07-20T12:02:23.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:00 snap [2022-07-20T12:02:23.226Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:02:23.534Z] + 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=04de622028cfaebb47307c4dd7f541b6c5c0373c --label arch=amd64 --label version=0.0.0 . [2022-07-20T12:02:23.535Z] Sending build context to Docker daemon 5.469MB [2022-07-20T12:02:23.535Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T12:02:23.535Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-20T12:02:23.535Z] ---> 23b4d326871f [2022-07-20T12:02:23.535Z] Step 3/24 : ARG MAKE='make build' [2022-07-20T12:02:23.801Z] ---> Running in 4ff6b484b493 [2022-07-20T12:02:23.801Z] Removing intermediate container 4ff6b484b493 [2022-07-20T12:02:23.801Z] ---> aa815f7c3056 [2022-07-20T12:02:23.801Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T12:02:23.801Z] ---> Running in 13cb42827d2c [2022-07-20T12:02:23.801Z] Removing intermediate container 13cb42827d2c [2022-07-20T12:02:23.801Z] ---> 06ce0716941c [2022-07-20T12:02:23.801Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T12:02:24.064Z] ---> Running in 6ec271b7ccb2 [2022-07-20T12:02:24.064Z] Removing intermediate container 6ec271b7ccb2 [2022-07-20T12:02:24.064Z] ---> 7c41f91cb459 [2022-07-20T12:02:24.064Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T12:02:24.064Z] ---> Running in 2fe6ce83bcb1 [2022-07-20T12:02:24.640Z] Removing intermediate container 2fe6ce83bcb1 [2022-07-20T12:02:24.640Z] ---> 0f64e2dfa559 [2022-07-20T12:02:24.640Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T12:02:24.640Z] ---> Running in 9f8dd4878dfb [2022-07-20T12:02:24.900Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T12:02:25.842Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T12:02:26.412Z] OK: 216 MiB in 55 packages [2022-07-20T12:02:26.673Z] Removing intermediate container 9f8dd4878dfb [2022-07-20T12:02:26.673Z] ---> 1c3fed67231c [2022-07-20T12:02:26.673Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-20T12:02:26.673Z] ---> Running in ec2f947250a8 [2022-07-20T12:02:26.673Z] Removing intermediate container ec2f947250a8 [2022-07-20T12:02:26.673Z] ---> 8fbde09100e6 [2022-07-20T12:02:26.673Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-20T12:02:26.940Z] ---> 5da2413b5b32 [2022-07-20T12:02:26.940Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T12:02:26.940Z] ---> Running in d05a02b1ac80 [2022-07-20T12:02:27.513Z] Removing intermediate container d05a02b1ac80 [2022-07-20T12:02:27.513Z] ---> 3ae458a3749e [2022-07-20T12:02:27.513Z] Step 11/24 : COPY . . [2022-07-20T12:02:27.773Z] ---> d0e6ad503acb [2022-07-20T12:02:27.773Z] Step 12/24 : RUN ${MAKE} [2022-07-20T12:02:28.034Z] ---> Running in 0b565d078db7 [2022-07-20T12:02:28.034Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.14 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-20T12:02:49.988Z] Removing intermediate container 0b565d078db7 [2022-07-20T12:02:49.988Z] ---> 1d8255cd8cdf [2022-07-20T12:02:49.988Z] Step 13/24 : FROM alpine:3.16 [2022-07-20T12:02:49.988Z] 3.16: Pulling from library/alpine [2022-07-20T12:02:49.988Z] 530afca65e2e: Pulling fs layer [2022-07-20T12:02:49.988Z] 530afca65e2e: Verifying Checksum [2022-07-20T12:02:49.988Z] 530afca65e2e: Download complete [2022-07-20T12:02:49.988Z] 530afca65e2e: Pull complete [2022-07-20T12:02:49.988Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-20T12:02:49.988Z] Status: Downloaded newer image for alpine:3.16 [2022-07-20T12:02:49.988Z] ---> d7d3d98c851f [2022-07-20T12:02:49.988Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T12:02:49.988Z] ---> Running in b29c51eb8f16 [2022-07-20T12:02:49.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T12:02:49.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T12:02:49.988Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T12:02:49.988Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-20T12:02:49.988Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T12:02:49.988Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-20T12:02:49.988Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T12:02:49.988Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T12:02:49.988Z] Executing busybox-1.35.0-r15.trigger [2022-07-20T12:02:49.988Z] OK: 8 MiB in 20 packages [2022-07-20T12:02:49.988Z] Removing intermediate container b29c51eb8f16 [2022-07-20T12:02:49.988Z] ---> bb0687735383 [2022-07-20T12:02:49.988Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-20T12:02:49.988Z] ---> 71f548e32648 [2022-07-20T12:02:49.988Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-20T12:02:49.988Z] ---> c7324df9322e [2022-07-20T12:02:49.988Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-20T12:02:49.988Z] ---> d638d0ecaa61 [2022-07-20T12:02:49.988Z] Step 18/24 : EXPOSE 59993 [2022-07-20T12:02:49.988Z] ---> Running in 9331d1e66ce7 [2022-07-20T12:02:49.988Z] Removing intermediate container 9331d1e66ce7 [2022-07-20T12:02:49.988Z] ---> 0b740fdcc522 [2022-07-20T12:02:49.988Z] Step 19/24 : EXPOSE 161 [2022-07-20T12:02:49.989Z] ---> Running in 801f9b7cc2db [2022-07-20T12:02:50.249Z] Removing intermediate container 801f9b7cc2db [2022-07-20T12:02:50.250Z] ---> a585c3ca877d [2022-07-20T12:02:50.250Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-20T12:02:50.250Z] ---> Running in 62bbedf86833 [2022-07-20T12:02:50.250Z] Removing intermediate container 62bbedf86833 [2022-07-20T12:02:50.250Z] ---> a4940bcfc884 [2022-07-20T12:02:50.250Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-20T12:02:50.250Z] ---> Running in 213b8a1c6d27 [2022-07-20T12:02:50.510Z] Removing intermediate container 213b8a1c6d27 [2022-07-20T12:02:50.510Z] ---> d6098684813c [2022-07-20T12:02:50.510Z] Step 22/24 : LABEL arch=amd64 [2022-07-20T12:02:50.510Z] ---> Running in 5eff5f49f782 [2022-07-20T12:02:50.510Z] Removing intermediate container 5eff5f49f782 [2022-07-20T12:02:50.510Z] ---> 9b7ee49057aa [2022-07-20T12:02:50.510Z] Step 23/24 : LABEL git_sha=04de622028cfaebb47307c4dd7f541b6c5c0373c [2022-07-20T12:02:50.510Z] ---> Running in bb64c5b22d5d [2022-07-20T12:02:50.771Z] Removing intermediate container bb64c5b22d5d [2022-07-20T12:02:50.771Z] ---> 72150052fd49 [2022-07-20T12:02:50.771Z] Step 24/24 : LABEL version=0.0.0 [2022-07-20T12:02:50.771Z] ---> Running in 7264d839afdc [2022-07-20T12:02:50.771Z] Removing intermediate container 7264d839afdc [2022-07-20T12:02:50.771Z] ---> fe19a7b9d7b9 [2022-07-20T12:02:50.771Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T12:02:50.771Z] Successfully built fe19a7b9d7b9 [2022-07-20T12:02:50.771Z] 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 [2022-07-20T12:02:51.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T12:02:51.219Z] [2022-07-20T12:02:51.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:02:51.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T12:02:51.528Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-20T12:02:51.528Z] 5eb5b503b376: Pulling fs layer [2022-07-20T12:02:51.528Z] 5c69ac0246d0: Pulling fs layer [2022-07-20T12:02:51.528Z] ec43610c2a17: Pulling fs layer [2022-07-20T12:02:51.528Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-20T12:02:51.528Z] 33b1e0a273af: Pulling fs layer [2022-07-20T12:02:51.528Z] 5d3b04190fa2: Pulling fs layer [2022-07-20T12:02:51.528Z] 2f39f015ded8: Pulling fs layer [2022-07-20T12:02:51.528Z] 3a2ae6a8a46f: Waiting [2022-07-20T12:02:51.528Z] 33b1e0a273af: Waiting [2022-07-20T12:02:51.528Z] 5d3b04190fa2: Waiting [2022-07-20T12:02:51.528Z] 2f39f015ded8: Waiting [2022-07-20T12:02:51.528Z] 5c69ac0246d0: Verifying Checksum [2022-07-20T12:02:51.528Z] 5c69ac0246d0: Download complete [2022-07-20T12:02:51.528Z] 3a2ae6a8a46f: Download complete [2022-07-20T12:02:51.528Z] 33b1e0a273af: Verifying Checksum [2022-07-20T12:02:51.528Z] 33b1e0a273af: Download complete [2022-07-20T12:02:51.528Z] 5d3b04190fa2: Verifying Checksum [2022-07-20T12:02:51.528Z] 5d3b04190fa2: Download complete [2022-07-20T12:02:51.789Z] ec43610c2a17: Verifying Checksum [2022-07-20T12:02:51.789Z] ec43610c2a17: Download complete [2022-07-20T12:02:51.789Z] 5eb5b503b376: Verifying Checksum [2022-07-20T12:02:51.789Z] 5eb5b503b376: Download complete [2022-07-20T12:02:52.362Z] 2f39f015ded8: Download complete [2022-07-20T12:02:52.931Z] 5eb5b503b376: Pull complete [2022-07-20T12:02:53.192Z] 5c69ac0246d0: Pull complete [2022-07-20T12:02:53.454Z] ec43610c2a17: Pull complete [2022-07-20T12:02:53.713Z] 3a2ae6a8a46f: Pull complete [2022-07-20T12:02:53.972Z] 33b1e0a273af: Pull complete [2022-07-20T12:02:53.972Z] 5d3b04190fa2: Pull complete [2022-07-20T12:02:58.167Z] 2f39f015ded8: Pull complete [2022-07-20T12:02:58.167Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-20T12:02:58.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T12:02:58.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:02:58.264Z] prd-ubuntu20.04-docker-8c-8g-20580 does not seem to be running inside a container [2022-07-20T12:02:58.302Z] $ 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-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-20T12:03:00.131Z] $ docker top b4c431e1903415f0d5e245bac809050dc6eac8911e4c58a2036052ae604bf474 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:03:00.557Z] ---> job-cost.sh [2022-07-20T12:03:00.557Z] lf-activate-venv: SKIPPING [2022-07-20T12:03:00.557Z] INFO: No Stack... [2022-07-20T12:03:00.817Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T12:03:01.389Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T12:03:01.679Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/cost.csv [2022-07-20T12:03:01.679Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T12:03:01.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-2-stack-cost] [2022-07-20T12:03:01.701Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-2-stack-cost] did not exist. Created. [2022-07-20T12:03:01.701Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T12:03:02.008Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-20T12:03:02.043Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T12:03:02.050Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T12:03:02.073Z] $ docker stop --time=1 b4c431e1903415f0d5e245bac809050dc6eac8911e4c58a2036052ae604bf474 [2022-07-20T12:03:03.263Z] $ docker rm -f b4c431e1903415f0d5e245bac809050dc6eac8911e4c58a2036052ae604bf474 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-20T12:03:08.775Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20581 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] { [Pipeline] ws [2022-07-20T12:03:08.783Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2022-07-20T12:03:08.818Z] Selected Git installation does not exist. Using Default [2022-07-20T12:03:08.818Z] The recommended git tool is: NONE [2022-07-20T12:03:15.203Z] using credential edgex-jenkins-ssh [2022-07-20T12:03:15.221Z] Cloning the remote Git repository [2022-07-20T12:03:15.286Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T12:03:15.359Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2022-07-20T12:03:15.434Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T12:03:15.435Z] > git --version # timeout=10 [2022-07-20T12:03:15.452Z] > git --version # 'git version 2.25.1' [2022-07-20T12:03:15.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T12:03:15.599Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T12:03:17.284Z] Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit 04de622028cfaebb47307c4dd7f541b6c5c0373c [2022-07-20T12:03:17.539Z] Merge succeeded, producing 04de622028cfaebb47307c4dd7f541b6c5c0373c [2022-07-20T12:03:17.540Z] Checking out Revision 04de622028cfaebb47307c4dd7f541b6c5c0373c (PR-185) [2022-07-20T12:03:16.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-20T12:03:16.714Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T12:03:16.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-20T12:03:16.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T12:03:16.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T12:03:16.791Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-20T12:03:17.308Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T12:03:17.330Z] > git checkout -f 04de622028cfaebb47307c4dd7f541b6c5c0373c # timeout=10 [2022-07-20T12:03:17.436Z] > git remote # timeout=10 [2022-07-20T12:03:17.466Z] > git config --get remote.origin.url # timeout=10 [2022-07-20T12:03:17.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T12:03:17.493Z] > git merge f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 [2022-07-20T12:03:17.523Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-20T12:03:17.550Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T12:03:17.571Z] > git checkout -f 04de622028cfaebb47307c4dd7f541b6c5c0373c # timeout=10 [2022-07-20T12:03:21.709Z] Commit message: "fix(snap): Update go.mod" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T12:03:22.590Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-20T12:03:22.590Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T12:03:22.590Z] Dload Upload Total Spent Left Speed [2022-07-20T12:03:22.590Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 62 12332 62 7747 0 0 59592 0 --:--:-- --:--:-- --:--:-- 59137 100 12332 100 12332 0 0 93424 0 --:--:-- --:--:-- --:--:-- 93424 [Pipeline] sh [2022-07-20T12:03:23.412Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-20T12:03:23.752Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-20T12:03:23.752Z] + sudo tee /etc/docker/daemon.new [2022-07-20T12:03:23.752Z] { [2022-07-20T12:03:23.752Z] "registry-mirrors": [ [2022-07-20T12:03:23.752Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-20T12:03:23.752Z] ], [2022-07-20T12:03:23.752Z] "bip": "10.250.0.254/24", [2022-07-20T12:03:23.752Z] "hosts": [ [2022-07-20T12:03:23.752Z] "tcp://0.0.0.0:5555", [2022-07-20T12:03:23.752Z] "unix:///var/run/docker.sock" [2022-07-20T12:03:23.752Z] ], [2022-07-20T12:03:23.752Z] "mtu": 1458, [2022-07-20T12:03:23.752Z] "selinux-enabled": true, [2022-07-20T12:03:23.752Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-20T12:03:23.752Z] } [Pipeline] sh [2022-07-20T12:03:24.092Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-20T12:03:24.432Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T12:03:42.771Z] provisioning config files... [2022-07-20T12:03:42.791Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config1353437184310230560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:03:43.153Z] ---> docker-login.sh [2022-07-20T12:03:43.153Z] nexus3.edgexfoundry.org:10001 [2022-07-20T12:03:43.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:03:44.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:03:44.033Z] Configure a credential helper to remove this warning. See [2022-07-20T12:03:44.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:03:44.033Z] [2022-07-20T12:03:44.033Z] Login Succeeded [2022-07-20T12:03:44.033Z] nexus3.edgexfoundry.org:10002 [2022-07-20T12:03:44.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:03:44.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:03:44.308Z] Configure a credential helper to remove this warning. See [2022-07-20T12:03:44.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:03:44.308Z] [2022-07-20T12:03:44.308Z] Login Succeeded [2022-07-20T12:03:44.308Z] nexus3.edgexfoundry.org:10003 [2022-07-20T12:03:44.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:03:44.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:03:44.905Z] Configure a credential helper to remove this warning. See [2022-07-20T12:03:44.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:03:44.905Z] [2022-07-20T12:03:44.905Z] Login Succeeded [2022-07-20T12:03:44.905Z] nexus3.edgexfoundry.org:10004 [2022-07-20T12:03:45.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:03:45.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:03:45.180Z] Configure a credential helper to remove this warning. See [2022-07-20T12:03:45.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:03:45.180Z] [2022-07-20T12:03:45.180Z] Login Succeeded [2022-07-20T12:03:45.458Z] docker.io [2022-07-20T12:03:45.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:03:46.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:03:46.005Z] Configure a credential helper to remove this warning. See [2022-07-20T12:03:46.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:03:46.005Z] [2022-07-20T12:03:46.005Z] Login Succeeded [2022-07-20T12:03:46.005Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T12:03:46.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T12:03:46.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T12:03:46.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T12:03:46.620Z] ========================================================= [2022-07-20T12:03:46.621Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-20T12:03:46.621Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:03:47.002Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-20T12:03:47.273Z] Sending build context to Docker daemon 2.831MB [2022-07-20T12:03:47.273Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T12:03:47.273Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-20T12:03:47.550Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-20T12:03:47.550Z] b3c136eddcbf: Pulling fs layer [2022-07-20T12:03:47.550Z] c0a3192eca97: Pulling fs layer [2022-07-20T12:03:47.550Z] a050256f5b6f: Pulling fs layer [2022-07-20T12:03:47.550Z] 656be50a0ddc: Pulling fs layer [2022-07-20T12:03:47.550Z] 2bbca73fdf42: Pulling fs layer [2022-07-20T12:03:47.550Z] 46d945488cbd: Pulling fs layer [2022-07-20T12:03:47.550Z] 8a5474983e97: Pulling fs layer [2022-07-20T12:03:47.550Z] 329c88fbcd65: Pulling fs layer [2022-07-20T12:03:47.550Z] 46d945488cbd: Waiting [2022-07-20T12:03:47.550Z] 656be50a0ddc: Waiting [2022-07-20T12:03:47.550Z] 2bbca73fdf42: Waiting [2022-07-20T12:03:47.550Z] 8a5474983e97: Waiting [2022-07-20T12:03:47.550Z] a050256f5b6f: Download complete [2022-07-20T12:03:47.550Z] c0a3192eca97: Verifying Checksum [2022-07-20T12:03:47.550Z] c0a3192eca97: Download complete [2022-07-20T12:03:47.550Z] 2bbca73fdf42: Verifying Checksum [2022-07-20T12:03:47.550Z] 2bbca73fdf42: Download complete [2022-07-20T12:03:47.550Z] 46d945488cbd: Download complete [2022-07-20T12:03:47.827Z] b3c136eddcbf: Verifying Checksum [2022-07-20T12:03:48.820Z] b3c136eddcbf: Pull complete [2022-07-20T12:03:48.820Z] 329c88fbcd65: Verifying Checksum [2022-07-20T12:03:49.097Z] c0a3192eca97: Pull complete [2022-07-20T12:03:49.373Z] a050256f5b6f: Pull complete [2022-07-20T12:03:49.970Z] 8a5474983e97: Verifying Checksum [2022-07-20T12:03:49.970Z] 8a5474983e97: Download complete [2022-07-20T12:03:50.564Z] 656be50a0ddc: Verifying Checksum [2022-07-20T12:03:50.564Z] 656be50a0ddc: Download complete [2022-07-20T12:04:05.660Z] 656be50a0ddc: Pull complete [2022-07-20T12:04:05.660Z] 2bbca73fdf42: Pull complete [2022-07-20T12:04:05.660Z] 46d945488cbd: Pull complete [2022-07-20T12:04:09.973Z] 8a5474983e97: Pull complete [2022-07-20T12:04:12.685Z] 329c88fbcd65: Pull complete [2022-07-20T12:04:12.685Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-20T12:04:12.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-20T12:04:12.685Z] ---> ff4287adb874 [2022-07-20T12:04:12.685Z] Step 3/12 : ARG MAKE='make build' [2022-07-20T12:04:12.958Z] ---> Running in 1a52d7a20d00 [2022-07-20T12:04:13.232Z] Removing intermediate container 1a52d7a20d00 [2022-07-20T12:04:13.232Z] ---> 7bf18612efd3 [2022-07-20T12:04:13.232Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T12:04:13.232Z] ---> Running in c2578011dda2 [2022-07-20T12:04:13.509Z] Removing intermediate container c2578011dda2 [2022-07-20T12:04:13.509Z] ---> 7ee59da34d81 [2022-07-20T12:04:13.509Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T12:04:13.784Z] ---> Running in 209254444ec9 [2022-07-20T12:04:14.056Z] Removing intermediate container 209254444ec9 [2022-07-20T12:04:14.056Z] ---> e0a8d7e4d802 [2022-07-20T12:04:14.056Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T12:04:14.056Z] ---> Running in fe8710f7d73e [2022-07-20T12:04:17.441Z] Removing intermediate container fe8710f7d73e [2022-07-20T12:04:17.441Z] ---> 758606dbbf0f [2022-07-20T12:04:17.441Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T12:04:17.441Z] ---> Running in 74521793c593 [2022-07-20T12:04:18.041Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T12:04:19.020Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T12:04:20.013Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-20T12:04:20.013Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-20T12:04:20.013Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-20T12:04:20.293Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-20T12:04:20.293Z] Executing busybox-1.35.0-r13.trigger [2022-07-20T12:04:20.293Z] OK: 226 MiB in 55 packages [2022-07-20T12:04:21.292Z] Removing intermediate container 74521793c593 [2022-07-20T12:04:21.292Z] ---> 04fdc6fe12cd [2022-07-20T12:04:21.292Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-20T12:04:21.292Z] ---> Running in 9bd068e10243 [2022-07-20T12:04:21.895Z] Removing intermediate container 9bd068e10243 [2022-07-20T12:04:21.895Z] ---> 98da556e4af4 [2022-07-20T12:04:21.895Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-20T12:04:22.174Z] ---> 6f4bee523406 [2022-07-20T12:04:22.174Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T12:04:22.456Z] ---> Running in d6bc9c65b247 [2022-07-20T12:05:09.447Z] Removing intermediate container d6bc9c65b247 [2022-07-20T12:05:09.447Z] ---> 1863ce136ecb [2022-07-20T12:05:09.447Z] Step 11/12 : COPY . . [2022-07-20T12:05:09.447Z] ---> d6cc184102f1 [2022-07-20T12:05:09.447Z] Step 12/12 : RUN ${MAKE} [2022-07-20T12:05:09.447Z] ---> Running in d50312449ea2 [2022-07-20T12:05:09.447Z] noop [2022-07-20T12:05:09.447Z] Removing intermediate container d50312449ea2 [2022-07-20T12:05:09.447Z] ---> 4aa45b03cfec [2022-07-20T12:05:09.447Z] Successfully built 4aa45b03cfec [2022-07-20T12:05:09.447Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:05:09.813Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T12:05:09.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:05:10.059Z] prd-ubuntu20.04-docker-arm64-4c-16g-20581 does not seem to be running inside a container [2022-07-20T12:05:10.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T12:05:11.421Z] $ docker top ca0bcf51367466479c6ba4460ad968011fd7685a8dfd0b8bb4aa7a42f8ea4a3b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:05:12.332Z] + go version [2022-07-20T12:05:12.332Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-20T12:05:12.361Z] $ docker stop --time=1 ca0bcf51367466479c6ba4460ad968011fd7685a8dfd0b8bb4aa7a42f8ea4a3b [2022-07-20T12:05:14.024Z] $ docker rm -f ca0bcf51367466479c6ba4460ad968011fd7685a8dfd0b8bb4aa7a42f8ea4a3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:05:14.692Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T12:05:14.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:05:14.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-20581 does not seem to be running inside a container [2022-07-20T12:05:15.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T12:05:16.305Z] $ docker top 5a89ad1532709a1e118550321d14be835d1953ae417d29da8e64510a46f8f7d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:05:17.198Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh [2022-07-20T12:05:17.874Z] + make test [2022-07-20T12:05:17.874Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-20T12:05:19.862Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-20T12:06:41.722Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-20T12:06:41.722Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements [2022-07-20T12:06:41.722Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-20T12:06:41.722Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T12:06:54.150Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T12:06:54.150Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T12:06:54.150Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T12:06:54.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T12:06:54.189Z] $ docker stop --time=1 5a89ad1532709a1e118550321d14be835d1953ae417d29da8e64510a46f8f7d1 [2022-07-20T12:06:55.938Z] $ docker rm -f 5a89ad1532709a1e118550321d14be835d1953ae417d29da8e64510a46f8f7d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T12:06:56.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T12:06:56.914Z] Warning: overwriting stash ‘coverage-report’ [2022-07-20T12:06:57.364Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T12:06:57.762Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T12:06:58.097Z] + ls -al . [2022-07-20T12:06:58.098Z] total 164 [2022-07-20T12:06:58.098Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:05 . [2022-07-20T12:06:58.098Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:03 .. [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 12:03 .dockerignore [2022-07-20T12:06:58.098Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:03 .git [2022-07-20T12:06:58.098Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:03 .github [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 12:03 .gitignore [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 12:03 .golangci.yml [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 12:03 Attribution.txt [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 12:03 CHANGELOG.md [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 12:03 Dockerfile [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 12:03 GOVERNANCE.md [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 12:03 Jenkinsfile [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 12:03 LICENSE [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 12:03 Makefile [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 12:03 OWNERS.md [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 12:03 README.md [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 12:01 VERSION [2022-07-20T12:06:58.098Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 12:03 bin [2022-07-20T12:06:58.098Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:03 cmd [2022-07-20T12:06:58.098Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 12:06 coverage.out [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 12:03 go.mod [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 12:03 go.sum [2022-07-20T12:06:58.098Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:03 internal [2022-07-20T12:06:58.098Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:03 snap [2022-07-20T12:06:58.098Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 12:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:06:58.454Z] + 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=04de622028cfaebb47307c4dd7f541b6c5c0373c --label arch=arm64 --label version=0.0.0 . [2022-07-20T12:06:58.731Z] Sending build context to Docker daemon 2.839MB [2022-07-20T12:06:58.731Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T12:06:58.731Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-20T12:06:58.731Z] ---> 4aa45b03cfec [2022-07-20T12:06:58.731Z] Step 3/24 : ARG MAKE='make build' [2022-07-20T12:06:59.004Z] ---> Running in 5eb1bef101de [2022-07-20T12:06:59.280Z] Removing intermediate container 5eb1bef101de [2022-07-20T12:06:59.280Z] ---> 4e016bf87fc4 [2022-07-20T12:06:59.280Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T12:06:59.280Z] ---> Running in 5f99b6408bf3 [2022-07-20T12:06:59.553Z] Removing intermediate container 5f99b6408bf3 [2022-07-20T12:06:59.553Z] ---> bff43f7213d5 [2022-07-20T12:06:59.553Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T12:06:59.553Z] ---> Running in ef682b9e8ecb [2022-07-20T12:07:00.161Z] Removing intermediate container ef682b9e8ecb [2022-07-20T12:07:00.161Z] ---> 69e7f7eeba38 [2022-07-20T12:07:00.161Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T12:07:00.161Z] ---> Running in 91c93fd46d0b [2022-07-20T12:07:01.611Z] Removing intermediate container 91c93fd46d0b [2022-07-20T12:07:01.611Z] ---> 2b514c570620 [2022-07-20T12:07:01.611Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T12:07:01.898Z] ---> Running in 9b73befce256 [2022-07-20T12:07:02.878Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T12:07:03.861Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T12:07:04.838Z] OK: 226 MiB in 55 packages [2022-07-20T12:07:05.444Z] Removing intermediate container 9b73befce256 [2022-07-20T12:07:05.444Z] ---> 757f603fafbd [2022-07-20T12:07:05.444Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-20T12:07:05.444Z] ---> Running in e34f1936850e [2022-07-20T12:07:05.720Z] Removing intermediate container e34f1936850e [2022-07-20T12:07:05.720Z] ---> 7975fd9f48cb [2022-07-20T12:07:05.720Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-20T12:07:06.323Z] ---> 42fd28b8dd42 [2022-07-20T12:07:06.323Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T12:07:06.323Z] ---> Running in 87e2ca04b6fd [2022-07-20T12:07:08.306Z] Removing intermediate container 87e2ca04b6fd [2022-07-20T12:07:08.306Z] ---> bf1e3d54973d [2022-07-20T12:07:08.306Z] Step 11/24 : COPY . . [2022-07-20T12:07:08.905Z] ---> b4bcfd307f2a [2022-07-20T12:07:08.905Z] Step 12/24 : RUN ${MAKE} [2022-07-20T12:07:09.180Z] ---> Running in 08570a35c166 [2022-07-20T12:07:10.160Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.14 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-20T12:09:17.051Z] Removing intermediate container 08570a35c166 [2022-07-20T12:09:17.051Z] ---> 97e52f5566ca [2022-07-20T12:09:17.051Z] Step 13/24 : FROM alpine:3.16 [2022-07-20T12:09:17.051Z] 3.16: Pulling from library/alpine [2022-07-20T12:09:17.051Z] f97344484467: Pulling fs layer [2022-07-20T12:09:17.051Z] f97344484467: Download complete [2022-07-20T12:09:17.051Z] f97344484467: Pull complete [2022-07-20T12:09:17.051Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-20T12:09:17.051Z] Status: Downloaded newer image for alpine:3.16 [2022-07-20T12:09:17.051Z] ---> 3d81c46cd875 [2022-07-20T12:09:17.051Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T12:09:17.051Z] ---> Running in 535892530d36 [2022-07-20T12:09:17.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T12:09:17.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T12:09:17.051Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T12:09:17.051Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-20T12:09:17.051Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T12:09:17.051Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-20T12:09:17.051Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T12:09:17.051Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T12:09:17.052Z] Executing busybox-1.35.0-r15.trigger [2022-07-20T12:09:17.052Z] OK: 8 MiB in 20 packages [2022-07-20T12:09:17.052Z] Removing intermediate container 535892530d36 [2022-07-20T12:09:17.052Z] ---> dfbb04b66606 [2022-07-20T12:09:17.052Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-20T12:09:17.052Z] ---> c08fd6be9d40 [2022-07-20T12:09:17.052Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-20T12:09:17.654Z] ---> 374a5a9942d9 [2022-07-20T12:09:17.654Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-20T12:09:18.262Z] ---> 30493d0cf661 [2022-07-20T12:09:18.262Z] Step 18/24 : EXPOSE 59993 [2022-07-20T12:09:18.262Z] ---> Running in 4dc77e63dcc5 [2022-07-20T12:09:18.538Z] Removing intermediate container 4dc77e63dcc5 [2022-07-20T12:09:18.538Z] ---> 2158f50efc13 [2022-07-20T12:09:18.538Z] Step 19/24 : EXPOSE 161 [2022-07-20T12:09:18.538Z] ---> Running in 1a9904aa0366 [2022-07-20T12:09:18.836Z] Removing intermediate container 1a9904aa0366 [2022-07-20T12:09:18.836Z] ---> 651b41f3f67b [2022-07-20T12:09:18.836Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-20T12:09:18.836Z] ---> Running in 82fc68715229 [2022-07-20T12:09:19.446Z] Removing intermediate container 82fc68715229 [2022-07-20T12:09:19.446Z] ---> acb1eaea1b05 [2022-07-20T12:09:19.446Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-20T12:09:19.446Z] ---> Running in f852ce5dfbf4 [2022-07-20T12:09:19.722Z] Removing intermediate container f852ce5dfbf4 [2022-07-20T12:09:19.722Z] ---> 8c48cfdce539 [2022-07-20T12:09:19.722Z] Step 22/24 : LABEL arch=arm64 [2022-07-20T12:09:19.722Z] ---> Running in ce9295533582 [2022-07-20T12:09:19.998Z] Removing intermediate container ce9295533582 [2022-07-20T12:09:19.998Z] ---> f03e92304435 [2022-07-20T12:09:19.998Z] Step 23/24 : LABEL git_sha=04de622028cfaebb47307c4dd7f541b6c5c0373c [2022-07-20T12:09:20.274Z] ---> Running in d193b3f11462 [2022-07-20T12:09:20.549Z] Removing intermediate container d193b3f11462 [2022-07-20T12:09:20.550Z] ---> 90d283f3d816 [2022-07-20T12:09:20.550Z] Step 24/24 : LABEL version=0.0.0 [2022-07-20T12:09:20.550Z] ---> Running in d8dc014a4381 [2022-07-20T12:09:20.825Z] Removing intermediate container d8dc014a4381 [2022-07-20T12:09:20.825Z] ---> 0d5001903e9a [2022-07-20T12:09:20.825Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T12:09:20.825Z] Successfully built 0d5001903e9a [2022-07-20T12:09:20.825Z] 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 [2022-07-20T12:09:21.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T12:09:21.321Z] [2022-07-20T12:09:21.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:09:21.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T12:09:21.968Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-20T12:09:21.968Z] 8998bd30e6a1: Pulling fs layer [2022-07-20T12:09:21.968Z] 04944245beec: Pulling fs layer [2022-07-20T12:09:21.968Z] 699f458cf7ca: Pulling fs layer [2022-07-20T12:09:21.968Z] 765212b225bb: Pulling fs layer [2022-07-20T12:09:21.968Z] f23df028b6ca: Pulling fs layer [2022-07-20T12:09:21.968Z] d65c8cfc05b1: Pulling fs layer [2022-07-20T12:09:21.968Z] 2437ff75d9bd: Pulling fs layer [2022-07-20T12:09:21.968Z] 765212b225bb: Waiting [2022-07-20T12:09:21.968Z] f23df028b6ca: Waiting [2022-07-20T12:09:21.968Z] d65c8cfc05b1: Waiting [2022-07-20T12:09:21.968Z] 2437ff75d9bd: Waiting [2022-07-20T12:09:21.968Z] 04944245beec: Verifying Checksum [2022-07-20T12:09:21.968Z] 04944245beec: Download complete [2022-07-20T12:09:21.968Z] 765212b225bb: Verifying Checksum [2022-07-20T12:09:21.968Z] 765212b225bb: Download complete [2022-07-20T12:09:21.968Z] f23df028b6ca: Verifying Checksum [2022-07-20T12:09:21.968Z] f23df028b6ca: Download complete [2022-07-20T12:09:21.968Z] d65c8cfc05b1: Verifying Checksum [2022-07-20T12:09:21.968Z] d65c8cfc05b1: Download complete [2022-07-20T12:09:22.247Z] 699f458cf7ca: Verifying Checksum [2022-07-20T12:09:22.247Z] 699f458cf7ca: Download complete [2022-07-20T12:09:22.533Z] 8998bd30e6a1: Verifying Checksum [2022-07-20T12:09:22.533Z] 8998bd30e6a1: Download complete [2022-07-20T12:09:25.176Z] 2437ff75d9bd: Download complete [2022-07-20T12:09:26.616Z] 8998bd30e6a1: Pull complete [2022-07-20T12:09:27.227Z] 04944245beec: Pull complete [2022-07-20T12:09:28.671Z] 699f458cf7ca: Pull complete [2022-07-20T12:09:28.949Z] 765212b225bb: Pull complete [2022-07-20T12:09:29.929Z] f23df028b6ca: Pull complete [2022-07-20T12:09:29.929Z] d65c8cfc05b1: Pull complete [2022-07-20T12:09:45.047Z] 2437ff75d9bd: Pull complete [2022-07-20T12:09:45.047Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-20T12:09:45.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T12:09:45.047Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:09:45.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-20581 does not seem to be running inside a container [2022-07-20T12:09:45.398Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-20T12:09:48.238Z] $ docker top 99f4cf17009930ffd7f0eda03163485a5b482785a022c87f9e1e14bdf1577c2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:09:49.206Z] ---> job-cost.sh [2022-07-20T12:09:49.206Z] lf-activate-venv: SKIPPING [2022-07-20T12:09:49.206Z] INFO: No Stack... [2022-07-20T12:09:49.482Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-20T12:09:50.474Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T12:09:51.140Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2022-07-20T12:09:51.140Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T12:09:51.209Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-2-stack-cost] [2022-07-20T12:09:51.218Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-2-stack-cost] did not exist. Created. [2022-07-20T12:09:51.218Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T12:09:51.901Z] /w/workspace/device-snmp-go/2@tmp/durable-45d712e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-20T12:09:52.581Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-20T12:09:52.610Z] Warning: overwriting stash ‘stack-cost’ [2022-07-20T12:09:52.657Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T12:09:52.672Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T12:09:52.696Z] $ docker stop --time=1 99f4cf17009930ffd7f0eda03163485a5b482785a022c87f9e1e14bdf1577c2a [2022-07-20T12:09:54.264Z] $ docker rm -f 99f4cf17009930ffd7f0eda03163485a5b482785a022c87f9e1e14bdf1577c2a [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 [2022-07-20T12:09:54.723Z] provisioning config files... [2022-07-20T12:09:54.730Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config4228746330295796443tmp [Pipeline] { [Pipeline] sh [2022-07-20T12:09:55.026Z] + set +x [2022-07-20T12:09:55.026Z] + curl -s https://codecov.io/bash [2022-07-20T12:09:55.026Z] + bash -s -- [2022-07-20T12:09:55.026Z] [2022-07-20T12:09:55.026Z] _____ _ [2022-07-20T12:09:55.026Z] / ____| | | [2022-07-20T12:09:55.026Z] | | ___ __| | ___ ___ _____ __ [2022-07-20T12:09:55.026Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-20T12:09:55.026Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-20T12:09:55.026Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-20T12:09:55.026Z] Bash-1.0.6 [2022-07-20T12:09:55.026Z] [2022-07-20T12:09:55.026Z] [2022-07-20T12:09:55.026Z] ==> git version 2.25.1 found [2022-07-20T12:09:55.026Z] ==> 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 [2022-07-20T12:09:55.026Z] Release-Date: 2020-01-08 [2022-07-20T12:09:55.026Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-20T12:09:55.027Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-20T12:09:55.027Z] ==> Jenkins CI detected. [2022-07-20T12:09:55.027Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-185 [2022-07-20T12:09:55.027Z] project root: . [2022-07-20T12:09:55.027Z] --> token set from env [2022-07-20T12:09:55.027Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-20T12:09:55.027Z] ==> Running gcov in . (disable via -X gcov) [2022-07-20T12:09:55.027Z] ==> Python coveragepy not found [2022-07-20T12:09:55.027Z] ==> Searching for coverage reports in: [2022-07-20T12:09:55.027Z] + . [2022-07-20T12:09:55.288Z] -> Found 1 reports [2022-07-20T12:09:55.288Z] ==> Detecting git/mercurial file structure [2022-07-20T12:09:55.288Z] ==> Reading reports [2022-07-20T12:09:55.288Z] + ./coverage.out bytes=7631 [2022-07-20T12:09:55.288Z] ==> Appending adjustments [2022-07-20T12:09:55.288Z] https://docs.codecov.io/docs/fixing-reports [2022-07-20T12:09:55.288Z] + Found adjustments [2022-07-20T12:09:55.288Z] ==> Gzipping contents [2022-07-20T12:09:55.288Z] 4.0K /tmp/codecov.iFfjjD.gz [2022-07-20T12:09:55.288Z] ==> Uploading reports [2022-07-20T12:09:55.288Z] url: https://codecov.io [2022-07-20T12:09:55.288Z] query: branch=PR-185&commit=04de622028cfaebb47307c4dd7f541b6c5c0373c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-07-20T12:09:55.288Z] -> Pinging Codecov [2022-07-20T12:09:55.288Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-185&commit=04de622028cfaebb47307c4dd7f541b6c5c0373c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-07-20T12:09:55.550Z] -> Uploading to [2022-07-20T12:09:55.550Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-20/6C56EA5C29638FB4528AC87E60AF5AE0/04de622028cfaebb47307c4dd7f541b6c5c0373c/4af2bf24-d940-45d9-a92e-a512592f17ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T120955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=351ca35fe422e3178b6fd734de56c3bf5bf96788aaa5a1d7e3b79361e0a1e818 [2022-07-20T12:09:55.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T12:09:55.550Z] Dload Upload Total Spent Left Speed [2022-07-20T12:09:55.810Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1529 0 0 100 1529 0 6240 --:--:-- --:--:-- --:--:-- 6240 [2022-07-20T12:09:55.811Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/04de622028cfaebb47307c4dd7f541b6c5c0373c [Pipeline] } [2022-07-20T12:09:55.818Z] 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 [2022-07-20T12:09:56.504Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-185/archives ] [2022-07-20T12:09:56.504Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T12:09:56.504Z] total 16 [2022-07-20T12:09:56.504Z] drwxr-xr-x 3 root root 4096 Jul 20 12:03 . [2022-07-20T12:09:56.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 12:03 .. [2022-07-20T12:09:56.504Z] drwxr-xr-x 2 root root 4096 Jul 20 12:03 cost [2022-07-20T12:09:56.504Z] -rw-r--r-- 1 root root 85 Jul 20 12:03 cost.csv [2022-07-20T12:09:56.504Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T12:09:56.504Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T12:09:56.504Z] total 16 [2022-07-20T12:09:56.504Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 12:03 . [2022-07-20T12:09:56.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 12:03 .. [2022-07-20T12:09:56.504Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 12:03 cost [2022-07-20T12:09:56.504Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 20 12:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:09:56.801Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:09:57.666Z] ---> package-listing.sh [2022-07-20T12:09:57.666Z] ++ facter osfamily [2022-07-20T12:09:57.666Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-20T12:09:57.927Z] + OS_FAMILY=debian [2022-07-20T12:09:57.927Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-185 [2022-07-20T12:09:57.927Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-20T12:09:57.927Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-20T12:09:57.927Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-20T12:09:57.927Z] + PACKAGES=/tmp/packages_start.txt [2022-07-20T12:09:57.927Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' [2022-07-20T12:09:57.927Z] + PACKAGES=/tmp/packages_end.txt [2022-07-20T12:09:57.927Z] + case "${OS_FAMILY}" in [2022-07-20T12:09:57.927Z] + dpkg -l [2022-07-20T12:09:57.927Z] + grep '^ii' [2022-07-20T12:09:57.927Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-20T12:09:57.927Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-20T12:09:57.927Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-20T12:09:57.927Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' [2022-07-20T12:09:57.927Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [2022-07-20T12:09:57.927Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [Pipeline] echo [2022-07-20T12:09:57.940Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-20T12:09:58.221Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:09:58.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T12:09:58.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:09:58.873Z] prd-ubuntu20.04-docker-8c-8g-20580 does not seem to be running inside a container [2022-07-20T12:09:58.911Z] $ 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-185/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-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-20T12:09:59.190Z] $ docker top 0b9eac7212cc530999ba89eaa64be3544e7ede23214f43e55451b9a77181d949 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:09:59.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-20T12:09:59.843Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-20T12:10:00.137Z] + ls /var/log/sa-host [2022-07-20T12:10:00.137Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T12:10:00.270Z] provisioning config files... [2022-07-20T12:10:00.282Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config2465639132519151738tmp [Pipeline] { [Pipeline] echo [2022-07-20T12:10:00.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:10:00.578Z] ---> create-netrc.sh [Pipeline] } [2022-07-20T12:10:00.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:10:00.919Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-20T12:10:00.928Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:10:01.215Z] ---> sudo-logs.sh [2022-07-20T12:10:01.215Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-20T12:10:01.236Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:10:01.524Z] ---> job-cost.sh [2022-07-20T12:10:01.524Z] lf-activate-venv: SKIPPING [2022-07-20T12:10:01.524Z] DEBUG: total: 0.2199999988079071 [2022-07-20T12:10:01.524Z] INFO: Retrieving Stack Cost... [2022-07-20T12:10:02.096Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T12:10:02.362Z] INFO: Archiving Costs [Pipeline] echo [2022-07-20T12:10:02.374Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:10:02.662Z] ---> logs-deploy.sh [2022-07-20T12:10:02.662Z] lf-activate-venv: SKIPPING [2022-07-20T12:10:02.662Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-185/2 [2022-07-20T12:10:02.662Z] INFO: archiving workspace using pattern(s): [2022-07-20T12:10:03.600Z] Archives upload complete. [2022-07-20T12:10:03.600Z] INFO: archiving logs to Nexus