Pull request #185 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at f6828afe08f553138e4b56b0659b8be13fc1cd72 rather than 97853843c31ba2f8c44471a1c1cad8690a6f1a58 Obtained Jenkinsfile from f6828afe08f553138e4b56b0659b8be13fc1cd72 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5999590274700854485.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13410134449846197600.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13567183390257965174.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14187347186878851583.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13693248685971634524.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20585 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-185 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit 97853843c31ba2f8c44471a1c1cad8690a6f1a58 Merge succeeded, producing 97853843c31ba2f8c44471a1c1cad8690a6f1a58 Checking out Revision 97853843c31ba2f8c44471a1c1cad8690a6f1a58 (PR-185) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # timeout=10 Commit message: "refactor(snap): Update snapcraft" > git rev-list --no-walk 04de622028cfaebb47307c4dd7f541b6c5c0373c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-20T12:53:34.142Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-20T12:53:34.183Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-20T12:53:34.200Z] ========================================================= [2022-07-20T12:53:34.200Z] EdgeX Global Pipelines Version Info [2022-07-20T12:53:34.200Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:53:34.940Z] ------------------- [2022-07-20T12:53:34.940Z] stable info: [2022-07-20T12:53:34.940Z] ------------------- [2022-07-20T12:53:34.940Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T12:53:34.940Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T12:53:34.940Z] Message: update stable to v1.0.238 [2022-07-20T12:53:35.514Z] ------------------- [2022-07-20T12:53:35.514Z] experimental info: [2022-07-20T12:53:35.514Z] ------------------- [2022-07-20T12:53:35.514Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-20T12:53:35.514Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-20T12:53:35.514Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-20T12:53:35.777Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-07-20T12:53:35.791Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-07-20T12:53:35.806Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-20T12:53:35.818Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-20T12:53:35.833Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-20T12:53:35.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-20T12:53:35.856Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-20T12:53:35.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-20T12:53:35.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-20T12:53:35.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-20T12:53:35.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-20T12:53:35.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-07-20T12:53:35.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-20T12:53:35.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-20T12:53:35.950Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T12:53:35.960Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-20T12:53:35.971Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T12:53:35.983Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-20T12:53:35.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-20T12:53:36.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-20T12:53:36.026Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-20T12:53:36.039Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-20T12:53:36.049Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-20T12:53:36.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-20T12:53:36.073Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-20T12:53:36.084Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-20T12:53:36.095Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-20T12:53:36.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-07-20T12:53:36.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-07-20T12:53:36.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-07-20T12:53:36.150Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] echo [2022-07-20T12:53:36.163Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9785384 [Pipeline] echo [2022-07-20T12:53:36.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T12:53:36.217Z] provisioning config files... [2022-07-20T12:53:36.232Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config1257883920915173010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:53:36.547Z] ---> docker-login.sh [2022-07-20T12:53:36.548Z] nexus3.edgexfoundry.org:10001 [2022-07-20T12:53:36.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:37.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:37.073Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:37.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:37.073Z] [2022-07-20T12:53:37.073Z] Login Succeeded [2022-07-20T12:53:37.073Z] nexus3.edgexfoundry.org:10002 [2022-07-20T12:53:37.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:37.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:37.336Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:37.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:37.336Z] [2022-07-20T12:53:37.336Z] Login Succeeded [2022-07-20T12:53:37.336Z] nexus3.edgexfoundry.org:10003 [2022-07-20T12:53:37.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:37.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:37.336Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:37.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:37.336Z] [2022-07-20T12:53:37.336Z] Login Succeeded [2022-07-20T12:53:37.336Z] nexus3.edgexfoundry.org:10004 [2022-07-20T12:53:37.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:37.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:37.598Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:37.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:37.598Z] [2022-07-20T12:53:37.598Z] Login Succeeded [2022-07-20T12:53:37.598Z] docker.io [2022-07-20T12:53:37.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:37.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:37.859Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:37.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:37.859Z] [2022-07-20T12:53:37.859Z] Login Succeeded [2022-07-20T12:53:38.124Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T12:53:38.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-20T12:53:38.518Z] + git rev-list -1 --merges 97853843c31ba2f8c44471a1c1cad8690a6f1a58~1..97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] echo [2022-07-20T12:53:38.557Z] -----------> git rev-list -1 --merges 97853843c31ba2f8c44471a1c1cad8690a6f1a58~1..97853843c31ba2f8c44471a1c1cad8690a6f1a58 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [false] [Pipeline] sh [2022-07-20T12:53:38.856Z] + git log --format=format:%s -1 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] echo [2022-07-20T12:53:38.870Z] ========================================================= [2022-07-20T12:53:38.870Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-20T12:53:38.870Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T12:53:39.209Z] + git log --format=format:%s -1 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] echo [2022-07-20T12:53:39.222Z] [semverPrep] GIT_COMMIT: 97853843c31ba2f8c44471a1c1cad8690a6f1a58, Commit Message: refactor(snap): Update snapcraft [Pipeline] echo [2022-07-20T12:53:39.234Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-20T12:53:39.607Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-20T12:53:39.607Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-20T12:53:39.607Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-20T12:53:39.607Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-20T12:53:39.607Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-20T12:53:39.607Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-20T12:53:39.607Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:53:40.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T12:53:40.022Z] [2022-07-20T12:53:40.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:53:40.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T12:53:40.332Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-20T12:53:40.332Z] b85a868b505f: Pulling fs layer [2022-07-20T12:53:40.332Z] e2be974225ed: Pulling fs layer [2022-07-20T12:53:40.332Z] 339a4e72a1f5: Pulling fs layer [2022-07-20T12:53:40.332Z] 988bab9f4d93: Pulling fs layer [2022-07-20T12:53:40.332Z] 1469e6f7b9e6: Pulling fs layer [2022-07-20T12:53:40.332Z] eaf3925da568: Pulling fs layer [2022-07-20T12:53:40.332Z] bab4dde63d76: Pulling fs layer [2022-07-20T12:53:40.332Z] bde34c3a00c8: Pulling fs layer [2022-07-20T12:53:40.332Z] b352a97aabf1: Pulling fs layer [2022-07-20T12:53:40.332Z] 4872d77fe225: Pulling fs layer [2022-07-20T12:53:40.332Z] 5851b861e8e6: Pulling fs layer [2022-07-20T12:53:40.332Z] 1469e6f7b9e6: Waiting [2022-07-20T12:53:40.332Z] eaf3925da568: Waiting [2022-07-20T12:53:40.332Z] bab4dde63d76: Waiting [2022-07-20T12:53:40.332Z] bde34c3a00c8: Waiting [2022-07-20T12:53:40.332Z] b352a97aabf1: Waiting [2022-07-20T12:53:40.332Z] 4872d77fe225: Waiting [2022-07-20T12:53:40.332Z] 5851b861e8e6: Waiting [2022-07-20T12:53:40.332Z] 988bab9f4d93: Waiting [2022-07-20T12:53:40.332Z] e2be974225ed: Download complete [2022-07-20T12:53:40.332Z] 988bab9f4d93: Verifying Checksum [2022-07-20T12:53:40.332Z] 988bab9f4d93: Download complete [2022-07-20T12:53:40.332Z] 1469e6f7b9e6: Verifying Checksum [2022-07-20T12:53:40.332Z] 1469e6f7b9e6: Download complete [2022-07-20T12:53:40.332Z] eaf3925da568: Download complete [2022-07-20T12:53:40.594Z] 339a4e72a1f5: Verifying Checksum [2022-07-20T12:53:40.594Z] 339a4e72a1f5: Download complete [2022-07-20T12:53:40.594Z] bde34c3a00c8: Verifying Checksum [2022-07-20T12:53:40.594Z] bde34c3a00c8: Download complete [2022-07-20T12:53:40.594Z] b352a97aabf1: Download complete [2022-07-20T12:53:40.594Z] 4872d77fe225: Verifying Checksum [2022-07-20T12:53:40.594Z] 4872d77fe225: Download complete [2022-07-20T12:53:40.594Z] 5851b861e8e6: Verifying Checksum [2022-07-20T12:53:40.594Z] 5851b861e8e6: Download complete [2022-07-20T12:53:40.594Z] b85a868b505f: Verifying Checksum [2022-07-20T12:53:40.594Z] b85a868b505f: Download complete [2022-07-20T12:53:40.854Z] bab4dde63d76: Verifying Checksum [2022-07-20T12:53:40.854Z] bab4dde63d76: Download complete [2022-07-20T12:53:42.256Z] b85a868b505f: Pull complete [2022-07-20T12:53:42.256Z] e2be974225ed: Pull complete [2022-07-20T12:53:42.829Z] 339a4e72a1f5: Pull complete [2022-07-20T12:53:42.829Z] 988bab9f4d93: Pull complete [2022-07-20T12:53:43.090Z] 1469e6f7b9e6: Pull complete [2022-07-20T12:53:43.090Z] eaf3925da568: Pull complete [2022-07-20T12:53:45.001Z] bab4dde63d76: Pull complete [2022-07-20T12:53:45.001Z] bde34c3a00c8: Pull complete [2022-07-20T12:53:45.261Z] b352a97aabf1: Pull complete [2022-07-20T12:53:45.261Z] 4872d77fe225: Pull complete [2022-07-20T12:53:45.524Z] 5851b861e8e6: Pull complete [2022-07-20T12:53:45.524Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-20T12:53:45.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-20T12:53:45.524Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:53:45.635Z] prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container [2022-07-20T12:53:45.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-20T12:53:47.144Z] $ docker top 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 -eo pid,comm [2022-07-20T12:53:47.217Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-20T12:53:47.217Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-20T12:53:47.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T12:53:47.252Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T12:53:47.387Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T12:53:47.395Z] $ docker exec 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 ssh-agent [2022-07-20T12:53:47.526Z] SSH_AUTH_SOCK=/tmp/ssh-z13vT6qfRUfT/agent.32 [2022-07-20T12:53:47.526Z] SSH_AGENT_PID=38 [2022-07-20T12:53:47.533Z] Running ssh-add (command line suppressed) [2022-07-20T12:53:47.672Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_3832425871978889575.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_3832425871978889575.key) [2022-07-20T12:53:47.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T12:53:47.981Z] + git tag --points-at HEAD [Pipeline] } [2022-07-20T12:53:48.002Z] $ docker exec --env ******** --env ******** 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 ssh-agent -k [2022-07-20T12:53:48.114Z] unset SSH_AUTH_SOCK; [2022-07-20T12:53:48.115Z] unset SSH_AGENT_PID; [2022-07-20T12:53:48.115Z] echo Agent pid 38 killed; [2022-07-20T12:53:48.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-20T12:53:48.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-20T12:53:48.145Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-20T12:53:48.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-20T12:53:48.292Z] $ docker exec 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 ssh-agent [2022-07-20T12:53:48.415Z] SSH_AUTH_SOCK=/tmp/ssh-sGxkOhebopdn/agent.72 [2022-07-20T12:53:48.415Z] SSH_AGENT_PID=78 [2022-07-20T12:53:48.421Z] Running ssh-add (command line suppressed) [2022-07-20T12:53:48.550Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_8493577233569398677.key (/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/private_key_8493577233569398677.key) [2022-07-20T12:53:48.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-20T12:53:48.859Z] + git semver init [2022-07-20T12:53:49.120Z] 2022-07-20 12:53:49,057 [run_init] DEBUG init version:0.0.0 force:False [2022-07-20T12:53:49.120Z] 2022-07-20 12:53:49,057 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver [2022-07-20T12:53:49.120Z] 2022-07-20 12:53:49,058 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver [2022-07-20T12:53:49.120Z] 2022-07-20 12:53:49,058 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185, universal_newlines=False, shell=None, istream=None) [2022-07-20T12:53:50.066Z] 2022-07-20 12:53:49,768 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.git/info/exclude [2022-07-20T12:53:50.066Z] 2022-07-20 12:53:49,768 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 with force:False [2022-07-20T12:53:50.066Z] 2022-07-20 12:53:49,768 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 [2022-07-20T12:53:50.066Z] 2022-07-20 12:53:49,773 [execute] INFO git cat-file --batch-check [2022-07-20T12:53:50.066Z] 2022-07-20 12:53:49,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T12:53:50.066Z] 2022-07-20 12:53:49,779 [execute] INFO git cat-file --batch [2022-07-20T12:53:50.066Z] 2022-07-20 12:53:49,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-07-20T12:53:50.066Z] 2022-07-20 12:53:49,785 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-185/.semver/PR-185 [2022-07-20T12:53:50.066Z] 0.0.0 [Pipeline] } [2022-07-20T12:53:50.082Z] $ docker exec --env ******** --env ******** 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 ssh-agent -k [2022-07-20T12:53:50.210Z] unset SSH_AUTH_SOCK; [2022-07-20T12:53:50.211Z] unset SSH_AGENT_PID; [2022-07-20T12:53:50.211Z] echo Agent pid 78 killed; [2022-07-20T12:53:50.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-20T12:53:50.541Z] + git semver [Pipeline] } [2022-07-20T12:53:50.824Z] $ docker stop --time=1 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 [2022-07-20T12:53:52.173Z] $ docker rm -f 32055cdb8035f7fe856f4186db784dd1fd8e15fda6fd3f96358860ad33c0fe25 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T12:53:52.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-20T12:53:52.801Z] Stashed 1 file(s) [Pipeline] echo [2022-07-20T12:53:52.804Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T12:53:52.931Z] provisioning config files... [2022-07-20T12:53:52.941Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config6299666366688759328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:53:53.245Z] ---> docker-login.sh [2022-07-20T12:53:53.245Z] nexus3.edgexfoundry.org:10001 [2022-07-20T12:53:53.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:53.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:53.245Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:53.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:53.245Z] [2022-07-20T12:53:53.245Z] Login Succeeded [2022-07-20T12:53:53.245Z] nexus3.edgexfoundry.org:10002 [2022-07-20T12:53:53.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:53.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:53.505Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:53.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:53.505Z] [2022-07-20T12:53:53.505Z] Login Succeeded [2022-07-20T12:53:53.505Z] nexus3.edgexfoundry.org:10003 [2022-07-20T12:53:53.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:53.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:53.506Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:53.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:53.506Z] [2022-07-20T12:53:53.506Z] Login Succeeded [2022-07-20T12:53:53.506Z] nexus3.edgexfoundry.org:10004 [2022-07-20T12:53:53.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:53.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:53.767Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:53.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:53.767Z] [2022-07-20T12:53:53.767Z] Login Succeeded [2022-07-20T12:53:53.767Z] docker.io [2022-07-20T12:53:53.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:53:54.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:53:54.030Z] Configure a credential helper to remove this warning. See [2022-07-20T12:53:54.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:53:54.030Z] [2022-07-20T12:53:54.030Z] Login Succeeded [2022-07-20T12:53:54.030Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T12:53:54.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T12:53:54.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T12:53:54.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T12:53:54.139Z] ========================================================= [2022-07-20T12:53:54.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-20T12:53:54.139Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:53:54.462Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-20T12:53:54.462Z] Sending build context to Docker daemon 5.467MB [2022-07-20T12:53:54.462Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T12:53:54.462Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-20T12:53:54.462Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-20T12:53:54.462Z] 2408cc74d12b: Pulling fs layer [2022-07-20T12:53:54.462Z] ea60b727a1ce: Pulling fs layer [2022-07-20T12:53:54.462Z] 30c4a7721957: Pulling fs layer [2022-07-20T12:53:54.462Z] 370296b7ddb6: Pulling fs layer [2022-07-20T12:53:54.462Z] 7c6cee850709: Pulling fs layer [2022-07-20T12:53:54.462Z] 39a5fcdaea64: Pulling fs layer [2022-07-20T12:53:54.462Z] d94ebbe4e438: Pulling fs layer [2022-07-20T12:53:54.462Z] bcfd1f05c69d: Pulling fs layer [2022-07-20T12:53:54.462Z] 59ccb84bbe0f: Pulling fs layer [2022-07-20T12:53:54.462Z] 370296b7ddb6: Waiting [2022-07-20T12:53:54.462Z] 7c6cee850709: Waiting [2022-07-20T12:53:54.462Z] 39a5fcdaea64: Waiting [2022-07-20T12:53:54.462Z] d94ebbe4e438: Waiting [2022-07-20T12:53:54.462Z] bcfd1f05c69d: Waiting [2022-07-20T12:53:54.462Z] 59ccb84bbe0f: Waiting [2022-07-20T12:53:54.462Z] 30c4a7721957: Verifying Checksum [2022-07-20T12:53:54.462Z] 30c4a7721957: Download complete [2022-07-20T12:53:54.462Z] ea60b727a1ce: Verifying Checksum [2022-07-20T12:53:54.462Z] ea60b727a1ce: Download complete [2022-07-20T12:53:54.731Z] 7c6cee850709: Verifying Checksum [2022-07-20T12:53:54.731Z] 7c6cee850709: Download complete [2022-07-20T12:53:54.731Z] 39a5fcdaea64: Verifying Checksum [2022-07-20T12:53:54.731Z] 39a5fcdaea64: Download complete [2022-07-20T12:53:54.731Z] 2408cc74d12b: Verifying Checksum [2022-07-20T12:53:54.731Z] 2408cc74d12b: Download complete [2022-07-20T12:53:54.731Z] d94ebbe4e438: Verifying Checksum [2022-07-20T12:53:54.731Z] d94ebbe4e438: Download complete [2022-07-20T12:53:54.731Z] 2408cc74d12b: Pull complete [2022-07-20T12:53:54.999Z] ea60b727a1ce: Pull complete [2022-07-20T12:53:54.999Z] 30c4a7721957: Pull complete [2022-07-20T12:53:55.262Z] 59ccb84bbe0f: Verifying Checksum [2022-07-20T12:53:55.262Z] 59ccb84bbe0f: Download complete [2022-07-20T12:53:55.262Z] bcfd1f05c69d: Verifying Checksum [2022-07-20T12:53:55.262Z] bcfd1f05c69d: Download complete [2022-07-20T12:53:55.522Z] 370296b7ddb6: Verifying Checksum [2022-07-20T12:53:55.522Z] 370296b7ddb6: Download complete [2022-07-20T12:53:59.728Z] 370296b7ddb6: Pull complete [2022-07-20T12:53:59.728Z] 7c6cee850709: Pull complete [2022-07-20T12:53:59.989Z] 39a5fcdaea64: Pull complete [2022-07-20T12:53:59.989Z] d94ebbe4e438: Pull complete [2022-07-20T12:54:02.546Z] bcfd1f05c69d: Pull complete [2022-07-20T12:54:03.116Z] 59ccb84bbe0f: Pull complete [2022-07-20T12:54:03.116Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-20T12:54:03.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-20T12:54:03.116Z] ---> a4fb48ad2a94 [2022-07-20T12:54:03.116Z] Step 3/12 : ARG MAKE='make build' [2022-07-20T12:54:05.041Z] ---> Running in 0c6fcbbfcc00 [2022-07-20T12:54:05.041Z] Removing intermediate container 0c6fcbbfcc00 [2022-07-20T12:54:05.041Z] ---> f9f48024103f [2022-07-20T12:54:05.041Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T12:54:05.041Z] ---> Running in febd316e44f5 [2022-07-20T12:54:05.041Z] Removing intermediate container febd316e44f5 [2022-07-20T12:54:05.041Z] ---> 519563193454 [2022-07-20T12:54:05.041Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T12:54:05.041Z] ---> Running in 2d24156b5ccf [2022-07-20T12:54:05.041Z] Removing intermediate container 2d24156b5ccf [2022-07-20T12:54:05.041Z] ---> f330f3c52968 [2022-07-20T12:54:05.041Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T12:54:05.041Z] ---> Running in f6acc80aaad0 [2022-07-20T12:54:05.613Z] Removing intermediate container f6acc80aaad0 [2022-07-20T12:54:05.613Z] ---> ea0f0aa3a55d [2022-07-20T12:54:05.613Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T12:54:05.879Z] ---> Running in e2831fbcb900 [2022-07-20T12:54:06.140Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T12:54:07.083Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T12:54:07.345Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-20T12:54:07.345Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-20T12:54:07.345Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-20T12:54:07.606Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-20T12:54:07.606Z] Executing busybox-1.35.0-r13.trigger [2022-07-20T12:54:07.606Z] OK: 216 MiB in 55 packages [2022-07-20T12:54:07.903Z] Still waiting to schedule task [2022-07-20T12:54:07.903Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-20T12:54:08.180Z] Removing intermediate container e2831fbcb900 [2022-07-20T12:54:08.180Z] ---> 94d27ea2dfaa [2022-07-20T12:54:08.180Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-20T12:54:08.180Z] ---> Running in a3e5adb56eb1 [2022-07-20T12:54:08.180Z] Removing intermediate container a3e5adb56eb1 [2022-07-20T12:54:08.180Z] ---> b6148014b067 [2022-07-20T12:54:08.180Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-20T12:54:08.180Z] ---> b7a9201f4151 [2022-07-20T12:54:08.180Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T12:54:08.440Z] ---> Running in fa05c4bece9a [2022-07-20T12:54:23.363Z] Removing intermediate container fa05c4bece9a [2022-07-20T12:54:23.363Z] ---> 31c6ea7e529d [2022-07-20T12:54:23.363Z] Step 11/12 : COPY . . [2022-07-20T12:54:23.363Z] ---> 830fc8c39ce7 [2022-07-20T12:54:23.363Z] Step 12/12 : RUN ${MAKE} [2022-07-20T12:54:23.363Z] ---> Running in 5706cba8b057 [2022-07-20T12:54:23.363Z] noop [2022-07-20T12:54:23.363Z] Removing intermediate container 5706cba8b057 [2022-07-20T12:54:23.363Z] ---> 6c45dbf164b0 [2022-07-20T12:54:23.363Z] Successfully built 6c45dbf164b0 [2022-07-20T12:54:23.363Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:54:23.693Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T12:54:23.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:54:23.774Z] prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container [2022-07-20T12:54:23.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-20T12:54:24.212Z] $ docker top 8f454dadd0a36ef3edb44881a90878e7024fcd3da96f67f1426c89ef9ed004dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:54:24.569Z] + go version [2022-07-20T12:54:24.569Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-20T12:54:24.586Z] $ docker stop --time=1 8f454dadd0a36ef3edb44881a90878e7024fcd3da96f67f1426c89ef9ed004dc [2022-07-20T12:54:25.871Z] $ docker rm -f 8f454dadd0a36ef3edb44881a90878e7024fcd3da96f67f1426c89ef9ed004dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:54:26.287Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-20T12:54:26.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:54:26.423Z] prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container [2022-07-20T12:54:26.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-20T12:54:26.940Z] $ docker top fe3f0c21e156e269ebde2393f7a67139f31b454176db8cc06ab06d58d7e78724 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:54:27.293Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] fileExists [Pipeline] sh [2022-07-20T12:54:27.599Z] + make test [2022-07-20T12:54:27.599Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-20T12:54:27.858Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-20T12:54:35.981Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-20T12:54:35.982Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.021s coverage: 0.0% of statements [2022-07-20T12:54:42.561Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-20T12:54:42.561Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T12:54:45.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T12:54:45.101Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T12:54:45.101Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T12:54:45.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T12:54:45.135Z] $ docker stop --time=1 fe3f0c21e156e269ebde2393f7a67139f31b454176db8cc06ab06d58d7e78724 [2022-07-20T12:54:46.923Z] $ docker rm -f fe3f0c21e156e269ebde2393f7a67139f31b454176db8cc06ab06d58d7e78724 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T12:54:47.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T12:54:47.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-20T12:54:47.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T12:54:48.189Z] + ls -al . [2022-07-20T12:54:48.189Z] total 168 [2022-07-20T12:54:48.189Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 12:54 . [2022-07-20T12:54:48.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:53 .. [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 12:53 .dockerignore [2022-07-20T12:54:48.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:54 .git [2022-07-20T12:54:48.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:53 .github [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 12:53 .gitignore [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 12:53 .golangci.yml [2022-07-20T12:54:48.189Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 12:53 .semver [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 12:53 Attribution.txt [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 12:53 CHANGELOG.md [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 12:53 Dockerfile [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 12:53 GOVERNANCE.md [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 12:53 Jenkinsfile [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 12:53 LICENSE [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 12:53 Makefile [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 12:53 OWNERS.md [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 12:53 README.md [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 12:53 VERSION [2022-07-20T12:54:48.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 12:53 bin [2022-07-20T12:54:48.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:53 cmd [2022-07-20T12:54:48.189Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 12:54 coverage.out [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 12:53 go.mod [2022-07-20T12:54:48.189Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 12:53 go.sum [2022-07-20T12:54:48.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:53 internal [2022-07-20T12:54:48.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:53 snap [2022-07-20T12:54:48.190Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 12:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:54:48.499Z] + 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=97853843c31ba2f8c44471a1c1cad8690a6f1a58 --label arch=amd64 --label version=0.0.0 . [2022-07-20T12:54:48.499Z] Sending build context to Docker daemon 5.475MB [2022-07-20T12:54:48.499Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T12:54:48.499Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-20T12:54:48.499Z] ---> 6c45dbf164b0 [2022-07-20T12:54:48.499Z] Step 3/24 : ARG MAKE='make build' [2022-07-20T12:54:48.499Z] ---> Running in e3cbf3db7e12 [2022-07-20T12:54:48.759Z] Removing intermediate container e3cbf3db7e12 [2022-07-20T12:54:48.759Z] ---> 3b846b98b4dd [2022-07-20T12:54:48.759Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T12:54:48.759Z] ---> Running in 544a703d7f67 [2022-07-20T12:54:48.759Z] Removing intermediate container 544a703d7f67 [2022-07-20T12:54:48.759Z] ---> d322768a406b [2022-07-20T12:54:48.759Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T12:54:48.759Z] ---> Running in ddaa43ea44b3 [2022-07-20T12:54:49.020Z] Removing intermediate container ddaa43ea44b3 [2022-07-20T12:54:49.020Z] ---> 389dae0fa774 [2022-07-20T12:54:49.020Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T12:54:49.020Z] ---> Running in 241e383cd25d [2022-07-20T12:54:49.592Z] Removing intermediate container 241e383cd25d [2022-07-20T12:54:49.592Z] ---> 61160cbc9934 [2022-07-20T12:54:49.592Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T12:54:49.592Z] ---> Running in 8fc5a5cfc3a3 [2022-07-20T12:54:49.852Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T12:54:50.794Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T12:54:50.794Z] OK: 216 MiB in 55 packages [2022-07-20T12:54:51.363Z] Removing intermediate container 8fc5a5cfc3a3 [2022-07-20T12:54:51.363Z] ---> d00a8f5af32b [2022-07-20T12:54:51.363Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-20T12:54:51.363Z] ---> Running in 6d513130ec80 [2022-07-20T12:54:51.363Z] Removing intermediate container 6d513130ec80 [2022-07-20T12:54:51.363Z] ---> 25477a276519 [2022-07-20T12:54:51.363Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-20T12:54:51.623Z] ---> b33984621e7d [2022-07-20T12:54:51.623Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T12:54:51.623Z] ---> Running in 19ee9a8af199 [2022-07-20T12:54:52.194Z] Removing intermediate container 19ee9a8af199 [2022-07-20T12:54:52.194Z] ---> 75c8d749aa1e [2022-07-20T12:54:52.194Z] Step 11/24 : COPY . . [2022-07-20T12:54:52.454Z] ---> 78a7cba2050f [2022-07-20T12:54:52.454Z] Step 12/24 : RUN ${MAKE} [2022-07-20T12:54:52.454Z] ---> Running in 43bb25e2d76d [2022-07-20T12:54:52.714Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.14 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-20T12:55:10.819Z] Removing intermediate container 43bb25e2d76d [2022-07-20T12:55:10.819Z] ---> ed15a1f275df [2022-07-20T12:55:10.819Z] Step 13/24 : FROM alpine:3.16 [2022-07-20T12:55:11.389Z] 3.16: Pulling from library/alpine [2022-07-20T12:55:11.389Z] 530afca65e2e: Pulling fs layer [2022-07-20T12:55:11.647Z] 530afca65e2e: Verifying Checksum [2022-07-20T12:55:11.647Z] 530afca65e2e: Download complete [2022-07-20T12:55:11.907Z] 530afca65e2e: Pull complete [2022-07-20T12:55:11.907Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-20T12:55:11.907Z] Status: Downloaded newer image for alpine:3.16 [2022-07-20T12:55:11.907Z] ---> d7d3d98c851f [2022-07-20T12:55:11.907Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T12:55:11.907Z] ---> Running in d13b1f0d964a [2022-07-20T12:55:12.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-20T12:55:12.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-20T12:55:12.426Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T12:55:12.426Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-20T12:55:12.426Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T12:55:12.426Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-20T12:55:12.426Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T12:55:12.426Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T12:55:12.426Z] Executing busybox-1.35.0-r15.trigger [2022-07-20T12:55:12.426Z] OK: 8 MiB in 20 packages [2022-07-20T12:55:12.993Z] Removing intermediate container d13b1f0d964a [2022-07-20T12:55:12.993Z] ---> 76017657d7f2 [2022-07-20T12:55:12.993Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-20T12:55:13.564Z] ---> cb52b297a83e [2022-07-20T12:55:13.564Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-20T12:55:13.564Z] ---> 52b7b7f1eba5 [2022-07-20T12:55:13.564Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-20T12:55:13.824Z] ---> 459cb62cb9ef [2022-07-20T12:55:13.824Z] Step 18/24 : EXPOSE 59993 [2022-07-20T12:55:13.824Z] ---> Running in 8fbaa22673f7 [2022-07-20T12:55:13.824Z] Removing intermediate container 8fbaa22673f7 [2022-07-20T12:55:13.824Z] ---> 7b83db729091 [2022-07-20T12:55:13.824Z] Step 19/24 : EXPOSE 161 [2022-07-20T12:55:13.824Z] ---> Running in 6b8ad0e2f6e6 [2022-07-20T12:55:14.084Z] Removing intermediate container 6b8ad0e2f6e6 [2022-07-20T12:55:14.084Z] ---> 65ae21914a48 [2022-07-20T12:55:14.084Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-20T12:55:14.084Z] ---> Running in 003a807c4498 [2022-07-20T12:55:14.084Z] Removing intermediate container 003a807c4498 [2022-07-20T12:55:14.084Z] ---> bee4547a5be6 [2022-07-20T12:55:14.084Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-20T12:55:14.084Z] ---> Running in 18fe816e2b8e [2022-07-20T12:55:14.343Z] Removing intermediate container 18fe816e2b8e [2022-07-20T12:55:14.343Z] ---> 4ec8f72d7bd2 [2022-07-20T12:55:14.343Z] Step 22/24 : LABEL arch=amd64 [2022-07-20T12:55:14.343Z] ---> Running in 4d46963bddd2 [2022-07-20T12:55:14.343Z] Removing intermediate container 4d46963bddd2 [2022-07-20T12:55:14.343Z] ---> 0fd1b89d2698 [2022-07-20T12:55:14.343Z] Step 23/24 : LABEL git_sha=97853843c31ba2f8c44471a1c1cad8690a6f1a58 [2022-07-20T12:55:14.343Z] ---> Running in 349748105ce3 [2022-07-20T12:55:14.604Z] Removing intermediate container 349748105ce3 [2022-07-20T12:55:14.604Z] ---> 27fb891e8a7d [2022-07-20T12:55:14.604Z] Step 24/24 : LABEL version=0.0.0 [2022-07-20T12:55:14.604Z] ---> Running in 1d3dd19f981e [2022-07-20T12:55:14.604Z] Removing intermediate container 1d3dd19f981e [2022-07-20T12:55:14.604Z] ---> 3a633618843c [2022-07-20T12:55:14.604Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T12:55:14.604Z] Successfully built 3a633618843c [2022-07-20T12:55:14.604Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:55:15.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T12:55:15.007Z] [2022-07-20T12:55:15.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:55:15.312Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T12:55:15.312Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-20T12:55:15.312Z] 5eb5b503b376: Pulling fs layer [2022-07-20T12:55:15.312Z] 5c69ac0246d0: Pulling fs layer [2022-07-20T12:55:15.312Z] ec43610c2a17: Pulling fs layer [2022-07-20T12:55:15.312Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-20T12:55:15.312Z] 33b1e0a273af: Pulling fs layer [2022-07-20T12:55:15.312Z] 5d3b04190fa2: Pulling fs layer [2022-07-20T12:55:15.312Z] 2f39f015ded8: Pulling fs layer [2022-07-20T12:55:15.312Z] 33b1e0a273af: Waiting [2022-07-20T12:55:15.312Z] 5d3b04190fa2: Waiting [2022-07-20T12:55:15.312Z] 3a2ae6a8a46f: Waiting [2022-07-20T12:55:15.312Z] 2f39f015ded8: Waiting [2022-07-20T12:55:15.312Z] 5c69ac0246d0: Verifying Checksum [2022-07-20T12:55:15.312Z] 5c69ac0246d0: Download complete [2022-07-20T12:55:15.312Z] 3a2ae6a8a46f: Download complete [2022-07-20T12:55:15.572Z] 33b1e0a273af: Verifying Checksum [2022-07-20T12:55:15.572Z] 33b1e0a273af: Download complete [2022-07-20T12:55:15.572Z] 5d3b04190fa2: Verifying Checksum [2022-07-20T12:55:15.572Z] 5d3b04190fa2: Download complete [2022-07-20T12:55:15.572Z] ec43610c2a17: Verifying Checksum [2022-07-20T12:55:15.572Z] ec43610c2a17: Download complete [2022-07-20T12:55:15.572Z] 5eb5b503b376: Verifying Checksum [2022-07-20T12:55:15.572Z] 5eb5b503b376: Download complete [2022-07-20T12:55:16.143Z] 2f39f015ded8: Download complete [2022-07-20T12:55:16.712Z] 5eb5b503b376: Pull complete [2022-07-20T12:55:16.973Z] 5c69ac0246d0: Pull complete [2022-07-20T12:55:17.232Z] ec43610c2a17: Pull complete [2022-07-20T12:55:17.492Z] 3a2ae6a8a46f: Pull complete [2022-07-20T12:55:17.492Z] 33b1e0a273af: Pull complete [2022-07-20T12:55:17.751Z] 5d3b04190fa2: Pull complete [2022-07-20T12:55:21.944Z] 2f39f015ded8: Pull complete [2022-07-20T12:55:21.944Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-20T12:55:21.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T12:55:21.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:55:22.032Z] prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container [2022-07-20T12:55:22.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-20T12:55:23.662Z] $ docker top 3339060fbaf70ba6c0245da74da841dde7d093ea603be55ce0a7a30576daad3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:55:24.077Z] ---> job-cost.sh [2022-07-20T12:55:24.077Z] lf-activate-venv: SKIPPING [2022-07-20T12:55:24.077Z] INFO: No Stack... [2022-07-20T12:55:24.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T12:55:24.909Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T12:55:25.201Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/cost.csv [2022-07-20T12:55:25.201Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T12:55:25.215Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [2022-07-20T12:55:25.223Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] did not exist. Created. [2022-07-20T12:55:25.223Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T12:55:25.526Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-20T12:55:25.558Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T12:55:25.565Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T12:55:25.589Z] $ docker stop --time=1 3339060fbaf70ba6c0245da74da841dde7d093ea603be55ce0a7a30576daad3c [2022-07-20T12:55:26.752Z] $ docker rm -f 3339060fbaf70ba6c0245da74da841dde7d093ea603be55ce0a7a30576daad3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-20T12:55:49.062Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20586 in /w/workspace/gexfoundry_device-snmp-go_PR-185 [Pipeline] { [Pipeline] ws [2022-07-20T12:55:49.073Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2022-07-20T12:55:49.118Z] Selected Git installation does not exist. Using Default [2022-07-20T12:55:49.118Z] The recommended git tool is: NONE [2022-07-20T12:55:55.324Z] using credential edgex-jenkins-ssh [2022-07-20T12:55:55.342Z] Cloning the remote Git repository [2022-07-20T12:55:55.398Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T12:55:55.470Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2022-07-20T12:55:55.533Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T12:55:55.533Z] > git --version # timeout=10 [2022-07-20T12:55:55.550Z] > git --version # 'git version 2.25.1' [2022-07-20T12:55:55.552Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T12:55:55.663Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T12:55:57.275Z] Merging remotes/origin/main commit f6828afe08f553138e4b56b0659b8be13fc1cd72 into PR head commit 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [2022-07-20T12:55:57.480Z] Merge succeeded, producing 97853843c31ba2f8c44471a1c1cad8690a6f1a58 [2022-07-20T12:55:57.480Z] Checking out Revision 97853843c31ba2f8c44471a1c1cad8690a6f1a58 (PR-185) [2022-07-20T12:55:56.679Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-20T12:55:56.702Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-20T12:55:56.736Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-20T12:55:56.769Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-20T12:55:56.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T12:55:56.782Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-20T12:55:57.295Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T12:55:57.316Z] > git checkout -f 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # timeout=10 [2022-07-20T12:55:57.398Z] > git remote # timeout=10 [2022-07-20T12:55:57.413Z] > git config --get remote.origin.url # timeout=10 [2022-07-20T12:55:57.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-20T12:55:57.439Z] > git merge f6828afe08f553138e4b56b0659b8be13fc1cd72 # timeout=10 [2022-07-20T12:55:57.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-20T12:55:57.487Z] > git config core.sparsecheckout # timeout=10 [2022-07-20T12:55:57.499Z] > git checkout -f 97853843c31ba2f8c44471a1c1cad8690a6f1a58 # timeout=10 [2022-07-20T12:56:01.596Z] Commit message: "refactor(snap): Update snapcraft" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T12:56:02.628Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-20T12:56:02.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T12:56:02.628Z] Dload Upload Total Spent Left Speed [2022-07-20T12:56:02.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 80077 0 --:--:-- --:--:-- --:--:-- 80077 [Pipeline] sh [2022-07-20T12:56:03.383Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-20T12:56:03.726Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-20T12:56:03.726Z] + sudo tee /etc/docker/daemon.new [2022-07-20T12:56:03.726Z] { [2022-07-20T12:56:03.726Z] "registry-mirrors": [ [2022-07-20T12:56:03.726Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-20T12:56:03.726Z] ], [2022-07-20T12:56:03.726Z] "bip": "10.250.0.254/24", [2022-07-20T12:56:03.726Z] "hosts": [ [2022-07-20T12:56:03.726Z] "tcp://0.0.0.0:5555", [2022-07-20T12:56:03.726Z] "unix:///var/run/docker.sock" [2022-07-20T12:56:03.726Z] ], [2022-07-20T12:56:03.726Z] "mtu": 1458, [2022-07-20T12:56:03.726Z] "selinux-enabled": true, [2022-07-20T12:56:03.726Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-20T12:56:03.726Z] } [Pipeline] sh [2022-07-20T12:56:04.065Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-20T12:56:04.403Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T12:56:22.748Z] provisioning config files... [2022-07-20T12:56:22.769Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config5739079303899075991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T12:56:23.119Z] ---> docker-login.sh [2022-07-20T12:56:23.120Z] nexus3.edgexfoundry.org:10001 [2022-07-20T12:56:23.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:56:23.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:56:23.988Z] Configure a credential helper to remove this warning. See [2022-07-20T12:56:23.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:56:23.988Z] [2022-07-20T12:56:23.988Z] Login Succeeded [2022-07-20T12:56:23.988Z] nexus3.edgexfoundry.org:10002 [2022-07-20T12:56:24.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:56:24.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:56:24.260Z] Configure a credential helper to remove this warning. See [2022-07-20T12:56:24.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:56:24.260Z] [2022-07-20T12:56:24.260Z] Login Succeeded [2022-07-20T12:56:24.260Z] nexus3.edgexfoundry.org:10003 [2022-07-20T12:56:24.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:56:24.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:56:24.805Z] Configure a credential helper to remove this warning. See [2022-07-20T12:56:24.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:56:24.805Z] [2022-07-20T12:56:24.805Z] Login Succeeded [2022-07-20T12:56:24.805Z] nexus3.edgexfoundry.org:10004 [2022-07-20T12:56:25.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:56:25.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:56:25.081Z] Configure a credential helper to remove this warning. See [2022-07-20T12:56:25.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:56:25.081Z] [2022-07-20T12:56:25.081Z] Login Succeeded [2022-07-20T12:56:25.081Z] docker.io [2022-07-20T12:56:25.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-20T12:56:25.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-20T12:56:25.944Z] Configure a credential helper to remove this warning. See [2022-07-20T12:56:25.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-20T12:56:25.944Z] [2022-07-20T12:56:25.944Z] Login Succeeded [2022-07-20T12:56:25.944Z] ---> docker-login.sh ends [Pipeline] } [2022-07-20T12:56:25.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-20T12:56:26.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T12:56:26.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-20T12:56:26.560Z] ========================================================= [2022-07-20T12:56:26.560Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-20T12:56:26.560Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:56:26.975Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-20T12:56:27.249Z] Sending build context to Docker daemon 2.838MB [2022-07-20T12:56:27.249Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T12:56:27.249Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-20T12:56:27.523Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-20T12:56:27.523Z] b3c136eddcbf: Pulling fs layer [2022-07-20T12:56:27.523Z] c0a3192eca97: Pulling fs layer [2022-07-20T12:56:27.523Z] a050256f5b6f: Pulling fs layer [2022-07-20T12:56:27.523Z] 656be50a0ddc: Pulling fs layer [2022-07-20T12:56:27.523Z] 2bbca73fdf42: Pulling fs layer [2022-07-20T12:56:27.523Z] 46d945488cbd: Pulling fs layer [2022-07-20T12:56:27.523Z] 8a5474983e97: Pulling fs layer [2022-07-20T12:56:27.523Z] 329c88fbcd65: Pulling fs layer [2022-07-20T12:56:27.523Z] 46d945488cbd: Waiting [2022-07-20T12:56:27.523Z] 8a5474983e97: Waiting [2022-07-20T12:56:27.523Z] 329c88fbcd65: Waiting [2022-07-20T12:56:27.523Z] 656be50a0ddc: Waiting [2022-07-20T12:56:27.523Z] 2bbca73fdf42: Waiting [2022-07-20T12:56:27.523Z] a050256f5b6f: Verifying Checksum [2022-07-20T12:56:27.523Z] a050256f5b6f: Download complete [2022-07-20T12:56:27.523Z] c0a3192eca97: Verifying Checksum [2022-07-20T12:56:27.523Z] c0a3192eca97: Download complete [2022-07-20T12:56:27.523Z] 2bbca73fdf42: Verifying Checksum [2022-07-20T12:56:27.523Z] 2bbca73fdf42: Download complete [2022-07-20T12:56:27.523Z] 46d945488cbd: Verifying Checksum [2022-07-20T12:56:27.523Z] 46d945488cbd: Download complete [2022-07-20T12:56:27.523Z] b3c136eddcbf: Verifying Checksum [2022-07-20T12:56:28.529Z] b3c136eddcbf: Pull complete [2022-07-20T12:56:28.529Z] 329c88fbcd65: Verifying Checksum [2022-07-20T12:56:28.529Z] 329c88fbcd65: Download complete [2022-07-20T12:56:29.143Z] c0a3192eca97: Pull complete [2022-07-20T12:56:29.425Z] a050256f5b6f: Pull complete [2022-07-20T12:56:29.699Z] 8a5474983e97: Verifying Checksum [2022-07-20T12:56:29.699Z] 8a5474983e97: Download complete [2022-07-20T12:56:30.298Z] 656be50a0ddc: Verifying Checksum [2022-07-20T12:56:30.298Z] 656be50a0ddc: Download complete [2022-07-20T12:56:45.401Z] 656be50a0ddc: Pull complete [2022-07-20T12:56:45.401Z] 2bbca73fdf42: Pull complete [2022-07-20T12:56:45.401Z] 46d945488cbd: Pull complete [2022-07-20T12:56:50.834Z] 8a5474983e97: Pull complete [2022-07-20T12:56:52.278Z] 329c88fbcd65: Pull complete [2022-07-20T12:56:52.278Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-20T12:56:52.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-20T12:56:52.278Z] ---> ff4287adb874 [2022-07-20T12:56:52.278Z] Step 3/12 : ARG MAKE='make build' [2022-07-20T12:56:52.876Z] ---> Running in 5851209aa98e [2022-07-20T12:56:53.149Z] Removing intermediate container 5851209aa98e [2022-07-20T12:56:53.149Z] ---> 65f3166573d0 [2022-07-20T12:56:53.149Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T12:56:53.149Z] ---> Running in 9904c4e24984 [2022-07-20T12:56:53.422Z] Removing intermediate container 9904c4e24984 [2022-07-20T12:56:53.422Z] ---> 19ab9e8bc9ff [2022-07-20T12:56:53.422Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T12:56:53.422Z] ---> Running in 52dffbc2289e [2022-07-20T12:56:53.704Z] Removing intermediate container 52dffbc2289e [2022-07-20T12:56:53.704Z] ---> e3f9c65660ef [2022-07-20T12:56:53.704Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T12:56:53.978Z] ---> Running in 19eb3118f701 [2022-07-20T12:56:57.386Z] Removing intermediate container 19eb3118f701 [2022-07-20T12:56:57.386Z] ---> e2993ef3d04c [2022-07-20T12:56:57.386Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T12:56:57.386Z] ---> Running in d5e5c66628c5 [2022-07-20T12:56:57.984Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T12:56:58.966Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T12:56:59.959Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-20T12:56:59.959Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-20T12:56:59.959Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-20T12:57:00.242Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-20T12:57:00.242Z] Executing busybox-1.35.0-r13.trigger [2022-07-20T12:57:00.242Z] OK: 226 MiB in 55 packages [2022-07-20T12:57:01.232Z] Removing intermediate container d5e5c66628c5 [2022-07-20T12:57:01.232Z] ---> 91dcd6aa16b2 [2022-07-20T12:57:01.232Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-20T12:57:01.232Z] ---> Running in dd3fcbf9ad0c [2022-07-20T12:57:01.506Z] Removing intermediate container dd3fcbf9ad0c [2022-07-20T12:57:01.506Z] ---> 04c9da4f4830 [2022-07-20T12:57:01.506Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-20T12:57:02.110Z] ---> 26828ed2e6fa [2022-07-20T12:57:02.110Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T12:57:02.110Z] ---> Running in d4278ea47d63 [2022-07-20T12:57:49.091Z] Removing intermediate container d4278ea47d63 [2022-07-20T12:57:49.091Z] ---> 8020d094f79e [2022-07-20T12:57:49.091Z] Step 11/12 : COPY . . [2022-07-20T12:57:49.091Z] ---> 90c8142d0fdf [2022-07-20T12:57:49.091Z] Step 12/12 : RUN ${MAKE} [2022-07-20T12:57:49.091Z] ---> Running in bded1e152b72 [2022-07-20T12:57:49.091Z] noop [2022-07-20T12:57:49.091Z] Removing intermediate container bded1e152b72 [2022-07-20T12:57:49.091Z] ---> 2615c24946af [2022-07-20T12:57:49.091Z] Successfully built 2615c24946af [2022-07-20T12:57:49.091Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:57:49.461Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T12:57:49.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:57:49.716Z] prd-ubuntu20.04-docker-arm64-4c-16g-20586 does not seem to be running inside a container [2022-07-20T12:57:49.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T12:57:51.012Z] $ docker top 6f381e155f233d360789dae3b75acdb7e48232ba0027d7194c35e95927428b95 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:57:51.896Z] + go version [2022-07-20T12:57:51.896Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-20T12:57:51.920Z] $ docker stop --time=1 6f381e155f233d360789dae3b75acdb7e48232ba0027d7194c35e95927428b95 [2022-07-20T12:57:53.531Z] $ docker rm -f 6f381e155f233d360789dae3b75acdb7e48232ba0027d7194c35e95927428b95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:57:54.133Z] + docker inspect -f . ci-base-image-arm64 [2022-07-20T12:57:54.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T12:57:54.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-20586 does not seem to be running inside a container [2022-07-20T12:57:54.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-20T12:57:55.664Z] $ docker top 627fbfa1735b308f89188c5dd8eca73d737cd5e61f8ed20df27d98da5b6f4609 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T12:57:56.546Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/3 [Pipeline] fileExists [Pipeline] sh [2022-07-20T12:57:57.211Z] + make test [2022-07-20T12:57:57.211Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-20T12:57:58.655Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-20T12:59:20.497Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-20T12:59:20.497Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements [2022-07-20T12:59:20.497Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-20T12:59:20.497Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-20T12:59:30.696Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-20T12:59:30.696Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-20T12:59:30.696Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-20T12:59:30.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-20T12:59:31.007Z] $ docker stop --time=1 627fbfa1735b308f89188c5dd8eca73d737cd5e61f8ed20df27d98da5b6f4609 [2022-07-20T12:59:32.778Z] $ docker rm -f 627fbfa1735b308f89188c5dd8eca73d737cd5e61f8ed20df27d98da5b6f4609 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-20T12:59:33.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-20T12:59:33.752Z] Warning: overwriting stash ‘coverage-report’ [2022-07-20T12:59:34.198Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-20T12:59:34.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-20T12:59:34.911Z] + ls -al . [2022-07-20T12:59:34.911Z] total 164 [2022-07-20T12:59:34.911Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:57 . [2022-07-20T12:59:34.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:55 .. [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 20 12:55 .dockerignore [2022-07-20T12:59:34.912Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:56 .git [2022-07-20T12:59:34.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:55 .github [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 20 12:55 .gitignore [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 12:55 .golangci.yml [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 20 12:55 Attribution.txt [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 20 12:55 CHANGELOG.md [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 20 12:55 Dockerfile [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 12:55 GOVERNANCE.md [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 20 12:55 Jenkinsfile [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 12:55 LICENSE [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 20 12:55 Makefile [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 12:55 OWNERS.md [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 20 12:55 README.md [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 12:53 VERSION [2022-07-20T12:59:34.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 12:55 bin [2022-07-20T12:59:34.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:55 cmd [2022-07-20T12:59:34.912Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 20 12:59 coverage.out [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 3302 Jul 20 12:55 go.mod [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 35534 Jul 20 12:55 go.sum [2022-07-20T12:59:34.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:55 internal [2022-07-20T12:59:34.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:55 snap [2022-07-20T12:59:34.912Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 20 12:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T12:59:35.263Z] + 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=97853843c31ba2f8c44471a1c1cad8690a6f1a58 --label arch=arm64 --label version=0.0.0 . [2022-07-20T12:59:35.541Z] Sending build context to Docker daemon 2.846MB [2022-07-20T12:59:35.541Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-20T12:59:35.541Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-20T12:59:35.541Z] ---> 2615c24946af [2022-07-20T12:59:35.541Z] Step 3/24 : ARG MAKE='make build' [2022-07-20T12:59:35.816Z] ---> Running in a704d31c1a0a [2022-07-20T12:59:36.090Z] Removing intermediate container a704d31c1a0a [2022-07-20T12:59:36.090Z] ---> 4d0adca90cd5 [2022-07-20T12:59:36.090Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-20T12:59:36.090Z] ---> Running in ded192201781 [2022-07-20T12:59:36.365Z] Removing intermediate container ded192201781 [2022-07-20T12:59:36.365Z] ---> 2bd02a0f064a [2022-07-20T12:59:36.365Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-20T12:59:36.365Z] ---> Running in c0e08cd09f66 [2022-07-20T12:59:36.969Z] Removing intermediate container c0e08cd09f66 [2022-07-20T12:59:36.969Z] ---> c8ae351e4fa2 [2022-07-20T12:59:36.969Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-20T12:59:36.969Z] ---> Running in edae22c4db63 [2022-07-20T12:59:38.429Z] Removing intermediate container edae22c4db63 [2022-07-20T12:59:38.429Z] ---> bb40a2cd5dd4 [2022-07-20T12:59:38.429Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-20T12:59:38.429Z] ---> Running in c4880355027f [2022-07-20T12:59:39.440Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T12:59:40.430Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T12:59:41.451Z] OK: 226 MiB in 55 packages [2022-07-20T12:59:42.459Z] Removing intermediate container c4880355027f [2022-07-20T12:59:42.459Z] ---> a64fe3fd5c66 [2022-07-20T12:59:42.459Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-20T12:59:42.459Z] ---> Running in 051c34f0daf0 [2022-07-20T12:59:42.732Z] Removing intermediate container 051c34f0daf0 [2022-07-20T12:59:42.732Z] ---> 243e2b5f4a4f [2022-07-20T12:59:42.732Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-20T12:59:43.330Z] ---> 4c4c32c5da11 [2022-07-20T12:59:43.330Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-20T12:59:43.330Z] ---> Running in 76217d88f450 [2022-07-20T12:59:45.316Z] Removing intermediate container 76217d88f450 [2022-07-20T12:59:45.316Z] ---> 33c31dae28d7 [2022-07-20T12:59:45.316Z] Step 11/24 : COPY . . [2022-07-20T12:59:45.916Z] ---> 5f0105b6b977 [2022-07-20T12:59:45.916Z] Step 12/24 : RUN ${MAKE} [2022-07-20T12:59:46.191Z] ---> Running in 21b738455ff6 [2022-07-20T12:59:47.174Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.14 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-20T13:01:54.042Z] Removing intermediate container 21b738455ff6 [2022-07-20T13:01:54.042Z] ---> 07157ece705f [2022-07-20T13:01:54.042Z] Step 13/24 : FROM alpine:3.16 [2022-07-20T13:01:54.042Z] 3.16: Pulling from library/alpine [2022-07-20T13:01:54.042Z] f97344484467: Pulling fs layer [2022-07-20T13:01:54.042Z] f97344484467: Verifying Checksum [2022-07-20T13:01:54.042Z] f97344484467: Download complete [2022-07-20T13:01:54.042Z] f97344484467: Pull complete [2022-07-20T13:01:54.042Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-20T13:01:54.042Z] Status: Downloaded newer image for alpine:3.16 [2022-07-20T13:01:54.042Z] ---> 3d81c46cd875 [2022-07-20T13:01:54.042Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-20T13:01:54.042Z] ---> Running in 9ec584e01d0c [2022-07-20T13:01:54.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-20T13:01:54.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-20T13:01:54.042Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-20T13:01:54.042Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-20T13:01:54.042Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-20T13:01:54.042Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-20T13:01:54.042Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-20T13:01:54.042Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-20T13:01:54.042Z] Executing busybox-1.35.0-r15.trigger [2022-07-20T13:01:54.042Z] OK: 8 MiB in 20 packages [2022-07-20T13:01:54.042Z] Removing intermediate container 9ec584e01d0c [2022-07-20T13:01:54.042Z] ---> 436117cab5eb [2022-07-20T13:01:54.042Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-20T13:01:54.042Z] ---> b6eb0f1a2574 [2022-07-20T13:01:54.042Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-20T13:01:54.042Z] ---> a0d1a0f2775a [2022-07-20T13:01:54.042Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-20T13:01:54.042Z] ---> 2ae6751199af [2022-07-20T13:01:54.042Z] Step 18/24 : EXPOSE 59993 [2022-07-20T13:01:54.042Z] ---> Running in 5dd35a651f17 [2022-07-20T13:01:54.042Z] Removing intermediate container 5dd35a651f17 [2022-07-20T13:01:54.042Z] ---> 3eda4a04bdae [2022-07-20T13:01:54.042Z] Step 19/24 : EXPOSE 161 [2022-07-20T13:01:54.042Z] ---> Running in 7b58d4f55a2a [2022-07-20T13:01:54.042Z] Removing intermediate container 7b58d4f55a2a [2022-07-20T13:01:54.042Z] ---> 2432bf8edbd7 [2022-07-20T13:01:54.042Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-20T13:01:54.042Z] ---> Running in 5b620cd4fd01 [2022-07-20T13:01:54.042Z] Removing intermediate container 5b620cd4fd01 [2022-07-20T13:01:54.042Z] ---> b2559bbd25bd [2022-07-20T13:01:54.042Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-20T13:01:54.042Z] ---> Running in 3380e6044410 [2022-07-20T13:01:54.321Z] Removing intermediate container 3380e6044410 [2022-07-20T13:01:54.321Z] ---> 451179b3cb89 [2022-07-20T13:01:54.321Z] Step 22/24 : LABEL arch=arm64 [2022-07-20T13:01:54.321Z] ---> Running in fc5addf3bcbe [2022-07-20T13:01:54.620Z] Removing intermediate container fc5addf3bcbe [2022-07-20T13:01:54.620Z] ---> d64b435aaca0 [2022-07-20T13:01:54.620Z] Step 23/24 : LABEL git_sha=97853843c31ba2f8c44471a1c1cad8690a6f1a58 [2022-07-20T13:01:54.896Z] ---> Running in 2471bdff06db [2022-07-20T13:01:55.170Z] Removing intermediate container 2471bdff06db [2022-07-20T13:01:55.170Z] ---> 738a19fe9fa9 [2022-07-20T13:01:55.170Z] Step 24/24 : LABEL version=0.0.0 [2022-07-20T13:01:55.170Z] ---> Running in 298971141de9 [2022-07-20T13:01:55.447Z] Removing intermediate container 298971141de9 [2022-07-20T13:01:55.447Z] ---> 9af0aa4447d4 [2022-07-20T13:01:55.447Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-20T13:01:55.447Z] Successfully built 9af0aa4447d4 [2022-07-20T13:01:55.447Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:01:55.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T13:01:55.906Z] [2022-07-20T13:01:55.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:01:56.254Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T13:01:56.531Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-20T13:01:56.531Z] 8998bd30e6a1: Pulling fs layer [2022-07-20T13:01:56.531Z] 04944245beec: Pulling fs layer [2022-07-20T13:01:56.531Z] 699f458cf7ca: Pulling fs layer [2022-07-20T13:01:56.531Z] 765212b225bb: Pulling fs layer [2022-07-20T13:01:56.531Z] f23df028b6ca: Pulling fs layer [2022-07-20T13:01:56.531Z] d65c8cfc05b1: Pulling fs layer [2022-07-20T13:01:56.531Z] 2437ff75d9bd: Pulling fs layer [2022-07-20T13:01:56.531Z] 765212b225bb: Waiting [2022-07-20T13:01:56.531Z] f23df028b6ca: Waiting [2022-07-20T13:01:56.531Z] d65c8cfc05b1: Waiting [2022-07-20T13:01:56.531Z] 2437ff75d9bd: Waiting [2022-07-20T13:01:56.531Z] 04944245beec: Verifying Checksum [2022-07-20T13:01:56.531Z] 04944245beec: Download complete [2022-07-20T13:01:56.531Z] 765212b225bb: Verifying Checksum [2022-07-20T13:01:56.531Z] 765212b225bb: Download complete [2022-07-20T13:01:56.531Z] f23df028b6ca: Download complete [2022-07-20T13:01:56.531Z] d65c8cfc05b1: Verifying Checksum [2022-07-20T13:01:56.531Z] d65c8cfc05b1: Download complete [2022-07-20T13:01:56.805Z] 699f458cf7ca: Verifying Checksum [2022-07-20T13:01:56.805Z] 699f458cf7ca: Download complete [2022-07-20T13:01:57.083Z] 8998bd30e6a1: Download complete [2022-07-20T13:01:59.715Z] 2437ff75d9bd: Verifying Checksum [2022-07-20T13:01:59.715Z] 2437ff75d9bd: Download complete [2022-07-20T13:02:01.153Z] 8998bd30e6a1: Pull complete [2022-07-20T13:02:01.758Z] 04944245beec: Pull complete [2022-07-20T13:02:03.192Z] 699f458cf7ca: Pull complete [2022-07-20T13:02:03.465Z] 765212b225bb: Pull complete [2022-07-20T13:02:04.449Z] f23df028b6ca: Pull complete [2022-07-20T13:02:04.449Z] d65c8cfc05b1: Pull complete [2022-07-20T13:02:19.536Z] 2437ff75d9bd: Pull complete [2022-07-20T13:02:19.536Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-20T13:02:19.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-20T13:02:19.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:02:19.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-20586 does not seem to be running inside a container [2022-07-20T13:02:19.895Z] $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-20T13:02:22.586Z] $ docker top e2b5b15c3b9a227d6ba2682579254398e56bf44be1b7d69740c5228fa4a5dfe4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:02:23.520Z] ---> job-cost.sh [2022-07-20T13:02:23.521Z] lf-activate-venv: SKIPPING [2022-07-20T13:02:23.521Z] INFO: No Stack... [2022-07-20T13:02:23.791Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-20T13:02:24.765Z] INFO: Archiving Costs [Pipeline] sh [2022-07-20T13:02:25.428Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv [2022-07-20T13:02:25.428Z] + cut -d, -f6 [Pipeline] lock [2022-07-20T13:02:25.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [2022-07-20T13:02:25.496Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] did not exist. Created. [2022-07-20T13:02:25.496Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-20T13:02:26.170Z] /w/workspace/device-snmp-go/3@tmp/durable-9abb7574/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-20T13:02:26.848Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-20T13:02:26.876Z] Warning: overwriting stash ‘stack-cost’ [2022-07-20T13:02:26.918Z] Stashed 1 file(s) [Pipeline] } [2022-07-20T13:02:26.924Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-185-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-20T13:02:26.943Z] $ docker stop --time=1 e2b5b15c3b9a227d6ba2682579254398e56bf44be1b7d69740c5228fa4a5dfe4 [2022-07-20T13:02:28.453Z] $ docker rm -f e2b5b15c3b9a227d6ba2682579254398e56bf44be1b7d69740c5228fa4a5dfe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-20T13:02:28.945Z] provisioning config files... [2022-07-20T13:02:28.956Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config4091769654257371190tmp [Pipeline] { [Pipeline] sh [2022-07-20T13:02:29.302Z] + set +x [2022-07-20T13:02:29.302Z] + curl -s https://codecov.io/bash [2022-07-20T13:02:29.302Z] + bash -s -- [2022-07-20T13:02:29.302Z] [2022-07-20T13:02:29.302Z] _____ _ [2022-07-20T13:02:29.302Z] / ____| | | [2022-07-20T13:02:29.302Z] | | ___ __| | ___ ___ _____ __ [2022-07-20T13:02:29.302Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-20T13:02:29.302Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-20T13:02:29.302Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-20T13:02:29.302Z] Bash-1.0.6 [2022-07-20T13:02:29.302Z] [2022-07-20T13:02:29.302Z] [2022-07-20T13:02:29.302Z] ==> git version 2.25.1 found [2022-07-20T13:02:29.302Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-20T13:02:29.302Z] Release-Date: 2020-01-08 [2022-07-20T13:02:29.302Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-20T13:02:29.302Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-20T13:02:29.302Z] ==> Jenkins CI detected. [2022-07-20T13:02:29.302Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-185 [2022-07-20T13:02:29.302Z] project root: . [2022-07-20T13:02:29.302Z] --> token set from env [2022-07-20T13:02:29.302Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-20T13:02:29.302Z] ==> Running gcov in . (disable via -X gcov) [2022-07-20T13:02:29.302Z] ==> Python coveragepy not found [2022-07-20T13:02:29.302Z] ==> Searching for coverage reports in: [2022-07-20T13:02:29.302Z] + . [2022-07-20T13:02:29.302Z] -> Found 1 reports [2022-07-20T13:02:29.302Z] ==> Detecting git/mercurial file structure [2022-07-20T13:02:29.302Z] ==> Reading reports [2022-07-20T13:02:29.302Z] + ./coverage.out bytes=7631 [2022-07-20T13:02:29.302Z] ==> Appending adjustments [2022-07-20T13:02:29.302Z] https://docs.codecov.io/docs/fixing-reports [2022-07-20T13:02:29.580Z] + Found adjustments [2022-07-20T13:02:29.580Z] ==> Gzipping contents [2022-07-20T13:02:29.580Z] 4.0K /tmp/codecov.WRZjG0.gz [2022-07-20T13:02:29.580Z] ==> Uploading reports [2022-07-20T13:02:29.580Z] url: https://codecov.io [2022-07-20T13:02:29.580Z] query: branch=PR-185&commit=97853843c31ba2f8c44471a1c1cad8690a6f1a58&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-07-20T13:02:29.580Z] -> Pinging Codecov [2022-07-20T13:02:29.580Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-185&commit=97853843c31ba2f8c44471a1c1cad8690a6f1a58&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-185%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-07-20T13:02:29.840Z] -> Uploading to [2022-07-20T13:02:29.840Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-20/6C56EA5C29638FB4528AC87E60AF5AE0/97853843c31ba2f8c44471a1c1cad8690a6f1a58/9d849073-f975-4e92-9801-ad8c70364256.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T130229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee89bd52346e7339323c3ba1bf12b271879e92d1d7d3126eeabde03e52b4f87d [2022-07-20T13:02:29.840Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-20T13:02:29.840Z] Dload Upload Total Spent Left Speed [2022-07-20T13:02:30.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1532 0 0 100 1532 0 6491 --:--:-- --:--:-- --:--:-- 6491 [2022-07-20T13:02:30.100Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/97853843c31ba2f8c44471a1c1cad8690a6f1a58 [Pipeline] } [2022-07-20T13:02:30.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-20T13:02:30.792Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-185/archives ] [2022-07-20T13:02:30.792Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T13:02:30.792Z] total 16 [2022-07-20T13:02:30.792Z] drwxr-xr-x 3 root root 4096 Jul 20 12:55 . [2022-07-20T13:02:30.792Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 12:55 .. [2022-07-20T13:02:30.792Z] drwxr-xr-x 2 root root 4096 Jul 20 12:55 cost [2022-07-20T13:02:30.792Z] -rw-r--r-- 1 root root 85 Jul 20 12:55 cost.csv [2022-07-20T13:02:30.792Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T13:02:30.792Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-185/archives [2022-07-20T13:02:30.792Z] total 16 [2022-07-20T13:02:30.792Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 12:55 . [2022-07-20T13:02:30.792Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 12:55 .. [2022-07-20T13:02:30.792Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 12:55 cost [2022-07-20T13:02:30.792Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 20 12:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:02:31.087Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:02:31.955Z] ---> package-listing.sh [2022-07-20T13:02:31.955Z] ++ facter osfamily [2022-07-20T13:02:31.955Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-20T13:02:32.216Z] + OS_FAMILY=debian [2022-07-20T13:02:32.216Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-185 [2022-07-20T13:02:32.216Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-20T13:02:32.216Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-20T13:02:32.216Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-20T13:02:32.216Z] + PACKAGES=/tmp/packages_start.txt [2022-07-20T13:02:32.216Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' [2022-07-20T13:02:32.216Z] + PACKAGES=/tmp/packages_end.txt [2022-07-20T13:02:32.216Z] + case "${OS_FAMILY}" in [2022-07-20T13:02:32.216Z] + dpkg -l [2022-07-20T13:02:32.216Z] + grep '^ii' [2022-07-20T13:02:32.216Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-20T13:02:32.216Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-20T13:02:32.216Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-20T13:02:32.216Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-185 ']' [2022-07-20T13:02:32.216Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [2022-07-20T13:02:32.216Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-185/archives/ [Pipeline] echo [2022-07-20T13:02:32.229Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-20T13:02:32.512Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-20T13:02:33.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-20T13:02:33.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-20T13:02:33.189Z] prd-ubuntu20.04-docker-8c-8g-20585 does not seem to be running inside a container [2022-07-20T13:02:33.232Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-185 -v /w/workspace/gexfoundry_device-snmp-go_PR-185:/w/workspace/gexfoundry_device-snmp-go_PR-185:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-20T13:02:33.474Z] $ docker top 4cd9573653ae2de1f1391e0719cfbe4956a738fbfd46eadaae6efe8b55d90834 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-20T13:02:33.842Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-20T13:02:34.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-20T13:02:34.425Z] + ls /var/log/sa-host [2022-07-20T13:02:34.426Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-20T13:02:34.563Z] provisioning config files... [2022-07-20T13:02:34.574Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-185@tmp/config3743169638840879687tmp [Pipeline] { [Pipeline] echo [2022-07-20T13:02:34.588Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:02:34.877Z] ---> create-netrc.sh [Pipeline] } [2022-07-20T13:02:34.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:02:35.223Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-20T13:02:35.233Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:02:35.523Z] ---> sudo-logs.sh [2022-07-20T13:02:35.523Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-20T13:02:35.548Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:02:35.832Z] ---> job-cost.sh [2022-07-20T13:02:35.832Z] lf-activate-venv: SKIPPING [2022-07-20T13:02:35.832Z] DEBUG: total: 0.2199999988079071 [2022-07-20T13:02:35.832Z] INFO: Retrieving Stack Cost... [2022-07-20T13:02:36.092Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-20T13:02:36.664Z] INFO: Archiving Costs [Pipeline] echo [2022-07-20T13:02:36.676Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-20T13:02:36.966Z] ---> logs-deploy.sh [2022-07-20T13:02:36.966Z] lf-activate-venv: SKIPPING [2022-07-20T13:02:36.966Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-185/3 [2022-07-20T13:02:36.966Z] INFO: archiving workspace using pattern(s): [2022-07-20T13:02:37.906Z] Archives upload complete. [2022-07-20T13:02:37.906Z] INFO: archiving logs to Nexus