Pull request #108 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from a95e588fa9c3c0bf012c4fce510aa2db11afcad9+5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 (1c3c8fa4e6bbdd81c38ef689abe1c6f211503b7e) Running in Durability level: MAX_SURVIVABILITY 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1616623043800215946.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4516921806166609269.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-108/workspace@libs/edgex-global-pipelines # 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-108/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2204210154155602295.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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-108/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3592461077942612344.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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 shared 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1663848926372247305.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-108/workspace@libs/lf-pipelines # 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-108/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6699934817214528576.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 d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1099 in /w/workspace/gexfoundry_device-snmp-go_PR-108 [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-108 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/jenkins-gitclient-ssh6752001017234682254.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/jenkins-gitclient-ssh784717957977252592.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit a95e588fa9c3c0bf012c4fce510aa2db11afcad9 Merge succeeded, producing a95e588fa9c3c0bf012c4fce510aa2db11afcad9 Checking out Revision a95e588fa9c3c0bf012c4fce510aa2db11afcad9 (PR-108) > git config core.sparsecheckout # timeout=10 > git checkout -f a95e588fa9c3c0bf012c4fce510aa2db11afcad9 # timeout=10 > git remote # timeout=10 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/jenkins-gitclient-ssh4646826671450339445.key > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a95e588fa9c3c0bf012c4fce510aa2db11afcad9 # timeout=10 Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T00:25:25.257Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T00:25:25.435Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T00:25:25.546Z] ========================================================= [2021-06-09T00:25:25.547Z] EdgeX Global Pipelines Version Info [2021-06-09T00:25:25.547Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:25:27.094Z] ------------------- [2021-06-09T00:25:27.095Z] stable info: [2021-06-09T00:25:27.095Z] ------------------- [2021-06-09T00:25:27.095Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T00:25:27.095Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:25:27.095Z] Message: update stable to v1.0.194 [2021-06-09T00:25:29.588Z] ------------------- [2021-06-09T00:25:29.588Z] experimental info: [2021-06-09T00:25:29.588Z] ------------------- [2021-06-09T00:25:29.588Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T00:25:29.588Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T00:25:29.588Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T00:25:29.827Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-09T00:25:29.881Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-09T00:25:29.945Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T00:25:30.001Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T00:25:30.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T00:25:30.117Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T00:25:30.235Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T00:25:30.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T00:25:30.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-09T00:25:30.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T00:25:30.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T00:25:30.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-09T00:25:30.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T00:25:30.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T00:25:30.882Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T00:25:30.941Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T00:25:31.004Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:25:31.060Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T00:25:31.121Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T00:25:31.198Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T00:25:33.434Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-09T00:25:33.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-09T00:25:33.563Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T00:25:33.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T00:25:33.726Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T00:25:33.814Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T00:25:33.888Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-108 [Pipeline] echo [2021-06-09T00:25:33.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-108 [Pipeline] echo [2021-06-09T00:25:34.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-108 [Pipeline] echo [2021-06-09T00:25:34.105Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [Pipeline] echo [2021-06-09T00:25:34.194Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a95e588 [Pipeline] echo [2021-06-09T00:25:34.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:25:36.536Z] provisioning config files... [2021-06-09T00:25:36.552Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/config8737208641650399002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:25:36.925Z] ---> docker-login.sh [2021-06-09T00:25:36.926Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:25:36.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:25:37.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:25:37.188Z] Configure a credential helper to remove this warning. See [2021-06-09T00:25:37.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:25:37.188Z] [2021-06-09T00:25:37.188Z] Login Succeeded [2021-06-09T00:25:37.188Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:25:37.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:25:37.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:25:37.188Z] Configure a credential helper to remove this warning. See [2021-06-09T00:25:37.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:25:37.188Z] [2021-06-09T00:25:37.188Z] Login Succeeded [2021-06-09T00:25:37.188Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:25:37.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:25:37.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:25:37.450Z] Configure a credential helper to remove this warning. See [2021-06-09T00:25:37.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:25:37.450Z] [2021-06-09T00:25:37.450Z] Login Succeeded [2021-06-09T00:25:37.450Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:25:37.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:25:37.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:25:37.450Z] Configure a credential helper to remove this warning. See [2021-06-09T00:25:37.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:25:37.450Z] [2021-06-09T00:25:37.450Z] Login Succeeded [2021-06-09T00:25:37.450Z] docker.io [2021-06-09T00:25:37.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:25:37.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:25:37.977Z] Configure a credential helper to remove this warning. See [2021-06-09T00:25:37.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:25:37.977Z] [2021-06-09T00:25:37.977Z] Login Succeeded [2021-06-09T00:25:37.977Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T00:25:38.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:25:40.900Z] + git log --format=format:%s -1 a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [Pipeline] echo [2021-06-09T00:25:40.961Z] GIT_COMMIT: a95e588fa9c3c0bf012c4fce510aa2db11afcad9, Commit Message: refactor: Change PublishTopicPrefix value to be 'edgex/events/device' [Pipeline] echo [2021-06-09T00:25:40.996Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:25:44.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:25:44.241Z] [2021-06-09T00:25:44.241Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:25:44.611Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:25:44.611Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T00:25:44.611Z] 31603596830f: Pulling fs layer [2021-06-09T00:25:44.611Z] 54011a49482f: Pulling fs layer [2021-06-09T00:25:44.611Z] a6820b24f6d8: Pulling fs layer [2021-06-09T00:25:44.611Z] f581987b2513: Pulling fs layer [2021-06-09T00:25:44.611Z] f581987b2513: Waiting [2021-06-09T00:25:44.611Z] 54011a49482f: Verifying Checksum [2021-06-09T00:25:44.611Z] 54011a49482f: Download complete [2021-06-09T00:25:44.611Z] 31603596830f: Verifying Checksum [2021-06-09T00:25:44.611Z] 31603596830f: Download complete [2021-06-09T00:25:44.873Z] a6820b24f6d8: Verifying Checksum [2021-06-09T00:25:44.873Z] a6820b24f6d8: Download complete [2021-06-09T00:25:44.873Z] f581987b2513: Verifying Checksum [2021-06-09T00:25:44.873Z] f581987b2513: Download complete [2021-06-09T00:25:44.873Z] 31603596830f: Pull complete [2021-06-09T00:25:45.136Z] 54011a49482f: Pull complete [2021-06-09T00:25:45.708Z] a6820b24f6d8: Pull complete [2021-06-09T00:25:45.970Z] f581987b2513: Pull complete [2021-06-09T00:25:45.970Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T00:25:45.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T00:25:45.970Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T00:25:46.105Z] prd-centos7-docker-4c-2g-1099 does not seem to be running inside a container [2021-06-09T00:25:46.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-108 -v /w/workspace/gexfoundry_device-snmp-go_PR-108:/w/workspace/gexfoundry_device-snmp-go_PR-108:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-108@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-108@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-09T00:25:47.179Z] $ docker top 66899e392eca8c530f334c5e641e917d2a68cd95cbdcea794a3b55dc6077c3eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T00:25:47.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T00:25:47.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T00:25:47.538Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T00:25:47.537Z] $ docker exec 66899e392eca8c530f334c5e641e917d2a68cd95cbdcea794a3b55dc6077c3eb ssh-agent [2021-06-09T00:25:47.662Z] SSH_AUTH_SOCK=/tmp/ssh-SCoo09sTG89K/agent.15 [2021-06-09T00:25:47.662Z] SSH_AGENT_PID=21 [2021-06-09T00:25:47.673Z] Running ssh-add (command line suppressed) [2021-06-09T00:25:47.779Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/private_key_1996003992846495319.key (/w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/private_key_1996003992846495319.key) [2021-06-09T00:25:47.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T00:25:48.146Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T00:25:48.170Z] $ docker exec --env ******** --env ******** 66899e392eca8c530f334c5e641e917d2a68cd95cbdcea794a3b55dc6077c3eb ssh-agent -k [2021-06-09T00:25:48.281Z] unset SSH_AUTH_SOCK; [2021-06-09T00:25:48.282Z] unset SSH_AGENT_PID; [2021-06-09T00:25:48.282Z] echo Agent pid 21 killed; [2021-06-09T00:25:48.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T00:25:48.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T00:25:48.385Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T00:25:48.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T00:25:48.509Z] $ docker exec 66899e392eca8c530f334c5e641e917d2a68cd95cbdcea794a3b55dc6077c3eb ssh-agent [2021-06-09T00:25:50.813Z] SSH_AUTH_SOCK=/tmp/ssh-0LIwmiqykKdL/agent.52 [2021-06-09T00:25:50.813Z] SSH_AGENT_PID=58 [2021-06-09T00:25:50.821Z] Running ssh-add (command line suppressed) [2021-06-09T00:25:50.916Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/private_key_4281570586367256378.key (/w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/private_key_4281570586367256378.key) [2021-06-09T00:25:50.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T00:25:51.315Z] + git semver init [2021-06-09T00:25:51.315Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T00:25:51.315Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-108/.git [2021-06-09T00:25:51.315Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-108 [2021-06-09T00:25:51.315Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T00:25:51.315Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T00:25:51.315Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T00:25:51.315Z] # $SEMVER_BRANCH = PR-108 [2021-06-09T00:25:51.315Z] # $SEMVER_TEMP = /tmp/semver-696757292 [2021-06-09T00:25:51.315Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-09T00:25:51.891Z] # '/tmp/semver-696757292' -> '/w/workspace/gexfoundry_device-snmp-go_PR-108/.semver' [2021-06-09T00:25:51.891Z] # -> Force: false [2021-06-09T00:25:51.891Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-108/.semver [Pipeline] } [2021-06-09T00:25:51.908Z] $ docker exec --env ******** --env ******** 66899e392eca8c530f334c5e641e917d2a68cd95cbdcea794a3b55dc6077c3eb ssh-agent -k [2021-06-09T00:25:52.021Z] unset SSH_AUTH_SOCK; [2021-06-09T00:25:52.021Z] unset SSH_AGENT_PID; [2021-06-09T00:25:52.021Z] echo Agent pid 58 killed; [2021-06-09T00:25:52.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T00:25:52.471Z] + git semver [Pipeline] } [2021-06-09T00:25:52.508Z] $ docker stop --time=1 66899e392eca8c530f334c5e641e917d2a68cd95cbdcea794a3b55dc6077c3eb [2021-06-09T00:25:53.759Z] $ docker rm -f 66899e392eca8c530f334c5e641e917d2a68cd95cbdcea794a3b55dc6077c3eb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:25:54.185Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T00:25:54.553Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T00:25:54.574Z] [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] node [Pipeline] node [2021-06-09T00:26:10.209Z] Still waiting to schedule task [2021-06-09T00:26:10.209Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-09T00:26:10.209Z] Still waiting to schedule task [2021-06-09T00:26:10.210Z] ‘prd-centos7-docker-4c-2g-1088’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-09T00:26:10.210Z] ‘prd-ubuntu18.04-docker-8c-8g-1093’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-09T00:26:10.210Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1090’ is offline [2021-06-09T00:26:10.210Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1100’ is offline [2021-06-09T00:28:29.587Z] Running on prd-centos7-docker-4c-2g-1101 in /w/workspace/gexfoundry_device-snmp-go_PR-108 [Pipeline] { [Pipeline] ws [2021-06-09T00:28:29.663Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-09T00:28:29.904Z] Selected Git installation does not exist. Using Default [2021-06-09T00:28:29.905Z] The recommended git tool is: NONE [2021-06-09T00:28:34.279Z] using credential edgex-jenkins-ssh [2021-06-09T00:28:34.292Z] Cloning the remote Git repository [2021-06-09T00:28:34.309Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-09T00:28:34.381Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-09T00:28:34.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-09T00:28:34.413Z] > git --version # timeout=10 [2021-06-09T00:28:34.422Z] > git --version # 'git version 2.24.4' [2021-06-09T00:28:34.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:28:34.442Z] [INFO] Currently running in a labeled security context [2021-06-09T00:28:34.443Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:28:34.443Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh5200731499124670581.key [2021-06-09T00:28:34.458Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:28:35.396Z] Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [2021-06-09T00:28:35.498Z] Merge succeeded, producing a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [2021-06-09T00:28:35.499Z] Checking out Revision a95e588fa9c3c0bf012c4fce510aa2db11afcad9 (PR-108) [2021-06-09T00:28:34.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-09T00:28:34.950Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:28:34.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-09T00:28:34.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-09T00:28:34.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:28:34.973Z] [INFO] Currently running in a labeled security context [2021-06-09T00:28:34.973Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:28:34.973Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh8375300124708790183.key [2021-06-09T00:28:34.982Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T00:28:35.400Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:28:35.409Z] > git checkout -f a95e588fa9c3c0bf012c4fce510aa2db11afcad9 # timeout=10 [2021-06-09T00:28:35.440Z] > git remote # timeout=10 [2021-06-09T00:28:35.450Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T00:28:35.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:28:35.461Z] [INFO] Currently running in a labeled security context [2021-06-09T00:28:35.461Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T00:28:35.462Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3738818549811702013.key [2021-06-09T00:28:35.473Z] > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 [2021-06-09T00:28:35.484Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T00:28:35.498Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:28:35.508Z] > git checkout -f a95e588fa9c3c0bf012c4fce510aa2db11afcad9 # timeout=10 [2021-06-09T00:28:39.141Z] Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" [2021-06-09T00:28:39.178Z] > git --version # timeout=10 [2021-06-09T00:28:39.194Z] > git --version # 'git version 2.24.4' [2021-06-09T00:28:39.202Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:28:40.258Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:28:40.596Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:28:40.920Z] + true [2021-06-09T00:28:40.920Z] + sudo service docker restart [2021-06-09T00:28:40.920Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:28:59.275Z] provisioning config files... [2021-06-09T00:28:59.292Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8902054462525446203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:28:59.683Z] ---> docker-login.sh [2021-06-09T00:28:59.683Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:28:59.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:29:00.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:29:00.209Z] Configure a credential helper to remove this warning. See [2021-06-09T00:29:00.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:29:00.209Z] [2021-06-09T00:29:00.209Z] Login Succeeded [2021-06-09T00:29:00.209Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:29:00.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:29:00.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:29:00.209Z] Configure a credential helper to remove this warning. See [2021-06-09T00:29:00.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:29:00.209Z] [2021-06-09T00:29:00.209Z] Login Succeeded [2021-06-09T00:29:00.209Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:29:00.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:29:00.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:29:00.472Z] Configure a credential helper to remove this warning. See [2021-06-09T00:29:00.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:29:00.472Z] [2021-06-09T00:29:00.472Z] Login Succeeded [2021-06-09T00:29:00.472Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:29:00.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:29:00.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:29:00.472Z] Configure a credential helper to remove this warning. See [2021-06-09T00:29:00.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:29:00.472Z] [2021-06-09T00:29:00.472Z] Login Succeeded [2021-06-09T00:29:00.472Z] docker.io [2021-06-09T00:29:00.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:29:00.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:29:00.998Z] Configure a credential helper to remove this warning. See [2021-06-09T00:29:00.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:29:00.998Z] [2021-06-09T00:29:00.998Z] Login Succeeded [2021-06-09T00:29:00.998Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T00:29:01.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T00:29:01.283Z] ========================================================= [2021-06-09T00:29:01.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T00:29:01.283Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:29:01.639Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-09T00:29:01.639Z] Sending build context to Docker daemon 370.2kB [2021-06-09T00:29:01.639Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:29:01.639Z] Step 2/10 : FROM ${BASE} [2021-06-09T00:29:01.639Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T00:29:01.639Z] 540db60ca938: Pulling fs layer [2021-06-09T00:29:01.639Z] adcc1eea9eea: Pulling fs layer [2021-06-09T00:29:01.639Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T00:29:01.639Z] 0510c868ecb4: Pulling fs layer [2021-06-09T00:29:01.639Z] afea3b2eda06: Pulling fs layer [2021-06-09T00:29:01.639Z] 7809a108b3ef: Pulling fs layer [2021-06-09T00:29:01.639Z] f706445af74f: Pulling fs layer [2021-06-09T00:29:01.639Z] 0510c868ecb4: Waiting [2021-06-09T00:29:01.639Z] afea3b2eda06: Waiting [2021-06-09T00:29:01.639Z] 7809a108b3ef: Waiting [2021-06-09T00:29:01.639Z] f706445af74f: Waiting [2021-06-09T00:29:01.639Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T00:29:01.639Z] 4c4ab2625f07: Download complete [2021-06-09T00:29:01.902Z] adcc1eea9eea: Verifying Checksum [2021-06-09T00:29:01.902Z] adcc1eea9eea: Download complete [2021-06-09T00:29:01.902Z] afea3b2eda06: Verifying Checksum [2021-06-09T00:29:01.902Z] afea3b2eda06: Download complete [2021-06-09T00:29:01.902Z] 7809a108b3ef: Verifying Checksum [2021-06-09T00:29:01.902Z] 7809a108b3ef: Download complete [2021-06-09T00:29:01.902Z] 540db60ca938: Verifying Checksum [2021-06-09T00:29:01.902Z] 540db60ca938: Download complete [2021-06-09T00:29:02.172Z] 540db60ca938: Pull complete [2021-06-09T00:29:02.172Z] adcc1eea9eea: Pull complete [2021-06-09T00:29:02.437Z] 4c4ab2625f07: Pull complete [2021-06-09T00:29:03.385Z] f706445af74f: Verifying Checksum [2021-06-09T00:29:03.385Z] f706445af74f: Download complete [2021-06-09T00:29:03.959Z] 0510c868ecb4: Verifying Checksum [2021-06-09T00:29:03.959Z] 0510c868ecb4: Download complete [2021-06-09T00:29:07.284Z] 0510c868ecb4: Pull complete [2021-06-09T00:29:07.284Z] afea3b2eda06: Pull complete [2021-06-09T00:29:07.546Z] 7809a108b3ef: Pull complete [2021-06-09T00:29:08.943Z] f706445af74f: Pull complete [2021-06-09T00:29:08.943Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T00:29:08.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T00:29:08.943Z] ---> b068be0155e3 [2021-06-09T00:29:08.943Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T00:29:14.244Z] ---> Running in 390d559bd7e3 [2021-06-09T00:29:14.244Z] Removing intermediate container 390d559bd7e3 [2021-06-09T00:29:14.244Z] ---> 20443794bda9 [2021-06-09T00:29:14.244Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T00:29:14.244Z] ---> Running in 240b5cf26194 [2021-06-09T00:29:14.244Z] Removing intermediate container 240b5cf26194 [2021-06-09T00:29:14.244Z] ---> 6635749a80cb [2021-06-09T00:29:14.244Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-09T00:29:14.244Z] ---> Running in e892eea109d5 [2021-06-09T00:29:14.244Z] Removing intermediate container e892eea109d5 [2021-06-09T00:29:14.244Z] ---> 6cd79605b4d1 [2021-06-09T00:29:14.244Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:29:14.244Z] ---> Running in d9a794d6b74e [2021-06-09T00:29:14.508Z] Removing intermediate container d9a794d6b74e [2021-06-09T00:29:14.508Z] ---> aa21384d8164 [2021-06-09T00:29:14.508Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T00:29:14.508Z] ---> Running in ddb76edb0871 [2021-06-09T00:29:14.772Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:29:17.827Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:29:17.827Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-09T00:29:17.827Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-09T00:29:17.827Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-09T00:29:17.827Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-09T00:29:17.827Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-09T00:29:17.827Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-09T00:29:17.827Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-09T00:29:17.827Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-09T00:29:17.827Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-09T00:29:17.827Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-09T00:29:17.827Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-09T00:29:17.827Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-09T00:29:17.827Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-09T00:29:17.827Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T00:29:17.827Z] OK: 156 MiB in 53 packages [2021-06-09T00:29:17.827Z] Removing intermediate container ddb76edb0871 [2021-06-09T00:29:17.827Z] ---> 45741339f3e3 [2021-06-09T00:29:17.827Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-09T00:29:17.827Z] ---> Running in 42526de957da [2021-06-09T00:29:17.827Z] Removing intermediate container 42526de957da [2021-06-09T00:29:17.827Z] ---> 416d1559f1fe [2021-06-09T00:29:17.827Z] Step 9/10 : COPY . . [2021-06-09T00:29:18.091Z] ---> 547490d18dee [2021-06-09T00:29:18.091Z] Step 10/10 : RUN go mod download [2021-06-09T00:29:18.091Z] ---> Running in b0907eb8a538 [2021-06-09T00:29:30.556Z] Removing intermediate container b0907eb8a538 [2021-06-09T00:29:30.556Z] ---> 449842306df0 [2021-06-09T00:29:30.556Z] Successfully built 449842306df0 [2021-06-09T00:29:30.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:29:31.015Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T00:29:31.015Z] . [Pipeline] withDockerContainer [2021-06-09T00:29:31.127Z] prd-centos7-docker-4c-2g-1101 does not seem to be running inside a container [2021-06-09T00:29:33.333Z] $ 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-x86_64 cat [2021-06-09T00:29:33.686Z] $ docker top 742dff1bd974e9565935d82662f68c12e361b600b73172dcac2ea5702c349328 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:29:34.117Z] + go version [2021-06-09T00:29:34.117Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T00:29:34.146Z] $ docker stop --time=1 742dff1bd974e9565935d82662f68c12e361b600b73172dcac2ea5702c349328 [2021-06-09T00:29:38.328Z] $ docker rm -f 742dff1bd974e9565935d82662f68c12e361b600b73172dcac2ea5702c349328 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:29:39.132Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T00:29:39.132Z] . [Pipeline] withDockerContainer [2021-06-09T00:29:39.225Z] prd-centos7-docker-4c-2g-1101 does not seem to be running inside a container [2021-06-09T00:29:39.271Z] $ 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-x86_64 cat [2021-06-09T00:29:39.612Z] $ docker top 25264642c5a47307a69288b1ab7ff3922e23b756e2d485c3a8d6ada00778067b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:29:42.229Z] + go mod tidy [Pipeline] sh [2021-06-09T00:29:44.850Z] + make test [2021-06-09T00:29:44.850Z] go mod tidy [2021-06-09T00:29:44.850Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-09T00:29:44.850Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-09T00:29:53.559Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1102 in /w/workspace/gexfoundry_device-snmp-go_PR-108 [Pipeline] { [Pipeline] ws [2021-06-09T00:29:53.622Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-09T00:29:53.886Z] Selected Git installation does not exist. Using Default [2021-06-09T00:29:53.886Z] The recommended git tool is: NONE [2021-06-09T00:29:57.845Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-09T00:29:57.845Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-06-09T00:29:57.845Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-09T00:30:05.722Z] gofmt -l . [2021-06-09T00:30:05.722Z] [ "`gofmt -l .`" = "" ] [2021-06-09T00:30:05.722Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-09T00:30:05.778Z] $ docker stop --time=1 25264642c5a47307a69288b1ab7ff3922e23b756e2d485c3a8d6ada00778067b [2021-06-09T00:30:08.264Z] $ docker rm -f 25264642c5a47307a69288b1ab7ff3922e23b756e2d485c3a8d6ada00778067b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:30:11.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T00:30:13.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-09T00:30:19.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T00:30:21.748Z] using credential edgex-jenkins-ssh [2021-06-09T00:30:21.770Z] Cloning the remote Git repository [2021-06-09T00:30:21.885Z] + ls -al . [2021-06-09T00:30:21.885Z] total 104 [2021-06-09T00:30:21.885Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 9 00:30 . [2021-06-09T00:30:21.885Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 00:28 .. [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 9 00:28 Attribution.txt [2021-06-09T00:30:21.885Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 9 00:28 bin [2021-06-09T00:30:21.885Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 9 00:28 cmd [2021-06-09T00:30:21.885Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 9 00:29 coverage.out [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 9 00:28 Dockerfile [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 9 00:28 Dockerfile.build [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 9 00:28 .dockerignore [2021-06-09T00:30:21.885Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 00:28 .git [2021-06-09T00:30:21.885Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 00:28 .github [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 9 00:28 .gitignore [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 00:28 go.mod [2021-06-09T00:30:21.885Z] -rw-r--r--. 1 jenkins jenkins 21016 Jun 9 00:29 go.sum [2021-06-09T00:30:21.885Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 9 00:28 internal [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 9 00:28 Jenkinsfile [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 9 00:28 LICENSE [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 9 00:28 Makefile [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 9 00:28 README.md [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 00:25 VERSION [2021-06-09T00:30:21.885Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 9 00:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:30:22.243Z] + 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=a95e588fa9c3c0bf012c4fce510aa2db11afcad9 --label arch=amd64 --label version=0.0.0 . [2021-06-09T00:30:22.243Z] Sending build context to Docker daemon 378.4kB [2021-06-09T00:30:22.243Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:30:22.243Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-09T00:30:22.243Z] ---> 449842306df0 [2021-06-09T00:30:22.243Z] Step 3/24 : ARG MAKE='make build' [2021-06-09T00:30:22.243Z] ---> Running in d6d94249de43 [2021-06-09T00:30:22.504Z] Removing intermediate container d6d94249de43 [2021-06-09T00:30:22.504Z] ---> 3507d0e8689e [2021-06-09T00:30:22.504Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T00:30:22.504Z] ---> Running in 5bf89e5fbbbd [2021-06-09T00:30:22.504Z] Removing intermediate container 5bf89e5fbbbd [2021-06-09T00:30:22.504Z] ---> ba95cfe715aa [2021-06-09T00:30:22.504Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T00:30:22.504Z] ---> Running in bbc35a9680a5 [2021-06-09T00:30:22.504Z] Removing intermediate container bbc35a9680a5 [2021-06-09T00:30:22.504Z] ---> c15aacc7cea4 [2021-06-09T00:30:22.505Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:30:22.505Z] ---> Running in ed0fd898b18d [2021-06-09T00:30:21.830Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-09T00:30:21.956Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-09T00:30:22.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-09T00:30:22.027Z] > git --version # timeout=10 [2021-06-09T00:30:22.049Z] > git --version # 'git version 2.17.1' [2021-06-09T00:30:22.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:30:22.122Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:30:22.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-09T00:30:22.808Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T00:30:22.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-09T00:30:24.994Z] Removing intermediate container ed0fd898b18d [2021-06-09T00:30:24.994Z] ---> 1df484781b9a [2021-06-09T00:30:24.994Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T00:30:24.994Z] ---> Running in b77d201c8170 [2021-06-09T00:30:24.994Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:30:24.994Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:30:24.994Z] OK: 156 MiB in 53 packages [2021-06-09T00:30:24.994Z] Removing intermediate container b77d201c8170 [2021-06-09T00:30:24.994Z] ---> d85cbc812699 [2021-06-09T00:30:24.994Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-09T00:30:24.994Z] ---> Running in fe3cc46b433d [2021-06-09T00:30:24.994Z] Removing intermediate container fe3cc46b433d [2021-06-09T00:30:24.994Z] ---> 1e01d167949b [2021-06-09T00:30:24.994Z] Step 9/24 : COPY . . [2021-06-09T00:30:25.274Z] ---> c5c414cb864d [2021-06-09T00:30:25.274Z] Step 10/24 : RUN go mod tidy [2021-06-09T00:30:25.274Z] ---> Running in 2ff7b93ec19c [2021-06-09T00:30:25.572Z] Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [2021-06-09T00:30:25.765Z] Merge succeeded, producing a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [2021-06-09T00:30:25.765Z] Checking out Revision a95e588fa9c3c0bf012c4fce510aa2db11afcad9 (PR-108) [2021-06-09T00:30:25.851Z] Removing intermediate container 2ff7b93ec19c [2021-06-09T00:30:25.851Z] ---> de0344bd3534 [2021-06-09T00:30:25.851Z] Step 11/24 : RUN make update [2021-06-09T00:30:25.851Z] ---> Running in 5929ed38a4ec [2021-06-09T00:30:24.997Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-09T00:30:24.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:30:25.012Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T00:30:25.593Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:30:25.607Z] > git checkout -f a95e588fa9c3c0bf012c4fce510aa2db11afcad9 # timeout=10 [2021-06-09T00:30:25.679Z] > git remote # timeout=10 [2021-06-09T00:30:25.695Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T00:30:25.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T00:30:25.722Z] > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 [2021-06-09T00:30:25.750Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T00:30:25.773Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T00:30:25.787Z] > git checkout -f a95e588fa9c3c0bf012c4fce510aa2db11afcad9 # timeout=10 [2021-06-09T00:30:28.145Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-09T00:30:28.145Z] Removing intermediate container 5929ed38a4ec [2021-06-09T00:30:28.145Z] ---> 86a758d274fd [2021-06-09T00:30:28.145Z] Step 12/24 : RUN ${MAKE} [2021-06-09T00:30:28.145Z] ---> Running in bc250c4f9b15 [2021-06-09T00:30:28.145Z] go mod tidy [2021-06-09T00:30:28.145Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-09T00:30:34.264Z] Commit message: "refactor: Change PublishTopicPrefix value to be 'edgex/events/device'" [2021-06-09T00:30:34.322Z] > git --version # timeout=10 [2021-06-09T00:30:34.340Z] > git --version # 'git version 2.17.1' [2021-06-09T00:30:34.351Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:30:39.470Z] Removing intermediate container bc250c4f9b15 [2021-06-09T00:30:39.470Z] ---> 5a0e666fcedc [2021-06-09T00:30:39.470Z] Step 13/24 : FROM alpine:3.12 [2021-06-09T00:30:39.470Z] 3.12: Pulling from library/alpine [2021-06-09T00:30:39.470Z] 339de151aab4: Pulling fs layer [2021-06-09T00:30:39.470Z] 339de151aab4: Verifying Checksum [2021-06-09T00:30:39.470Z] 339de151aab4: Download complete [2021-06-09T00:30:39.470Z] 339de151aab4: Pull complete [2021-06-09T00:30:39.470Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T00:30:39.470Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T00:30:39.470Z] ---> 13621d1b12d4 [2021-06-09T00:30:39.470Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-09T00:30:39.470Z] ---> Running in f499a7969afb [2021-06-09T00:30:39.470Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T00:30:39.470Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T00:30:39.470Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-09T00:30:39.470Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-09T00:30:39.470Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-09T00:30:39.470Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-09T00:30:39.470Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-09T00:30:39.470Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-09T00:30:39.470Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T00:30:39.470Z] OK: 8 MiB in 20 packages [2021-06-09T00:30:39.470Z] Removing intermediate container f499a7969afb [2021-06-09T00:30:39.470Z] ---> 0eff7efcab52 [2021-06-09T00:30:39.470Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-09T00:30:39.983Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-09T00:30:40.048Z] ---> 79d1851a86c6 [2021-06-09T00:30:40.048Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-09T00:30:40.048Z] ---> b7247fcc4b54 [2021-06-09T00:30:40.048Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [Pipeline] sh [2021-06-09T00:30:40.318Z] ---> fdb12e8bb91e [2021-06-09T00:30:40.318Z] Step 18/24 : EXPOSE 59993 [2021-06-09T00:30:40.318Z] ---> Running in d9c33820155e [2021-06-09T00:30:40.318Z] Removing intermediate container d9c33820155e [2021-06-09T00:30:40.318Z] ---> 60a65949b2a8 [2021-06-09T00:30:40.318Z] Step 19/24 : EXPOSE 161 [2021-06-09T00:30:40.318Z] ---> Running in 37e068dabe46 [2021-06-09T00:30:40.318Z] Removing intermediate container 37e068dabe46 [2021-06-09T00:30:40.318Z] ---> b41afb8baee3 [2021-06-09T00:30:40.318Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-09T00:30:40.440Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T00:30:40.595Z] ---> Running in 30227a15224a [2021-06-09T00:30:40.595Z] Removing intermediate container 30227a15224a [2021-06-09T00:30:40.595Z] ---> 699e2acfe3ca [2021-06-09T00:30:40.595Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-09T00:30:40.595Z] ---> Running in f26bc820209f [2021-06-09T00:30:40.595Z] Removing intermediate container f26bc820209f [2021-06-09T00:30:40.595Z] ---> bbba1e5abc5c [2021-06-09T00:30:40.595Z] Step 22/24 : LABEL arch=amd64 [2021-06-09T00:30:40.595Z] ---> Running in 9a999ebc188c [2021-06-09T00:30:44.865Z] Removing intermediate container 9a999ebc188c [2021-06-09T00:30:44.865Z] ---> 31887daf7484 [2021-06-09T00:30:44.865Z] Step 23/24 : LABEL git_sha=a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [2021-06-09T00:30:44.865Z] ---> Running in c68c86195be3 [2021-06-09T00:30:44.865Z] Removing intermediate container c68c86195be3 [2021-06-09T00:30:44.865Z] ---> f6a3701048ed [2021-06-09T00:30:44.865Z] Step 24/24 : LABEL version=0.0.0 [2021-06-09T00:30:44.865Z] ---> Running in bd8cb997f350 [2021-06-09T00:30:44.865Z] Removing intermediate container bd8cb997f350 [2021-06-09T00:30:44.865Z] ---> 3c50db99ebf0 [2021-06-09T00:30:44.865Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-09T00:30:44.865Z] Successfully built 3c50db99ebf0 [2021-06-09T00:30:44.865Z] Successfully tagged device-snmp:latest [2021-06-09T00:30:44.877Z] + + truesudo [2021-06-09T00:30:44.877Z] service docker restart [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] libraryResource [Pipeline] sh [2021-06-09T00:30:49.991Z] ---> job-cost.sh [2021-06-09T00:30:49.991Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HF9N [2021-06-09T00:31:00.058Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:31:00.263Z] provisioning config files... [2021-06-09T00:31:00.296Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8820307632043805467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:31:00.805Z] ---> docker-login.sh [2021-06-09T00:31:00.805Z] nexus3.edgexfoundry.org:10001 [2021-06-09T00:31:04.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:31:04.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:31:04.878Z] Configure a credential helper to remove this warning. See [2021-06-09T00:31:04.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:31:04.878Z] [2021-06-09T00:31:04.878Z] Login Succeeded [2021-06-09T00:31:04.878Z] nexus3.edgexfoundry.org:10002 [2021-06-09T00:31:04.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:31:04.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:31:04.878Z] Configure a credential helper to remove this warning. See [2021-06-09T00:31:04.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:31:04.878Z] [2021-06-09T00:31:04.878Z] Login Succeeded [2021-06-09T00:31:04.879Z] nexus3.edgexfoundry.org:10003 [2021-06-09T00:31:04.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:31:04.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:31:04.879Z] Configure a credential helper to remove this warning. See [2021-06-09T00:31:04.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:31:04.879Z] [2021-06-09T00:31:04.879Z] Login Succeeded [2021-06-09T00:31:04.879Z] nexus3.edgexfoundry.org:10004 [2021-06-09T00:31:04.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:31:04.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:31:04.879Z] Configure a credential helper to remove this warning. See [2021-06-09T00:31:04.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:31:04.879Z] [2021-06-09T00:31:04.879Z] Login Succeeded [2021-06-09T00:31:04.879Z] docker.io [2021-06-09T00:31:04.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T00:31:04.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T00:31:04.879Z] Configure a credential helper to remove this warning. See [2021-06-09T00:31:04.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T00:31:04.879Z] [2021-06-09T00:31:04.879Z] Login Succeeded [2021-06-09T00:31:04.879Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T00:31:04.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T00:31:08.124Z] ========================================================= [2021-06-09T00:31:08.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T00:31:08.124Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:31:10.788Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-09T00:31:10.788Z] Sending build context to Docker daemon 369.2kB [2021-06-09T00:31:10.788Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:31:10.788Z] Step 2/10 : FROM ${BASE} [2021-06-09T00:31:10.788Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T00:31:10.788Z] 595b0fe564bb: Pulling fs layer [2021-06-09T00:31:10.788Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T00:31:10.788Z] 316046926c0a: Pulling fs layer [2021-06-09T00:31:10.788Z] 4ebd0625c992: Pulling fs layer [2021-06-09T00:31:10.788Z] 207e8628e3a3: Pulling fs layer [2021-06-09T00:31:10.788Z] c791037a9be2: Pulling fs layer [2021-06-09T00:31:10.788Z] ffd874e62e21: Pulling fs layer [2021-06-09T00:31:10.788Z] 207e8628e3a3: Waiting [2021-06-09T00:31:10.788Z] c791037a9be2: Waiting [2021-06-09T00:31:10.788Z] ffd874e62e21: Waiting [2021-06-09T00:31:10.788Z] 4ebd0625c992: Waiting [2021-06-09T00:31:10.788Z] 316046926c0a: Verifying Checksum [2021-06-09T00:31:10.788Z] 316046926c0a: Download complete [2021-06-09T00:31:10.788Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T00:31:10.788Z] 7186ed65a4f7: Download complete [2021-06-09T00:31:10.788Z] 207e8628e3a3: Download complete [2021-06-09T00:31:10.788Z] c791037a9be2: Verifying Checksum [2021-06-09T00:31:10.788Z] c791037a9be2: Download complete [2021-06-09T00:31:10.788Z] 595b0fe564bb: Verifying Checksum [2021-06-09T00:31:10.788Z] 595b0fe564bb: Download complete [2021-06-09T00:31:10.788Z] 595b0fe564bb: Pull complete [2021-06-09T00:31:10.788Z] 7186ed65a4f7: Pull complete [2021-06-09T00:31:11.403Z] 316046926c0a: Pull complete [2021-06-09T00:31:11.550Z] lf-activate-venv(): INFO: Adding /tmp/venv-HF9N/bin to PATH [2021-06-09T00:31:11.550Z] INFO: No Stack... [2021-06-09T00:31:11.688Z] ffd874e62e21: Verifying Checksum [2021-06-09T00:31:11.688Z] ffd874e62e21: Download complete [2021-06-09T00:31:12.142Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T00:31:12.406Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T00:31:12.691Z] 4ebd0625c992: Verifying Checksum [2021-06-09T00:31:12.691Z] 4ebd0625c992: Download complete [2021-06-09T00:31:12.765Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-06-09T00:31:12.765Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T00:31:12.849Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-108-1-stack-cost] [2021-06-09T00:31:12.866Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-108-1-stack-cost] did not exist. Created. [2021-06-09T00:31:12.866Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-108-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T00:31:15.514Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T00:31:17.705Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T00:31:17.788Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-108-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T00:31:24.588Z] 4ebd0625c992: Pull complete [2021-06-09T00:31:24.588Z] 207e8628e3a3: Pull complete [2021-06-09T00:31:24.588Z] c791037a9be2: Pull complete [2021-06-09T00:31:29.529Z] ffd874e62e21: Pull complete [2021-06-09T00:31:29.529Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T00:31:29.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T00:31:29.529Z] ---> cfc18b08335c [2021-06-09T00:31:29.529Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T00:31:29.529Z] ---> Running in a57d522316dc [2021-06-09T00:31:29.529Z] Removing intermediate container a57d522316dc [2021-06-09T00:31:29.529Z] ---> 1e311053665c [2021-06-09T00:31:29.529Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T00:31:29.529Z] ---> Running in 99a619e53651 [2021-06-09T00:31:31.910Z] Removing intermediate container 99a619e53651 [2021-06-09T00:31:31.910Z] ---> 142f1c5830c6 [2021-06-09T00:31:31.910Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-09T00:31:31.910Z] ---> Running in 21fad00b98fa [2021-06-09T00:31:31.910Z] Removing intermediate container 21fad00b98fa [2021-06-09T00:31:31.910Z] ---> a5e0eb351a66 [2021-06-09T00:31:31.910Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:31:31.910Z] ---> Running in 99415667e96d [2021-06-09T00:31:34.754Z] Removing intermediate container 99415667e96d [2021-06-09T00:31:34.754Z] ---> 9500472767c0 [2021-06-09T00:31:34.754Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T00:31:34.754Z] ---> Running in ec4355b16d1d [2021-06-09T00:31:34.754Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:31:39.647Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:31:39.925Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-09T00:31:39.925Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-09T00:31:39.925Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-09T00:31:39.925Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-09T00:31:39.925Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-09T00:31:39.925Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-09T00:31:39.925Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-09T00:31:39.925Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-09T00:31:39.925Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-09T00:31:39.925Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-09T00:31:39.925Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-09T00:31:39.925Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-09T00:31:39.925Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-09T00:31:39.925Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T00:31:39.925Z] OK: 145 MiB in 53 packages [2021-06-09T00:31:39.925Z] Removing intermediate container ec4355b16d1d [2021-06-09T00:31:39.925Z] ---> 620053df26f3 [2021-06-09T00:31:39.925Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-09T00:31:40.198Z] ---> Running in 70569e49c024 [2021-06-09T00:31:40.469Z] Removing intermediate container 70569e49c024 [2021-06-09T00:31:40.469Z] ---> c88e30d98414 [2021-06-09T00:31:40.469Z] Step 9/10 : COPY . . [2021-06-09T00:31:41.448Z] ---> d2bb11a165f6 [2021-06-09T00:31:41.448Z] Step 10/10 : RUN go mod download [2021-06-09T00:31:41.720Z] ---> Running in 54c809c81c35 [2021-06-09T00:32:06.862Z] Removing intermediate container 54c809c81c35 [2021-06-09T00:32:06.862Z] ---> e5d3186a4681 [2021-06-09T00:32:06.862Z] Successfully built e5d3186a4681 [2021-06-09T00:32:06.862Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:32:07.274Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T00:32:07.274Z] . [Pipeline] withDockerContainer [2021-06-09T00:32:07.568Z] prd-ubuntu18.04-docker-arm64-4c-16g-1102 does not seem to be running inside a container [2021-06-09T00:32:07.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T00:32:09.338Z] $ docker top b1112adaf5e184e0a06ea98d1b88304248c1f1d2fe614a0d01695560f250dbfe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:32:12.076Z] + go version [2021-06-09T00:32:12.076Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T00:32:12.129Z] $ docker stop --time=1 b1112adaf5e184e0a06ea98d1b88304248c1f1d2fe614a0d01695560f250dbfe [2021-06-09T00:32:14.046Z] $ docker rm -f b1112adaf5e184e0a06ea98d1b88304248c1f1d2fe614a0d01695560f250dbfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:32:15.092Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T00:32:15.092Z] . [Pipeline] withDockerContainer [2021-06-09T00:32:15.367Z] prd-ubuntu18.04-docker-arm64-4c-16g-1102 does not seem to be running inside a container [2021-06-09T00:32:15.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T00:32:16.979Z] $ docker top 7b3b59ed15845ffaec5a155c6184013471944e2cfe2b09c4215522d36dd907d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:32:17.962Z] + go mod tidy [Pipeline] sh [2021-06-09T00:32:19.257Z] + make test [2021-06-09T00:32:19.257Z] go mod tidy [2021-06-09T00:32:21.521Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-09T00:32:21.521Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-09T00:33:09.111Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-09T00:33:09.111Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements [2021-06-09T00:33:09.111Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-09T00:33:40.644Z] gofmt -l . [2021-06-09T00:33:40.644Z] [ "`gofmt -l .`" = "" ] [2021-06-09T00:33:40.644Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-09T00:33:40.746Z] $ docker stop --time=1 7b3b59ed15845ffaec5a155c6184013471944e2cfe2b09c4215522d36dd907d3 [2021-06-09T00:33:44.679Z] $ docker rm -f 7b3b59ed15845ffaec5a155c6184013471944e2cfe2b09c4215522d36dd907d3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T00:33:49.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T00:33:50.045Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T00:33:53.539Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T00:33:58.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T00:34:01.020Z] + ls -al . [2021-06-09T00:34:01.020Z] total 128 [2021-06-09T00:34:01.020Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 9 00:33 . [2021-06-09T00:34:01.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 00:30 .. [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 9 00:30 .dockerignore [2021-06-09T00:34:01.020Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 00:30 .git [2021-06-09T00:34:01.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 00:30 .github [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 9 00:30 .gitignore [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 9 00:30 Attribution.txt [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 9 00:30 Dockerfile [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 9 00:30 Dockerfile.build [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 9 00:30 Jenkinsfile [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 9 00:30 LICENSE [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 9 00:30 Makefile [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 9 00:30 README.md [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 00:25 VERSION [2021-06-09T00:34:01.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 00:30 bin [2021-06-09T00:34:01.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 00:30 cmd [2021-06-09T00:34:01.020Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 9 00:33 coverage.out [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 00:30 go.mod [2021-06-09T00:34:01.020Z] -rw-r--r-- 1 jenkins jenkins 21016 Jun 9 00:32 go.sum [2021-06-09T00:34:01.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 00:30 internal [2021-06-09T00:34:01.020Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 9 00:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:34:01.479Z] + 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=a95e588fa9c3c0bf012c4fce510aa2db11afcad9 --label arch=arm64 --label version=0.0.0 . [2021-06-09T00:34:04.052Z] Sending build context to Docker daemon 377.3kB [2021-06-09T00:34:04.052Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T00:34:04.052Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-09T00:34:04.052Z] ---> e5d3186a4681 [2021-06-09T00:34:04.052Z] Step 3/24 : ARG MAKE='make build' [2021-06-09T00:34:04.052Z] ---> Running in 3ee971e0aeca [2021-06-09T00:34:04.052Z] Removing intermediate container 3ee971e0aeca [2021-06-09T00:34:04.052Z] ---> f2b809de819e [2021-06-09T00:34:04.052Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T00:34:04.052Z] ---> Running in c1af9830f90d [2021-06-09T00:34:04.052Z] Removing intermediate container c1af9830f90d [2021-06-09T00:34:04.052Z] ---> 6b39bfb0b39b [2021-06-09T00:34:04.052Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T00:34:04.052Z] ---> Running in df7adf4f8968 [2021-06-09T00:34:04.052Z] Removing intermediate container df7adf4f8968 [2021-06-09T00:34:04.052Z] ---> d62379ae5df0 [2021-06-09T00:34:04.052Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T00:34:04.052Z] ---> Running in 9ec98fdfcbaa [2021-06-09T00:34:06.380Z] Removing intermediate container 9ec98fdfcbaa [2021-06-09T00:34:06.380Z] ---> 889d949d4f5f [2021-06-09T00:34:06.380Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T00:34:06.380Z] ---> Running in 756d80f2805a [2021-06-09T00:34:08.954Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:34:08.954Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:34:12.383Z] OK: 145 MiB in 53 packages [2021-06-09T00:34:12.383Z] Removing intermediate container 756d80f2805a [2021-06-09T00:34:12.383Z] ---> 393df75282aa [2021-06-09T00:34:12.383Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-09T00:34:12.383Z] ---> Running in 041c3ad07ba4 [2021-06-09T00:34:12.383Z] Removing intermediate container 041c3ad07ba4 [2021-06-09T00:34:12.383Z] ---> b9335826d7c9 [2021-06-09T00:34:12.383Z] Step 9/24 : COPY . . [2021-06-09T00:34:12.383Z] ---> 304f1ea5313d [2021-06-09T00:34:12.383Z] Step 10/24 : RUN go mod tidy [2021-06-09T00:34:12.383Z] ---> Running in c63cda6415cd [2021-06-09T00:34:14.996Z] Removing intermediate container c63cda6415cd [2021-06-09T00:34:14.996Z] ---> 817592ff6324 [2021-06-09T00:34:14.996Z] Step 11/24 : RUN make update [2021-06-09T00:34:15.320Z] ---> Running in 482fe14e0d89 [2021-06-09T00:34:17.759Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-09T00:34:17.759Z] Removing intermediate container 482fe14e0d89 [2021-06-09T00:34:17.759Z] ---> cfd036ddf4c3 [2021-06-09T00:34:17.759Z] Step 12/24 : RUN ${MAKE} [2021-06-09T00:34:17.759Z] ---> Running in 3277645779cc [2021-06-09T00:34:20.150Z] go mod tidy [2021-06-09T00:34:20.150Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-09T00:34:55.084Z] Removing intermediate container 3277645779cc [2021-06-09T00:34:55.084Z] ---> 86044321cdd9 [2021-06-09T00:34:55.084Z] Step 13/24 : FROM alpine:3.12 [2021-06-09T00:34:55.084Z] 3.12: Pulling from library/alpine [2021-06-09T00:34:55.370Z] d2f70382dc9a: Pulling fs layer [2021-06-09T00:34:55.370Z] d2f70382dc9a: Verifying Checksum [2021-06-09T00:34:55.370Z] d2f70382dc9a: Download complete [2021-06-09T00:34:59.914Z] d2f70382dc9a: Pull complete [2021-06-09T00:34:59.914Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T00:34:59.914Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T00:34:59.914Z] ---> 9852663dfa18 [2021-06-09T00:34:59.914Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-09T00:34:59.914Z] ---> Running in 819f1a2543fe [2021-06-09T00:34:59.914Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T00:34:59.914Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T00:34:59.914Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-09T00:34:59.914Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-09T00:34:59.914Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-09T00:34:59.914Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-09T00:34:59.914Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-09T00:34:59.914Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-09T00:34:59.914Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T00:34:59.914Z] OK: 8 MiB in 20 packages [2021-06-09T00:34:59.914Z] Removing intermediate container 819f1a2543fe [2021-06-09T00:34:59.914Z] ---> 3f3c22f25339 [2021-06-09T00:34:59.914Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-09T00:35:04.798Z] ---> fe1d3be148bf [2021-06-09T00:35:04.798Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-09T00:35:04.798Z] ---> a44d8107ec6b [2021-06-09T00:35:04.798Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-09T00:35:04.798Z] ---> de83ef84bcf7 [2021-06-09T00:35:04.798Z] Step 18/24 : EXPOSE 59993 [2021-06-09T00:35:04.798Z] ---> Running in 84ed4057c7e8 [2021-06-09T00:35:04.798Z] Removing intermediate container 84ed4057c7e8 [2021-06-09T00:35:04.798Z] ---> 97aa0837d7a9 [2021-06-09T00:35:04.798Z] Step 19/24 : EXPOSE 161 [2021-06-09T00:35:04.798Z] ---> Running in 2378ed7bd9e6 [2021-06-09T00:35:04.798Z] Removing intermediate container 2378ed7bd9e6 [2021-06-09T00:35:04.798Z] ---> 1dd70e8b2126 [2021-06-09T00:35:04.798Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-09T00:35:04.798Z] ---> Running in b0b845651362 [2021-06-09T00:35:04.798Z] Removing intermediate container b0b845651362 [2021-06-09T00:35:04.798Z] ---> 62c92f67631e [2021-06-09T00:35:04.798Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-09T00:35:04.798Z] ---> Running in 6a6d1a664299 [2021-06-09T00:35:04.798Z] Removing intermediate container 6a6d1a664299 [2021-06-09T00:35:04.798Z] ---> 31e5e56b3c0b [2021-06-09T00:35:04.798Z] Step 22/24 : LABEL arch=arm64 [2021-06-09T00:35:04.798Z] ---> Running in f0ffd6252b46 [2021-06-09T00:35:05.093Z] Removing intermediate container f0ffd6252b46 [2021-06-09T00:35:05.093Z] ---> d2527e9eb7fb [2021-06-09T00:35:05.093Z] Step 23/24 : LABEL git_sha=a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [2021-06-09T00:35:05.093Z] ---> Running in d2a62e511883 [2021-06-09T00:35:07.570Z] Removing intermediate container d2a62e511883 [2021-06-09T00:35:07.570Z] ---> 687e6d750409 [2021-06-09T00:35:07.570Z] Step 24/24 : LABEL version=0.0.0 [2021-06-09T00:35:07.570Z] ---> Running in 9766263599b8 [2021-06-09T00:35:07.570Z] Removing intermediate container 9766263599b8 [2021-06-09T00:35:07.570Z] ---> 91e581516927 [2021-06-09T00:35:07.570Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-09T00:35:07.570Z] Successfully built 91e581516927 [2021-06-09T00:35:07.570Z] Successfully tagged device-snmp-arm64:latest [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] libraryResource [Pipeline] sh [2021-06-09T00:35:10.692Z] ---> job-cost.sh [2021-06-09T00:35:10.692Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SRAJ [2021-06-09T00:35:51.818Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T00:37:20.422Z] lf-activate-venv(): INFO: Adding /tmp/venv-SRAJ/bin to PATH [2021-06-09T00:37:20.422Z] INFO: No Stack... [2021-06-09T00:37:21.402Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T00:37:23.870Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T00:37:24.287Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-06-09T00:37:24.287Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T00:37:24.398Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-108-1-stack-cost] [2021-06-09T00:37:24.416Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-108-1-stack-cost] did not exist. Created. [2021-06-09T00:37:24.416Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-108-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T00:37:26.848Z] /w/workspace/device-snmp-go/1@tmp/durable-c9d2552d/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-c9d2552d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T00:37:27.379Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T00:37:27.422Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T00:37:29.901Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T00:37:29.938Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-108-1-stack-cost] [Pipeline] // lock [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 [2021-06-09T00:37:37.831Z] provisioning config files... [2021-06-09T00:37:37.840Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/config5475710537589943785tmp [Pipeline] { [Pipeline] sh [2021-06-09T00:37:38.218Z] + set +x [2021-06-09T00:37:38.218Z] + bash -s -- [2021-06-09T00:37:38.218Z] + curl -s https://codecov.io/bash [2021-06-09T00:37:38.218Z] [2021-06-09T00:37:38.218Z] _____ _ [2021-06-09T00:37:38.218Z] / ____| | | [2021-06-09T00:37:38.218Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T00:37:38.218Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T00:37:38.218Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T00:37:38.218Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T00:37:38.219Z] Bash-1.0.3 [2021-06-09T00:37:38.219Z] [2021-06-09T00:37:38.219Z] [2021-06-09T00:37:38.219Z] ==> git version 2.24.4 found [2021-06-09T00:37:38.219Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-09T00:37:38.219Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T00:37:38.219Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T00:37:38.219Z] ==> Jenkins CI detected. [2021-06-09T00:37:38.219Z] project root: . [2021-06-09T00:37:38.219Z] --> token set from env [2021-06-09T00:37:38.219Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T00:37:38.219Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T00:37:38.219Z] ==> Python coveragepy not found [2021-06-09T00:37:38.219Z] ==> Searching for coverage reports in: [2021-06-09T00:37:38.219Z] + . [2021-06-09T00:37:38.219Z] -> Found 1 reports [2021-06-09T00:37:38.219Z] ==> Detecting git/mercurial file structure [2021-06-09T00:37:38.219Z] ==> Reading reports [2021-06-09T00:37:38.219Z] + ./coverage.out bytes=7631 [2021-06-09T00:37:40.661Z] ==> Appending adjustments [2021-06-09T00:37:40.661Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T00:37:40.661Z] + Found adjustments [2021-06-09T00:37:40.661Z] ==> Gzipping contents [2021-06-09T00:37:40.661Z] 4.0K /tmp/codecov.uT2jdZ.gz [2021-06-09T00:37:40.661Z] ==> Uploading reports [2021-06-09T00:37:40.661Z] url: https://codecov.io [2021-06-09T00:37:40.661Z] query: branch=PR-108&commit=a95e588fa9c3c0bf012c4fce510aa2db11afcad9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-108%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=108&job=&cmd_args= [2021-06-09T00:37:40.661Z] -> Pinging Codecov [2021-06-09T00:37:40.661Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-108&commit=a95e588fa9c3c0bf012c4fce510aa2db11afcad9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-108%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=108&job=&cmd_args= [2021-06-09T00:37:40.661Z] -> Uploading to [2021-06-09T00:37:40.661Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/6C56EA5C29638FB4528AC87E60AF5AE0/a95e588fa9c3c0bf012c4fce510aa2db11afcad9/aaef854b-6eda-4f21-9d17-51980f4debd5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T003738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d85331ed601f0e6a90141d579e10dde3169918b541f4bc0942b8aed860f2e563 [2021-06-09T00:37:40.661Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T00:37:40.661Z] Dload Upload Total Spent Left Speed [2021-06-09T00:37:40.661Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 4353 --:--:-- --:--:-- --:--:-- 4360 [2021-06-09T00:37:40.661Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a95e588fa9c3c0bf012c4fce510aa2db11afcad9 [Pipeline] } [2021-06-09T00:37:40.711Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:37:50.047Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:37:52.898Z] ---> package-listing.sh [2021-06-09T00:37:52.898Z] ++ facter osfamily [2021-06-09T00:37:52.898Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T00:37:53.163Z] + OS_FAMILY=redhat [2021-06-09T00:37:53.163Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-108 [2021-06-09T00:37:53.163Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T00:37:53.163Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T00:37:53.163Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T00:37:53.163Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T00:37:53.163Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-108 ']' [2021-06-09T00:37:53.163Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T00:37:53.163Z] + case "${OS_FAMILY}" in [2021-06-09T00:37:53.163Z] + sort [2021-06-09T00:37:53.163Z] + rpm -qa [2021-06-09T00:37:53.743Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T00:37:53.743Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T00:37:53.743Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T00:37:53.743Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-108 ']' [2021-06-09T00:37:53.743Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-108/archives/ [2021-06-09T00:37:53.743Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-108/archives/ [Pipeline] echo [2021-06-09T00:37:53.776Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-108/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T00:37:54.089Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:37:56.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:37:56.956Z] [2021-06-09T00:37:56.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T00:37:57.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:37:57.344Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T00:37:57.344Z] df20fa9351a1: Pulling fs layer [2021-06-09T00:37:57.344Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T00:37:57.344Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T00:37:57.344Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T00:37:57.344Z] 93b61091891f: Pulling fs layer [2021-06-09T00:37:57.344Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T00:37:57.344Z] 5e14af77c1be: Pulling fs layer [2021-06-09T00:37:57.344Z] 01666e4c0597: Pulling fs layer [2021-06-09T00:37:57.344Z] aa168da1d23b: Pulling fs layer [2021-06-09T00:37:57.344Z] 93b9cdb0e59b: Waiting [2021-06-09T00:37:57.344Z] 5e14af77c1be: Waiting [2021-06-09T00:37:57.344Z] 01666e4c0597: Waiting [2021-06-09T00:37:57.344Z] aa168da1d23b: Waiting [2021-06-09T00:37:57.344Z] 46f8f816bc3b: Waiting [2021-06-09T00:37:57.344Z] 93b61091891f: Waiting [2021-06-09T00:37:57.344Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T00:37:57.344Z] 36b3adc4ff6f: Download complete [2021-06-09T00:37:57.344Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T00:37:57.344Z] 46f8f816bc3b: Download complete [2021-06-09T00:37:57.344Z] df20fa9351a1: Verifying Checksum [2021-06-09T00:37:57.344Z] df20fa9351a1: Download complete [2021-06-09T00:37:59.635Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T00:37:59.635Z] 93b9cdb0e59b: Download complete [2021-06-09T00:37:59.635Z] 5e14af77c1be: Verifying Checksum [2021-06-09T00:37:59.635Z] 5e14af77c1be: Download complete [2021-06-09T00:37:59.635Z] 93b61091891f: Verifying Checksum [2021-06-09T00:37:59.635Z] 93b61091891f: Download complete [2021-06-09T00:37:59.635Z] 01666e4c0597: Verifying Checksum [2021-06-09T00:37:59.635Z] 01666e4c0597: Download complete [2021-06-09T00:37:59.635Z] df20fa9351a1: Pull complete [2021-06-09T00:37:59.635Z] 36b3adc4ff6f: Pull complete [2021-06-09T00:37:59.635Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T00:37:59.635Z] 8ad3a11d3b57: Download complete [2021-06-09T00:37:59.635Z] 8ad3a11d3b57: Pull complete [2021-06-09T00:37:59.635Z] 46f8f816bc3b: Pull complete [2021-06-09T00:37:59.635Z] 93b61091891f: Pull complete [2021-06-09T00:37:59.635Z] 93b9cdb0e59b: Pull complete [2021-06-09T00:37:59.635Z] 5e14af77c1be: Pull complete [2021-06-09T00:37:59.635Z] 01666e4c0597: Pull complete [2021-06-09T00:37:59.635Z] aa168da1d23b: Verifying Checksum [2021-06-09T00:37:59.635Z] aa168da1d23b: Download complete [2021-06-09T00:38:04.996Z] aa168da1d23b: Pull complete [2021-06-09T00:38:04.996Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T00:38:04.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T00:38:04.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T00:38:05.170Z] prd-centos7-docker-4c-2g-1099 does not seem to be running inside a container [2021-06-09T00:38:05.225Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-108/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-108 -v /w/workspace/gexfoundry_device-snmp-go_PR-108:/w/workspace/gexfoundry_device-snmp-go_PR-108:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-108@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-108@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:alpine cat [2021-06-09T00:38:07.647Z] $ docker top dfae57253bef14cf8efdcfcf9c9fa8db1b40f4303343318b659930fcdff91874 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T00:38:10.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T00:38:12.754Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T00:38:13.127Z] + ls /var/log/sa-host [2021-06-09T00:38:13.127Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T00:38:13.127Z] file_magic: OK [2021-06-09T00:38:13.127Z] HZ: Using current value: 100 [2021-06-09T00:38:13.127Z] file_header: OK [2021-06-09T00:38:13.127Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-09T00:38:13.127Z] Statistics: [2021-06-09T00:38:13.127Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T00:38:13.127Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T00:38:13.127Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T00:38:13.127Z] file_magic: OK [2021-06-09T00:38:13.127Z] HZ: Using current value: 100 [2021-06-09T00:38:13.127Z] file_header: OK [2021-06-09T00:38:13.127Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-09T00:38:13.127Z] Statistics: [2021-06-09T00:38:13.127Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T00:38:13.127Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T00:38:15.567Z] provisioning config files... [2021-06-09T00:38:15.591Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-108@tmp/config2414601933821215891tmp [Pipeline] { [Pipeline] echo [2021-06-09T00:38:15.696Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:38:18.181Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T00:38:18.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:38:18.722Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T00:38:21.032Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:38:21.420Z] ---> sudo-logs.sh [2021-06-09T00:38:21.420Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T00:38:23.725Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T00:38:26.194Z] ---> job-cost.sh [2021-06-09T00:38:26.194Z] lf-activate-venv: SKIPPING [2021-06-09T00:38:26.194Z] DEBUG: total: 0.18000000715255737 [2021-06-09T00:38:26.194Z] INFO: Retrieving Stack Cost... [2021-06-09T00:38:26.194Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T00:38:26.194Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T00:38:26.249Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh