Pull request #197 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Obtained Jenkinsfile from cbddcbe34f268d86a838dea3e42d67f950982f87+86e265f4693997e38d18c21fe32d96af1ec8218a (125f3aeff7015753f8fa4db35fc23853b844076b) 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-ssh17955516839811193260.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16713468445830090619.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14549980244138849434.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13836607234942925320.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2679993331533026644.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1013383561634844204.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7857’ Running on prd-ubuntu20.04-docker-8c-8g-7859 in /w/workspace/gexfoundry_device-snmp-go_PR-197 [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-197 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 86e265f4693997e38d18c21fe32d96af1ec8218a into PR head commit cbddcbe34f268d86a838dea3e42d67f950982f87 Merge succeeded, producing cbddcbe34f268d86a838dea3e42d67f950982f87 Checking out Revision cbddcbe34f268d86a838dea3e42d67f950982f87 (PR-197) > git config core.sparsecheckout # timeout=10 > git checkout -f cbddcbe34f268d86a838dea3e42d67f950982f87 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 86e265f4693997e38d18c21fe32d96af1ec8218a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbddcbe34f268d86a838dea3e42d67f950982f87 # timeout=10 Commit message: "feat(snap): add config interface with unique identifier" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-14T13:13:48.635Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-14T13:13:48.811Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-14T13:13:48.908Z] ========================================================= [2022-10-14T13:13:48.908Z] EdgeX Global Pipelines Version Info [2022-10-14T13:13:48.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:13:49.668Z] ------------------- [2022-10-14T13:13:49.668Z] stable info: [2022-10-14T13:13:49.668Z] ------------------- [2022-10-14T13:13:49.668Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-14T13:13:49.668Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-14T13:13:49.668Z] Message: update stable to v1.0.239 [2022-10-14T13:13:50.247Z] ------------------- [2022-10-14T13:13:50.247Z] experimental info: [2022-10-14T13:13:50.247Z] ------------------- [2022-10-14T13:13:50.247Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-14T13:13:50.247Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-14T13:13:50.247Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-14T13:13:50.525Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-10-14T13:13:50.564Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-10-14T13:13:50.600Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-14T13:13:50.640Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-14T13:13:50.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-14T13:13:50.711Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-14T13:13:50.748Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-14T13:13:50.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-14T13:13:50.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-14T13:13:50.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-14T13:13:50.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-14T13:13:50.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-10-14T13:13:50.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-14T13:13:51.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-14T13:13:51.055Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-14T13:13:51.092Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-14T13:13:51.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-14T13:13:51.168Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-14T13:13:51.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-14T13:13:51.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-14T13:13:51.290Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-14T13:13:51.329Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-14T13:13:51.365Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-14T13:13:51.401Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-14T13:13:51.440Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-14T13:13:51.477Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-14T13:13:51.512Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-14T13:13:51.548Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo [2022-10-14T13:13:51.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo [2022-10-14T13:13:51.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo [2022-10-14T13:13:51.658Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbddcbe34f268d86a838dea3e42d67f950982f87 [Pipeline] echo [2022-10-14T13:13:51.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbddcbe [Pipeline] echo [2022-10-14T13:13:51.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:13:51.840Z] provisioning config files... [2022-10-14T13:13:51.854Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/config10016334780995960300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:13:52.191Z] ---> docker-login.sh [2022-10-14T13:13:52.191Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:13:52.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:13:52.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:13:52.451Z] Configure a credential helper to remove this warning. See [2022-10-14T13:13:52.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:13:52.451Z] [2022-10-14T13:13:52.451Z] Login Succeeded [2022-10-14T13:13:52.712Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:13:52.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:13:52.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:13:52.712Z] Configure a credential helper to remove this warning. See [2022-10-14T13:13:52.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:13:52.712Z] [2022-10-14T13:13:52.712Z] Login Succeeded [2022-10-14T13:13:52.712Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:13:52.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:13:52.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:13:52.712Z] Configure a credential helper to remove this warning. See [2022-10-14T13:13:52.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:13:52.712Z] [2022-10-14T13:13:52.712Z] Login Succeeded [2022-10-14T13:13:52.712Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:13:52.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:13:52.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:13:52.972Z] Configure a credential helper to remove this warning. See [2022-10-14T13:13:52.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:13:52.972Z] [2022-10-14T13:13:52.972Z] Login Succeeded [2022-10-14T13:13:52.972Z] docker.io [2022-10-14T13:13:52.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:13:53.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:13:53.231Z] Configure a credential helper to remove this warning. See [2022-10-14T13:13:53.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:13:53.231Z] [2022-10-14T13:13:53.231Z] Login Succeeded [2022-10-14T13:13:53.231Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:13:53.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-14T13:13:53.890Z] + git rev-list -1 --merges cbddcbe34f268d86a838dea3e42d67f950982f87~1..cbddcbe34f268d86a838dea3e42d67f950982f87 [Pipeline] echo [2022-10-14T13:13:53.934Z] -----------> git rev-list -1 --merges cbddcbe34f268d86a838dea3e42d67f950982f87~1..cbddcbe34f268d86a838dea3e42d67f950982f87 cbddcbe34f268d86a838dea3e42d67f950982f87 [false] [Pipeline] sh [2022-10-14T13:13:54.241Z] + git log --format=format:%s -1 cbddcbe34f268d86a838dea3e42d67f950982f87 [Pipeline] echo [2022-10-14T13:13:54.273Z] ========================================================= [2022-10-14T13:13:54.273Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-14T13:13:54.273Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:13:54.695Z] + git log --format=format:%s -1 cbddcbe34f268d86a838dea3e42d67f950982f87 [Pipeline] echo [2022-10-14T13:13:54.725Z] [semverPrep] GIT_COMMIT: cbddcbe34f268d86a838dea3e42d67f950982f87, Commit Message: feat(snap): add config interface with unique identifier [Pipeline] echo [2022-10-14T13:13:54.754Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-14T13:13:55.119Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-14T13:13:55.120Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-14T13:13:55.120Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-14T13:13:55.120Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-14T13:13:55.120Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-14T13:13:55.120Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-14T13:13:55.120Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:13:55.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:13:55.532Z] [2022-10-14T13:13:55.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:13:55.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:13:55.918Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-14T13:13:55.918Z] b85a868b505f: Pulling fs layer [2022-10-14T13:13:55.918Z] e2be974225ed: Pulling fs layer [2022-10-14T13:13:55.918Z] 339a4e72a1f5: Pulling fs layer [2022-10-14T13:13:55.918Z] 988bab9f4d93: Pulling fs layer [2022-10-14T13:13:55.918Z] 1469e6f7b9e6: Pulling fs layer [2022-10-14T13:13:55.918Z] eaf3925da568: Pulling fs layer [2022-10-14T13:13:55.918Z] bab4dde63d76: Pulling fs layer [2022-10-14T13:13:55.918Z] bde34c3a00c8: Pulling fs layer [2022-10-14T13:13:55.918Z] b352a97aabf1: Pulling fs layer [2022-10-14T13:13:55.918Z] eaf3925da568: Waiting [2022-10-14T13:13:55.918Z] bab4dde63d76: Waiting [2022-10-14T13:13:55.918Z] 988bab9f4d93: Waiting [2022-10-14T13:13:55.918Z] 1469e6f7b9e6: Waiting [2022-10-14T13:13:55.918Z] 4872d77fe225: Pulling fs layer [2022-10-14T13:13:55.918Z] 5851b861e8e6: Pulling fs layer [2022-10-14T13:13:55.918Z] 4872d77fe225: Waiting [2022-10-14T13:13:55.918Z] b352a97aabf1: Waiting [2022-10-14T13:13:55.918Z] 5851b861e8e6: Waiting [2022-10-14T13:13:55.918Z] e2be974225ed: Download complete [2022-10-14T13:13:55.918Z] 988bab9f4d93: Download complete [2022-10-14T13:13:56.186Z] 1469e6f7b9e6: Verifying Checksum [2022-10-14T13:13:56.186Z] 1469e6f7b9e6: Download complete [2022-10-14T13:13:56.186Z] 339a4e72a1f5: Verifying Checksum [2022-10-14T13:13:56.186Z] 339a4e72a1f5: Download complete [2022-10-14T13:13:56.186Z] eaf3925da568: Download complete [2022-10-14T13:13:56.186Z] bde34c3a00c8: Verifying Checksum [2022-10-14T13:13:56.186Z] bde34c3a00c8: Download complete [2022-10-14T13:13:56.186Z] b352a97aabf1: Download complete [2022-10-14T13:13:56.186Z] 4872d77fe225: Download complete [2022-10-14T13:13:56.186Z] 5851b861e8e6: Download complete [2022-10-14T13:13:56.186Z] b85a868b505f: Verifying Checksum [2022-10-14T13:13:56.186Z] b85a868b505f: Download complete [2022-10-14T13:13:56.445Z] bab4dde63d76: Verifying Checksum [2022-10-14T13:13:56.446Z] bab4dde63d76: Download complete [2022-10-14T13:13:57.384Z] b85a868b505f: Pull complete [2022-10-14T13:13:57.643Z] e2be974225ed: Pull complete [2022-10-14T13:13:57.901Z] 339a4e72a1f5: Pull complete [2022-10-14T13:13:58.160Z] 988bab9f4d93: Pull complete [2022-10-14T13:13:58.418Z] 1469e6f7b9e6: Pull complete [2022-10-14T13:13:58.418Z] eaf3925da568: Pull complete [2022-10-14T13:14:00.321Z] bab4dde63d76: Pull complete [2022-10-14T13:14:00.321Z] bde34c3a00c8: Pull complete [2022-10-14T13:14:00.321Z] b352a97aabf1: Pull complete [2022-10-14T13:14:00.321Z] 4872d77fe225: Pull complete [2022-10-14T13:14:00.321Z] 5851b861e8e6: Pull complete [2022-10-14T13:14:00.321Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-14T13:14:00.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:14:00.321Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:14:00.544Z] prd-ubuntu20.04-docker-8c-8g-7859 does not seem to be running inside a container [2022-10-14T13:14:00.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-14T13:14:02.969Z] $ docker top 29c3c76215a7a2723347164decec6e0f1f55bcab697e9526e9fef7725bd405bc -eo pid,comm [2022-10-14T13:14:03.022Z] 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-10-14T13:14:03.022Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-14T13:14:03.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-14T13:14:03.140Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-14T13:14:03.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-14T13:14:03.261Z] $ docker exec 29c3c76215a7a2723347164decec6e0f1f55bcab697e9526e9fef7725bd405bc ssh-agent [2022-10-14T13:14:03.369Z] SSH_AUTH_SOCK=/tmp/ssh-iB8hOMafPrdJ/agent.32 [2022-10-14T13:14:03.369Z] SSH_AGENT_PID=38 [2022-10-14T13:14:03.375Z] Running ssh-add (command line suppressed) [2022-10-14T13:14:03.469Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/private_key_30046843788686779.key (/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/private_key_30046843788686779.key) [2022-10-14T13:14:03.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-14T13:14:03.812Z] + git tag --points-at HEAD [Pipeline] } [2022-10-14T13:14:03.831Z] $ docker exec --env ******** --env ******** 29c3c76215a7a2723347164decec6e0f1f55bcab697e9526e9fef7725bd405bc ssh-agent -k [2022-10-14T13:14:03.931Z] unset SSH_AUTH_SOCK; [2022-10-14T13:14:03.932Z] unset SSH_AGENT_PID; [2022-10-14T13:14:03.932Z] echo Agent pid 38 killed; [2022-10-14T13:14:03.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-14T13:14:04.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-14T13:14:04.022Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-14T13:14:04.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-14T13:14:04.172Z] $ docker exec 29c3c76215a7a2723347164decec6e0f1f55bcab697e9526e9fef7725bd405bc ssh-agent [2022-10-14T13:14:04.272Z] SSH_AUTH_SOCK=/tmp/ssh-4OrRoMWeE7Sg/agent.70 [2022-10-14T13:14:04.272Z] SSH_AGENT_PID=76 [2022-10-14T13:14:04.277Z] Running ssh-add (command line suppressed) [2022-10-14T13:14:04.373Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/private_key_3179317644239079803.key (/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/private_key_3179317644239079803.key) [2022-10-14T13:14:04.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-14T13:14:04.729Z] + git semver init [2022-10-14T13:14:04.991Z] 2022-10-14 13:14:04,921 [run_init] DEBUG init version:0.0.0 force:False [2022-10-14T13:14:04.991Z] 2022-10-14 13:14:04,921 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver [2022-10-14T13:14:04.991Z] 2022-10-14 13:14:04,922 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-197/.semver [2022-10-14T13:14:04.991Z] 2022-10-14 13:14:04,922 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-197, universal_newlines=False, shell=None, istream=None) [2022-10-14T13:14:05.932Z] 2022-10-14 13:14:05,846 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-197/.git/info/exclude [2022-10-14T13:14:05.932Z] 2022-10-14 13:14:05,846 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver/PR-197 with force:False [2022-10-14T13:14:05.933Z] 2022-10-14 13:14:05,846 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver/PR-197 [2022-10-14T13:14:05.933Z] 2022-10-14 13:14:05,851 [execute] INFO git cat-file --batch-check [2022-10-14T13:14:05.933Z] 2022-10-14 13:14:05,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver, universal_newlines=False, shell=None, istream=) [2022-10-14T13:14:05.933Z] 2022-10-14 13:14:05,855 [execute] INFO git cat-file --batch [2022-10-14T13:14:05.933Z] 2022-10-14 13:14:05,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-197/.semver, universal_newlines=False, shell=None, istream=) [2022-10-14T13:14:05.933Z] 2022-10-14 13:14:05,860 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-197/.semver/PR-197 [2022-10-14T13:14:05.933Z] 0.0.0 [Pipeline] } [2022-10-14T13:14:05.958Z] $ docker exec --env ******** --env ******** 29c3c76215a7a2723347164decec6e0f1f55bcab697e9526e9fef7725bd405bc ssh-agent -k [2022-10-14T13:14:06.046Z] unset SSH_AUTH_SOCK; [2022-10-14T13:14:06.047Z] unset SSH_AGENT_PID; [2022-10-14T13:14:06.047Z] echo Agent pid 76 killed; [2022-10-14T13:14:06.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-14T13:14:06.465Z] + git semver [Pipeline] } [2022-10-14T13:14:06.750Z] $ docker stop --time=1 29c3c76215a7a2723347164decec6e0f1f55bcab697e9526e9fef7725bd405bc [2022-10-14T13:14:08.058Z] $ docker rm -f 29c3c76215a7a2723347164decec6e0f1f55bcab697e9526e9fef7725bd405bc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:14:08.471Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-14T13:14:08.710Z] Stashed 1 file(s) [Pipeline] echo [2022-10-14T13:14:08.727Z] [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-10-14T13:14:09.276Z] provisioning config files... [2022-10-14T13:14:09.285Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/config15998043062308970598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:14:09.622Z] ---> docker-login.sh [2022-10-14T13:14:09.622Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:14:09.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:14:09.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:14:09.622Z] Configure a credential helper to remove this warning. See [2022-10-14T13:14:09.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:14:09.622Z] [2022-10-14T13:14:09.622Z] Login Succeeded [2022-10-14T13:14:09.622Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:14:09.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:14:09.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:14:09.622Z] Configure a credential helper to remove this warning. See [2022-10-14T13:14:09.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:14:09.622Z] [2022-10-14T13:14:09.622Z] Login Succeeded [2022-10-14T13:14:09.622Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:14:09.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:14:09.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:14:09.882Z] Configure a credential helper to remove this warning. See [2022-10-14T13:14:09.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:14:09.882Z] [2022-10-14T13:14:09.882Z] Login Succeeded [2022-10-14T13:14:09.882Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:14:09.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:14:09.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:14:09.882Z] Configure a credential helper to remove this warning. See [2022-10-14T13:14:09.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:14:09.882Z] [2022-10-14T13:14:09.882Z] Login Succeeded [2022-10-14T13:14:09.882Z] docker.io [2022-10-14T13:14:10.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:14:10.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:14:10.400Z] Configure a credential helper to remove this warning. See [2022-10-14T13:14:10.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:14:10.400Z] [2022-10-14T13:14:10.400Z] Login Succeeded [2022-10-14T13:14:10.400Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:14:10.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-14T13:14:10.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:14:10.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:14:10.676Z] ========================================================= [2022-10-14T13:14:10.676Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-14T13:14:10.676Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:14:11.142Z] + 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-10-14T13:14:11.142Z] Sending build context to Docker daemon 5.521MB [2022-10-14T13:14:11.142Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:14:11.142Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-14T13:14:11.142Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-14T13:14:11.142Z] 213ec9aee27d: Pulling fs layer [2022-10-14T13:14:11.142Z] 4583459ba037: Pulling fs layer [2022-10-14T13:14:11.142Z] 93c1e223e6f2: Pulling fs layer [2022-10-14T13:14:11.142Z] 53926ce57604: Pulling fs layer [2022-10-14T13:14:11.142Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-14T13:14:11.142Z] 30f14e443154: Pulling fs layer [2022-10-14T13:14:11.142Z] 801331c1e519: Pulling fs layer [2022-10-14T13:14:11.142Z] 99cc6dd402b0: Pulling fs layer [2022-10-14T13:14:11.142Z] 7d9ed39f4882: Pulling fs layer [2022-10-14T13:14:11.142Z] 801331c1e519: Waiting [2022-10-14T13:14:11.142Z] 53926ce57604: Waiting [2022-10-14T13:14:11.142Z] 99cc6dd402b0: Waiting [2022-10-14T13:14:11.142Z] 21b2b0c7a3f4: Waiting [2022-10-14T13:14:11.142Z] 7d9ed39f4882: Waiting [2022-10-14T13:14:11.142Z] 30f14e443154: Waiting [2022-10-14T13:14:11.142Z] 93c1e223e6f2: Download complete [2022-10-14T13:14:11.142Z] 4583459ba037: Verifying Checksum [2022-10-14T13:14:11.142Z] 4583459ba037: Download complete [2022-10-14T13:14:11.142Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-14T13:14:11.142Z] 21b2b0c7a3f4: Download complete [2022-10-14T13:14:11.142Z] 30f14e443154: Verifying Checksum [2022-10-14T13:14:11.142Z] 30f14e443154: Download complete [2022-10-14T13:14:11.405Z] 213ec9aee27d: Verifying Checksum [2022-10-14T13:14:11.405Z] 213ec9aee27d: Download complete [2022-10-14T13:14:11.405Z] 213ec9aee27d: Pull complete [2022-10-14T13:14:11.679Z] 4583459ba037: Pull complete [2022-10-14T13:14:11.679Z] 93c1e223e6f2: Pull complete [2022-10-14T13:14:11.679Z] 7d9ed39f4882: Verifying Checksum [2022-10-14T13:14:11.679Z] 7d9ed39f4882: Download complete [2022-10-14T13:14:11.947Z] 53926ce57604: Verifying Checksum [2022-10-14T13:14:11.947Z] 53926ce57604: Download complete [2022-10-14T13:14:12.207Z] 99cc6dd402b0: Verifying Checksum [2022-10-14T13:14:12.207Z] 99cc6dd402b0: Download complete [2022-10-14T13:14:16.394Z] 53926ce57604: Pull complete [2022-10-14T13:14:16.394Z] 21b2b0c7a3f4: Pull complete [2022-10-14T13:14:16.394Z] 30f14e443154: Pull complete [2022-10-14T13:14:16.394Z] 801331c1e519: Pull complete [2022-10-14T13:14:18.292Z] 99cc6dd402b0: Pull complete [2022-10-14T13:14:18.857Z] 7d9ed39f4882: Pull complete [2022-10-14T13:14:18.857Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-14T13:14:18.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-14T13:14:18.857Z] ---> 1dedd983c030 [2022-10-14T13:14:18.857Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:14:24.121Z] Still waiting to schedule task [2022-10-14T13:14:24.121Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7858’ [2022-10-14T13:14:24.126Z] ---> Running in 0be4a2a617a1 [2022-10-14T13:14:24.126Z] Removing intermediate container 0be4a2a617a1 [2022-10-14T13:14:24.126Z] ---> 139995a4daee [2022-10-14T13:14:24.126Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:14:24.126Z] ---> Running in a65954b2c729 [2022-10-14T13:14:24.126Z] Removing intermediate container a65954b2c729 [2022-10-14T13:14:24.126Z] ---> 0987e46adf52 [2022-10-14T13:14:24.126Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-14T13:14:24.126Z] ---> Running in 02afb2f9f11a [2022-10-14T13:14:24.126Z] Removing intermediate container 02afb2f9f11a [2022-10-14T13:14:24.126Z] ---> e1b50ec90893 [2022-10-14T13:14:24.126Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-14T13:14:24.126Z] ---> Running in 4057120b9ce7 [2022-10-14T13:14:24.126Z] Removing intermediate container 4057120b9ce7 [2022-10-14T13:14:24.126Z] ---> b9d22e01c9ac [2022-10-14T13:14:24.126Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:14:24.126Z] ---> Running in a6edf4e2a777 [2022-10-14T13:14:24.383Z] Removing intermediate container a6edf4e2a777 [2022-10-14T13:14:24.383Z] ---> 7ca654ddd057 [2022-10-14T13:14:24.383Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-14T13:14:24.383Z] ---> Running in 18f64a965d49 [2022-10-14T13:14:24.948Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:14:25.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:14:25.770Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-14T13:14:26.028Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-14T13:14:26.028Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-14T13:14:26.286Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-14T13:14:26.286Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:14:26.286Z] OK: 216 MiB in 55 packages [2022-10-14T13:14:26.853Z] Removing intermediate container 18f64a965d49 [2022-10-14T13:14:26.853Z] ---> d94fda8611e0 [2022-10-14T13:14:26.853Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-14T13:14:26.853Z] ---> Running in fd5622775118 [2022-10-14T13:14:26.853Z] Removing intermediate container fd5622775118 [2022-10-14T13:14:26.853Z] ---> 331cd5171c9f [2022-10-14T13:14:26.853Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-14T13:14:26.853Z] ---> bee89caea687 [2022-10-14T13:14:26.853Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:14:26.853Z] ---> Running in a22ab05287ad [2022-10-14T13:14:48.777Z] Removing intermediate container a22ab05287ad [2022-10-14T13:14:48.777Z] ---> 262b393afaa0 [2022-10-14T13:14:48.777Z] Step 12/13 : COPY . . [2022-10-14T13:14:48.777Z] ---> 261e047285e4 [2022-10-14T13:14:48.777Z] Step 13/13 : RUN ${MAKE} [2022-10-14T13:14:48.777Z] ---> Running in 2d45d841e85b [2022-10-14T13:14:48.777Z] noop [2022-10-14T13:14:48.777Z] Removing intermediate container 2d45d841e85b [2022-10-14T13:14:48.777Z] ---> d0ef52d21bdb [2022-10-14T13:14:48.777Z] Successfully built d0ef52d21bdb [2022-10-14T13:14:48.777Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:14:49.221Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-14T13:14:49.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:14:49.364Z] prd-ubuntu20.04-docker-8c-8g-7859 does not seem to be running inside a container [2022-10-14T13:14:49.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-14T13:14:49.743Z] $ docker top 4d74569675c03d1d1e46e89da5f0985858fe91e28b7d2ca397424741b5324a88 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:14:50.117Z] + go version [2022-10-14T13:14:50.117Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-14T13:14:50.155Z] $ docker stop --time=1 4d74569675c03d1d1e46e89da5f0985858fe91e28b7d2ca397424741b5324a88 [2022-10-14T13:14:51.463Z] $ docker rm -f 4d74569675c03d1d1e46e89da5f0985858fe91e28b7d2ca397424741b5324a88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:14:52.173Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-14T13:14:52.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:14:52.331Z] prd-ubuntu20.04-docker-8c-8g-7859 does not seem to be running inside a container [2022-10-14T13:14:52.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-14T13:14:52.753Z] $ docker top 84026d6a4085ab369f622514649878a0a074a6057ff528cdf58087298087c648 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:14:53.137Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-197 [Pipeline] fileExists [Pipeline] sh [2022-10-14T13:14:53.496Z] + make test [2022-10-14T13:14:53.496Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-14T13:14:53.754Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-14T13:15:01.856Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-14T13:15:01.856Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.024s coverage: 0.0% of statements [2022-10-14T13:15:07.117Z] 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-10-14T13:15:07.117Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-14T13:15:10.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-14T13:15:10.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-14T13:15:10.394Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-14T13:15:10.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-14T13:15:10.473Z] $ docker stop --time=1 84026d6a4085ab369f622514649878a0a074a6057ff528cdf58087298087c648 [2022-10-14T13:15:13.923Z] $ docker rm -f 84026d6a4085ab369f622514649878a0a074a6057ff528cdf58087298087c648 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:15:14.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-14T13:15:14.713Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-14T13:15:15.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-14T13:15:15.564Z] + ls -al . [2022-10-14T13:15:15.564Z] total 172 [2022-10-14T13:15:15.564Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 13:14 . [2022-10-14T13:15:15.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:13 .. [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 14 13:13 .dockerignore [2022-10-14T13:15:15.564Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:15 .git [2022-10-14T13:15:15.564Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:13 .github [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 14 13:13 .gitignore [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 13:13 .golangci.yml [2022-10-14T13:15:15.564Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 13:14 .semver [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 14 13:13 Attribution.txt [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 14 13:13 CHANGELOG.md [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 14 13:13 Dockerfile [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 13:13 GOVERNANCE.md [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 14 13:13 Jenkinsfile [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 13:13 LICENSE [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 14 13:13 Makefile [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 13:13 OWNERS.md [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 14 13:13 README.md [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 13:14 VERSION [2022-10-14T13:15:15.564Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:13 bin [2022-10-14T13:15:15.564Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:13 cmd [2022-10-14T13:15:15.564Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 14 13:15 coverage.out [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 14 13:13 go.mod [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 14 13:13 go.sum [2022-10-14T13:15:15.564Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:13 internal [2022-10-14T13:15:15.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:13 snap [2022-10-14T13:15:15.564Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 14 13:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:15:15.955Z] + 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=cbddcbe34f268d86a838dea3e42d67f950982f87 --label arch=amd64 --label version=0.0.0 . [2022-10-14T13:15:15.955Z] Sending build context to Docker daemon 5.529MB [2022-10-14T13:15:15.955Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:15:15.955Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-14T13:15:15.955Z] ---> d0ef52d21bdb [2022-10-14T13:15:15.955Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:15:17.353Z] ---> Running in fef96249d7ae [2022-10-14T13:15:17.935Z] Removing intermediate container fef96249d7ae [2022-10-14T13:15:17.935Z] ---> 7cb21fe311ef [2022-10-14T13:15:17.935Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:15:18.504Z] ---> Running in bdf5d9fbbdc8 [2022-10-14T13:15:18.504Z] Removing intermediate container bdf5d9fbbdc8 [2022-10-14T13:15:18.504Z] ---> df644c119bcb [2022-10-14T13:15:18.504Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-14T13:15:18.762Z] ---> Running in 6d2833fda6a1 [2022-10-14T13:15:18.762Z] Removing intermediate container 6d2833fda6a1 [2022-10-14T13:15:18.762Z] ---> 9f87b73f0c44 [2022-10-14T13:15:18.762Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-14T13:15:18.762Z] ---> Running in 2a646adb050e [2022-10-14T13:15:18.762Z] Removing intermediate container 2a646adb050e [2022-10-14T13:15:18.762Z] ---> e112c52e8ad9 [2022-10-14T13:15:18.762Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:15:18.762Z] ---> Running in 095d1078d4d7 [2022-10-14T13:15:19.331Z] Removing intermediate container 095d1078d4d7 [2022-10-14T13:15:19.331Z] ---> 1aa4e28eb586 [2022-10-14T13:15:19.331Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-14T13:15:19.588Z] ---> Running in 4d85fdbd4cb6 [2022-10-14T13:15:19.846Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:15:20.411Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:15:20.977Z] OK: 216 MiB in 55 packages [2022-10-14T13:15:21.237Z] Removing intermediate container 4d85fdbd4cb6 [2022-10-14T13:15:21.237Z] ---> 05f710db4455 [2022-10-14T13:15:21.237Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-14T13:15:21.237Z] ---> Running in 1bab80bfd6e3 [2022-10-14T13:15:21.237Z] Removing intermediate container 1bab80bfd6e3 [2022-10-14T13:15:21.237Z] ---> 3e32e0cc2564 [2022-10-14T13:15:21.237Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-14T13:15:21.496Z] ---> 04b63a28ec12 [2022-10-14T13:15:21.496Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:15:21.496Z] ---> Running in 818ab19f77f2 [2022-10-14T13:15:22.062Z] Removing intermediate container 818ab19f77f2 [2022-10-14T13:15:22.062Z] ---> 4950aaa488fd [2022-10-14T13:15:22.062Z] Step 12/25 : COPY . . [2022-10-14T13:15:22.630Z] ---> a330e848ed74 [2022-10-14T13:15:22.630Z] Step 13/25 : RUN ${MAKE} [2022-10-14T13:15:22.630Z] ---> Running in 28370c2a37ad [2022-10-14T13:15:22.889Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-14T13:15:44.808Z] Removing intermediate container 28370c2a37ad [2022-10-14T13:15:44.808Z] ---> 9ff42119ea61 [2022-10-14T13:15:44.808Z] Step 14/25 : FROM alpine:3.16 [2022-10-14T13:15:44.808Z] 3.16: Pulling from library/alpine [2022-10-14T13:15:44.808Z] 213ec9aee27d: Already exists [2022-10-14T13:15:45.067Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-14T13:15:45.067Z] Status: Downloaded newer image for alpine:3.16 [2022-10-14T13:15:45.067Z] ---> 9c6f07244728 [2022-10-14T13:15:45.067Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-14T13:15:45.068Z] ---> Running in f37e60530704 [2022-10-14T13:15:45.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:15:45.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:15:45.585Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-14T13:15:45.585Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-14T13:15:45.585Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-14T13:15:45.585Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-14T13:15:45.843Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-14T13:15:45.843Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-14T13:15:45.843Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:15:45.843Z] OK: 8 MiB in 20 packages [2022-10-14T13:15:46.101Z] Removing intermediate container f37e60530704 [2022-10-14T13:15:46.101Z] ---> 03a186e43300 [2022-10-14T13:15:46.101Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-14T13:15:46.669Z] ---> 9802433a56bf [2022-10-14T13:15:46.669Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-14T13:15:46.928Z] ---> bca267303e96 [2022-10-14T13:15:46.928Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-14T13:15:46.928Z] ---> d86d2a14b4dd [2022-10-14T13:15:46.928Z] Step 19/25 : EXPOSE 59993 [2022-10-14T13:15:47.185Z] ---> Running in cfee622bfb42 [2022-10-14T13:15:47.185Z] Removing intermediate container cfee622bfb42 [2022-10-14T13:15:47.185Z] ---> ec7e248dc006 [2022-10-14T13:15:47.185Z] Step 20/25 : EXPOSE 161 [2022-10-14T13:15:47.185Z] ---> Running in 14eacc41641c [2022-10-14T13:15:47.185Z] Removing intermediate container 14eacc41641c [2022-10-14T13:15:47.185Z] ---> 0107e67c3e99 [2022-10-14T13:15:47.185Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-14T13:15:47.185Z] ---> Running in 3d6b1f3e30f1 [2022-10-14T13:15:47.443Z] Removing intermediate container 3d6b1f3e30f1 [2022-10-14T13:15:47.443Z] ---> a047404cbea4 [2022-10-14T13:15:47.443Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-14T13:15:47.443Z] ---> Running in 6f4f2b1f586b [2022-10-14T13:15:47.443Z] Removing intermediate container 6f4f2b1f586b [2022-10-14T13:15:47.443Z] ---> 12b829db542f [2022-10-14T13:15:47.443Z] Step 23/25 : LABEL arch=amd64 [2022-10-14T13:15:47.443Z] ---> Running in 1e32f51b7d5c [2022-10-14T13:15:47.443Z] Removing intermediate container 1e32f51b7d5c [2022-10-14T13:15:47.443Z] ---> 2f2f2c84e95e [2022-10-14T13:15:47.443Z] Step 24/25 : LABEL git_sha=cbddcbe34f268d86a838dea3e42d67f950982f87 [2022-10-14T13:15:47.703Z] ---> Running in 4451659869cd [2022-10-14T13:15:47.703Z] Removing intermediate container 4451659869cd [2022-10-14T13:15:47.703Z] ---> 1ed816e5de49 [2022-10-14T13:15:47.703Z] Step 25/25 : LABEL version=0.0.0 [2022-10-14T13:15:47.703Z] ---> Running in 23708964005b [2022-10-14T13:15:47.703Z] Removing intermediate container 23708964005b [2022-10-14T13:15:47.703Z] ---> 98af7a370fc5 [2022-10-14T13:15:47.703Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-14T13:15:47.703Z] Successfully built 98af7a370fc5 [2022-10-14T13:15:47.703Z] 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-10-14T13:15:48.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:15:48.590Z] [2022-10-14T13:15:48.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:15:48.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:15:48.975Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-14T13:15:48.975Z] 5eb5b503b376: Pulling fs layer [2022-10-14T13:15:48.975Z] 5c69ac0246d0: Pulling fs layer [2022-10-14T13:15:48.975Z] ec43610c2a17: Pulling fs layer [2022-10-14T13:15:48.975Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-14T13:15:48.975Z] 33b1e0a273af: Pulling fs layer [2022-10-14T13:15:48.975Z] 5d3b04190fa2: Pulling fs layer [2022-10-14T13:15:48.975Z] 2f39f015ded8: Pulling fs layer [2022-10-14T13:15:48.975Z] 3a2ae6a8a46f: Waiting [2022-10-14T13:15:48.975Z] 2f39f015ded8: Waiting [2022-10-14T13:15:48.975Z] 33b1e0a273af: Waiting [2022-10-14T13:15:48.975Z] 5c69ac0246d0: Download complete [2022-10-14T13:15:48.975Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-14T13:15:48.975Z] 3a2ae6a8a46f: Download complete [2022-10-14T13:15:49.236Z] 33b1e0a273af: Verifying Checksum [2022-10-14T13:15:49.236Z] 33b1e0a273af: Download complete [2022-10-14T13:15:49.236Z] 5d3b04190fa2: Verifying Checksum [2022-10-14T13:15:49.236Z] 5d3b04190fa2: Download complete [2022-10-14T13:15:49.236Z] ec43610c2a17: Verifying Checksum [2022-10-14T13:15:49.236Z] ec43610c2a17: Download complete [2022-10-14T13:15:49.236Z] 5eb5b503b376: Verifying Checksum [2022-10-14T13:15:49.236Z] 5eb5b503b376: Download complete [2022-10-14T13:15:49.806Z] 2f39f015ded8: Download complete [2022-10-14T13:15:50.384Z] 5eb5b503b376: Pull complete [2022-10-14T13:15:50.648Z] 5c69ac0246d0: Pull complete [2022-10-14T13:15:50.909Z] ec43610c2a17: Pull complete [2022-10-14T13:15:51.167Z] 3a2ae6a8a46f: Pull complete [2022-10-14T13:15:51.167Z] 33b1e0a273af: Pull complete [2022-10-14T13:15:51.425Z] 5d3b04190fa2: Pull complete [2022-10-14T13:15:55.607Z] 2f39f015ded8: Pull complete [2022-10-14T13:15:55.607Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-14T13:15:55.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:15:55.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:15:55.825Z] prd-ubuntu20.04-docker-8c-8g-7859 does not seem to be running inside a container [2022-10-14T13:15:55.864Z] $ 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-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-14T13:15:58.573Z] $ docker top 16220f687db33a1e545938138be66d91b4afabeb089c1028cc68b0e777d789e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:15:58.999Z] ---> job-cost.sh [2022-10-14T13:15:58.999Z] lf-activate-venv: SKIPPING [2022-10-14T13:15:58.999Z] INFO: No Stack... [2022-10-14T13:15:59.566Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-14T13:15:59.827Z] INFO: Archiving Costs [Pipeline] sh [2022-10-14T13:16:00.154Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-197/archives/cost.csv [2022-10-14T13:16:00.154Z] + cut -d, -f6 [Pipeline] lock [2022-10-14T13:16:00.198Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-197-1-stack-cost] [2022-10-14T13:16:00.203Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-197-1-stack-cost] did not exist. Created. [2022-10-14T13:16:00.204Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-14T13:16:00.637Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-14T13:16:00.692Z] Stashed 1 file(s) [Pipeline] } [2022-10-14T13:16:00.714Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-14T13:16:00.798Z] $ docker stop --time=1 16220f687db33a1e545938138be66d91b4afabeb089c1028cc68b0e777d789e1 [2022-10-14T13:16:01.952Z] $ docker rm -f 16220f687db33a1e545938138be66d91b4afabeb089c1028cc68b0e777d789e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-14T13:17:37.626Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7861 in /w/workspace/gexfoundry_device-snmp-go_PR-197 [Pipeline] { [Pipeline] ws [2022-10-14T13:17:37.662Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-10-14T13:17:37.738Z] Selected Git installation does not exist. Using Default [2022-10-14T13:17:37.738Z] The recommended git tool is: NONE [2022-10-14T13:17:42.990Z] using credential edgex-jenkins-ssh [2022-10-14T13:17:43.007Z] Cloning the remote Git repository [2022-10-14T13:17:43.059Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-10-14T13:17:43.140Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-10-14T13:17:43.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-14T13:17:43.310Z] > git --version # timeout=10 [2022-10-14T13:17:43.342Z] > git --version # 'git version 2.25.1' [2022-10-14T13:17:43.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:17:43.393Z] Verifying host key using known hosts file [2022-10-14T13:17:43.598Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-14T13:17:43.610Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-14T13:17:44.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-14T13:17:44.764Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-14T13:17:46.478Z] Merging remotes/origin/main commit 86e265f4693997e38d18c21fe32d96af1ec8218a into PR head commit cbddcbe34f268d86a838dea3e42d67f950982f87 [2022-10-14T13:17:45.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-14T13:17:45.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-14T13:17:45.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:17:45.852Z] Verifying host key using known hosts file [2022-10-14T13:17:45.859Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-14T13:17:45.878Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-14T13:17:46.496Z] > git config core.sparsecheckout # timeout=10 [2022-10-14T13:17:46.515Z] > git checkout -f cbddcbe34f268d86a838dea3e42d67f950982f87 # timeout=10 [2022-10-14T13:17:46.610Z] > git remote # timeout=10 [2022-10-14T13:17:46.709Z] Merge succeeded, producing cbddcbe34f268d86a838dea3e42d67f950982f87 [2022-10-14T13:17:46.710Z] Checking out Revision cbddcbe34f268d86a838dea3e42d67f950982f87 (PR-197) [2022-10-14T13:17:46.630Z] > git config --get remote.origin.url # timeout=10 [2022-10-14T13:17:46.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:17:46.656Z] Verifying host key using known hosts file [2022-10-14T13:17:46.660Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-14T13:17:46.670Z] > git merge 86e265f4693997e38d18c21fe32d96af1ec8218a # timeout=10 [2022-10-14T13:17:46.694Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-14T13:17:46.717Z] > git config core.sparsecheckout # timeout=10 [2022-10-14T13:17:46.738Z] > git checkout -f cbddcbe34f268d86a838dea3e42d67f950982f87 # timeout=10 [2022-10-14T13:17:50.233Z] Commit message: "feat(snap): add config interface with unique identifier" [2022-10-14T13:17:50.290Z] > git --version # timeout=10 [2022-10-14T13:17:50.310Z] > git --version # 'git version 2.25.1' [2022-10-14T13:17:50.334Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:17:51.495Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-14T13:17:51.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-14T13:17:51.496Z] Dload Upload Total Spent Left Speed [2022-10-14T13:17:51.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94751 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh [2022-10-14T13:17:52.380Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-14T13:17:52.726Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-14T13:17:52.726Z] + sudo tee /etc/docker/daemon.new [2022-10-14T13:17:52.726Z] { [2022-10-14T13:17:52.726Z] "registry-mirrors": [ [2022-10-14T13:17:52.726Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-14T13:17:52.726Z] ], [2022-10-14T13:17:52.726Z] "bip": "10.250.0.254/24", [2022-10-14T13:17:52.726Z] "hosts": [ [2022-10-14T13:17:52.726Z] "tcp://0.0.0.0:5555", [2022-10-14T13:17:52.726Z] "unix:///var/run/docker.sock" [2022-10-14T13:17:52.726Z] ], [2022-10-14T13:17:52.726Z] "mtu": 1458, [2022-10-14T13:17:52.726Z] "selinux-enabled": true, [2022-10-14T13:17:52.726Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-14T13:17:52.726Z] } [Pipeline] sh [2022-10-14T13:17:53.088Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-14T13:17:53.454Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:18:11.812Z] provisioning config files... [2022-10-14T13:18:11.842Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config16587939449002849310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:12.230Z] ---> docker-login.sh [2022-10-14T13:18:12.231Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:18:12.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:18:12.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:18:12.822Z] Configure a credential helper to remove this warning. See [2022-10-14T13:18:12.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:18:12.822Z] [2022-10-14T13:18:12.822Z] Login Succeeded [2022-10-14T13:18:12.822Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:18:13.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:18:13.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:18:13.369Z] Configure a credential helper to remove this warning. See [2022-10-14T13:18:13.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:18:13.369Z] [2022-10-14T13:18:13.369Z] Login Succeeded [2022-10-14T13:18:13.369Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:18:13.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:18:13.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:18:13.639Z] Configure a credential helper to remove this warning. See [2022-10-14T13:18:13.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:18:13.639Z] [2022-10-14T13:18:13.639Z] Login Succeeded [2022-10-14T13:18:13.639Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:18:13.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:18:14.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:18:14.181Z] Configure a credential helper to remove this warning. See [2022-10-14T13:18:14.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:18:14.181Z] [2022-10-14T13:18:14.181Z] Login Succeeded [2022-10-14T13:18:14.181Z] docker.io [2022-10-14T13:18:14.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:18:14.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:18:14.774Z] Configure a credential helper to remove this warning. See [2022-10-14T13:18:14.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:18:14.774Z] [2022-10-14T13:18:14.774Z] Login Succeeded [2022-10-14T13:18:14.774Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:18:14.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-14T13:18:15.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:18:15.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:18:15.159Z] ========================================================= [2022-10-14T13:18:15.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-14T13:18:15.159Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:18:15.654Z] + 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-10-14T13:18:15.926Z] Sending build context to Docker daemon 2.852MB [2022-10-14T13:18:15.926Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:18:15.926Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-14T13:18:16.201Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-14T13:18:16.201Z] 9b18e9b68314: Pulling fs layer [2022-10-14T13:18:16.201Z] d32db5db7311: Pulling fs layer [2022-10-14T13:18:16.201Z] d0c4b47475fc: Pulling fs layer [2022-10-14T13:18:16.201Z] 5831b945b038: Pulling fs layer [2022-10-14T13:18:16.201Z] 86bbec2aaacd: Pulling fs layer [2022-10-14T13:18:16.201Z] e10730c5d714: Pulling fs layer [2022-10-14T13:18:16.201Z] 5dd5c2283517: Pulling fs layer [2022-10-14T13:18:16.201Z] d5ac0230b979: Pulling fs layer [2022-10-14T13:18:16.201Z] 5831b945b038: Waiting [2022-10-14T13:18:16.201Z] 86bbec2aaacd: Waiting [2022-10-14T13:18:16.201Z] e10730c5d714: Waiting [2022-10-14T13:18:16.201Z] 5dd5c2283517: Waiting [2022-10-14T13:18:16.201Z] d5ac0230b979: Waiting [2022-10-14T13:18:16.201Z] d0c4b47475fc: Verifying Checksum [2022-10-14T13:18:16.201Z] d0c4b47475fc: Download complete [2022-10-14T13:18:16.201Z] d32db5db7311: Verifying Checksum [2022-10-14T13:18:16.201Z] d32db5db7311: Download complete [2022-10-14T13:18:16.201Z] 86bbec2aaacd: Verifying Checksum [2022-10-14T13:18:16.201Z] 86bbec2aaacd: Download complete [2022-10-14T13:18:16.201Z] e10730c5d714: Verifying Checksum [2022-10-14T13:18:16.201Z] e10730c5d714: Download complete [2022-10-14T13:18:16.201Z] 9b18e9b68314: Verifying Checksum [2022-10-14T13:18:16.201Z] 9b18e9b68314: Download complete [2022-10-14T13:18:17.169Z] d5ac0230b979: Verifying Checksum [2022-10-14T13:18:17.169Z] d5ac0230b979: Download complete [2022-10-14T13:18:17.757Z] 9b18e9b68314: Pull complete [2022-10-14T13:18:18.029Z] d32db5db7311: Pull complete [2022-10-14T13:18:18.299Z] 5dd5c2283517: Verifying Checksum [2022-10-14T13:18:18.299Z] 5dd5c2283517: Download complete [2022-10-14T13:18:18.567Z] d0c4b47475fc: Pull complete [2022-10-14T13:18:19.155Z] 5831b945b038: Verifying Checksum [2022-10-14T13:18:19.155Z] 5831b945b038: Download complete [2022-10-14T13:18:31.491Z] 5831b945b038: Pull complete [2022-10-14T13:18:31.491Z] 86bbec2aaacd: Pull complete [2022-10-14T13:18:31.491Z] e10730c5d714: Pull complete [2022-10-14T13:18:38.231Z] 5dd5c2283517: Pull complete [2022-10-14T13:18:40.181Z] d5ac0230b979: Pull complete [2022-10-14T13:18:40.181Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-14T13:18:40.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-14T13:18:40.181Z] ---> 59b3b1a385d4 [2022-10-14T13:18:40.181Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:18:40.771Z] ---> Running in f7028bdf624a [2022-10-14T13:18:41.040Z] Removing intermediate container f7028bdf624a [2022-10-14T13:18:41.040Z] ---> baebef84304b [2022-10-14T13:18:41.040Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:18:41.307Z] ---> Running in 6eaf3a12776e [2022-10-14T13:18:41.576Z] Removing intermediate container 6eaf3a12776e [2022-10-14T13:18:41.576Z] ---> 60e639ba65b4 [2022-10-14T13:18:41.576Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-14T13:18:41.576Z] ---> Running in 06d9abd540b7 [2022-10-14T13:18:41.844Z] Removing intermediate container 06d9abd540b7 [2022-10-14T13:18:41.844Z] ---> bd041b3a2ce8 [2022-10-14T13:18:41.844Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-14T13:18:42.114Z] ---> Running in 9226a1824ffe [2022-10-14T13:18:42.391Z] Removing intermediate container 9226a1824ffe [2022-10-14T13:18:42.391Z] ---> 3ddb3074d6d5 [2022-10-14T13:18:42.391Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:18:42.391Z] ---> Running in 1160f03de141 [2022-10-14T13:18:44.343Z] Removing intermediate container 1160f03de141 [2022-10-14T13:18:44.343Z] ---> 1ed65bac7bc3 [2022-10-14T13:18:44.343Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-14T13:18:44.343Z] ---> Running in aa7ea9b8f578 [2022-10-14T13:18:45.306Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:18:46.272Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:18:47.238Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-14T13:18:47.238Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-14T13:18:47.238Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-14T13:18:47.511Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-14T13:18:47.511Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:18:47.511Z] OK: 226 MiB in 55 packages [2022-10-14T13:18:48.480Z] Removing intermediate container aa7ea9b8f578 [2022-10-14T13:18:48.480Z] ---> 1f70a94f9a99 [2022-10-14T13:18:48.480Z] Step 9/13 : WORKDIR /device-snmp-go [2022-10-14T13:18:48.750Z] ---> Running in 4401f8c7627e [2022-10-14T13:18:49.018Z] Removing intermediate container 4401f8c7627e [2022-10-14T13:18:49.018Z] ---> f5713cc65819 [2022-10-14T13:18:49.018Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-14T13:18:49.604Z] ---> 4af06e4a7675 [2022-10-14T13:18:49.604Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:18:49.604Z] ---> Running in 8766bb94c8bf [2022-10-14T13:19:46.039Z] Removing intermediate container 8766bb94c8bf [2022-10-14T13:19:46.039Z] ---> 868944ce709c [2022-10-14T13:19:46.039Z] Step 12/13 : COPY . . [2022-10-14T13:19:46.039Z] ---> 15c9a5e88ea9 [2022-10-14T13:19:46.039Z] Step 13/13 : RUN ${MAKE} [2022-10-14T13:19:46.039Z] ---> Running in 69c8833e28b7 [2022-10-14T13:19:46.039Z] noop [2022-10-14T13:19:46.039Z] Removing intermediate container 69c8833e28b7 [2022-10-14T13:19:46.039Z] ---> 518aab321c54 [2022-10-14T13:19:46.039Z] Successfully built 518aab321c54 [2022-10-14T13:19:46.039Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:19:46.520Z] + docker inspect -f . ci-base-image-arm64 [2022-10-14T13:19:46.520Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:19:46.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-7861 does not seem to be running inside a container [2022-10-14T13:19:46.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-14T13:19:48.131Z] $ docker top 8209844ffd7d8c1945a799712ec6dde5277edbc7de6f82e33857a8af8007ec21 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:19:49.025Z] + go version [2022-10-14T13:19:49.025Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-14T13:19:49.068Z] $ docker stop --time=1 8209844ffd7d8c1945a799712ec6dde5277edbc7de6f82e33857a8af8007ec21 [2022-10-14T13:19:50.749Z] $ docker rm -f 8209844ffd7d8c1945a799712ec6dde5277edbc7de6f82e33857a8af8007ec21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:19:51.588Z] + docker inspect -f . ci-base-image-arm64 [2022-10-14T13:19:51.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:19:51.843Z] prd-ubuntu20.04-docker-arm64-4c-16g-7861 does not seem to be running inside a container [2022-10-14T13:19:51.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-14T13:19:53.079Z] $ docker top 9901b6f5b3addf7fed45a2be8fe87dc91d6cfad7c99dcd61d80f6fea5cd9778b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:19:53.981Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-14T13:19:54.697Z] + make test [2022-10-14T13:19:54.697Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-14T13:19:56.653Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-14T13:21:33.398Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-14T13:21:33.398Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements [2022-10-14T13:21:33.398Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-14T13:21:33.398Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-14T13:21:41.618Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-14T13:21:41.618Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-14T13:21:41.618Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-14T13:21:41.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-14T13:21:41.691Z] $ docker stop --time=1 9901b6f5b3addf7fed45a2be8fe87dc91d6cfad7c99dcd61d80f6fea5cd9778b [2022-10-14T13:21:43.465Z] $ docker rm -f 9901b6f5b3addf7fed45a2be8fe87dc91d6cfad7c99dcd61d80f6fea5cd9778b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:21:44.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-14T13:21:44.528Z] Warning: overwriting stash ‘coverage-report’ [2022-10-14T13:21:44.938Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:21:45.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-14T13:21:45.835Z] + ls -al . [2022-10-14T13:21:45.836Z] total 168 [2022-10-14T13:21:45.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:19 . [2022-10-14T13:21:45.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:17 .. [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 14 13:17 .dockerignore [2022-10-14T13:21:45.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:17 .git [2022-10-14T13:21:45.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:17 .github [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 14 13:17 .gitignore [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 13:17 .golangci.yml [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 14 13:17 Attribution.txt [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 14 13:17 CHANGELOG.md [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 1575 Oct 14 13:17 Dockerfile [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 13:17 GOVERNANCE.md [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 14 13:17 Jenkinsfile [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 13:17 LICENSE [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 14 13:17 Makefile [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 13:17 OWNERS.md [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 14 13:17 README.md [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 13:14 VERSION [2022-10-14T13:21:45.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:17 bin [2022-10-14T13:21:45.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:17 cmd [2022-10-14T13:21:45.836Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 14 13:21 coverage.out [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 3473 Oct 14 13:17 go.mod [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 38138 Oct 14 13:17 go.sum [2022-10-14T13:21:45.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:17 internal [2022-10-14T13:21:45.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:17 snap [2022-10-14T13:21:45.836Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 14 13:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:21:46.252Z] + 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=cbddcbe34f268d86a838dea3e42d67f950982f87 --label arch=arm64 --label version=0.0.0 . [2022-10-14T13:21:46.520Z] Sending build context to Docker daemon 2.86MB [2022-10-14T13:21:46.520Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:21:46.520Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-14T13:21:46.520Z] ---> 518aab321c54 [2022-10-14T13:21:46.520Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:21:46.792Z] ---> Running in c64b70d20d73 [2022-10-14T13:21:47.060Z] Removing intermediate container c64b70d20d73 [2022-10-14T13:21:47.060Z] ---> 9bc5b87307d7 [2022-10-14T13:21:47.060Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:21:47.060Z] ---> Running in 8236827d93e0 [2022-10-14T13:21:47.327Z] Removing intermediate container 8236827d93e0 [2022-10-14T13:21:47.327Z] ---> 4775adff8e6d [2022-10-14T13:21:47.327Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-14T13:21:47.327Z] ---> Running in 4479e4af51a0 [2022-10-14T13:21:47.600Z] Removing intermediate container 4479e4af51a0 [2022-10-14T13:21:47.600Z] ---> 1c3bb8afdf31 [2022-10-14T13:21:47.600Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-14T13:21:47.868Z] ---> Running in f38b701bf747 [2022-10-14T13:21:48.137Z] Removing intermediate container f38b701bf747 [2022-10-14T13:21:48.137Z] ---> 1375be5ef866 [2022-10-14T13:21:48.137Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:21:48.137Z] ---> Running in 53b96aecf202 [2022-10-14T13:21:50.083Z] Removing intermediate container 53b96aecf202 [2022-10-14T13:21:50.083Z] ---> 5fc28c66b5d9 [2022-10-14T13:21:50.083Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-14T13:21:50.083Z] ---> Running in b73f51e1cd59 [2022-10-14T13:21:50.666Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:21:51.625Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:21:52.591Z] OK: 226 MiB in 55 packages [2022-10-14T13:21:53.557Z] Removing intermediate container b73f51e1cd59 [2022-10-14T13:21:53.557Z] ---> 449951e907e0 [2022-10-14T13:21:53.557Z] Step 9/25 : WORKDIR /device-snmp-go [2022-10-14T13:21:53.557Z] ---> Running in 05235aa6eeb3 [2022-10-14T13:21:54.145Z] Removing intermediate container 05235aa6eeb3 [2022-10-14T13:21:54.145Z] ---> f39146ab91a4 [2022-10-14T13:21:54.145Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-14T13:21:54.417Z] ---> 09eb9a71c78b [2022-10-14T13:21:54.417Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:21:54.690Z] ---> Running in 9492ec38af46 [2022-10-14T13:21:57.536Z] Removing intermediate container 9492ec38af46 [2022-10-14T13:21:57.536Z] ---> 22da8af9f730 [2022-10-14T13:21:57.536Z] Step 12/25 : COPY . . [2022-10-14T13:21:57.820Z] ---> 324b2fdec374 [2022-10-14T13:21:57.820Z] Step 13/25 : RUN ${MAKE} [2022-10-14T13:21:58.114Z] ---> Running in 4a26ef89235a [2022-10-14T13:21:59.111Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-14T13:24:35.925Z] Removing intermediate container 4a26ef89235a [2022-10-14T13:24:35.925Z] ---> e2d6fcaf401b [2022-10-14T13:24:35.925Z] Step 14/25 : FROM alpine:3.16 [2022-10-14T13:24:35.925Z] 3.16: Pulling from library/alpine [2022-10-14T13:24:35.925Z] 9b18e9b68314: Already exists [2022-10-14T13:24:35.925Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-14T13:24:35.925Z] Status: Downloaded newer image for alpine:3.16 [2022-10-14T13:24:35.925Z] ---> a6215f271958 [2022-10-14T13:24:35.925Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-14T13:24:35.925Z] ---> Running in a84207c997a4 [2022-10-14T13:24:35.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:24:35.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:24:36.192Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-14T13:24:36.192Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-14T13:24:36.192Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-14T13:24:36.192Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-14T13:24:36.192Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-14T13:24:36.192Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-14T13:24:36.192Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:24:36.193Z] OK: 8 MiB in 20 packages [2022-10-14T13:24:37.160Z] Removing intermediate container a84207c997a4 [2022-10-14T13:24:37.160Z] ---> 61c0eaffdcb9 [2022-10-14T13:24:37.160Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2022-10-14T13:24:39.110Z] ---> fbc11eb43e86 [2022-10-14T13:24:39.110Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-14T13:24:39.696Z] ---> eb4baca9d9a7 [2022-10-14T13:24:39.696Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-14T13:24:40.279Z] ---> 2a2710981ab8 [2022-10-14T13:24:40.279Z] Step 19/25 : EXPOSE 59993 [2022-10-14T13:24:40.279Z] ---> Running in be2fa1cd7179 [2022-10-14T13:24:40.547Z] Removing intermediate container be2fa1cd7179 [2022-10-14T13:24:40.547Z] ---> 991082320ba9 [2022-10-14T13:24:40.547Z] Step 20/25 : EXPOSE 161 [2022-10-14T13:24:40.547Z] ---> Running in 489dc50e2bf7 [2022-10-14T13:24:40.815Z] Removing intermediate container 489dc50e2bf7 [2022-10-14T13:24:40.815Z] ---> 26a573dc1006 [2022-10-14T13:24:40.815Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2022-10-14T13:24:40.815Z] ---> Running in ca40bacce445 [2022-10-14T13:24:41.084Z] Removing intermediate container ca40bacce445 [2022-10-14T13:24:41.084Z] ---> 4425e290c4bb [2022-10-14T13:24:41.084Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-14T13:24:41.365Z] ---> Running in d74b9492fbd0 [2022-10-14T13:24:41.632Z] Removing intermediate container d74b9492fbd0 [2022-10-14T13:24:41.632Z] ---> 241404ea7904 [2022-10-14T13:24:41.632Z] Step 23/25 : LABEL arch=arm64 [2022-10-14T13:24:41.632Z] ---> Running in 424d70855249 [2022-10-14T13:24:41.899Z] Removing intermediate container 424d70855249 [2022-10-14T13:24:41.899Z] ---> 4f51c76ee662 [2022-10-14T13:24:41.899Z] Step 24/25 : LABEL git_sha=cbddcbe34f268d86a838dea3e42d67f950982f87 [2022-10-14T13:24:41.899Z] ---> Running in b5f2cc98f4d8 [2022-10-14T13:24:42.175Z] Removing intermediate container b5f2cc98f4d8 [2022-10-14T13:24:42.175Z] ---> 14c0f5a2ca73 [2022-10-14T13:24:42.175Z] Step 25/25 : LABEL version=0.0.0 [2022-10-14T13:24:42.446Z] ---> Running in a1de1505f40c [2022-10-14T13:24:42.713Z] Removing intermediate container a1de1505f40c [2022-10-14T13:24:42.713Z] ---> 4b90527c81da [2022-10-14T13:24:42.713Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-14T13:24:42.713Z] Successfully built 4b90527c81da [2022-10-14T13:24:42.713Z] 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-10-14T13:24:43.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:24:43.526Z] [2022-10-14T13:24:43.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:24:43.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:24:43.924Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-14T13:24:43.924Z] 8998bd30e6a1: Pulling fs layer [2022-10-14T13:24:43.924Z] 04944245beec: Pulling fs layer [2022-10-14T13:24:43.924Z] 699f458cf7ca: Pulling fs layer [2022-10-14T13:24:43.924Z] 765212b225bb: Pulling fs layer [2022-10-14T13:24:43.924Z] f23df028b6ca: Pulling fs layer [2022-10-14T13:24:43.924Z] d65c8cfc05b1: Pulling fs layer [2022-10-14T13:24:43.924Z] 2437ff75d9bd: Pulling fs layer [2022-10-14T13:24:43.924Z] 765212b225bb: Waiting [2022-10-14T13:24:43.924Z] f23df028b6ca: Waiting [2022-10-14T13:24:43.924Z] d65c8cfc05b1: Waiting [2022-10-14T13:24:43.924Z] 2437ff75d9bd: Waiting [2022-10-14T13:24:44.192Z] 04944245beec: Verifying Checksum [2022-10-14T13:24:44.192Z] 04944245beec: Download complete [2022-10-14T13:24:44.192Z] 765212b225bb: Download complete [2022-10-14T13:24:44.192Z] f23df028b6ca: Verifying Checksum [2022-10-14T13:24:44.192Z] f23df028b6ca: Download complete [2022-10-14T13:24:44.192Z] d65c8cfc05b1: Verifying Checksum [2022-10-14T13:24:44.192Z] d65c8cfc05b1: Download complete [2022-10-14T13:24:44.461Z] 699f458cf7ca: Verifying Checksum [2022-10-14T13:24:44.461Z] 699f458cf7ca: Download complete [2022-10-14T13:24:44.727Z] 8998bd30e6a1: Verifying Checksum [2022-10-14T13:24:44.727Z] 8998bd30e6a1: Download complete [2022-10-14T13:24:47.310Z] 2437ff75d9bd: Verifying Checksum [2022-10-14T13:24:47.310Z] 2437ff75d9bd: Download complete [2022-10-14T13:24:48.714Z] 8998bd30e6a1: Pull complete [2022-10-14T13:24:48.981Z] 04944245beec: Pull complete [2022-10-14T13:24:50.391Z] 699f458cf7ca: Pull complete [2022-10-14T13:24:50.671Z] 765212b225bb: Pull complete [2022-10-14T13:24:51.254Z] f23df028b6ca: Pull complete [2022-10-14T13:24:51.525Z] d65c8cfc05b1: Pull complete [2022-10-14T13:25:06.507Z] 2437ff75d9bd: Pull complete [2022-10-14T13:25:06.507Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-14T13:25:06.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:25:06.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:25:06.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-7861 does not seem to be running inside a container [2022-10-14T13:25:06.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-14T13:25:09.516Z] $ docker top cf5f80a9dd5dce93bd6bf31ce774af6b34d4940cd22e3dc86c276ac07964c767 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:25:10.101Z] ---> job-cost.sh [2022-10-14T13:25:10.368Z] lf-activate-venv: SKIPPING [2022-10-14T13:25:10.368Z] INFO: No Stack... [2022-10-14T13:25:10.633Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-14T13:25:11.587Z] INFO: Archiving Costs [Pipeline] sh [2022-10-14T13:25:11.925Z] + + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-10-14T13:25:11.926Z] cut -d, -f6 [Pipeline] lock [2022-10-14T13:25:12.009Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-197-1-stack-cost] [2022-10-14T13:25:12.015Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-197-1-stack-cost] did not exist. Created. [2022-10-14T13:25:12.015Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-14T13:25:12.433Z] /w/workspace/device-snmp-go/1@tmp/durable-403a7a3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-14T13:25:12.787Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-14T13:25:12.824Z] Warning: overwriting stash ‘stack-cost’ [2022-10-14T13:25:12.863Z] Stashed 1 file(s) [Pipeline] } [2022-10-14T13:25:12.880Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-14T13:25:12.961Z] $ docker stop --time=1 cf5f80a9dd5dce93bd6bf31ce774af6b34d4940cd22e3dc86c276ac07964c767 [2022-10-14T13:25:14.412Z] $ docker rm -f cf5f80a9dd5dce93bd6bf31ce774af6b34d4940cd22e3dc86c276ac07964c767 [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-10-14T13:25:15.381Z] provisioning config files... [2022-10-14T13:25:15.389Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/config1275729734631895951tmp [Pipeline] { [Pipeline] sh [2022-10-14T13:25:15.729Z] + set +x [2022-10-14T13:25:15.729Z] + + bash -s -- [2022-10-14T13:25:15.729Z] curl -s https://codecov.io/bash [2022-10-14T13:25:15.729Z] [2022-10-14T13:25:15.729Z] _____ _ [2022-10-14T13:25:15.729Z] / ____| | | [2022-10-14T13:25:15.729Z] | | ___ __| | ___ ___ _____ __ [2022-10-14T13:25:15.729Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-14T13:25:15.729Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-14T13:25:15.729Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-14T13:25:15.729Z] Bash-1.0.6 [2022-10-14T13:25:15.729Z] [2022-10-14T13:25:15.729Z] [2022-10-14T13:25:15.729Z] ==> git version 2.25.1 found [2022-10-14T13:25:15.729Z] ==> 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-10-14T13:25:15.729Z] Release-Date: 2020-01-08 [2022-10-14T13:25:15.729Z] 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-10-14T13:25:15.729Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-14T13:25:15.729Z] ==> Jenkins CI detected. [2022-10-14T13:25:15.729Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-197 [2022-10-14T13:25:15.729Z] project root: . [2022-10-14T13:25:15.729Z] --> token set from env [2022-10-14T13:25:15.729Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-14T13:25:15.729Z] ==> Running gcov in . (disable via -X gcov) [2022-10-14T13:25:15.729Z] ==> Python coveragepy not found [2022-10-14T13:25:15.729Z] ==> Searching for coverage reports in: [2022-10-14T13:25:15.729Z] + . [2022-10-14T13:25:15.729Z] -> Found 1 reports [2022-10-14T13:25:15.729Z] ==> Detecting git/mercurial file structure [2022-10-14T13:25:15.729Z] ==> Reading reports [2022-10-14T13:25:15.729Z] + ./coverage.out bytes=7631 [2022-10-14T13:25:15.729Z] ==> Appending adjustments [2022-10-14T13:25:15.729Z] https://docs.codecov.io/docs/fixing-reports [2022-10-14T13:25:15.990Z] + Found adjustments [2022-10-14T13:25:15.990Z] ==> Gzipping contents [2022-10-14T13:25:15.990Z] 4.0K /tmp/codecov.FzOnzw.gz [2022-10-14T13:25:15.990Z] ==> Uploading reports [2022-10-14T13:25:15.990Z] url: https://codecov.io [2022-10-14T13:25:15.990Z] query: branch=PR-197&commit=cbddcbe34f268d86a838dea3e42d67f950982f87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-197%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=197&job=&cmd_args= [2022-10-14T13:25:15.990Z] -> Pinging Codecov [2022-10-14T13:25:15.990Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-197&commit=cbddcbe34f268d86a838dea3e42d67f950982f87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-197%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=197&job=&cmd_args= [2022-10-14T13:25:16.250Z] -> Uploading to [2022-10-14T13:25:16.250Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-14/6C56EA5C29638FB4528AC87E60AF5AE0/cbddcbe34f268d86a838dea3e42d67f950982f87/4a75e17b-79f5-4b0b-a09e-bcbd726c965e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221014T132516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5c8ec42cdc0137f8b979e25f7e94894573e27ab9271b6ffb07900b6a98e74a1 [2022-10-14T13:25:16.250Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-14T13:25:16.250Z] Dload Upload Total Spent Left Speed [2022-10-14T13:25:16.508Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6050 --:--:-- --:--:-- --:--:-- 6050 [2022-10-14T13:25:16.508Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/cbddcbe34f268d86a838dea3e42d67f950982f87 [Pipeline] } [2022-10-14T13:25:16.536Z] 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-10-14T13:25:18.241Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-197/archives ] [2022-10-14T13:25:18.241Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-197/archives [2022-10-14T13:25:18.241Z] total 16 [2022-10-14T13:25:18.241Z] drwxr-xr-x 3 root root 4096 Oct 14 13:15 . [2022-10-14T13:25:18.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 13:16 .. [2022-10-14T13:25:18.241Z] drwxr-xr-x 2 root root 4096 Oct 14 13:15 cost [2022-10-14T13:25:18.241Z] -rw-r--r-- 1 root root 86 Oct 14 13:15 cost.csv [2022-10-14T13:25:18.241Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-197/archives [2022-10-14T13:25:18.241Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-197/archives [2022-10-14T13:25:18.241Z] total 16 [2022-10-14T13:25:18.241Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 13:15 . [2022-10-14T13:25:18.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 13:16 .. [2022-10-14T13:25:18.241Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 13:15 cost [2022-10-14T13:25:18.241Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 14 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:25:18.568Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:25:19.455Z] ---> package-listing.sh [2022-10-14T13:25:19.455Z] ++ facter osfamily [2022-10-14T13:25:19.455Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-14T13:25:19.714Z] + OS_FAMILY=debian [2022-10-14T13:25:19.714Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-197 [2022-10-14T13:25:19.715Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-14T13:25:19.715Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-14T13:25:19.715Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-14T13:25:19.715Z] + PACKAGES=/tmp/packages_start.txt [2022-10-14T13:25:19.715Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-197 ']' [2022-10-14T13:25:19.715Z] + PACKAGES=/tmp/packages_end.txt [2022-10-14T13:25:19.715Z] + case "${OS_FAMILY}" in [2022-10-14T13:25:19.715Z] + dpkg -l [2022-10-14T13:25:19.715Z] + grep '^ii' [2022-10-14T13:25:19.715Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-14T13:25:19.715Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-14T13:25:19.715Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-14T13:25:19.715Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-197 ']' [2022-10-14T13:25:19.715Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-197/archives/ [2022-10-14T13:25:19.715Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-197/archives/ [Pipeline] echo [2022-10-14T13:25:19.750Z] 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-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-14T13:25:20.041Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:25:20.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:25:20.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:25:20.817Z] prd-ubuntu20.04-docker-8c-8g-7859 does not seem to be running inside a container [2022-10-14T13:25:20.856Z] $ 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-197/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-197 -v /w/workspace/gexfoundry_device-snmp-go_PR-197:/w/workspace/gexfoundry_device-snmp-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-14T13:25:21.043Z] $ docker top 3f35f695079e2bf887b3e3e073cbe714e5cb18a85de8720bb09a6aa183e188c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:25:21.417Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-14T13:25:21.726Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-14T13:25:22.033Z] + ls /var/log/sa-host [2022-10-14T13:25:22.033Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:25:22.172Z] provisioning config files... [2022-10-14T13:25:22.181Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-197@tmp/config14498536738229515885tmp [Pipeline] { [Pipeline] echo [2022-10-14T13:25:22.237Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:25:22.551Z] ---> create-netrc.sh [Pipeline] } [2022-10-14T13:25:22.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:25:22.979Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-14T13:25:23.013Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:25:23.320Z] ---> sudo-logs.sh [2022-10-14T13:25:23.320Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-14T13:25:23.402Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:25:23.716Z] ---> job-cost.sh [2022-10-14T13:25:23.716Z] lf-activate-venv: SKIPPING [2022-10-14T13:25:23.716Z] DEBUG: total: 0.2199999988079071 [2022-10-14T13:25:23.716Z] INFO: Retrieving Stack Cost... [2022-10-14T13:25:24.286Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-14T13:25:24.544Z] INFO: Archiving Costs [Pipeline] echo [2022-10-14T13:25:24.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:25:24.886Z] ---> logs-deploy.sh [2022-10-14T13:25:24.887Z] lf-activate-venv: SKIPPING [2022-10-14T13:25:24.887Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-197/1 [2022-10-14T13:25:24.887Z] INFO: archiving workspace using pattern(s): [2022-10-14T13:25:25.823Z] Archives upload complete. [2022-10-14T13:25:25.823Z] INFO: archiving logs to Nexus