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 c73fd211f606de8b871675691e79a9584ab1e471 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-ssh5046811036942521041.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-ssh13671556356745938891.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-ssh652184455808623881.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-ssh16868342137487874352.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-ssh17929542066115354027.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-20652 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 Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit c73fd211f606de8b871675691e79a9584ab1e471 Merge succeeded, producing c73fd211f606de8b871675691e79a9584ab1e471 Checking out Revision c73fd211f606de8b871675691e79a9584ab1e471 (PR-185) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/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 c73fd211f606de8b871675691e79a9584ab1e471 # 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 c73fd211f606de8b871675691e79a9584ab1e471 # timeout=10 Commit message: "refactor(snap): Update configure.go" > git rev-list --no-walk c24639bf76a4d6c0a3f320a23bc23fefcd77eb5c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-21T06:54:40.091Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-21T06:54:40.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-21T06:54:40.173Z] ========================================================= [2022-07-21T06:54:40.174Z] EdgeX Global Pipelines Version Info [2022-07-21T06:54:40.174Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-21T06:54:40.934Z] ------------------- [2022-07-21T06:54:40.934Z] stable info: [2022-07-21T06:54:40.934Z] ------------------- [2022-07-21T06:54:40.934Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T06:54:40.934Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T06:54:40.934Z] Message: update stable to v1.0.238 [2022-07-21T06:54:41.506Z] ------------------- [2022-07-21T06:54:41.506Z] experimental info: [2022-07-21T06:54:41.506Z] ------------------- [2022-07-21T06:54:41.506Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T06:54:41.506Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T06:54:41.506Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-21T06:54:41.695Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-07-21T06:54:41.706Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-07-21T06:54:41.718Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-21T06:54:41.730Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-21T06:54:41.742Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-21T06:54:41.754Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-21T06:54:41.766Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-21T06:54:41.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-21T06:54:41.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-21T06:54:41.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-21T06:54:41.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-21T06:54:41.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-07-21T06:54:41.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-21T06:54:41.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-21T06:54:41.870Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T06:54:41.882Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T06:54:41.893Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T06:54:41.905Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T06:54:41.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-21T06:54:41.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-21T06:54:41.939Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-21T06:54:41.953Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-21T06:54:41.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-21T06:54:41.975Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-21T06:54:41.984Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-21T06:54:41.992Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-21T06:54:42.000Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-21T06:54:42.010Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-07-21T06:54:42.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-07-21T06:54:42.035Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-07-21T06:54:42.046Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c73fd211f606de8b871675691e79a9584ab1e471 [Pipeline] echo [2022-07-21T06:54:42.059Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c73fd21 [Pipeline] echo [2022-07-21T06:54:42.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T06:54:42.110Z] provisioning config files... [2022-07-21T06:54:42.123Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config2653530646823971423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T06:54:42.497Z] ---> docker-login.sh [2022-07-21T06:54:42.497Z] nexus3.edgexfoundry.org:10001 [2022-07-21T06:54:42.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:43.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:43.020Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:43.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:43.020Z] [2022-07-21T06:54:43.020Z] Login Succeeded [2022-07-21T06:54:43.020Z] nexus3.edgexfoundry.org:10002 [2022-07-21T06:54:43.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:43.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:43.282Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:43.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:43.282Z] [2022-07-21T06:54:43.282Z] Login Succeeded [2022-07-21T06:54:43.282Z] nexus3.edgexfoundry.org:10003 [2022-07-21T06:54:43.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:43.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:43.282Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:43.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:43.282Z] [2022-07-21T06:54:43.282Z] Login Succeeded [2022-07-21T06:54:43.282Z] nexus3.edgexfoundry.org:10004 [2022-07-21T06:54:43.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:43.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:43.542Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:43.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:43.542Z] [2022-07-21T06:54:43.542Z] Login Succeeded [2022-07-21T06:54:43.542Z] docker.io [2022-07-21T06:54:43.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:44.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:44.115Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:44.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:44.115Z] [2022-07-21T06:54:44.115Z] Login Succeeded [2022-07-21T06:54:44.115Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T06:54:44.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-21T06:54:44.513Z] + git rev-list -1 --merges c73fd211f606de8b871675691e79a9584ab1e471~1..c73fd211f606de8b871675691e79a9584ab1e471 [Pipeline] echo [2022-07-21T06:54:44.547Z] -----------> git rev-list -1 --merges c73fd211f606de8b871675691e79a9584ab1e471~1..c73fd211f606de8b871675691e79a9584ab1e471 c73fd211f606de8b871675691e79a9584ab1e471 [false] [Pipeline] sh [2022-07-21T06:54:44.835Z] + git log --format=format:%s -1 c73fd211f606de8b871675691e79a9584ab1e471 [Pipeline] echo [2022-07-21T06:54:44.853Z] ========================================================= [2022-07-21T06:54:44.853Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-21T06:54:44.853Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T06:54:45.189Z] + git log --format=format:%s -1 c73fd211f606de8b871675691e79a9584ab1e471 [Pipeline] echo [2022-07-21T06:54:45.197Z] [semverPrep] GIT_COMMIT: c73fd211f606de8b871675691e79a9584ab1e471, Commit Message: refactor(snap): Update configure.go [Pipeline] echo [2022-07-21T06:54:45.203Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-21T06:54:45.566Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-21T06:54:45.566Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-21T06:54:45.566Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-21T06:54:45.566Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-21T06:54:45.566Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-21T06:54:45.566Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-21T06:54:45.566Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:54:45.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T06:54:45.983Z] [2022-07-21T06:54:45.983Z] 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-21T06:54:46.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T06:54:46.290Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-21T06:54:46.290Z] b85a868b505f: Pulling fs layer [2022-07-21T06:54:46.290Z] e2be974225ed: Pulling fs layer [2022-07-21T06:54:46.290Z] 339a4e72a1f5: Pulling fs layer [2022-07-21T06:54:46.290Z] 988bab9f4d93: Pulling fs layer [2022-07-21T06:54:46.290Z] 1469e6f7b9e6: Pulling fs layer [2022-07-21T06:54:46.290Z] eaf3925da568: Pulling fs layer [2022-07-21T06:54:46.290Z] bab4dde63d76: Pulling fs layer [2022-07-21T06:54:46.290Z] bde34c3a00c8: Pulling fs layer [2022-07-21T06:54:46.290Z] b352a97aabf1: Pulling fs layer [2022-07-21T06:54:46.290Z] 4872d77fe225: Pulling fs layer [2022-07-21T06:54:46.290Z] 5851b861e8e6: Pulling fs layer [2022-07-21T06:54:46.290Z] bde34c3a00c8: Waiting [2022-07-21T06:54:46.290Z] 4872d77fe225: Waiting [2022-07-21T06:54:46.290Z] 5851b861e8e6: Waiting [2022-07-21T06:54:46.290Z] 988bab9f4d93: Waiting [2022-07-21T06:54:46.290Z] b352a97aabf1: Waiting [2022-07-21T06:54:46.290Z] 1469e6f7b9e6: Waiting [2022-07-21T06:54:46.290Z] eaf3925da568: Waiting [2022-07-21T06:54:46.290Z] bab4dde63d76: Waiting [2022-07-21T06:54:46.290Z] e2be974225ed: Verifying Checksum [2022-07-21T06:54:46.290Z] e2be974225ed: Download complete [2022-07-21T06:54:46.290Z] 988bab9f4d93: Download complete [2022-07-21T06:54:46.560Z] 1469e6f7b9e6: Verifying Checksum [2022-07-21T06:54:46.560Z] 1469e6f7b9e6: Download complete [2022-07-21T06:54:46.560Z] eaf3925da568: Verifying Checksum [2022-07-21T06:54:46.560Z] eaf3925da568: Download complete [2022-07-21T06:54:46.560Z] 339a4e72a1f5: Verifying Checksum [2022-07-21T06:54:46.560Z] 339a4e72a1f5: Download complete [2022-07-21T06:54:46.560Z] bde34c3a00c8: Verifying Checksum [2022-07-21T06:54:46.560Z] bde34c3a00c8: Download complete [2022-07-21T06:54:46.560Z] b352a97aabf1: Download complete [2022-07-21T06:54:46.560Z] 4872d77fe225: Verifying Checksum [2022-07-21T06:54:46.560Z] 4872d77fe225: Download complete [2022-07-21T06:54:46.560Z] 5851b861e8e6: Download complete [2022-07-21T06:54:46.560Z] b85a868b505f: Download complete [2022-07-21T06:54:46.820Z] bab4dde63d76: Verifying Checksum [2022-07-21T06:54:46.820Z] bab4dde63d76: Download complete [2022-07-21T06:54:47.763Z] b85a868b505f: Pull complete [2022-07-21T06:54:48.023Z] e2be974225ed: Pull complete [2022-07-21T06:54:48.284Z] 339a4e72a1f5: Pull complete [2022-07-21T06:54:48.545Z] 988bab9f4d93: Pull complete [2022-07-21T06:54:48.807Z] 1469e6f7b9e6: Pull complete [2022-07-21T06:54:48.807Z] eaf3925da568: Pull complete [2022-07-21T06:54:50.721Z] bab4dde63d76: Pull complete [2022-07-21T06:54:50.983Z] bde34c3a00c8: Pull complete [2022-07-21T06:54:50.983Z] b352a97aabf1: Pull complete [2022-07-21T06:54:51.243Z] 4872d77fe225: Pull complete [2022-07-21T06:54:51.243Z] 5851b861e8e6: Pull complete [2022-07-21T06:54:51.243Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-21T06:54:51.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T06:54:51.243Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T06:54:51.352Z] prd-ubuntu20.04-docker-8c-8g-20652 does not seem to be running inside a container [2022-07-21T06:54:51.391Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-21T06:54:53.096Z] $ docker top bd8b1c4116410f63024b1b3fefb6189b316eda351206ab8de3f0dd242d014e88 -eo pid,comm [2022-07-21T06:54:53.166Z] 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-21T06:54:53.166Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-21T06:54:53.199Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T06:54:53.199Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T06:54:53.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T06:54:53.346Z] $ docker exec bd8b1c4116410f63024b1b3fefb6189b316eda351206ab8de3f0dd242d014e88 ssh-agent [2022-07-21T06:54:53.474Z] SSH_AUTH_SOCK=/tmp/ssh-43xNlvyQES6D/agent.32 [2022-07-21T06:54:53.474Z] SSH_AGENT_PID=40 [2022-07-21T06:54:53.481Z] Running ssh-add (command line suppressed) [2022-07-21T06:54:53.601Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_635819080891983276.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_635819080891983276.key) [2022-07-21T06:54:53.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T06:54:53.904Z] + git tag --points-at HEAD [Pipeline] } [2022-07-21T06:54:53.921Z] $ docker exec --env ******** --env ******** bd8b1c4116410f63024b1b3fefb6189b316eda351206ab8de3f0dd242d014e88 ssh-agent -k [2022-07-21T06:54:54.047Z] unset SSH_AUTH_SOCK; [2022-07-21T06:54:54.048Z] unset SSH_AGENT_PID; [2022-07-21T06:54:54.048Z] echo Agent pid 40 killed; [2022-07-21T06:54:54.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-21T06:54:54.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T06:54:54.086Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T06:54:54.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T06:54:54.225Z] $ docker exec bd8b1c4116410f63024b1b3fefb6189b316eda351206ab8de3f0dd242d014e88 ssh-agent [2022-07-21T06:54:54.357Z] SSH_AUTH_SOCK=/tmp/ssh-D6Y45DJqD8G5/agent.73 [2022-07-21T06:54:54.357Z] SSH_AGENT_PID=79 [2022-07-21T06:54:54.364Z] Running ssh-add (command line suppressed) [2022-07-21T06:54:54.508Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_64854697457925795.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_64854697457925795.key) [2022-07-21T06:54:54.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T06:54:54.820Z] + git semver init [2022-07-21T06:54:55.083Z] 2022-07-21 06:54:55,015 [run_init] DEBUG init version:0.0.0 force:False [2022-07-21T06:54:55.083Z] 2022-07-21 06:54:55,015 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver [2022-07-21T06:54:55.083Z] 2022-07-21 06:54:55,016 [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-21T06:54:55.083Z] 2022-07-21 06:54:55,016 [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-21T06:54:56.027Z] 2022-07-21 06:54:55,805 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.git/info/exclude [2022-07-21T06:54:56.027Z] 2022-07-21 06:54:55,805 [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-21T06:54:56.027Z] 2022-07-21 06:54:55,805 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 [2022-07-21T06:54:56.027Z] 2022-07-21 06:54:55,809 [execute] INFO git cat-file --batch-check [2022-07-21T06:54:56.027Z] 2022-07-21 06:54:55,810 [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-21T06:54:56.027Z] 2022-07-21 06:54:55,817 [execute] INFO git cat-file --batch [2022-07-21T06:54:56.027Z] 2022-07-21 06:54:55,817 [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-21T06:54:56.027Z] 2022-07-21 06:54:55,823 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 [2022-07-21T06:54:56.027Z] 0.0.0 [Pipeline] } [2022-07-21T06:54:56.041Z] $ docker exec --env ******** --env ******** bd8b1c4116410f63024b1b3fefb6189b316eda351206ab8de3f0dd242d014e88 ssh-agent -k [2022-07-21T06:54:56.167Z] unset SSH_AUTH_SOCK; [2022-07-21T06:54:56.168Z] unset SSH_AGENT_PID; [2022-07-21T06:54:56.168Z] echo Agent pid 79 killed; [2022-07-21T06:54:56.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-21T06:54:56.496Z] + git semver [Pipeline] } [2022-07-21T06:54:56.777Z] $ docker stop --time=1 bd8b1c4116410f63024b1b3fefb6189b316eda351206ab8de3f0dd242d014e88 [2022-07-21T06:54:58.110Z] $ docker rm -f bd8b1c4116410f63024b1b3fefb6189b316eda351206ab8de3f0dd242d014e88 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T06:54:58.470Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-21T06:54:58.726Z] Stashed 1 file(s) [Pipeline] echo [2022-07-21T06:54:58.728Z] [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-21T06:54:58.914Z] provisioning config files... [2022-07-21T06:54:58.927Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config6964286602469697756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T06:54:59.228Z] ---> docker-login.sh [2022-07-21T06:54:59.228Z] nexus3.edgexfoundry.org:10001 [2022-07-21T06:54:59.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:59.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:59.228Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:59.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:59.228Z] [2022-07-21T06:54:59.228Z] Login Succeeded [2022-07-21T06:54:59.228Z] nexus3.edgexfoundry.org:10002 [2022-07-21T06:54:59.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:59.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:59.489Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:59.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:59.489Z] [2022-07-21T06:54:59.489Z] Login Succeeded [2022-07-21T06:54:59.489Z] nexus3.edgexfoundry.org:10003 [2022-07-21T06:54:59.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:59.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:59.489Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:59.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:59.490Z] [2022-07-21T06:54:59.490Z] Login Succeeded [2022-07-21T06:54:59.490Z] nexus3.edgexfoundry.org:10004 [2022-07-21T06:54:59.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:54:59.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:54:59.752Z] Configure a credential helper to remove this warning. See [2022-07-21T06:54:59.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:54:59.752Z] [2022-07-21T06:54:59.752Z] Login Succeeded [2022-07-21T06:54:59.752Z] docker.io [2022-07-21T06:54:59.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:55:00.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:55:00.014Z] Configure a credential helper to remove this warning. See [2022-07-21T06:55:00.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:55:00.014Z] [2022-07-21T06:55:00.014Z] Login Succeeded [2022-07-21T06:55:00.014Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T06:55:00.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T06:55:00.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T06:55:00.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T06:55:00.122Z] ========================================================= [2022-07-21T06:55:00.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-21T06:55:00.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:55:00.445Z] + 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-21T06:55:00.445Z] Sending build context to Docker daemon 5.478MB [2022-07-21T06:55:00.445Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-21T06:55:00.445Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-21T06:55:00.445Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-21T06:55:00.445Z] 2408cc74d12b: Pulling fs layer [2022-07-21T06:55:00.445Z] ea60b727a1ce: Pulling fs layer [2022-07-21T06:55:00.445Z] 30c4a7721957: Pulling fs layer [2022-07-21T06:55:00.445Z] 370296b7ddb6: Pulling fs layer [2022-07-21T06:55:00.445Z] 7c6cee850709: Pulling fs layer [2022-07-21T06:55:00.445Z] 39a5fcdaea64: Pulling fs layer [2022-07-21T06:55:00.445Z] d94ebbe4e438: Pulling fs layer [2022-07-21T06:55:00.445Z] bcfd1f05c69d: Pulling fs layer [2022-07-21T06:55:00.445Z] 59ccb84bbe0f: Pulling fs layer [2022-07-21T06:55:00.445Z] 39a5fcdaea64: Waiting [2022-07-21T06:55:00.445Z] d94ebbe4e438: Waiting [2022-07-21T06:55:00.445Z] bcfd1f05c69d: Waiting [2022-07-21T06:55:00.445Z] 59ccb84bbe0f: Waiting [2022-07-21T06:55:00.445Z] 370296b7ddb6: Waiting [2022-07-21T06:55:00.445Z] 7c6cee850709: Waiting [2022-07-21T06:55:00.445Z] 30c4a7721957: Verifying Checksum [2022-07-21T06:55:00.445Z] 30c4a7721957: Download complete [2022-07-21T06:55:00.711Z] ea60b727a1ce: Verifying Checksum [2022-07-21T06:55:00.711Z] ea60b727a1ce: Download complete [2022-07-21T06:55:00.711Z] 7c6cee850709: Verifying Checksum [2022-07-21T06:55:00.711Z] 7c6cee850709: Download complete [2022-07-21T06:55:00.711Z] 39a5fcdaea64: Verifying Checksum [2022-07-21T06:55:00.711Z] 39a5fcdaea64: Download complete [2022-07-21T06:55:00.711Z] 2408cc74d12b: Verifying Checksum [2022-07-21T06:55:00.711Z] 2408cc74d12b: Download complete [2022-07-21T06:55:00.711Z] d94ebbe4e438: Download complete [2022-07-21T06:55:00.711Z] 2408cc74d12b: Pull complete [2022-07-21T06:55:00.983Z] ea60b727a1ce: Pull complete [2022-07-21T06:55:00.983Z] 30c4a7721957: Pull complete [2022-07-21T06:55:00.983Z] 59ccb84bbe0f: Verifying Checksum [2022-07-21T06:55:01.249Z] 370296b7ddb6: Verifying Checksum [2022-07-21T06:55:01.249Z] 370296b7ddb6: Download complete [2022-07-21T06:55:01.510Z] bcfd1f05c69d: Verifying Checksum [2022-07-21T06:55:01.510Z] bcfd1f05c69d: Download complete [2022-07-21T06:55:05.714Z] 370296b7ddb6: Pull complete [2022-07-21T06:55:05.714Z] 7c6cee850709: Pull complete [2022-07-21T06:55:05.714Z] 39a5fcdaea64: Pull complete [2022-07-21T06:55:05.714Z] d94ebbe4e438: Pull complete [2022-07-21T06:55:08.260Z] bcfd1f05c69d: Pull complete [2022-07-21T06:55:08.521Z] 59ccb84bbe0f: Pull complete [2022-07-21T06:55:08.781Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-21T06:55:08.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-21T06:55:08.781Z] ---> a4fb48ad2a94 [2022-07-21T06:55:08.781Z] Step 3/12 : ARG MAKE='make build' [2022-07-21T06:55:10.696Z] ---> Running in 4b5c5483d40c [2022-07-21T06:55:10.696Z] Removing intermediate container 4b5c5483d40c [2022-07-21T06:55:10.696Z] ---> 13e6144dc34f [2022-07-21T06:55:10.696Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T06:55:10.696Z] ---> Running in 196a6031936d [2022-07-21T06:55:10.696Z] Removing intermediate container 196a6031936d [2022-07-21T06:55:10.696Z] ---> 63a18d973c4e [2022-07-21T06:55:10.696Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T06:55:10.696Z] ---> Running in 361ac24fa5ad [2022-07-21T06:55:10.696Z] Removing intermediate container 361ac24fa5ad [2022-07-21T06:55:10.696Z] ---> fc14753e96f5 [2022-07-21T06:55:10.696Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T06:55:10.696Z] ---> Running in 3f791b72f65d [2022-07-21T06:55:11.636Z] Removing intermediate container 3f791b72f65d [2022-07-21T06:55:11.636Z] ---> cd686e4b6d7c [2022-07-21T06:55:11.636Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T06:55:11.636Z] ---> Running in 9c4632d2059d [2022-07-21T06:55:11.896Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T06:55:12.839Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T06:55:13.100Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-21T06:55:13.100Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-21T06:55:13.100Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-21T06:55:13.363Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-21T06:55:13.363Z] Executing busybox-1.35.0-r13.trigger [2022-07-21T06:55:13.363Z] OK: 216 MiB in 55 packages [2022-07-21T06:55:13.859Z] Still waiting to schedule task [2022-07-21T06:55:13.859Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-21T06:55:13.940Z] Removing intermediate container 9c4632d2059d [2022-07-21T06:55:13.940Z] ---> 86cb8260b059 [2022-07-21T06:55:13.940Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-21T06:55:13.940Z] ---> Running in 85aac8437542 [2022-07-21T06:55:13.940Z] Removing intermediate container 85aac8437542 [2022-07-21T06:55:13.940Z] ---> 3e7d083e3c9d [2022-07-21T06:55:13.940Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-21T06:55:14.201Z] ---> 31ac7f966a58 [2022-07-21T06:55:14.201Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T06:55:14.201Z] ---> Running in d82a4999e983 [2022-07-21T06:55:36.174Z] Removing intermediate container d82a4999e983 [2022-07-21T06:55:36.174Z] ---> 862235ea2991 [2022-07-21T06:55:36.174Z] Step 11/12 : COPY . . [2022-07-21T06:55:36.174Z] ---> 3ed7b47a0f12 [2022-07-21T06:55:36.174Z] Step 12/12 : RUN ${MAKE} [2022-07-21T06:55:36.174Z] ---> Running in 5b049f2a9956 [2022-07-21T06:55:36.174Z] noop [2022-07-21T06:55:36.174Z] Removing intermediate container 5b049f2a9956 [2022-07-21T06:55:36.174Z] ---> 3ff943ea33c9 [2022-07-21T06:55:36.174Z] Successfully built 3ff943ea33c9 [2022-07-21T06:55:36.174Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:55:36.491Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T06:55:36.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T06:55:36.576Z] prd-ubuntu20.04-docker-8c-8g-20652 does not seem to be running inside a container [2022-07-21T06:55:36.617Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-07-21T06:55:37.009Z] $ docker top dfc173ddb30907dcd3fdd93397d32c010c797409583c8c9dbb01baf882800173 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T06:55:37.368Z] + go version [2022-07-21T06:55:37.368Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-21T06:55:37.382Z] $ docker stop --time=1 dfc173ddb30907dcd3fdd93397d32c010c797409583c8c9dbb01baf882800173 [2022-07-21T06:55:38.693Z] $ docker rm -f dfc173ddb30907dcd3fdd93397d32c010c797409583c8c9dbb01baf882800173 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:55:39.126Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T06:55:39.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T06:55:39.212Z] prd-ubuntu20.04-docker-8c-8g-20652 does not seem to be running inside a container [2022-07-21T06:55:39.298Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-07-21T06:55:39.693Z] $ docker top a00a3c967fcc40fd629b050dd376eddd48afd95cfef3f1def5be86a372294b94 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T06:55:40.076Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] fileExists [Pipeline] sh [2022-07-21T06:55:40.374Z] + make test [2022-07-21T06:55:40.374Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-21T06:55:40.633Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-21T06:55:50.623Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-21T06:55:50.623Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2022-07-21T06:55:55.908Z] 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-21T06:55:55.908Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T06:55:59.203Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T06:55:59.203Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T06:55:59.203Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T06:55:59.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T06:55:59.235Z] $ docker stop --time=1 a00a3c967fcc40fd629b050dd376eddd48afd95cfef3f1def5be86a372294b94 [2022-07-21T06:56:00.989Z] $ docker rm -f a00a3c967fcc40fd629b050dd376eddd48afd95cfef3f1def5be86a372294b94 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T06:56:01.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T06:56:01.482Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-21T06:56:01.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T06:56:02.275Z] + ls -al . [2022-07-21T06:56:02.275Z] total 168 [2022-07-21T06:56:02.275Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 06:55 . [2022-07-21T06:56:02.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 06:54 .. [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 21 06:54 .dockerignore [2022-07-21T06:56:02.275Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 06:55 .git [2022-07-21T06:56:02.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 06:54 .github [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 21 06:54 .gitignore [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 06:54 .golangci.yml [2022-07-21T06:56:02.275Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 06:54 .semver [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 21 06:54 Attribution.txt [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 21 06:54 CHANGELOG.md [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 21 06:54 Dockerfile [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 06:54 GOVERNANCE.md [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 21 06:54 Jenkinsfile [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 21 06:54 LICENSE [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 21 06:54 Makefile [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 21 06:54 OWNERS.md [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 21 06:54 README.md [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 06:54 VERSION [2022-07-21T06:56:02.275Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 06:54 bin [2022-07-21T06:56:02.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 06:54 cmd [2022-07-21T06:56:02.275Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 21 06:55 coverage.out [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 21 06:54 go.mod [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 21 06:54 go.sum [2022-07-21T06:56:02.275Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 06:54 internal [2022-07-21T06:56:02.275Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 06:54 snap [2022-07-21T06:56:02.275Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 21 06:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:56:02.585Z] + 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=c73fd211f606de8b871675691e79a9584ab1e471 --label arch=amd64 --label version=0.0.0 . [2022-07-21T06:56:02.585Z] Sending build context to Docker daemon 5.486MB [2022-07-21T06:56:02.585Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-21T06:56:02.585Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-21T06:56:02.585Z] ---> 3ff943ea33c9 [2022-07-21T06:56:02.585Z] Step 3/24 : ARG MAKE='make build' [2022-07-21T06:56:02.585Z] ---> Running in acc84fce2e0e [2022-07-21T06:56:02.846Z] Removing intermediate container acc84fce2e0e [2022-07-21T06:56:02.846Z] ---> 390a16fca3ea [2022-07-21T06:56:02.846Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T06:56:02.846Z] ---> Running in 7fe405c5772d [2022-07-21T06:56:02.846Z] Removing intermediate container 7fe405c5772d [2022-07-21T06:56:02.846Z] ---> 8270800ffee0 [2022-07-21T06:56:02.846Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T06:56:02.846Z] ---> Running in ef46b1d4dc28 [2022-07-21T06:56:03.105Z] Removing intermediate container ef46b1d4dc28 [2022-07-21T06:56:03.105Z] ---> ed975d89224a [2022-07-21T06:56:03.105Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T06:56:03.105Z] ---> Running in 996a6dbe3e10 [2022-07-21T06:56:03.673Z] Removing intermediate container 996a6dbe3e10 [2022-07-21T06:56:03.673Z] ---> 70a14d947835 [2022-07-21T06:56:03.673Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T06:56:03.673Z] ---> Running in a66bac48f2e0 [2022-07-21T06:56:03.933Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T06:56:05.908Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T06:56:05.908Z] OK: 216 MiB in 55 packages [2022-07-21T06:56:05.908Z] Removing intermediate container a66bac48f2e0 [2022-07-21T06:56:05.908Z] ---> c45f58a165ad [2022-07-21T06:56:05.908Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-21T06:56:05.908Z] ---> Running in a4695e5a4097 [2022-07-21T06:56:05.908Z] Removing intermediate container a4695e5a4097 [2022-07-21T06:56:05.908Z] ---> ba54a1e4c284 [2022-07-21T06:56:05.908Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-21T06:56:05.908Z] ---> 1daa2dc52595 [2022-07-21T06:56:05.908Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T06:56:05.908Z] ---> Running in 741959b3696e [2022-07-21T06:56:06.479Z] Removing intermediate container 741959b3696e [2022-07-21T06:56:06.479Z] ---> dd257f99ab87 [2022-07-21T06:56:06.479Z] Step 11/24 : COPY . . [2022-07-21T06:56:06.739Z] ---> 1dc53c49ae20 [2022-07-21T06:56:06.739Z] Step 12/24 : RUN ${MAKE} [2022-07-21T06:56:07.000Z] ---> Running in 111c2abf3840 [2022-07-21T06:56:07.260Z] 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-21T06:56:25.370Z] Removing intermediate container 111c2abf3840 [2022-07-21T06:56:25.370Z] ---> 94228204d595 [2022-07-21T06:56:25.370Z] Step 13/24 : FROM alpine:3.16 [2022-07-21T06:56:25.942Z] 3.16: Pulling from library/alpine [2022-07-21T06:56:25.942Z] 530afca65e2e: Pulling fs layer [2022-07-21T06:56:26.203Z] 530afca65e2e: Verifying Checksum [2022-07-21T06:56:26.203Z] 530afca65e2e: Download complete [2022-07-21T06:56:26.203Z] 530afca65e2e: Pull complete [2022-07-21T06:56:26.203Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-21T06:56:26.203Z] Status: Downloaded newer image for alpine:3.16 [2022-07-21T06:56:26.203Z] ---> d7d3d98c851f [2022-07-21T06:56:26.203Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T06:56:26.464Z] ---> Running in ab3450a81875 [2022-07-21T06:56:26.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-21T06:56:26.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-21T06:56:26.984Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T06:56:26.984Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-21T06:56:26.984Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T06:56:26.984Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-21T06:56:26.984Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T06:56:26.984Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T06:56:26.984Z] Executing busybox-1.35.0-r15.trigger [2022-07-21T06:56:26.984Z] OK: 8 MiB in 20 packages [2022-07-21T06:56:27.248Z] Removing intermediate container ab3450a81875 [2022-07-21T06:56:27.248Z] ---> be4faa18ad9c [2022-07-21T06:56:27.248Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-21T06:56:27.817Z] ---> c287c513553a [2022-07-21T06:56:27.817Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-21T06:56:28.077Z] ---> af734e9130ff [2022-07-21T06:56:28.077Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-21T06:56:28.337Z] ---> 38284a83939c [2022-07-21T06:56:28.337Z] Step 18/24 : EXPOSE 59993 [2022-07-21T06:56:28.337Z] ---> Running in 49c0f1b33a7b [2022-07-21T06:56:28.337Z] Removing intermediate container 49c0f1b33a7b [2022-07-21T06:56:28.337Z] ---> cd449f29bb20 [2022-07-21T06:56:28.337Z] Step 19/24 : EXPOSE 161 [2022-07-21T06:56:28.337Z] ---> Running in eacbc292a90a [2022-07-21T06:56:28.596Z] Removing intermediate container eacbc292a90a [2022-07-21T06:56:28.596Z] ---> 6a28bd6e7b94 [2022-07-21T06:56:28.596Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-21T06:56:28.596Z] ---> Running in 6d13670fd054 [2022-07-21T06:56:28.596Z] Removing intermediate container 6d13670fd054 [2022-07-21T06:56:28.596Z] ---> acb7bcad5a2b [2022-07-21T06:56:28.596Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-21T06:56:28.596Z] ---> Running in b9fa12a55563 [2022-07-21T06:56:28.855Z] Removing intermediate container b9fa12a55563 [2022-07-21T06:56:28.855Z] ---> 64884589349a [2022-07-21T06:56:28.855Z] Step 22/24 : LABEL arch=amd64 [2022-07-21T06:56:28.855Z] ---> Running in a43d7dbbf283 [2022-07-21T06:56:28.855Z] Removing intermediate container a43d7dbbf283 [2022-07-21T06:56:28.855Z] ---> eea028bc2479 [2022-07-21T06:56:28.855Z] Step 23/24 : LABEL git_sha=c73fd211f606de8b871675691e79a9584ab1e471 [2022-07-21T06:56:29.116Z] ---> Running in d64b0a17b217 [2022-07-21T06:56:29.116Z] Removing intermediate container d64b0a17b217 [2022-07-21T06:56:29.116Z] ---> b75cf9f98fe4 [2022-07-21T06:56:29.116Z] Step 24/24 : LABEL version=0.0.0 [2022-07-21T06:56:29.116Z] ---> Running in d7b021e76006 [2022-07-21T06:56:29.116Z] Removing intermediate container d7b021e76006 [2022-07-21T06:56:29.116Z] ---> 65d78214913b [2022-07-21T06:56:29.116Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T06:56:29.116Z] Successfully built 65d78214913b [2022-07-21T06:56:29.377Z] 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-21T06:56:29.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T06:56:29.819Z] [2022-07-21T06:56:29.819Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:56:30.126Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T06:56:30.126Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-21T06:56:30.126Z] 5eb5b503b376: Pulling fs layer [2022-07-21T06:56:30.126Z] 5c69ac0246d0: Pulling fs layer [2022-07-21T06:56:30.126Z] ec43610c2a17: Pulling fs layer [2022-07-21T06:56:30.126Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-21T06:56:30.126Z] 33b1e0a273af: Pulling fs layer [2022-07-21T06:56:30.126Z] 5d3b04190fa2: Pulling fs layer [2022-07-21T06:56:30.126Z] 2f39f015ded8: Pulling fs layer [2022-07-21T06:56:30.126Z] 2f39f015ded8: Waiting [2022-07-21T06:56:30.126Z] 5d3b04190fa2: Waiting [2022-07-21T06:56:30.126Z] 33b1e0a273af: Waiting [2022-07-21T06:56:30.126Z] 3a2ae6a8a46f: Waiting [2022-07-21T06:56:30.126Z] 5c69ac0246d0: Verifying Checksum [2022-07-21T06:56:30.126Z] 5c69ac0246d0: Download complete [2022-07-21T06:56:30.126Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-21T06:56:30.126Z] 3a2ae6a8a46f: Download complete [2022-07-21T06:56:30.126Z] 33b1e0a273af: Verifying Checksum [2022-07-21T06:56:30.126Z] 33b1e0a273af: Download complete [2022-07-21T06:56:30.126Z] 5d3b04190fa2: Verifying Checksum [2022-07-21T06:56:30.126Z] 5d3b04190fa2: Download complete [2022-07-21T06:56:30.126Z] ec43610c2a17: Verifying Checksum [2022-07-21T06:56:30.126Z] ec43610c2a17: Download complete [2022-07-21T06:56:30.385Z] 5eb5b503b376: Verifying Checksum [2022-07-21T06:56:30.385Z] 5eb5b503b376: Download complete [2022-07-21T06:56:30.953Z] 2f39f015ded8: Download complete [2022-07-21T06:56:31.519Z] 5eb5b503b376: Pull complete [2022-07-21T06:56:31.785Z] 5c69ac0246d0: Pull complete [2022-07-21T06:56:32.068Z] ec43610c2a17: Pull complete [2022-07-21T06:56:32.408Z] 3a2ae6a8a46f: Pull complete [2022-07-21T06:56:32.408Z] 33b1e0a273af: Pull complete [2022-07-21T06:56:32.667Z] 5d3b04190fa2: Pull complete [2022-07-21T06:56:36.862Z] 2f39f015ded8: Pull complete [2022-07-21T06:56:36.862Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-21T06:56:36.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T06:56:36.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T06:56:36.958Z] prd-ubuntu20.04-docker-8c-8g-20652 does not seem to be running inside a container [2022-07-21T06:56:36.995Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-21T06:56:38.785Z] $ docker top 56996146b2cbd20beafcdba03bfc8c2e3621f37461075ffbcb32bd6626af8980 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T06:56:39.186Z] ---> job-cost.sh [2022-07-21T06:56:39.186Z] lf-activate-venv: SKIPPING [2022-07-21T06:56:39.186Z] INFO: No Stack... [2022-07-21T06:56:39.448Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T06:56:40.026Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T06:56:40.329Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/cost.csv [2022-07-21T06:56:40.329Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T06:56:40.344Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-5-stack-cost] [2022-07-21T06:56:40.350Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-5-stack-cost] did not exist. Created. [2022-07-21T06:56:40.350Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T06:56:40.659Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-21T06:56:40.693Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T06:56:40.703Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T06:56:40.726Z] $ docker stop --time=1 56996146b2cbd20beafcdba03bfc8c2e3621f37461075ffbcb32bd6626af8980 [2022-07-21T06:56:41.889Z] $ docker rm -f 56996146b2cbd20beafcdba03bfc8c2e3621f37461075ffbcb32bd6626af8980 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-21T06:56:49.436Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20653 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] { [Pipeline] ws [2022-07-21T06:56:49.449Z] Running in /w/workspace/device-snmp-go/5 [Pipeline] { [Pipeline] checkout [2022-07-21T06:56:49.489Z] Selected Git installation does not exist. Using Default [2022-07-21T06:56:49.489Z] The recommended git tool is: NONE [2022-07-21T06:56:55.552Z] using credential edgex-jenkins-ssh [2022-07-21T06:56:55.568Z] Cloning the remote Git repository [2022-07-21T06:56:55.644Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-07-21T06:56:55.716Z] > git init /w/workspace/device-snmp-go/5 # timeout=10 [2022-07-21T06:56:55.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-21T06:56:55.809Z] > git --version # timeout=10 [2022-07-21T06:56:55.836Z] > git --version # 'git version 2.25.1' [2022-07-21T06:56:55.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T06:56:55.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T06:56:56.954Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-21T06:56:56.986Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T06:56:57.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-21T06:56:57.059Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-21T06:56:57.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T06:56:57.073Z] > 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-21T06:56:57.583Z] Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit c73fd211f606de8b871675691e79a9584ab1e471 [2022-07-21T06:56:57.810Z] Merge succeeded, producing c73fd211f606de8b871675691e79a9584ab1e471 [2022-07-21T06:56:57.810Z] Checking out Revision c73fd211f606de8b871675691e79a9584ab1e471 (PR-185) [2022-07-21T06:56:57.605Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T06:56:57.621Z] > git checkout -f c73fd211f606de8b871675691e79a9584ab1e471 # timeout=10 [2022-07-21T06:56:57.705Z] > git remote # timeout=10 [2022-07-21T06:56:57.735Z] > git config --get remote.origin.url # timeout=10 [2022-07-21T06:56:57.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T06:56:57.763Z] > git merge f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 [2022-07-21T06:56:57.794Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-21T06:56:57.821Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T06:56:57.838Z] > git checkout -f c73fd211f606de8b871675691e79a9584ab1e471 # timeout=10 [2022-07-21T06:57:02.020Z] Commit message: "refactor(snap): Update configure.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T06:57:03.013Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-21T06:57:03.013Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T06:57:03.013Z] Dload Upload Total Spent Left Speed [2022-07-21T06:57:03.013Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 82213 0 --:--:-- --:--:-- --:--:-- 82765 [Pipeline] sh [2022-07-21T06:57:03.801Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-21T06:57:04.144Z] + sudo tee /etc/docker/daemon.new [2022-07-21T06:57:04.144Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-21T06:57:04.144Z] { [2022-07-21T06:57:04.144Z] "registry-mirrors": [ [2022-07-21T06:57:04.144Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-21T06:57:04.144Z] ], [2022-07-21T06:57:04.144Z] "bip": "10.250.0.254/24", [2022-07-21T06:57:04.144Z] "hosts": [ [2022-07-21T06:57:04.144Z] "tcp://0.0.0.0:5555", [2022-07-21T06:57:04.144Z] "unix:///var/run/docker.sock" [2022-07-21T06:57:04.144Z] ], [2022-07-21T06:57:04.144Z] "mtu": 1458, [2022-07-21T06:57:04.144Z] "selinux-enabled": true, [2022-07-21T06:57:04.144Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-21T06:57:04.144Z] } [Pipeline] sh [2022-07-21T06:57:04.480Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-21T06:57:04.817Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T06:57:23.162Z] provisioning config files... [2022-07-21T06:57:23.186Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config5083455905857401151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T06:57:23.547Z] ---> docker-login.sh [2022-07-21T06:57:23.547Z] nexus3.edgexfoundry.org:10001 [2022-07-21T06:57:24.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:57:24.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:57:24.421Z] Configure a credential helper to remove this warning. See [2022-07-21T06:57:24.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:57:24.421Z] [2022-07-21T06:57:24.421Z] Login Succeeded [2022-07-21T06:57:24.421Z] nexus3.edgexfoundry.org:10002 [2022-07-21T06:57:24.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:57:24.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:57:24.697Z] Configure a credential helper to remove this warning. See [2022-07-21T06:57:24.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:57:24.697Z] [2022-07-21T06:57:24.697Z] Login Succeeded [2022-07-21T06:57:24.697Z] nexus3.edgexfoundry.org:10003 [2022-07-21T06:57:25.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:57:25.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:57:25.294Z] Configure a credential helper to remove this warning. See [2022-07-21T06:57:25.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:57:25.294Z] [2022-07-21T06:57:25.294Z] Login Succeeded [2022-07-21T06:57:25.294Z] nexus3.edgexfoundry.org:10004 [2022-07-21T06:57:25.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:57:25.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:57:25.847Z] Configure a credential helper to remove this warning. See [2022-07-21T06:57:25.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:57:25.847Z] [2022-07-21T06:57:25.847Z] Login Succeeded [2022-07-21T06:57:25.847Z] docker.io [2022-07-21T06:57:26.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T06:57:26.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T06:57:26.717Z] Configure a credential helper to remove this warning. See [2022-07-21T06:57:26.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T06:57:26.717Z] [2022-07-21T06:57:26.717Z] Login Succeeded [2022-07-21T06:57:26.717Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T06:57:26.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T06:57:27.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T06:57:27.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T06:57:27.234Z] ========================================================= [2022-07-21T06:57:27.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-21T06:57:27.234Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:57:27.616Z] + 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-21T06:57:27.889Z] Sending build context to Docker daemon 2.848MB [2022-07-21T06:57:27.889Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-21T06:57:27.889Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-21T06:57:28.169Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-21T06:57:28.170Z] b3c136eddcbf: Pulling fs layer [2022-07-21T06:57:28.170Z] c0a3192eca97: Pulling fs layer [2022-07-21T06:57:28.170Z] a050256f5b6f: Pulling fs layer [2022-07-21T06:57:28.170Z] 656be50a0ddc: Pulling fs layer [2022-07-21T06:57:28.170Z] 2bbca73fdf42: Pulling fs layer [2022-07-21T06:57:28.170Z] 46d945488cbd: Pulling fs layer [2022-07-21T06:57:28.170Z] 8a5474983e97: Pulling fs layer [2022-07-21T06:57:28.170Z] 329c88fbcd65: Pulling fs layer [2022-07-21T06:57:28.170Z] 46d945488cbd: Waiting [2022-07-21T06:57:28.170Z] 656be50a0ddc: Waiting [2022-07-21T06:57:28.170Z] 8a5474983e97: Waiting [2022-07-21T06:57:28.170Z] 329c88fbcd65: Waiting [2022-07-21T06:57:28.170Z] 2bbca73fdf42: Waiting [2022-07-21T06:57:28.170Z] a050256f5b6f: Verifying Checksum [2022-07-21T06:57:28.170Z] a050256f5b6f: Download complete [2022-07-21T06:57:28.170Z] c0a3192eca97: Download complete [2022-07-21T06:57:28.170Z] 2bbca73fdf42: Download complete [2022-07-21T06:57:28.170Z] 46d945488cbd: Verifying Checksum [2022-07-21T06:57:28.170Z] 46d945488cbd: Download complete [2022-07-21T06:57:28.170Z] b3c136eddcbf: Verifying Checksum [2022-07-21T06:57:29.167Z] b3c136eddcbf: Pull complete [2022-07-21T06:57:29.167Z] 329c88fbcd65: Verifying Checksum [2022-07-21T06:57:29.167Z] 329c88fbcd65: Download complete [2022-07-21T06:57:29.774Z] c0a3192eca97: Pull complete [2022-07-21T06:57:30.050Z] a050256f5b6f: Pull complete [2022-07-21T06:57:30.649Z] 8a5474983e97: Verifying Checksum [2022-07-21T06:57:30.649Z] 8a5474983e97: Download complete [2022-07-21T06:57:31.248Z] 656be50a0ddc: Verifying Checksum [2022-07-21T06:57:31.248Z] 656be50a0ddc: Download complete [2022-07-21T06:57:43.673Z] 656be50a0ddc: Pull complete [2022-07-21T06:57:43.947Z] 2bbca73fdf42: Pull complete [2022-07-21T06:57:44.222Z] 46d945488cbd: Pull complete [2022-07-21T06:57:50.958Z] 8a5474983e97: Pull complete [2022-07-21T06:57:52.933Z] 329c88fbcd65: Pull complete [2022-07-21T06:57:52.933Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-21T06:57:52.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-21T06:57:52.933Z] ---> ff4287adb874 [2022-07-21T06:57:52.933Z] Step 3/12 : ARG MAKE='make build' [2022-07-21T06:57:53.533Z] ---> Running in 599ff58e76ee [2022-07-21T06:57:53.810Z] Removing intermediate container 599ff58e76ee [2022-07-21T06:57:53.810Z] ---> 9e863d9b66b6 [2022-07-21T06:57:53.810Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T06:57:54.093Z] ---> Running in 78625fcb88b9 [2022-07-21T06:57:54.368Z] Removing intermediate container 78625fcb88b9 [2022-07-21T06:57:54.368Z] ---> cf4059485602 [2022-07-21T06:57:54.368Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T06:57:54.368Z] ---> Running in 0caf6ccfcd67 [2022-07-21T06:57:54.650Z] Removing intermediate container 0caf6ccfcd67 [2022-07-21T06:57:54.650Z] ---> 3a0e06f4f79a [2022-07-21T06:57:54.650Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T06:57:54.650Z] ---> Running in a89ed0e9e9eb [2022-07-21T06:57:56.640Z] Removing intermediate container a89ed0e9e9eb [2022-07-21T06:57:56.640Z] ---> 8f00bfdee1c7 [2022-07-21T06:57:56.640Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T06:57:56.640Z] ---> Running in dbc3132b729a [2022-07-21T06:57:57.616Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T06:57:58.212Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T06:57:59.197Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-21T06:57:59.474Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-21T06:57:59.474Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-21T06:57:59.762Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-21T06:57:59.762Z] Executing busybox-1.35.0-r13.trigger [2022-07-21T06:57:59.762Z] OK: 226 MiB in 55 packages [2022-07-21T06:58:00.770Z] Removing intermediate container dbc3132b729a [2022-07-21T06:58:00.770Z] ---> 802cd1cd8038 [2022-07-21T06:58:00.770Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-21T06:58:01.053Z] ---> Running in 102a5dd90581 [2022-07-21T06:58:01.327Z] Removing intermediate container 102a5dd90581 [2022-07-21T06:58:01.327Z] ---> 6235f8515b0b [2022-07-21T06:58:01.327Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-21T06:58:01.934Z] ---> 87d71806fc81 [2022-07-21T06:58:01.934Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T06:58:01.934Z] ---> Running in dd9275b4a50c [2022-07-21T06:58:48.945Z] Removing intermediate container dd9275b4a50c [2022-07-21T06:58:48.945Z] ---> c8e237c7dfd9 [2022-07-21T06:58:48.945Z] Step 11/12 : COPY . . [2022-07-21T06:58:48.945Z] ---> 2d5730aa835c [2022-07-21T06:58:48.945Z] Step 12/12 : RUN ${MAKE} [2022-07-21T06:58:48.945Z] ---> Running in 738c6e2e7c5f [2022-07-21T06:58:48.945Z] noop [2022-07-21T06:58:48.945Z] Removing intermediate container 738c6e2e7c5f [2022-07-21T06:58:48.945Z] ---> c1ea75584c31 [2022-07-21T06:58:48.945Z] Successfully built c1ea75584c31 [2022-07-21T06:58:48.945Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:58:49.317Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T06:58:49.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T06:58:49.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-20653 does not seem to be running inside a container [2022-07-21T06:58:49.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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-21T06:58:51.040Z] $ docker top dae32857585ce259664a596065ec2918f11f2c0a262a84890c4bbdf38d55a26d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T06:58:51.938Z] + go version [2022-07-21T06:58:51.938Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-21T06:58:51.969Z] $ docker stop --time=1 dae32857585ce259664a596065ec2918f11f2c0a262a84890c4bbdf38d55a26d [2022-07-21T06:58:53.587Z] $ docker rm -f dae32857585ce259664a596065ec2918f11f2c0a262a84890c4bbdf38d55a26d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T06:58:54.215Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T06:58:54.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T06:58:54.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-20653 does not seem to be running inside a container [2022-07-21T06:58:54.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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-21T06:58:55.754Z] $ docker top 046e67bb0b1448bda53c70ae8f47d6526686a8e5acf6ade2ffe75845b83b0691 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T06:58:56.669Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/5 [Pipeline] fileExists [Pipeline] sh [2022-07-21T06:58:57.340Z] + make test [2022-07-21T06:58:57.340Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-21T06:58:59.322Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-21T07:00:21.168Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-21T07:00:21.168Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements [2022-07-21T07:00:21.168Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-21T07:00:21.168Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-21T07:00:31.374Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-21T07:00:31.649Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-21T07:00:31.649Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-21T07:00:31.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-21T07:00:31.967Z] $ docker stop --time=1 046e67bb0b1448bda53c70ae8f47d6526686a8e5acf6ade2ffe75845b83b0691 [2022-07-21T07:00:33.749Z] $ docker rm -f 046e67bb0b1448bda53c70ae8f47d6526686a8e5acf6ade2ffe75845b83b0691 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T07:00:34.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-21T07:00:34.792Z] Warning: overwriting stash ‘coverage-report’ [2022-07-21T07:00:35.243Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T07:00:35.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T07:00:35.956Z] + ls -al . [2022-07-21T07:00:35.956Z] total 164 [2022-07-21T07:00:35.956Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 06:58 . [2022-07-21T07:00:35.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 06:56 .. [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 21 06:56 .dockerignore [2022-07-21T07:00:35.956Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 06:57 .git [2022-07-21T07:00:35.956Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 06:56 .github [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 21 06:56 .gitignore [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 06:56 .golangci.yml [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 21 06:56 Attribution.txt [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 21 06:56 CHANGELOG.md [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 21 06:56 Dockerfile [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 06:56 GOVERNANCE.md [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 21 06:56 Jenkinsfile [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 21 06:56 LICENSE [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 21 06:56 Makefile [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 21 06:56 OWNERS.md [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 21 06:56 README.md [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 06:54 VERSION [2022-07-21T07:00:35.956Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 06:56 bin [2022-07-21T07:00:35.956Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 06:56 cmd [2022-07-21T07:00:35.956Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 21 07:00 coverage.out [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 21 06:56 go.mod [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 21 06:56 go.sum [2022-07-21T07:00:35.956Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 06:56 internal [2022-07-21T07:00:35.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 06:56 snap [2022-07-21T07:00:35.956Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 21 06:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:00:36.303Z] + 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=c73fd211f606de8b871675691e79a9584ab1e471 --label arch=arm64 --label version=0.0.0 . [2022-07-21T07:00:36.581Z] Sending build context to Docker daemon 2.856MB [2022-07-21T07:00:36.581Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-21T07:00:36.581Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-21T07:00:36.581Z] ---> c1ea75584c31 [2022-07-21T07:00:36.581Z] Step 3/24 : ARG MAKE='make build' [2022-07-21T07:00:36.855Z] ---> Running in d9c5455b826a [2022-07-21T07:00:37.126Z] Removing intermediate container d9c5455b826a [2022-07-21T07:00:37.126Z] ---> 2681dadc4106 [2022-07-21T07:00:37.126Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-21T07:00:37.126Z] ---> Running in fab2ed37895a [2022-07-21T07:00:37.400Z] Removing intermediate container fab2ed37895a [2022-07-21T07:00:37.400Z] ---> ef173a780c54 [2022-07-21T07:00:37.400Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-21T07:00:37.400Z] ---> Running in 676bda4c6484 [2022-07-21T07:00:37.680Z] Removing intermediate container 676bda4c6484 [2022-07-21T07:00:37.680Z] ---> 7c18453639d9 [2022-07-21T07:00:37.680Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-21T07:00:37.959Z] ---> Running in ad17f4467fae [2022-07-21T07:00:39.395Z] Removing intermediate container ad17f4467fae [2022-07-21T07:00:39.395Z] ---> 5aa8d0f4a15f [2022-07-21T07:00:39.395Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-21T07:00:39.395Z] ---> Running in fb4439e6e56f [2022-07-21T07:00:40.376Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T07:00:41.350Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T07:00:42.325Z] OK: 226 MiB in 55 packages [2022-07-21T07:00:43.311Z] Removing intermediate container fb4439e6e56f [2022-07-21T07:00:43.311Z] ---> 51a87e115dda [2022-07-21T07:00:43.311Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-21T07:00:43.311Z] ---> Running in 6309aa5224e3 [2022-07-21T07:00:43.583Z] Removing intermediate container 6309aa5224e3 [2022-07-21T07:00:43.583Z] ---> 2e18755cf75b [2022-07-21T07:00:43.583Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-21T07:00:44.186Z] ---> f00f42ca9c2a [2022-07-21T07:00:44.186Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-21T07:00:44.186Z] ---> Running in b7c4c7243caf [2022-07-21T07:00:46.166Z] Removing intermediate container b7c4c7243caf [2022-07-21T07:00:46.166Z] ---> 6bec4ac4b930 [2022-07-21T07:00:46.166Z] Step 11/24 : COPY . . [2022-07-21T07:00:46.764Z] ---> 9dc32be48e4c [2022-07-21T07:00:46.764Z] Step 12/24 : RUN ${MAKE} [2022-07-21T07:00:47.047Z] ---> Running in 46017ec873a6 [2022-07-21T07:00:48.030Z] 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-21T07:02:54.912Z] Removing intermediate container 46017ec873a6 [2022-07-21T07:02:54.912Z] ---> 18badad08b10 [2022-07-21T07:02:54.912Z] Step 13/24 : FROM alpine:3.16 [2022-07-21T07:02:54.912Z] 3.16: Pulling from library/alpine [2022-07-21T07:02:54.912Z] f97344484467: Pulling fs layer [2022-07-21T07:02:54.912Z] f97344484467: Verifying Checksum [2022-07-21T07:02:54.912Z] f97344484467: Download complete [2022-07-21T07:02:54.912Z] f97344484467: Pull complete [2022-07-21T07:02:54.912Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-21T07:02:54.912Z] Status: Downloaded newer image for alpine:3.16 [2022-07-21T07:02:54.912Z] ---> 3d81c46cd875 [2022-07-21T07:02:54.912Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-21T07:02:54.912Z] ---> Running in ff989d18c780 [2022-07-21T07:02:54.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-21T07:02:54.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-21T07:02:54.912Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-21T07:02:54.912Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-21T07:02:54.912Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-21T07:02:54.912Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-21T07:02:54.912Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-21T07:02:54.912Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-21T07:02:54.912Z] Executing busybox-1.35.0-r15.trigger [2022-07-21T07:02:54.912Z] OK: 8 MiB in 20 packages [2022-07-21T07:02:54.912Z] Removing intermediate container ff989d18c780 [2022-07-21T07:02:54.912Z] ---> b205d0782dee [2022-07-21T07:02:54.912Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-21T07:02:54.912Z] ---> ca03da84fe3e [2022-07-21T07:02:54.912Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-21T07:02:54.912Z] ---> 5b97190aebcc [2022-07-21T07:02:54.912Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-21T07:02:54.912Z] ---> 81a1a1311a8d [2022-07-21T07:02:54.912Z] Step 18/24 : EXPOSE 59993 [2022-07-21T07:02:54.912Z] ---> Running in 24c75945d3d9 [2022-07-21T07:02:54.912Z] Removing intermediate container 24c75945d3d9 [2022-07-21T07:02:54.912Z] ---> 54896503d043 [2022-07-21T07:02:54.912Z] Step 19/24 : EXPOSE 161 [2022-07-21T07:02:54.912Z] ---> Running in 519799aff52c [2022-07-21T07:02:55.186Z] Removing intermediate container 519799aff52c [2022-07-21T07:02:55.186Z] ---> 2f497c842bfb [2022-07-21T07:02:55.186Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-21T07:02:55.461Z] ---> Running in a743c9a5994f [2022-07-21T07:02:55.734Z] Removing intermediate container a743c9a5994f [2022-07-21T07:02:55.734Z] ---> bafabf073da5 [2022-07-21T07:02:55.734Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-21T07:02:55.734Z] ---> Running in ea2d80c73f80 [2022-07-21T07:02:56.007Z] Removing intermediate container ea2d80c73f80 [2022-07-21T07:02:56.007Z] ---> 2cbf18c26fe5 [2022-07-21T07:02:56.007Z] Step 22/24 : LABEL arch=arm64 [2022-07-21T07:02:56.007Z] ---> Running in 6276a974ee8e [2022-07-21T07:02:56.310Z] Removing intermediate container 6276a974ee8e [2022-07-21T07:02:56.310Z] ---> d372e0b8308d [2022-07-21T07:02:56.310Z] Step 23/24 : LABEL git_sha=c73fd211f606de8b871675691e79a9584ab1e471 [2022-07-21T07:02:56.310Z] ---> Running in 43f5d4d6b000 [2022-07-21T07:02:56.624Z] Removing intermediate container 43f5d4d6b000 [2022-07-21T07:02:56.624Z] ---> ee29cd47301f [2022-07-21T07:02:56.624Z] Step 24/24 : LABEL version=0.0.0 [2022-07-21T07:02:56.903Z] ---> Running in 1438eff08111 [2022-07-21T07:02:57.178Z] Removing intermediate container 1438eff08111 [2022-07-21T07:02:57.178Z] ---> 4f6efae317ff [2022-07-21T07:02:57.178Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-21T07:02:57.178Z] Successfully built 4f6efae317ff [2022-07-21T07:02:57.178Z] 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-21T07:02:57.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T07:02:57.642Z] [2022-07-21T07:02:57.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:02:57.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T07:02:58.266Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-21T07:02:58.266Z] 8998bd30e6a1: Pulling fs layer [2022-07-21T07:02:58.266Z] 04944245beec: Pulling fs layer [2022-07-21T07:02:58.266Z] 699f458cf7ca: Pulling fs layer [2022-07-21T07:02:58.266Z] 765212b225bb: Pulling fs layer [2022-07-21T07:02:58.266Z] f23df028b6ca: Pulling fs layer [2022-07-21T07:02:58.266Z] d65c8cfc05b1: Pulling fs layer [2022-07-21T07:02:58.266Z] 2437ff75d9bd: Pulling fs layer [2022-07-21T07:02:58.266Z] f23df028b6ca: Waiting [2022-07-21T07:02:58.266Z] d65c8cfc05b1: Waiting [2022-07-21T07:02:58.266Z] 765212b225bb: Waiting [2022-07-21T07:02:58.266Z] 2437ff75d9bd: Waiting [2022-07-21T07:02:58.266Z] 04944245beec: Verifying Checksum [2022-07-21T07:02:58.266Z] 04944245beec: Download complete [2022-07-21T07:02:58.266Z] 765212b225bb: Verifying Checksum [2022-07-21T07:02:58.266Z] 765212b225bb: Download complete [2022-07-21T07:02:58.266Z] f23df028b6ca: Download complete [2022-07-21T07:02:58.266Z] d65c8cfc05b1: Verifying Checksum [2022-07-21T07:02:58.266Z] d65c8cfc05b1: Download complete [2022-07-21T07:02:58.539Z] 699f458cf7ca: Verifying Checksum [2022-07-21T07:02:58.539Z] 699f458cf7ca: Download complete [2022-07-21T07:02:58.814Z] 8998bd30e6a1: Verifying Checksum [2022-07-21T07:02:58.814Z] 8998bd30e6a1: Download complete [2022-07-21T07:03:01.459Z] 2437ff75d9bd: Verifying Checksum [2022-07-21T07:03:01.459Z] 2437ff75d9bd: Download complete [2022-07-21T07:03:03.440Z] 8998bd30e6a1: Pull complete [2022-07-21T07:03:03.722Z] 04944245beec: Pull complete [2022-07-21T07:03:05.161Z] 699f458cf7ca: Pull complete [2022-07-21T07:03:05.436Z] 765212b225bb: Pull complete [2022-07-21T07:03:06.418Z] f23df028b6ca: Pull complete [2022-07-21T07:03:06.418Z] d65c8cfc05b1: Pull complete [2022-07-21T07:03:21.505Z] 2437ff75d9bd: Pull complete [2022-07-21T07:03:21.505Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-21T07:03:21.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T07:03:21.505Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T07:03:21.771Z] prd-ubuntu20.04-docker-arm64-4c-16g-20653 does not seem to be running inside a container [2022-07-21T07:03:21.857Z] $ 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/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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-21T07:03:24.405Z] $ docker top 68d11b57acd066a161659515a776576d627a2377737a00f2dbf447ed589c3bd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:03:25.313Z] ---> job-cost.sh [2022-07-21T07:03:25.313Z] lf-activate-venv: SKIPPING [2022-07-21T07:03:25.313Z] INFO: No Stack... [2022-07-21T07:03:25.585Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-21T07:03:26.563Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T07:03:27.238Z] + cat /w/workspace/device-snmp-go/5/archives/cost.csv [2022-07-21T07:03:27.238Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T07:03:27.302Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-5-stack-cost] [2022-07-21T07:03:27.309Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-5-stack-cost] did not exist. Created. [2022-07-21T07:03:27.309Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T07:03:27.978Z] /w/workspace/device-snmp-go/5@tmp/durable-1cd6d8db/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-21T07:03:28.671Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-21T07:03:28.710Z] Warning: overwriting stash ‘stack-cost’ [2022-07-21T07:03:28.760Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T07:03:28.770Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T07:03:28.791Z] $ docker stop --time=1 68d11b57acd066a161659515a776576d627a2377737a00f2dbf447ed589c3bd8 [2022-07-21T07:03:30.326Z] $ docker rm -f 68d11b57acd066a161659515a776576d627a2377737a00f2dbf447ed589c3bd8 [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-21T07:03:30.787Z] provisioning config files... [2022-07-21T07:03:30.798Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config1102729626442587891tmp [Pipeline] { [Pipeline] sh [2022-07-21T07:03:31.093Z] + set +x [2022-07-21T07:03:31.093Z] + curl -s https://codecov.io/bash [2022-07-21T07:03:31.093Z] + bash -s -- [2022-07-21T07:03:31.093Z] [2022-07-21T07:03:31.093Z] _____ _ [2022-07-21T07:03:31.093Z] / ____| | | [2022-07-21T07:03:31.093Z] | | ___ __| | ___ ___ _____ __ [2022-07-21T07:03:31.093Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-21T07:03:31.093Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-21T07:03:31.093Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-21T07:03:31.093Z] Bash-1.0.6 [2022-07-21T07:03:31.093Z] [2022-07-21T07:03:31.093Z] [2022-07-21T07:03:31.093Z] ==> git version 2.25.1 found [2022-07-21T07:03:31.094Z] ==> 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-21T07:03:31.094Z] Release-Date: 2020-01-08 [2022-07-21T07:03:31.094Z] 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-21T07:03:31.094Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-21T07:03:31.094Z] ==> Jenkins CI detected. [2022-07-21T07:03:31.094Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-185 [2022-07-21T07:03:31.094Z] project root: . [2022-07-21T07:03:31.094Z] --> token set from env [2022-07-21T07:03:31.094Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-21T07:03:31.094Z] ==> Running gcov in . (disable via -X gcov) [2022-07-21T07:03:31.094Z] ==> Python coveragepy not found [2022-07-21T07:03:31.094Z] ==> Searching for coverage reports in: [2022-07-21T07:03:31.094Z] + . [2022-07-21T07:03:31.094Z] -> Found 1 reports [2022-07-21T07:03:31.094Z] ==> Detecting git/mercurial file structure [2022-07-21T07:03:31.094Z] ==> Reading reports [2022-07-21T07:03:31.094Z] + ./coverage.out bytes=7631 [2022-07-21T07:03:31.094Z] ==> Appending adjustments [2022-07-21T07:03:31.094Z] https://docs.codecov.io/docs/fixing-reports [2022-07-21T07:03:31.354Z] + Found adjustments [2022-07-21T07:03:31.354Z] ==> Gzipping contents [2022-07-21T07:03:31.354Z] 4.0K /tmp/codecov.dBJYJl.gz [2022-07-21T07:03:31.354Z] ==> Uploading reports [2022-07-21T07:03:31.354Z] url: https://codecov.io [2022-07-21T07:03:31.355Z] query: branch=PR-185&commit=c73fd211f606de8b871675691e79a9584ab1e471&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-07-21T07:03:31.355Z] -> Pinging Codecov [2022-07-21T07:03:31.355Z] 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=c73fd211f606de8b871675691e79a9584ab1e471&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-07-21T07:03:31.615Z] -> Uploading to [2022-07-21T07:03:31.615Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-21/6C56EA5C29638FB4528AC87E60AF5AE0/c73fd211f606de8b871675691e79a9584ab1e471/cc3b8cd5-8a8d-4ae0-a8aa-e01b63848a30.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T070331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=889400a61cf6aaaeb42c6d6932004dc9f8d0764ca8e2c1021c98dbb9952b8624 [2022-07-21T07:03:31.615Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T07:03:31.615Z] Dload Upload Total Spent Left Speed [2022-07-21T07:03:31.874Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6673 --:--:-- --:--:-- --:--:-- 6703 [2022-07-21T07:03:31.874Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c73fd211f606de8b871675691e79a9584ab1e471 [Pipeline] } [2022-07-21T07:03:31.881Z] 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-21T07:03:32.577Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-185/archives ] [2022-07-21T07:03:32.577Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-21T07:03:32.577Z] total 16 [2022-07-21T07:03:32.577Z] drwxr-xr-x 3 root root 4096 Jul 21 06:56 . [2022-07-21T07:03:32.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 06:56 .. [2022-07-21T07:03:32.577Z] drwxr-xr-x 2 root root 4096 Jul 21 06:56 cost [2022-07-21T07:03:32.577Z] -rw-r--r-- 1 root root 85 Jul 21 06:56 cost.csv [2022-07-21T07:03:32.577Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-21T07:03:32.577Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-21T07:03:32.577Z] total 16 [2022-07-21T07:03:32.577Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 06:56 . [2022-07-21T07:03:32.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 06:56 .. [2022-07-21T07:03:32.577Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 06:56 cost [2022-07-21T07:03:32.578Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 21 06:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:03:32.868Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:03:33.732Z] ---> package-listing.sh [2022-07-21T07:03:33.732Z] ++ facter osfamily [2022-07-21T07:03:33.732Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-21T07:03:33.992Z] + OS_FAMILY=debian [2022-07-21T07:03:33.992Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-185 [2022-07-21T07:03:33.992Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-21T07:03:33.992Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-21T07:03:33.992Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-21T07:03:33.992Z] + PACKAGES=/tmp/packages_start.txt [2022-07-21T07:03:33.992Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' [2022-07-21T07:03:33.992Z] + PACKAGES=/tmp/packages_end.txt [2022-07-21T07:03:33.992Z] + case "${OS_FAMILY}" in [2022-07-21T07:03:33.992Z] + dpkg -l [2022-07-21T07:03:33.992Z] + grep '^ii' [2022-07-21T07:03:33.992Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-21T07:03:33.992Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-21T07:03:33.992Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-21T07:03:33.992Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' [2022-07-21T07:03:33.992Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [2022-07-21T07:03:33.992Z] + 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-21T07:03:34.004Z] 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-21T07:03:34.283Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T07:03:34.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T07:03:34.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T07:03:34.935Z] prd-ubuntu20.04-docker-8c-8g-20652 does not seem to be running inside a container [2022-07-21T07:03:34.967Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-21T07:03:35.241Z] $ docker top d00ff4dab9d13d4556098a56ac4398c9d6f85bc4624860f9834ec7c4562fc10a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T07:03:35.599Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-21T07:03:35.888Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-21T07:03:36.179Z] + ls /var/log/sa-host [2022-07-21T07:03:36.179Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T07:03:36.304Z] provisioning config files... [2022-07-21T07:03:36.314Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config5313486183930095639tmp [Pipeline] { [Pipeline] echo [2022-07-21T07:03:36.329Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:03:36.615Z] ---> create-netrc.sh [Pipeline] } [2022-07-21T07:03:36.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:03:36.956Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-21T07:03:36.966Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:03:37.251Z] ---> sudo-logs.sh [2022-07-21T07:03:37.251Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-21T07:03:37.278Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:03:37.565Z] ---> job-cost.sh [2022-07-21T07:03:37.565Z] lf-activate-venv: SKIPPING [2022-07-21T07:03:37.565Z] DEBUG: total: 0.2199999988079071 [2022-07-21T07:03:37.565Z] INFO: Retrieving Stack Cost... [2022-07-21T07:03:37.824Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T07:03:38.394Z] INFO: Archiving Costs [Pipeline] echo [2022-07-21T07:03:38.406Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T07:03:38.691Z] ---> logs-deploy.sh [2022-07-21T07:03:38.691Z] lf-activate-venv: SKIPPING [2022-07-21T07:03:38.691Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-185/5 [2022-07-21T07:03:38.691Z] INFO: archiving workspace using pattern(s): [2022-07-21T07:03:39.645Z] Archives upload complete. [2022-07-21T07:03:39.645Z] INFO: archiving logs to Nexus