Pull request #188 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33b1b3f94614be1bb6259c5a90857934584434a5+a6fdaab9abcf0ef5e69b571b8dca5b974b0f55ac (da32bad4e1ae7859e1bd675a51f27cb0a23a8d9c) 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-ssh7782116443147617115.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-ssh12206259135878388894.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-188/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-188/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14920664962894099101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-188/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1654817601241584507.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6335914518325844705.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-188/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-188/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12681267530879158732.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22774 in /w/workspace/gexfoundry_device-snmp-go_PR-188 [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-188 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a6fdaab9abcf0ef5e69b571b8dca5b974b0f55ac into PR head commit 33b1b3f94614be1bb6259c5a90857934584434a5 Merge succeeded, producing 33b1b3f94614be1bb6259c5a90857934584434a5 Checking out Revision 33b1b3f94614be1bb6259c5a90857934584434a5 (PR-188) > git config core.sparsecheckout # timeout=10 > git checkout -f 33b1b3f94614be1bb6259c5a90857934584434a5 # 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 a6fdaab9abcf0ef5e69b571b8dca5b974b0f55ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33b1b3f94614be1bb6259c5a90857934584434a5 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-15T05:04:47.959Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T05:04:48.128Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T05:04:48.235Z] ========================================================= [2022-08-15T05:04:48.235Z] EdgeX Global Pipelines Version Info [2022-08-15T05:04:48.235Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:04:49.035Z] ------------------- [2022-08-15T05:04:49.035Z] stable info: [2022-08-15T05:04:49.035Z] ------------------- [2022-08-15T05:04:49.035Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T05:04:49.035Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T05:04:49.035Z] Message: update stable to v1.0.238 [2022-08-15T05:04:49.606Z] ------------------- [2022-08-15T05:04:49.606Z] experimental info: [2022-08-15T05:04:49.606Z] ------------------- [2022-08-15T05:04:49.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T05:04:49.606Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T05:04:49.606Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T05:04:49.991Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-08-15T05:04:50.031Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-08-15T05:04:50.080Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T05:04:50.121Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T05:04:50.165Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T05:04:50.208Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T05:04:50.244Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T05:04:50.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T05:04:50.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T05:04:50.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T05:04:50.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T05:04:50.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-08-15T05:04:50.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T05:04:50.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T05:04:50.562Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T05:04:50.598Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T05:04:50.637Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T05:04:50.679Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T05:04:50.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T05:04:50.762Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T05:04:50.805Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T05:04:50.851Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T05:04:50.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T05:04:50.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T05:04:50.970Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T05:04:51.010Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T05:04:51.051Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T05:04:51.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-188 [Pipeline] echo [2022-08-15T05:04:51.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-188 [Pipeline] echo [2022-08-15T05:04:51.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-188 [Pipeline] echo [2022-08-15T05:04:51.216Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33b1b3f94614be1bb6259c5a90857934584434a5 [Pipeline] echo [2022-08-15T05:04:51.256Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33b1b3f [Pipeline] echo [2022-08-15T05:04:51.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:04:51.408Z] provisioning config files... [2022-08-15T05:04:51.421Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-188@tmp/config6730147115103436941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:04:51.773Z] ---> docker-login.sh [2022-08-15T05:04:51.773Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:04:52.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:52.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:52.033Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:52.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:52.033Z] [2022-08-15T05:04:52.033Z] Login Succeeded [2022-08-15T05:04:52.033Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:04:52.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:52.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:52.294Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:52.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:52.294Z] [2022-08-15T05:04:52.294Z] Login Succeeded [2022-08-15T05:04:52.294Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:04:52.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:52.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:52.294Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:52.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:52.294Z] [2022-08-15T05:04:52.294Z] Login Succeeded [2022-08-15T05:04:52.294Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:04:52.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:52.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:52.556Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:52.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:52.556Z] [2022-08-15T05:04:52.556Z] Login Succeeded [2022-08-15T05:04:52.556Z] docker.io [2022-08-15T05:04:52.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:04:52.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:04:52.816Z] Configure a credential helper to remove this warning. See [2022-08-15T05:04:52.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:04:52.816Z] [2022-08-15T05:04:52.816Z] Login Succeeded [2022-08-15T05:04:52.816Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:04:52.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T05:04:53.477Z] + git rev-list -1 --merges 33b1b3f94614be1bb6259c5a90857934584434a5~1..33b1b3f94614be1bb6259c5a90857934584434a5 [Pipeline] echo [2022-08-15T05:04:53.525Z] -----------> git rev-list -1 --merges 33b1b3f94614be1bb6259c5a90857934584434a5~1..33b1b3f94614be1bb6259c5a90857934584434a5 33b1b3f94614be1bb6259c5a90857934584434a5 [false] [Pipeline] sh [2022-08-15T05:04:53.836Z] + git log --format=format:%s -1 33b1b3f94614be1bb6259c5a90857934584434a5 [Pipeline] echo [2022-08-15T05:04:53.869Z] ========================================================= [2022-08-15T05:04:53.869Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T05:04:53.869Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:04:54.302Z] + git log --format=format:%s -1 33b1b3f94614be1bb6259c5a90857934584434a5 [Pipeline] echo [2022-08-15T05:04:54.334Z] [semverPrep] GIT_COMMIT: 33b1b3f94614be1bb6259c5a90857934584434a5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-15T05:04:54.364Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T05:04:54.742Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T05:04:54.742Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T05:04:54.742Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T05:04:54.742Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T05:04:54.742Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T05:04:54.742Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T05:04:54.742Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:04:55.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:04:55.220Z] [2022-08-15T05:04:55.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:04:55.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:04:55.596Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T05:04:55.596Z] b85a868b505f: Pulling fs layer [2022-08-15T05:04:55.596Z] e2be974225ed: Pulling fs layer [2022-08-15T05:04:55.596Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T05:04:55.596Z] 988bab9f4d93: Pulling fs layer [2022-08-15T05:04:55.596Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T05:04:55.596Z] eaf3925da568: Pulling fs layer [2022-08-15T05:04:55.596Z] bab4dde63d76: Pulling fs layer [2022-08-15T05:04:55.596Z] bde34c3a00c8: Pulling fs layer [2022-08-15T05:04:55.596Z] b352a97aabf1: Pulling fs layer [2022-08-15T05:04:55.596Z] 4872d77fe225: Pulling fs layer [2022-08-15T05:04:55.596Z] 5851b861e8e6: Pulling fs layer [2022-08-15T05:04:55.596Z] bab4dde63d76: Waiting [2022-08-15T05:04:55.596Z] bde34c3a00c8: Waiting [2022-08-15T05:04:55.596Z] b352a97aabf1: Waiting [2022-08-15T05:04:55.596Z] 4872d77fe225: Waiting [2022-08-15T05:04:55.596Z] 5851b861e8e6: Waiting [2022-08-15T05:04:55.596Z] 1469e6f7b9e6: Waiting [2022-08-15T05:04:55.596Z] eaf3925da568: Waiting [2022-08-15T05:04:55.596Z] e2be974225ed: Verifying Checksum [2022-08-15T05:04:55.596Z] e2be974225ed: Download complete [2022-08-15T05:04:55.596Z] 988bab9f4d93: Verifying Checksum [2022-08-15T05:04:55.596Z] 988bab9f4d93: Download complete [2022-08-15T05:04:55.854Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T05:04:55.854Z] 1469e6f7b9e6: Download complete [2022-08-15T05:04:55.854Z] eaf3925da568: Verifying Checksum [2022-08-15T05:04:55.854Z] eaf3925da568: Download complete [2022-08-15T05:04:55.854Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T05:04:55.854Z] 339a4e72a1f5: Download complete [2022-08-15T05:04:55.854Z] bde34c3a00c8: Download complete [2022-08-15T05:04:55.854Z] b352a97aabf1: Verifying Checksum [2022-08-15T05:04:55.854Z] b352a97aabf1: Download complete [2022-08-15T05:04:55.854Z] 4872d77fe225: Download complete [2022-08-15T05:04:55.854Z] 5851b861e8e6: Verifying Checksum [2022-08-15T05:04:55.854Z] 5851b861e8e6: Download complete [2022-08-15T05:04:55.854Z] b85a868b505f: Verifying Checksum [2022-08-15T05:04:55.854Z] b85a868b505f: Download complete [2022-08-15T05:04:56.113Z] bab4dde63d76: Verifying Checksum [2022-08-15T05:04:56.113Z] bab4dde63d76: Download complete [2022-08-15T05:04:57.054Z] b85a868b505f: Pull complete [2022-08-15T05:04:57.054Z] e2be974225ed: Pull complete [2022-08-15T05:04:57.627Z] 339a4e72a1f5: Pull complete [2022-08-15T05:04:57.627Z] 988bab9f4d93: Pull complete [2022-08-15T05:04:57.888Z] 1469e6f7b9e6: Pull complete [2022-08-15T05:04:57.888Z] eaf3925da568: Pull complete [2022-08-15T05:04:59.798Z] bab4dde63d76: Pull complete [2022-08-15T05:04:59.798Z] bde34c3a00c8: Pull complete [2022-08-15T05:04:59.798Z] b352a97aabf1: Pull complete [2022-08-15T05:04:59.798Z] 4872d77fe225: Pull complete [2022-08-15T05:05:00.059Z] 5851b861e8e6: Pull complete [2022-08-15T05:05:00.059Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T05:05:00.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T05:05:00.059Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:05:00.290Z] prd-ubuntu20.04-docker-8c-8g-22774 does not seem to be running inside a container [2022-08-15T05:05:00.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-188 -v /w/workspace/gexfoundry_device-snmp-go_PR-188:/w/workspace/gexfoundry_device-snmp-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-188@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-188@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-15T05:05:01.523Z] $ docker top c6ffeb8955e7d6130ddb81ec45638c0bc4600a4dcc2ef139bdd2cb146bf85e3a -eo pid,comm [2022-08-15T05:05:01.587Z] 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-08-15T05:05:01.587Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T05:05:01.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:05:01.703Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:05:01.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:05:01.833Z] $ docker exec c6ffeb8955e7d6130ddb81ec45638c0bc4600a4dcc2ef139bdd2cb146bf85e3a ssh-agent [2022-08-15T05:05:01.941Z] SSH_AUTH_SOCK=/tmp/ssh-sXnirCd8tYjs/agent.32 [2022-08-15T05:05:01.941Z] SSH_AGENT_PID=38 [2022-08-15T05:05:01.946Z] Running ssh-add (command line suppressed) [2022-08-15T05:05:02.063Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-188@tmp/private_key_7756651344469985818.key (/w/workspace/gexfoundry_device-snmp-go_PR-188@tmp/private_key_7756651344469985818.key) [2022-08-15T05:05:02.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:05:02.417Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T05:05:02.441Z] $ docker exec --env ******** --env ******** c6ffeb8955e7d6130ddb81ec45638c0bc4600a4dcc2ef139bdd2cb146bf85e3a ssh-agent -k [2022-08-15T05:05:02.545Z] unset SSH_AUTH_SOCK; [2022-08-15T05:05:02.545Z] unset SSH_AGENT_PID; [2022-08-15T05:05:02.546Z] echo Agent pid 38 killed; [2022-08-15T05:05:02.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T05:05:02.639Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T05:05:02.639Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T05:05:02.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T05:05:02.756Z] $ docker exec c6ffeb8955e7d6130ddb81ec45638c0bc4600a4dcc2ef139bdd2cb146bf85e3a ssh-agent [2022-08-15T05:05:02.874Z] SSH_AUTH_SOCK=/tmp/ssh-TffIoULMPHWJ/agent.71 [2022-08-15T05:05:02.875Z] SSH_AGENT_PID=77 [2022-08-15T05:05:02.880Z] Running ssh-add (command line suppressed) [2022-08-15T05:05:02.995Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-188@tmp/private_key_1056514489628925703.key (/w/workspace/gexfoundry_device-snmp-go_PR-188@tmp/private_key_1056514489628925703.key) [2022-08-15T05:05:03.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T05:05:03.333Z] + git semver init [2022-08-15T05:05:03.593Z] 2022-08-15 05:05:03,513 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T05:05:03.593Z] 2022-08-15 05:05:03,514 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-188/.semver [2022-08-15T05:05:03.593Z] 2022-08-15 05:05:03,514 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-188/.semver [2022-08-15T05:05:03.593Z] 2022-08-15 05:05:03,514 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-188/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-188, universal_newlines=False, shell=None, istream=None) [2022-08-15T05:05:04.537Z] 2022-08-15 05:05:04,262 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-188/.git/info/exclude [2022-08-15T05:05:04.537Z] 2022-08-15 05:05:04,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-188/.semver/PR-188 with force:False [2022-08-15T05:05:04.537Z] 2022-08-15 05:05:04,263 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-188/.semver/PR-188 [2022-08-15T05:05:04.537Z] 2022-08-15 05:05:04,267 [execute] INFO git cat-file --batch-check [2022-08-15T05:05:04.537Z] 2022-08-15 05:05:04,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-188/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T05:05:04.537Z] 2022-08-15 05:05:04,274 [execute] INFO git cat-file --batch [2022-08-15T05:05:04.537Z] 2022-08-15 05:05:04,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-188/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T05:05:04.537Z] 2022-08-15 05:05:04,279 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-188/.semver/PR-188 [2022-08-15T05:05:04.537Z] 0.0.0 [Pipeline] } [2022-08-15T05:05:04.568Z] $ docker exec --env ******** --env ******** c6ffeb8955e7d6130ddb81ec45638c0bc4600a4dcc2ef139bdd2cb146bf85e3a ssh-agent -k [2022-08-15T05:05:04.667Z] unset SSH_AUTH_SOCK; [2022-08-15T05:05:04.667Z] unset SSH_AGENT_PID; [2022-08-15T05:05:04.667Z] echo Agent pid 77 killed; [2022-08-15T05:05:04.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T05:05:05.101Z] + git semver [Pipeline] } [2022-08-15T05:05:05.385Z] $ docker stop --time=1 c6ffeb8955e7d6130ddb81ec45638c0bc4600a4dcc2ef139bdd2cb146bf85e3a [2022-08-15T05:05:06.669Z] $ docker rm -f c6ffeb8955e7d6130ddb81ec45638c0bc4600a4dcc2ef139bdd2cb146bf85e3a [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:05:07.090Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T05:05:07.398Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T05:05:07.415Z] [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-08-15T05:05:08.018Z] provisioning config files... [2022-08-15T05:05:08.029Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-188@tmp/config6292145321555282595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:05:08.380Z] ---> docker-login.sh [2022-08-15T05:05:08.380Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:05:08.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:05:08.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:05:08.380Z] Configure a credential helper to remove this warning. See [2022-08-15T05:05:08.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:05:08.380Z] [2022-08-15T05:05:08.380Z] Login Succeeded [2022-08-15T05:05:08.380Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:05:08.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:05:08.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:05:08.380Z] Configure a credential helper to remove this warning. See [2022-08-15T05:05:08.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:05:08.380Z] [2022-08-15T05:05:08.380Z] Login Succeeded [2022-08-15T05:05:08.380Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:05:08.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:05:08.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:05:08.643Z] Configure a credential helper to remove this warning. See [2022-08-15T05:05:08.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:05:08.643Z] [2022-08-15T05:05:08.643Z] Login Succeeded [2022-08-15T05:05:08.643Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:05:08.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:05:08.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:05:08.643Z] Configure a credential helper to remove this warning. See [2022-08-15T05:05:08.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:05:08.643Z] [2022-08-15T05:05:08.643Z] Login Succeeded [2022-08-15T05:05:08.643Z] docker.io [2022-08-15T05:05:08.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:05:09.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:05:09.163Z] Configure a credential helper to remove this warning. See [2022-08-15T05:05:09.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:05:09.163Z] [2022-08-15T05:05:09.163Z] Login Succeeded [2022-08-15T05:05:09.163Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:05:09.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T05:05:09.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:05:09.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:05:09.454Z] ========================================================= [2022-08-15T05:05:09.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T05:05:09.454Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:05:09.922Z] + 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-08-15T05:05:09.922Z] Sending build context to Docker daemon 5.463MB [2022-08-15T05:05:09.922Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:05:09.922Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T05:05:09.922Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T05:05:09.922Z] 2408cc74d12b: Pulling fs layer [2022-08-15T05:05:09.922Z] ea60b727a1ce: Pulling fs layer [2022-08-15T05:05:09.922Z] 30c4a7721957: Pulling fs layer [2022-08-15T05:05:09.922Z] 370296b7ddb6: Pulling fs layer [2022-08-15T05:05:09.922Z] 7c6cee850709: Pulling fs layer [2022-08-15T05:05:09.922Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T05:05:09.922Z] d94ebbe4e438: Pulling fs layer [2022-08-15T05:05:09.922Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T05:05:09.922Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T05:05:09.922Z] 39a5fcdaea64: Waiting [2022-08-15T05:05:09.922Z] 370296b7ddb6: Waiting [2022-08-15T05:05:09.922Z] 7c6cee850709: Waiting [2022-08-15T05:05:09.922Z] 59ccb84bbe0f: Waiting [2022-08-15T05:05:09.922Z] d94ebbe4e438: Waiting [2022-08-15T05:05:09.922Z] 30c4a7721957: Download complete [2022-08-15T05:05:10.183Z] ea60b727a1ce: Verifying Checksum [2022-08-15T05:05:10.184Z] ea60b727a1ce: Download complete [2022-08-15T05:05:10.184Z] 7c6cee850709: Download complete [2022-08-15T05:05:10.184Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T05:05:10.184Z] 39a5fcdaea64: Download complete [2022-08-15T05:05:10.184Z] 2408cc74d12b: Verifying Checksum [2022-08-15T05:05:10.184Z] 2408cc74d12b: Download complete [2022-08-15T05:05:10.184Z] d94ebbe4e438: Verifying Checksum [2022-08-15T05:05:10.184Z] d94ebbe4e438: Download complete [2022-08-15T05:05:10.184Z] 2408cc74d12b: Pull complete [2022-08-15T05:05:10.447Z] ea60b727a1ce: Pull complete [2022-08-15T05:05:10.447Z] 30c4a7721957: Pull complete [2022-08-15T05:05:10.708Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T05:05:10.708Z] bcfd1f05c69d: Download complete [2022-08-15T05:05:10.708Z] 59ccb84bbe0f: Download complete [2022-08-15T05:05:10.708Z] 370296b7ddb6: Verifying Checksum [2022-08-15T05:05:10.708Z] 370296b7ddb6: Download complete [2022-08-15T05:05:14.904Z] 370296b7ddb6: Pull complete [2022-08-15T05:05:14.904Z] 7c6cee850709: Pull complete [2022-08-15T05:05:14.904Z] 39a5fcdaea64: Pull complete [2022-08-15T05:05:14.904Z] d94ebbe4e438: Pull complete [2022-08-15T05:05:17.444Z] bcfd1f05c69d: Pull complete [2022-08-15T05:05:18.014Z] 59ccb84bbe0f: Pull complete [2022-08-15T05:05:18.014Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T05:05:18.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T05:05:18.014Z] ---> a4fb48ad2a94 [2022-08-15T05:05:18.014Z] Step 3/12 : ARG MAKE='make build' [2022-08-15T05:05:19.396Z] ---> Running in c5f44921622e [2022-08-15T05:05:19.396Z] Removing intermediate container c5f44921622e [2022-08-15T05:05:19.396Z] ---> 6b4d8adca1c4 [2022-08-15T05:05:19.396Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T05:05:19.396Z] ---> Running in 0e881036d423 [2022-08-15T05:05:19.396Z] Removing intermediate container 0e881036d423 [2022-08-15T05:05:19.396Z] ---> 4928eb8fab78 [2022-08-15T05:05:19.396Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T05:05:19.655Z] ---> Running in 2000afbff5f1 [2022-08-15T05:05:19.655Z] Removing intermediate container 2000afbff5f1 [2022-08-15T05:05:19.655Z] ---> 8b87663d1bb9 [2022-08-15T05:05:19.655Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:05:19.655Z] ---> Running in 7bc9e9baaff0 [2022-08-15T05:05:20.225Z] Removing intermediate container 7bc9e9baaff0 [2022-08-15T05:05:20.225Z] ---> c68b968d2ce0 [2022-08-15T05:05:20.225Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T05:05:20.225Z] ---> Running in 79fcbba25c06 [2022-08-15T05:05:20.485Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:05:21.425Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:05:21.685Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T05:05:21.946Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T05:05:21.946Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T05:05:22.206Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T05:05:22.206Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T05:05:22.206Z] OK: 216 MiB in 55 packages [2022-08-15T05:05:22.467Z] Removing intermediate container 79fcbba25c06 [2022-08-15T05:05:22.467Z] ---> cd81fcab2300 [2022-08-15T05:05:22.467Z] Step 8/12 : WORKDIR /device-snmp-go [2022-08-15T05:05:22.727Z] ---> Running in deff07a8f765 [2022-08-15T05:05:22.727Z] Removing intermediate container deff07a8f765 [2022-08-15T05:05:22.727Z] ---> 893b3dbe0480 [2022-08-15T05:05:22.727Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T05:05:22.727Z] ---> d56aa17bcab2 [2022-08-15T05:05:22.727Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:05:22.727Z] ---> Running in f0de4cbe476e [2022-08-15T05:05:22.842Z] Still waiting to schedule task [2022-08-15T05:05:22.842Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-22775’ is offline [2022-08-15T05:05:37.831Z] Removing intermediate container f0de4cbe476e [2022-08-15T05:05:37.831Z] ---> ffe3faa82a9f [2022-08-15T05:05:37.831Z] Step 11/12 : COPY . . [2022-08-15T05:05:37.831Z] ---> a670d7783ea8 [2022-08-15T05:05:37.831Z] Step 12/12 : RUN ${MAKE} [2022-08-15T05:05:37.831Z] ---> Running in 4f6dc1dd642f [2022-08-15T05:05:38.092Z] noop [2022-08-15T05:05:38.355Z] Removing intermediate container 4f6dc1dd642f [2022-08-15T05:05:38.355Z] ---> a7d335404d13 [2022-08-15T05:05:38.615Z] Successfully built a7d335404d13 [2022-08-15T05:05:38.615Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:05:39.070Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T05:05:39.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:05:39.223Z] prd-ubuntu20.04-docker-8c-8g-22774 does not seem to be running inside a container [2022-08-15T05:05:39.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-188 -v /w/workspace/gexfoundry_device-snmp-go_PR-188:/w/workspace/gexfoundry_device-snmp-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-188@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-188@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 ******** ci-base-image-x86_64 cat [2022-08-15T05:05:39.583Z] $ docker top 037fe97f2ef64050c2e7b1b7cded5b24e3a9cd2affabca824efe2087205ca6fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:05:39.981Z] + go version [2022-08-15T05:05:39.981Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T05:05:40.025Z] $ docker stop --time=1 037fe97f2ef64050c2e7b1b7cded5b24e3a9cd2affabca824efe2087205ca6fd [2022-08-15T05:05:41.306Z] $ docker rm -f 037fe97f2ef64050c2e7b1b7cded5b24e3a9cd2affabca824efe2087205ca6fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:05:42.051Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T05:05:42.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:05:42.207Z] prd-ubuntu20.04-docker-8c-8g-22774 does not seem to be running inside a container [2022-08-15T05:05:42.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-snmp-go_PR-188 -v /w/workspace/gexfoundry_device-snmp-go_PR-188:/w/workspace/gexfoundry_device-snmp-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-188@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-188@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 ******** ci-base-image-x86_64 cat [2022-08-15T05:05:42.610Z] $ docker top 2e9d2daedef77899dab17ce40dc9a7bdb5813345f008e1ade9c5c61c2f583978 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:05:43.008Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-188 [Pipeline] fileExists [Pipeline] sh [2022-08-15T05:05:43.370Z] + make test [2022-08-15T05:05:43.370Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T05:05:43.938Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-08-15T05:05:52.051Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-08-15T05:05:52.052Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-08-15T05:05:58.619Z] 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-08-15T05:05:58.619Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T05:06:01.906Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T05:06:01.907Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T05:06:01.907Z] ./bin/test-attribution-txt.sh [2022-08-15T05:06:01.907Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T05:06:01.907Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T05:06:01.907Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T05:06:01.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T05:06:01.979Z] $ docker stop --time=1 2e9d2daedef77899dab17ce40dc9a7bdb5813345f008e1ade9c5c61c2f583978 [2022-08-15T05:06:03.860Z] $ docker rm -f 2e9d2daedef77899dab17ce40dc9a7bdb5813345f008e1ade9c5c61c2f583978 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:06:04.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T05:06:04.433Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T05:06:05.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T05:06:05.338Z] + ls -al . [2022-08-15T05:06:05.338Z] total 172 [2022-08-15T05:06:05.338Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 05:05 . [2022-08-15T05:06:05.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:04 .. [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 15 05:04 .dockerignore [2022-08-15T05:06:05.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:05 .git [2022-08-15T05:06:05.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:04 .github [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 328 Aug 15 05:04 .gitignore [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:04 .golangci.yml [2022-08-15T05:06:05.338Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:05 .semver [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 8556 Aug 15 05:04 Attribution.txt [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 6948 Aug 15 05:04 CHANGELOG.md [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 1518 Aug 15 05:04 Dockerfile [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:04 GOVERNANCE.md [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 15 05:04 Jenkinsfile [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:04 LICENSE [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 2334 Aug 15 05:04 Makefile [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 05:04 OWNERS.md [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 9390 Aug 15 05:04 README.md [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 05:05 VERSION [2022-08-15T05:06:05.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:04 bin [2022-08-15T05:06:05.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:04 cmd [2022-08-15T05:06:05.338Z] -rw-r--r-- 1 jenkins jenkins 7631 Aug 15 05:05 coverage.out [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 3439 Aug 15 05:04 go.mod [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 36897 Aug 15 05:04 go.sum [2022-08-15T05:06:05.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:04 internal [2022-08-15T05:06:05.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:04 snap [2022-08-15T05:06:05.338Z] -rw-rw-r-- 1 jenkins jenkins 228 Aug 15 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:06:05.735Z] + 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=33b1b3f94614be1bb6259c5a90857934584434a5 --label arch=amd64 --label version=0.0.0 . [2022-08-15T05:06:05.735Z] Sending build context to Docker daemon 5.471MB [2022-08-15T05:06:05.735Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:06:05.735Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-15T05:06:05.735Z] ---> a7d335404d13 [2022-08-15T05:06:05.735Z] Step 3/24 : ARG MAKE='make build' [2022-08-15T05:06:05.735Z] ---> Running in 6d4e9f7a4fbb [2022-08-15T05:06:05.997Z] Removing intermediate container 6d4e9f7a4fbb [2022-08-15T05:06:05.997Z] ---> bb25916b5920 [2022-08-15T05:06:05.997Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T05:06:05.997Z] ---> Running in a9914ee0eccf [2022-08-15T05:06:05.997Z] Removing intermediate container a9914ee0eccf [2022-08-15T05:06:05.997Z] ---> dac8d22209ca [2022-08-15T05:06:05.997Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T05:06:05.997Z] ---> Running in 3d3b9a5c37a1 [2022-08-15T05:06:05.997Z] Removing intermediate container 3d3b9a5c37a1 [2022-08-15T05:06:05.997Z] ---> 6e739bd0bd23 [2022-08-15T05:06:05.997Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:06:06.258Z] ---> Running in cb99f286373f [2022-08-15T05:06:06.831Z] Removing intermediate container cb99f286373f [2022-08-15T05:06:06.831Z] ---> bcea5279dec2 [2022-08-15T05:06:06.831Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T05:06:06.831Z] ---> Running in 460e5e477652 [2022-08-15T05:06:07.091Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:06:08.041Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:06:08.302Z] OK: 216 MiB in 55 packages [2022-08-15T05:06:08.872Z] Removing intermediate container 460e5e477652 [2022-08-15T05:06:08.872Z] ---> c8749b5153ed [2022-08-15T05:06:08.872Z] Step 8/24 : WORKDIR /device-snmp-go [2022-08-15T05:06:08.872Z] ---> Running in e6cf9836f871 [2022-08-15T05:06:08.872Z] Removing intermediate container e6cf9836f871 [2022-08-15T05:06:08.872Z] ---> 7c28e9bb8fed [2022-08-15T05:06:08.872Z] Step 9/24 : COPY go.mod vendor* ./ [2022-08-15T05:06:08.872Z] ---> 8546abd38d72 [2022-08-15T05:06:08.872Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:06:09.132Z] ---> Running in 71b542caad31 [2022-08-15T05:06:09.701Z] Removing intermediate container 71b542caad31 [2022-08-15T05:06:09.701Z] ---> f2bd4eab1983 [2022-08-15T05:06:09.701Z] Step 11/24 : COPY . . [2022-08-15T05:06:09.961Z] ---> 83556b5e08a1 [2022-08-15T05:06:09.961Z] Step 12/24 : RUN ${MAKE} [2022-08-15T05:06:09.961Z] ---> Running in d32321fb238f [2022-08-15T05:06:10.220Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.19 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-08-15T05:06:32.160Z] Removing intermediate container d32321fb238f [2022-08-15T05:06:32.160Z] ---> 516055855af3 [2022-08-15T05:06:32.160Z] Step 13/24 : FROM alpine:3.16 [2022-08-15T05:06:32.160Z] 3.16: Pulling from library/alpine [2022-08-15T05:06:32.160Z] 213ec9aee27d: Pulling fs layer [2022-08-15T05:06:32.160Z] 213ec9aee27d: Verifying Checksum [2022-08-15T05:06:32.160Z] 213ec9aee27d: Download complete [2022-08-15T05:06:32.160Z] 213ec9aee27d: Pull complete [2022-08-15T05:06:32.160Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T05:06:32.160Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T05:06:32.160Z] ---> 9c6f07244728 [2022-08-15T05:06:32.160Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T05:06:32.160Z] ---> Running in f9baf76f6d10 [2022-08-15T05:06:32.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T05:06:32.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T05:06:32.160Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T05:06:32.160Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T05:06:32.160Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T05:06:32.160Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T05:06:32.160Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T05:06:32.160Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T05:06:32.160Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T05:06:32.160Z] OK: 8 MiB in 20 packages [2022-08-15T05:06:32.160Z] Removing intermediate container f9baf76f6d10 [2022-08-15T05:06:32.160Z] ---> f7ba706e0149 [2022-08-15T05:06:32.160Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-08-15T05:06:32.731Z] ---> e214bca255ab [2022-08-15T05:06:32.731Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-08-15T05:06:32.992Z] ---> b09b7bc939dd [2022-08-15T05:06:32.992Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-08-15T05:06:32.992Z] ---> 3aaf4d7e080e [2022-08-15T05:06:32.992Z] Step 18/24 : EXPOSE 59993 [2022-08-15T05:06:32.992Z] ---> Running in f31378be0a3a [2022-08-15T05:06:33.254Z] Removing intermediate container f31378be0a3a [2022-08-15T05:06:33.254Z] ---> 448ff2d06a98 [2022-08-15T05:06:33.254Z] Step 19/24 : EXPOSE 161 [2022-08-15T05:06:33.254Z] ---> Running in 023ec0918510 [2022-08-15T05:06:33.254Z] Removing intermediate container 023ec0918510 [2022-08-15T05:06:33.254Z] ---> 558bc3190baf [2022-08-15T05:06:33.254Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-08-15T05:06:33.254Z] ---> Running in dbde16e99589 [2022-08-15T05:06:33.514Z] Removing intermediate container dbde16e99589 [2022-08-15T05:06:33.514Z] ---> ae491913ecd7 [2022-08-15T05:06:33.514Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-15T05:06:33.514Z] ---> Running in 406e5f29c475 [2022-08-15T05:06:33.514Z] Removing intermediate container 406e5f29c475 [2022-08-15T05:06:33.514Z] ---> 2fb632e60a76 [2022-08-15T05:06:33.514Z] Step 22/24 : LABEL arch=amd64 [2022-08-15T05:06:33.514Z] ---> Running in c65c3359a9ed [2022-08-15T05:06:33.514Z] Removing intermediate container c65c3359a9ed [2022-08-15T05:06:33.514Z] ---> 938a48e385b8 [2022-08-15T05:06:33.514Z] Step 23/24 : LABEL git_sha=33b1b3f94614be1bb6259c5a90857934584434a5 [2022-08-15T05:06:33.514Z] ---> Running in d52afda3d79d [2022-08-15T05:06:33.774Z] Removing intermediate container d52afda3d79d [2022-08-15T05:06:33.774Z] ---> 390bb18009a9 [2022-08-15T05:06:33.774Z] Step 24/24 : LABEL version=0.0.0 [2022-08-15T05:06:33.774Z] ---> Running in 5f70eacbdfe8 [2022-08-15T05:06:33.774Z] Removing intermediate container 5f70eacbdfe8 [2022-08-15T05:06:33.774Z] ---> 4bd7fa17ba44 [2022-08-15T05:06:33.774Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T05:06:33.774Z] Successfully built 4bd7fa17ba44 [2022-08-15T05:06:33.774Z] 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-08-15T05:06:34.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:06:34.623Z] [2022-08-15T05:06:34.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:06:35.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:06:35.020Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T05:06:35.020Z] 5eb5b503b376: Pulling fs layer [2022-08-15T05:06:35.020Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T05:06:35.020Z] ec43610c2a17: Pulling fs layer [2022-08-15T05:06:35.020Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T05:06:35.020Z] 33b1e0a273af: Pulling fs layer [2022-08-15T05:06:35.020Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T05:06:35.020Z] 2f39f015ded8: Pulling fs layer [2022-08-15T05:06:35.020Z] 3a2ae6a8a46f: Waiting [2022-08-15T05:06:35.020Z] 33b1e0a273af: Waiting [2022-08-15T05:06:35.020Z] 5d3b04190fa2: Waiting [2022-08-15T05:06:35.020Z] 2f39f015ded8: Waiting [2022-08-15T05:06:35.020Z] 5c69ac0246d0: Verifying Checksum [2022-08-15T05:06:35.020Z] 5c69ac0246d0: Download complete [2022-08-15T05:06:35.021Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T05:06:35.021Z] 3a2ae6a8a46f: Download complete [2022-08-15T05:06:35.021Z] 33b1e0a273af: Verifying Checksum [2022-08-15T05:06:35.021Z] ec43610c2a17: Verifying Checksum [2022-08-15T05:06:35.021Z] ec43610c2a17: Download complete [2022-08-15T05:06:35.021Z] 5d3b04190fa2: Download complete [2022-08-15T05:06:35.279Z] 5eb5b503b376: Verifying Checksum [2022-08-15T05:06:35.279Z] 5eb5b503b376: Download complete [2022-08-15T05:06:35.848Z] 2f39f015ded8: Verifying Checksum [2022-08-15T05:06:36.788Z] 5eb5b503b376: Pull complete [2022-08-15T05:06:36.788Z] 5c69ac0246d0: Pull complete [2022-08-15T05:06:37.362Z] ec43610c2a17: Pull complete [2022-08-15T05:06:37.362Z] 3a2ae6a8a46f: Pull complete [2022-08-15T05:06:37.623Z] 33b1e0a273af: Pull complete [2022-08-15T05:06:37.623Z] 5d3b04190fa2: Pull complete [2022-08-15T05:06:42.913Z] 2f39f015ded8: Pull complete [2022-08-15T05:06:42.913Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T05:06:42.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:06:42.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:06:43.140Z] prd-ubuntu20.04-docker-8c-8g-22774 does not seem to be running inside a container [2022-08-15T05:06:43.192Z] $ 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-188 -v /w/workspace/gexfoundry_device-snmp-go_PR-188:/w/workspace/gexfoundry_device-snmp-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-188@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-15T05:06:44.887Z] $ docker top 9d5f87dd6f14385240d9ba1305fc09525614ebbe0c1cd81e32d42bf3184201de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:06:45.337Z] ---> job-cost.sh [2022-08-15T05:06:45.337Z] lf-activate-venv: SKIPPING [2022-08-15T05:06:45.337Z] INFO: No Stack... [2022-08-15T05:06:45.911Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T05:06:46.483Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T05:06:46.808Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-188/archives/cost.csv [2022-08-15T05:06:46.808Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T05:06:46.849Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-188-1-stack-cost] [2022-08-15T05:06:46.854Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-188-1-stack-cost] did not exist. Created. [2022-08-15T05:06:46.854Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-188-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T05:06:47.248Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T05:06:47.298Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T05:06:47.327Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-188-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T05:06:47.405Z] $ docker stop --time=1 9d5f87dd6f14385240d9ba1305fc09525614ebbe0c1cd81e32d42bf3184201de [2022-08-15T05:06:48.567Z] $ docker rm -f 9d5f87dd6f14385240d9ba1305fc09525614ebbe0c1cd81e32d42bf3184201de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T05:07:53.541Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22776 in /w/workspace/gexfoundry_device-snmp-go_PR-188 [Pipeline] { [Pipeline] ws [2022-08-15T05:07:53.581Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-08-15T05:07:53.668Z] Selected Git installation does not exist. Using Default [2022-08-15T05:07:53.668Z] The recommended git tool is: NONE [2022-08-15T05:08:00.462Z] using credential edgex-jenkins-ssh [2022-08-15T05:08:00.480Z] Cloning the remote Git repository [2022-08-15T05:08:00.556Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-08-15T05:08:00.635Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-08-15T05:08:00.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-08-15T05:08:00.708Z] > git --version # timeout=10 [2022-08-15T05:08:00.726Z] > git --version # 'git version 2.25.1' [2022-08-15T05:08:00.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T05:08:00.848Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T05:08:02.437Z] Merging remotes/origin/main commit a6fdaab9abcf0ef5e69b571b8dca5b974b0f55ac into PR head commit 33b1b3f94614be1bb6259c5a90857934584434a5 [2022-08-15T05:08:01.869Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-08-15T05:08:01.890Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T05:08:01.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-08-15T05:08:01.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-08-15T05:08:01.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T05:08:01.980Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-15T05:08:02.460Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T05:08:02.474Z] > git checkout -f 33b1b3f94614be1bb6259c5a90857934584434a5 # timeout=10 [2022-08-15T05:08:02.648Z] Merge succeeded, producing 33b1b3f94614be1bb6259c5a90857934584434a5 [2022-08-15T05:08:02.649Z] Checking out Revision 33b1b3f94614be1bb6259c5a90857934584434a5 (PR-188) [2022-08-15T05:08:02.563Z] > git remote # timeout=10 [2022-08-15T05:08:02.582Z] > git config --get remote.origin.url # timeout=10 [2022-08-15T05:08:02.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T05:08:02.609Z] > git merge a6fdaab9abcf0ef5e69b571b8dca5b974b0f55ac # timeout=10 [2022-08-15T05:08:02.634Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-15T05:08:02.659Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T05:08:02.673Z] > git checkout -f 33b1b3f94614be1bb6259c5a90857934584434a5 # timeout=10 [2022-08-15T05:08:06.923Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-15T05:08:06.985Z] > git --version # timeout=10 [2022-08-15T05:08:06.997Z] > git --version # 'git version 2.25.1' [2022-08-15T05:08:07.011Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:08:08.175Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T05:08:08.175Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T05:08:08.175Z] Dload Upload Total Spent Left Speed [2022-08-15T05:08:08.175Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2022-08-15T05:08:09.229Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T05:08:09.596Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T05:08:09.596Z] + sudo tee /etc/docker/daemon.new [2022-08-15T05:08:09.596Z] { [2022-08-15T05:08:09.596Z] "registry-mirrors": [ [2022-08-15T05:08:09.596Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T05:08:09.596Z] ], [2022-08-15T05:08:09.596Z] "bip": "10.250.0.254/24", [2022-08-15T05:08:09.596Z] "hosts": [ [2022-08-15T05:08:09.596Z] "tcp://0.0.0.0:5555", [2022-08-15T05:08:09.596Z] "unix:///var/run/docker.sock" [2022-08-15T05:08:09.596Z] ], [2022-08-15T05:08:09.596Z] "mtu": 1458, [2022-08-15T05:08:09.596Z] "selinux-enabled": true, [2022-08-15T05:08:09.596Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T05:08:09.596Z] } [Pipeline] sh [2022-08-15T05:08:09.955Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T05:08:10.322Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:08:28.745Z] provisioning config files... [2022-08-15T05:08:28.775Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config426809717339821613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:08:29.185Z] ---> docker-login.sh [2022-08-15T05:08:29.185Z] nexus3.edgexfoundry.org:10001 [2022-08-15T05:08:29.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:08:30.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:08:30.067Z] Configure a credential helper to remove this warning. See [2022-08-15T05:08:30.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:08:30.067Z] [2022-08-15T05:08:30.067Z] Login Succeeded [2022-08-15T05:08:30.067Z] nexus3.edgexfoundry.org:10002 [2022-08-15T05:08:30.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:08:30.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:08:30.620Z] Configure a credential helper to remove this warning. See [2022-08-15T05:08:30.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:08:30.620Z] [2022-08-15T05:08:30.620Z] Login Succeeded [2022-08-15T05:08:30.620Z] nexus3.edgexfoundry.org:10003 [2022-08-15T05:08:30.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:08:31.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:08:31.185Z] Configure a credential helper to remove this warning. See [2022-08-15T05:08:31.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:08:31.185Z] [2022-08-15T05:08:31.185Z] Login Succeeded [2022-08-15T05:08:31.185Z] nexus3.edgexfoundry.org:10004 [2022-08-15T05:08:31.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:08:31.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:08:31.459Z] Configure a credential helper to remove this warning. See [2022-08-15T05:08:31.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:08:31.459Z] [2022-08-15T05:08:31.459Z] Login Succeeded [2022-08-15T05:08:31.459Z] docker.io [2022-08-15T05:08:32.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T05:08:32.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T05:08:32.338Z] Configure a credential helper to remove this warning. See [2022-08-15T05:08:32.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T05:08:32.338Z] [2022-08-15T05:08:32.338Z] Login Succeeded [2022-08-15T05:08:32.338Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T05:08:32.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T05:08:32.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:08:32.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T05:08:32.910Z] ========================================================= [2022-08-15T05:08:32.910Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T05:08:32.910Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:08:33.435Z] + 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-08-15T05:08:33.708Z] Sending build context to Docker daemon 2.817MB [2022-08-15T05:08:33.709Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:08:33.709Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T05:08:33.986Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T05:08:33.986Z] b3c136eddcbf: Pulling fs layer [2022-08-15T05:08:33.986Z] c0a3192eca97: Pulling fs layer [2022-08-15T05:08:33.986Z] a050256f5b6f: Pulling fs layer [2022-08-15T05:08:33.986Z] 656be50a0ddc: Pulling fs layer [2022-08-15T05:08:33.986Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T05:08:33.986Z] 46d945488cbd: Pulling fs layer [2022-08-15T05:08:33.986Z] 8a5474983e97: Pulling fs layer [2022-08-15T05:08:33.986Z] 329c88fbcd65: Pulling fs layer [2022-08-15T05:08:33.986Z] 46d945488cbd: Waiting [2022-08-15T05:08:33.986Z] 8a5474983e97: Waiting [2022-08-15T05:08:33.986Z] 329c88fbcd65: Waiting [2022-08-15T05:08:33.986Z] 2bbca73fdf42: Waiting [2022-08-15T05:08:33.986Z] 656be50a0ddc: Waiting [2022-08-15T05:08:33.986Z] a050256f5b6f: Verifying Checksum [2022-08-15T05:08:33.986Z] a050256f5b6f: Download complete [2022-08-15T05:08:33.986Z] c0a3192eca97: Verifying Checksum [2022-08-15T05:08:33.986Z] c0a3192eca97: Download complete [2022-08-15T05:08:33.986Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T05:08:33.986Z] 2bbca73fdf42: Download complete [2022-08-15T05:08:33.986Z] 46d945488cbd: Download complete [2022-08-15T05:08:33.986Z] b3c136eddcbf: Verifying Checksum [2022-08-15T05:08:33.986Z] b3c136eddcbf: Download complete [2022-08-15T05:08:34.987Z] b3c136eddcbf: Pull complete [2022-08-15T05:08:35.267Z] 329c88fbcd65: Verifying Checksum [2022-08-15T05:08:35.267Z] 329c88fbcd65: Download complete [2022-08-15T05:08:35.545Z] c0a3192eca97: Pull complete [2022-08-15T05:08:35.822Z] a050256f5b6f: Pull complete [2022-08-15T05:08:36.419Z] 8a5474983e97: Verifying Checksum [2022-08-15T05:08:36.419Z] 8a5474983e97: Download complete [2022-08-15T05:08:37.020Z] 656be50a0ddc: Verifying Checksum [2022-08-15T05:08:37.021Z] 656be50a0ddc: Download complete [2022-08-15T05:08:52.116Z] 656be50a0ddc: Pull complete [2022-08-15T05:08:52.116Z] 2bbca73fdf42: Pull complete [2022-08-15T05:08:52.116Z] 46d945488cbd: Pull complete [2022-08-15T05:08:57.558Z] 8a5474983e97: Pull complete [2022-08-15T05:08:59.001Z] 329c88fbcd65: Pull complete [2022-08-15T05:08:59.001Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T05:08:59.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T05:08:59.001Z] ---> ff4287adb874 [2022-08-15T05:08:59.001Z] Step 3/12 : ARG MAKE='make build' [2022-08-15T05:08:59.988Z] ---> Running in 018c5d04ab4a [2022-08-15T05:09:00.272Z] Removing intermediate container 018c5d04ab4a [2022-08-15T05:09:00.272Z] ---> c6f1a73fad15 [2022-08-15T05:09:00.272Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T05:09:00.272Z] ---> Running in 10611e9c25d7 [2022-08-15T05:09:00.881Z] Removing intermediate container 10611e9c25d7 [2022-08-15T05:09:00.881Z] ---> 522aaa54a02d [2022-08-15T05:09:00.881Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T05:09:00.881Z] ---> Running in b86de9f605a3 [2022-08-15T05:09:02.322Z] Removing intermediate container b86de9f605a3 [2022-08-15T05:09:02.322Z] ---> 7d165b7579c5 [2022-08-15T05:09:02.322Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:09:02.322Z] ---> Running in be6f3ca3fc21 [2022-08-15T05:09:04.308Z] Removing intermediate container be6f3ca3fc21 [2022-08-15T05:09:04.308Z] ---> 62f3f8359c48 [2022-08-15T05:09:04.308Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T05:09:04.308Z] ---> Running in 745d0931ef02 [2022-08-15T05:09:05.291Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:09:06.272Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:09:07.253Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T05:09:07.253Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T05:09:07.253Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T05:09:07.529Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T05:09:07.529Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T05:09:07.529Z] OK: 226 MiB in 55 packages [2022-08-15T05:09:08.517Z] Removing intermediate container 745d0931ef02 [2022-08-15T05:09:08.517Z] ---> 5f4fef69af34 [2022-08-15T05:09:08.517Z] Step 8/12 : WORKDIR /device-snmp-go [2022-08-15T05:09:08.517Z] ---> Running in de5f73833400 [2022-08-15T05:09:08.792Z] Removing intermediate container de5f73833400 [2022-08-15T05:09:08.792Z] ---> b08bb81bf752 [2022-08-15T05:09:08.792Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T05:09:09.413Z] ---> a666d196bd8e [2022-08-15T05:09:09.413Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:09:09.691Z] ---> Running in d862d94a160d [2022-08-15T05:10:06.297Z] Removing intermediate container d862d94a160d [2022-08-15T05:10:06.297Z] ---> 8f6b82af08ec [2022-08-15T05:10:06.297Z] Step 11/12 : COPY . . [2022-08-15T05:10:06.297Z] ---> 8a13f047ae02 [2022-08-15T05:10:06.297Z] Step 12/12 : RUN ${MAKE} [2022-08-15T05:10:06.297Z] ---> Running in 081f6a89259c [2022-08-15T05:10:06.297Z] noop [2022-08-15T05:10:06.297Z] Removing intermediate container 081f6a89259c [2022-08-15T05:10:06.297Z] ---> 4d25f128ada3 [2022-08-15T05:10:06.297Z] Successfully built 4d25f128ada3 [2022-08-15T05:10:06.297Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:10:06.781Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T05:10:06.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:10:07.133Z] prd-ubuntu20.04-docker-arm64-4c-16g-22776 does not seem to be running inside a container [2022-08-15T05:10:07.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-15T05:10:08.584Z] $ docker top 01db849c9fe150dcd454b0cf7ad64f01ff74cdaf2a8f875d1714d1c21e01b37f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:10:09.558Z] + go version [2022-08-15T05:10:09.558Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T05:10:09.593Z] $ docker stop --time=1 01db849c9fe150dcd454b0cf7ad64f01ff74cdaf2a8f875d1714d1c21e01b37f [2022-08-15T05:10:11.236Z] $ docker rm -f 01db849c9fe150dcd454b0cf7ad64f01ff74cdaf2a8f875d1714d1c21e01b37f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:10:12.163Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T05:10:12.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:10:12.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-22776 does not seem to be running inside a container [2022-08-15T05:10:12.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-15T05:10:13.893Z] $ docker top 4e75900fcd6531d91a7365e556398878c12a1aa24eba06943b7648c95bce0ea1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:10:14.902Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-15T05:10:15.640Z] + make test [2022-08-15T05:10:15.640Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T05:10:17.615Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-08-15T05:11:39.453Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-08-15T05:11:39.453Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2022-08-15T05:11:39.453Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T05:11:39.453Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T05:11:57.783Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T05:11:57.783Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T05:11:57.783Z] ./bin/test-attribution-txt.sh [2022-08-15T05:11:57.783Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T05:11:57.783Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T05:11:57.783Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T05:11:57.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T05:11:57.849Z] $ docker stop --time=1 4e75900fcd6531d91a7365e556398878c12a1aa24eba06943b7648c95bce0ea1 [2022-08-15T05:11:59.615Z] $ docker rm -f 4e75900fcd6531d91a7365e556398878c12a1aa24eba06943b7648c95bce0ea1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T05:12:00.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T05:12:00.648Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T05:12:01.111Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T05:12:01.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T05:12:02.063Z] + ls -al . [2022-08-15T05:12:02.064Z] total 168 [2022-08-15T05:12:02.064Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:10 . [2022-08-15T05:12:02.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:08 .. [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 15 05:08 .dockerignore [2022-08-15T05:12:02.064Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:08 .git [2022-08-15T05:12:02.064Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:08 .github [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 328 Aug 15 05:08 .gitignore [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:08 .golangci.yml [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 8556 Aug 15 05:08 Attribution.txt [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 6948 Aug 15 05:08 CHANGELOG.md [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 1518 Aug 15 05:08 Dockerfile [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:08 GOVERNANCE.md [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 15 05:08 Jenkinsfile [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:08 LICENSE [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 2334 Aug 15 05:08 Makefile [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 05:08 OWNERS.md [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 9390 Aug 15 05:08 README.md [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 05:05 VERSION [2022-08-15T05:12:02.064Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:08 bin [2022-08-15T05:12:02.064Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:08 cmd [2022-08-15T05:12:02.064Z] -rw-r--r-- 1 jenkins jenkins 7631 Aug 15 05:11 coverage.out [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 3439 Aug 15 05:08 go.mod [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 36897 Aug 15 05:08 go.sum [2022-08-15T05:12:02.064Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:08 internal [2022-08-15T05:12:02.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:08 snap [2022-08-15T05:12:02.064Z] -rw-rw-r-- 1 jenkins jenkins 228 Aug 15 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:12:02.480Z] + 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=33b1b3f94614be1bb6259c5a90857934584434a5 --label arch=arm64 --label version=0.0.0 . [2022-08-15T05:12:02.753Z] Sending build context to Docker daemon 2.825MB [2022-08-15T05:12:02.753Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T05:12:02.753Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-15T05:12:02.753Z] ---> 4d25f128ada3 [2022-08-15T05:12:02.753Z] Step 3/24 : ARG MAKE='make build' [2022-08-15T05:12:03.026Z] ---> Running in 07f9eba565c9 [2022-08-15T05:12:03.301Z] Removing intermediate container 07f9eba565c9 [2022-08-15T05:12:03.301Z] ---> 98ee1c3c3b67 [2022-08-15T05:12:03.301Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T05:12:03.301Z] ---> Running in 540ae4cf188d [2022-08-15T05:12:03.575Z] Removing intermediate container 540ae4cf188d [2022-08-15T05:12:03.575Z] ---> 6d82c8363d97 [2022-08-15T05:12:03.575Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T05:12:03.575Z] ---> Running in d6cc572abaeb [2022-08-15T05:12:03.862Z] Removing intermediate container d6cc572abaeb [2022-08-15T05:12:03.862Z] ---> 014dbd8127b6 [2022-08-15T05:12:03.862Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T05:12:04.142Z] ---> Running in 47397f9a3f85 [2022-08-15T05:12:05.588Z] Removing intermediate container 47397f9a3f85 [2022-08-15T05:12:05.588Z] ---> 68bef6debe74 [2022-08-15T05:12:05.588Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T05:12:05.588Z] ---> Running in cd847fab411d [2022-08-15T05:12:06.571Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:12:07.555Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:12:08.532Z] OK: 226 MiB in 55 packages [2022-08-15T05:12:09.129Z] Removing intermediate container cd847fab411d [2022-08-15T05:12:09.129Z] ---> 4d5a34e79126 [2022-08-15T05:12:09.129Z] Step 8/24 : WORKDIR /device-snmp-go [2022-08-15T05:12:09.405Z] ---> Running in e1a478b4725c [2022-08-15T05:12:09.677Z] Removing intermediate container e1a478b4725c [2022-08-15T05:12:09.677Z] ---> aff27b91cb9c [2022-08-15T05:12:09.677Z] Step 9/24 : COPY go.mod vendor* ./ [2022-08-15T05:12:09.955Z] ---> fd4e6076172a [2022-08-15T05:12:09.955Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T05:12:10.232Z] ---> Running in 37f6584cd76c [2022-08-15T05:12:12.203Z] Removing intermediate container 37f6584cd76c [2022-08-15T05:12:12.203Z] ---> e4c95a0cd257 [2022-08-15T05:12:12.203Z] Step 11/24 : COPY . . [2022-08-15T05:12:12.798Z] ---> 03ac2d297d4e [2022-08-15T05:12:12.798Z] Step 12/24 : RUN ${MAKE} [2022-08-15T05:12:12.799Z] ---> Running in 356963e189c3 [2022-08-15T05:12:13.777Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.19 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-08-15T05:14:20.687Z] Removing intermediate container 356963e189c3 [2022-08-15T05:14:20.687Z] ---> 089830492613 [2022-08-15T05:14:20.687Z] Step 13/24 : FROM alpine:3.16 [2022-08-15T05:14:20.687Z] 3.16: Pulling from library/alpine [2022-08-15T05:14:20.687Z] 9b18e9b68314: Pulling fs layer [2022-08-15T05:14:20.687Z] 9b18e9b68314: Verifying Checksum [2022-08-15T05:14:20.687Z] 9b18e9b68314: Download complete [2022-08-15T05:14:20.687Z] 9b18e9b68314: Pull complete [2022-08-15T05:14:20.687Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T05:14:20.687Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T05:14:20.687Z] ---> a6215f271958 [2022-08-15T05:14:20.687Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T05:14:20.687Z] ---> Running in 9e91e610d91f [2022-08-15T05:14:20.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T05:14:20.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T05:14:21.287Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T05:14:21.287Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T05:14:21.287Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T05:14:21.287Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T05:14:21.287Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T05:14:21.287Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T05:14:21.287Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T05:14:21.287Z] OK: 8 MiB in 20 packages [2022-08-15T05:14:22.281Z] Removing intermediate container 9e91e610d91f [2022-08-15T05:14:22.281Z] ---> 681e01c77567 [2022-08-15T05:14:22.281Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-08-15T05:14:23.721Z] ---> 9e3e24f281a8 [2022-08-15T05:14:23.721Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-08-15T05:14:23.994Z] ---> abf7f4640037 [2022-08-15T05:14:23.994Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-08-15T05:14:24.593Z] ---> 8ef4319f4491 [2022-08-15T05:14:24.593Z] Step 18/24 : EXPOSE 59993 [2022-08-15T05:14:24.593Z] ---> Running in b21bf28d1f9c [2022-08-15T05:14:25.191Z] Removing intermediate container b21bf28d1f9c [2022-08-15T05:14:25.191Z] ---> c19bfd6440f0 [2022-08-15T05:14:25.191Z] Step 19/24 : EXPOSE 161 [2022-08-15T05:14:25.191Z] ---> Running in 2f449e47d2ed [2022-08-15T05:14:25.465Z] Removing intermediate container 2f449e47d2ed [2022-08-15T05:14:25.465Z] ---> 65a3e7e90b97 [2022-08-15T05:14:25.465Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-08-15T05:14:25.465Z] ---> Running in a615923f0ba0 [2022-08-15T05:14:25.742Z] Removing intermediate container a615923f0ba0 [2022-08-15T05:14:25.742Z] ---> 40e949f48769 [2022-08-15T05:14:25.742Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-15T05:14:25.742Z] ---> Running in 9f93868d22fa [2022-08-15T05:14:26.349Z] Removing intermediate container 9f93868d22fa [2022-08-15T05:14:26.349Z] ---> b7e2955e8c85 [2022-08-15T05:14:26.349Z] Step 22/24 : LABEL arch=arm64 [2022-08-15T05:14:26.349Z] ---> Running in 89904d4b2faa [2022-08-15T05:14:26.624Z] Removing intermediate container 89904d4b2faa [2022-08-15T05:14:26.624Z] ---> 99026946c4bf [2022-08-15T05:14:26.624Z] Step 23/24 : LABEL git_sha=33b1b3f94614be1bb6259c5a90857934584434a5 [2022-08-15T05:14:26.624Z] ---> Running in 0cd3ab685cba [2022-08-15T05:14:26.900Z] Removing intermediate container 0cd3ab685cba [2022-08-15T05:14:26.900Z] ---> f2fe19e6fd9b [2022-08-15T05:14:26.900Z] Step 24/24 : LABEL version=0.0.0 [2022-08-15T05:14:26.900Z] ---> Running in fd158d542a4e [2022-08-15T05:14:27.176Z] Removing intermediate container fd158d542a4e [2022-08-15T05:14:27.176Z] ---> 804b6826b4ce [2022-08-15T05:14:27.176Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T05:14:27.448Z] Successfully built 804b6826b4ce [2022-08-15T05:14:27.448Z] 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-08-15T05:14:33.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:14:33.339Z] [2022-08-15T05:14:33.339Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:14:33.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:14:34.032Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T05:14:34.032Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T05:14:34.032Z] 04944245beec: Pulling fs layer [2022-08-15T05:14:34.032Z] 699f458cf7ca: Pulling fs layer [2022-08-15T05:14:34.032Z] 765212b225bb: Pulling fs layer [2022-08-15T05:14:34.032Z] f23df028b6ca: Pulling fs layer [2022-08-15T05:14:34.032Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T05:14:34.032Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T05:14:34.032Z] 765212b225bb: Waiting [2022-08-15T05:14:34.032Z] f23df028b6ca: Waiting [2022-08-15T05:14:34.032Z] d65c8cfc05b1: Waiting [2022-08-15T05:14:34.032Z] 2437ff75d9bd: Waiting [2022-08-15T05:14:34.032Z] 04944245beec: Verifying Checksum [2022-08-15T05:14:34.032Z] 04944245beec: Download complete [2022-08-15T05:14:34.032Z] 765212b225bb: Verifying Checksum [2022-08-15T05:14:34.032Z] 765212b225bb: Download complete [2022-08-15T05:14:34.032Z] f23df028b6ca: Verifying Checksum [2022-08-15T05:14:34.032Z] f23df028b6ca: Download complete [2022-08-15T05:14:34.032Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T05:14:34.032Z] d65c8cfc05b1: Download complete [2022-08-15T05:14:34.312Z] 699f458cf7ca: Verifying Checksum [2022-08-15T05:14:34.312Z] 699f458cf7ca: Download complete [2022-08-15T05:14:34.587Z] 8998bd30e6a1: Download complete [2022-08-15T05:14:37.213Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T05:14:37.213Z] 2437ff75d9bd: Download complete [2022-08-15T05:14:39.196Z] 8998bd30e6a1: Pull complete [2022-08-15T05:14:39.470Z] 04944245beec: Pull complete [2022-08-15T05:14:40.914Z] 699f458cf7ca: Pull complete [2022-08-15T05:14:41.192Z] 765212b225bb: Pull complete [2022-08-15T05:14:41.789Z] f23df028b6ca: Pull complete [2022-08-15T05:14:42.063Z] d65c8cfc05b1: Pull complete [2022-08-15T05:14:57.168Z] 2437ff75d9bd: Pull complete [2022-08-15T05:14:57.168Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T05:14:57.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T05:14:57.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:14:57.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-22776 does not seem to be running inside a container [2022-08-15T05:14:57.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-15T05:15:00.121Z] $ docker top 80d258187035ad6d7d44a8962893040336e247575ab0b5d9a4b2afc07613b852 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:15:01.114Z] ---> job-cost.sh [2022-08-15T05:15:01.115Z] lf-activate-venv: SKIPPING [2022-08-15T05:15:01.115Z] INFO: No Stack... [2022-08-15T05:15:01.711Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T05:15:02.693Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T05:15:03.373Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-08-15T05:15:03.373Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T05:15:03.458Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-188-1-stack-cost] [2022-08-15T05:15:03.463Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-188-1-stack-cost] did not exist. Created. [2022-08-15T05:15:03.463Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-188-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T05:15:04.200Z] /w/workspace/device-snmp-go/1@tmp/durable-9d7e958a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T05:15:04.904Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T05:15:04.944Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T05:15:04.986Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T05:15:05.003Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-188-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T05:15:05.079Z] $ docker stop --time=1 80d258187035ad6d7d44a8962893040336e247575ab0b5d9a4b2afc07613b852 [2022-08-15T05:15:06.576Z] $ docker rm -f 80d258187035ad6d7d44a8962893040336e247575ab0b5d9a4b2afc07613b852 [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-08-15T05:15:07.600Z] provisioning config files... [2022-08-15T05:15:07.616Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-188@tmp/config2681312344539242329tmp [Pipeline] { [Pipeline] sh [2022-08-15T05:15:07.946Z] + set +x [2022-08-15T05:15:07.946Z] + curl -s https://codecov.io/bash [2022-08-15T05:15:07.946Z] + bash -s -- [2022-08-15T05:15:07.946Z] [2022-08-15T05:15:07.946Z] _____ _ [2022-08-15T05:15:07.946Z] / ____| | | [2022-08-15T05:15:07.946Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T05:15:07.946Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T05:15:07.946Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T05:15:07.946Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T05:15:07.946Z] Bash-1.0.6 [2022-08-15T05:15:07.946Z] [2022-08-15T05:15:07.946Z] [2022-08-15T05:15:07.946Z] ==> git version 2.25.1 found [2022-08-15T05:15:07.946Z] ==> 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-08-15T05:15:07.946Z] Release-Date: 2020-01-08 [2022-08-15T05:15:07.946Z] 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-08-15T05:15:07.946Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T05:15:07.946Z] ==> Jenkins CI detected. [2022-08-15T05:15:07.946Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-188 [2022-08-15T05:15:07.946Z] project root: . [2022-08-15T05:15:07.946Z] --> token set from env [2022-08-15T05:15:07.946Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T05:15:07.946Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T05:15:07.946Z] ==> Python coveragepy not found [2022-08-15T05:15:07.946Z] ==> Searching for coverage reports in: [2022-08-15T05:15:07.946Z] + . [2022-08-15T05:15:07.946Z] -> Found 1 reports [2022-08-15T05:15:07.946Z] ==> Detecting git/mercurial file structure [2022-08-15T05:15:07.946Z] ==> Reading reports [2022-08-15T05:15:07.946Z] + ./coverage.out bytes=7631 [2022-08-15T05:15:07.946Z] ==> Appending adjustments [2022-08-15T05:15:07.946Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T05:15:08.205Z] + Found adjustments [2022-08-15T05:15:08.206Z] ==> Gzipping contents [2022-08-15T05:15:08.206Z] 4.0K /tmp/codecov.9cvp8q.gz [2022-08-15T05:15:08.206Z] ==> Uploading reports [2022-08-15T05:15:08.206Z] url: https://codecov.io [2022-08-15T05:15:08.206Z] query: branch=PR-188&commit=33b1b3f94614be1bb6259c5a90857934584434a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2022-08-15T05:15:08.206Z] -> Pinging Codecov [2022-08-15T05:15:08.206Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-188&commit=33b1b3f94614be1bb6259c5a90857934584434a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-188%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2022-08-15T05:15:08.467Z] -> Uploading to [2022-08-15T05:15:08.467Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/6C56EA5C29638FB4528AC87E60AF5AE0/33b1b3f94614be1bb6259c5a90857934584434a5/09f082ac-5c4d-4f32-94d8-9ff45d858c9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T051508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b369ce0e8312b59fdeec5a6978804437837ef47ba4de5151456c46c56cfbb436 [2022-08-15T05:15:08.467Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T05:15:08.467Z] Dload Upload Total Spent Left Speed [2022-08-15T05:15:08.728Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6422 --:--:-- --:--:-- --:--:-- 6395 100 1535 0 0 100 1535 0 6422 --:--:-- --:--:-- --:--:-- 6395 [2022-08-15T05:15:08.728Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/33b1b3f94614be1bb6259c5a90857934584434a5 [Pipeline] } [2022-08-15T05:15:08.760Z] 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-08-15T05:15:10.438Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-188/archives ] [2022-08-15T05:15:10.438Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-188/archives [2022-08-15T05:15:10.438Z] total 16 [2022-08-15T05:15:10.438Z] drwxr-xr-x 3 root root 4096 Aug 15 05:06 . [2022-08-15T05:15:10.438Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:06 .. [2022-08-15T05:15:10.438Z] drwxr-xr-x 2 root root 4096 Aug 15 05:06 cost [2022-08-15T05:15:10.438Z] -rw-r--r-- 1 root root 86 Aug 15 05:06 cost.csv [2022-08-15T05:15:10.438Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-188/archives [2022-08-15T05:15:10.438Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-188/archives [2022-08-15T05:15:10.438Z] total 16 [2022-08-15T05:15:10.438Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:06 . [2022-08-15T05:15:10.438Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:06 .. [2022-08-15T05:15:10.438Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 05:06 cost [2022-08-15T05:15:10.438Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 15 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:15:10.765Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:15:11.661Z] ---> package-listing.sh [2022-08-15T05:15:11.661Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T05:15:11.661Z] ++ facter osfamily [2022-08-15T05:15:11.922Z] + OS_FAMILY=debian [2022-08-15T05:15:11.922Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-188 [2022-08-15T05:15:11.922Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T05:15:11.922Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T05:15:11.922Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T05:15:11.922Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T05:15:11.922Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-188 ']' [2022-08-15T05:15:11.922Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T05:15:11.922Z] + case "${OS_FAMILY}" in [2022-08-15T05:15:11.922Z] + dpkg -l [2022-08-15T05:15:11.922Z] + grep '^ii' [2022-08-15T05:15:11.922Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T05:15:11.922Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T05:15:11.922Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T05:15:11.922Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-188 ']' [2022-08-15T05:15:11.922Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-188/archives/ [2022-08-15T05:15:11.922Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-188/archives/ [Pipeline] echo [2022-08-15T05:15:11.959Z] 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-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-15T05:15:12.251Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T05:15:12.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T05:15:12.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T05:15:13.043Z] prd-ubuntu20.04-docker-8c-8g-22774 does not seem to be running inside a container [2022-08-15T05:15:13.082Z] $ 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-188/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-188 -v /w/workspace/gexfoundry_device-snmp-go_PR-188:/w/workspace/gexfoundry_device-snmp-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-188@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-188@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-15T05:15:13.303Z] $ docker top ee655c650076d403d11db237f127165635f7ee440c347c0d531d93da962c700c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T05:15:13.718Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T05:15:14.033Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T05:15:14.347Z] + ls /var/log/sa-host [2022-08-15T05:15:14.348Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T05:15:14.466Z] provisioning config files... [2022-08-15T05:15:14.473Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-188@tmp/config2504467388615012782tmp [Pipeline] { [Pipeline] echo [2022-08-15T05:15:14.519Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:15:14.839Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T05:15:14.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:15:15.278Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T05:15:15.310Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:15:15.624Z] ---> sudo-logs.sh [2022-08-15T05:15:15.624Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T05:15:15.709Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:15:16.024Z] ---> job-cost.sh [2022-08-15T05:15:16.024Z] lf-activate-venv: SKIPPING [2022-08-15T05:15:16.024Z] DEBUG: total: 0.2199999988079071 [2022-08-15T05:15:16.024Z] INFO: Retrieving Stack Cost... [2022-08-15T05:15:16.283Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T05:15:16.854Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T05:15:16.891Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T05:15:17.204Z] ---> logs-deploy.sh [2022-08-15T05:15:17.205Z] lf-activate-venv: SKIPPING [2022-08-15T05:15:17.205Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-188/1 [2022-08-15T05:15:17.205Z] INFO: archiving workspace using pattern(s): [2022-08-15T05:15:18.147Z] Archives upload complete. [2022-08-15T05:15:18.147Z] INFO: archiving logs to Nexus