Pull request #106 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1408b212ea7820d3ded43e67898db6b40362390e+5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 (bbcd56c4381b81a14bb121be323dc79307b91e44) 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-ssh4904473678825707101.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh6025278938822979859.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-106/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-106/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh655858718755370228.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-106/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6174310030105733332.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh8762997506758761153.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-106/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-106/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh730091853849559779.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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-286 in /w/workspace/gexfoundry_device-snmp-go_PR-106 [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-106 # 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-106@tmp/jenkins-gitclient-ssh5297817858192673711.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-106@tmp/jenkins-gitclient-ssh1443980553912138833.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/106/head:refs/remotes/origin/PR-106 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit 1408b212ea7820d3ded43e67898db6b40362390e Merge succeeded, producing 1408b212ea7820d3ded43e67898db6b40362390e Checking out Revision 1408b212ea7820d3ded43e67898db6b40362390e (PR-106) > git config core.sparsecheckout # timeout=10 > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # 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-106@tmp/jenkins-gitclient-ssh5272288096472600525.key > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-03T07:41:20.292Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-03T07:41:20.495Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-03T07:41:20.621Z] ========================================================= [2021-06-03T07:41:20.621Z] EdgeX Global Pipelines Version Info [2021-06-03T07:41:20.621Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:41:22.173Z] ------------------- [2021-06-03T07:41:22.174Z] stable info: [2021-06-03T07:41:22.174Z] ------------------- [2021-06-03T07:41:22.174Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-03T07:41:22.174Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T07:41:22.174Z] Message: update stable to v1.0.193 [2021-06-03T07:41:22.751Z] ------------------- [2021-06-03T07:41:22.751Z] experimental info: [2021-06-03T07:41:22.751Z] ------------------- [2021-06-03T07:41:22.751Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-03T07:41:22.751Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T07:41:22.751Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-03T07:41:23.008Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-03T07:41:23.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-03T07:41:23.164Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-03T07:41:23.222Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-03T07:41:23.282Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-03T07:41:23.342Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-03T07:41:23.404Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-03T07:41:23.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-03T07:41:23.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-03T07:41:23.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-03T07:41:23.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-03T07:41:23.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-03T07:41:23.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-03T07:41:23.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-03T07:41:23.927Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-03T07:41:23.986Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-03T07:41:24.043Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T07:41:24.116Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T07:41:24.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-03T07:41:24.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-03T07:41:24.341Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-03T07:41:24.429Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-03T07:41:24.490Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-03T07:41:24.551Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-03T07:41:24.665Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-03T07:41:24.729Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-03T07:41:24.787Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-106 [Pipeline] echo [2021-06-03T07:41:24.847Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-106 [Pipeline] echo [2021-06-03T07:41:24.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-106 [Pipeline] echo [2021-06-03T07:41:24.970Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1408b212ea7820d3ded43e67898db6b40362390e [Pipeline] echo [2021-06-03T07:41:25.031Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1408b21 [Pipeline] echo [2021-06-03T07:41:25.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T07:41:25.251Z] provisioning config files... [2021-06-03T07:41:25.270Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/config6252801159565116052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:41:25.674Z] ---> docker-login.sh [2021-06-03T07:41:25.674Z] nexus3.edgexfoundry.org:10001 [2021-06-03T07:41:25.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:41:25.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:41:25.941Z] Configure a credential helper to remove this warning. See [2021-06-03T07:41:25.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:41:25.941Z] [2021-06-03T07:41:25.941Z] Login Succeeded [2021-06-03T07:41:25.941Z] nexus3.edgexfoundry.org:10002 [2021-06-03T07:41:25.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:41:25.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:41:25.941Z] Configure a credential helper to remove this warning. See [2021-06-03T07:41:25.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:41:25.941Z] [2021-06-03T07:41:25.941Z] Login Succeeded [2021-06-03T07:41:25.941Z] nexus3.edgexfoundry.org:10003 [2021-06-03T07:41:26.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:41:26.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:41:26.214Z] Configure a credential helper to remove this warning. See [2021-06-03T07:41:26.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:41:26.214Z] [2021-06-03T07:41:26.214Z] Login Succeeded [2021-06-03T07:41:26.214Z] nexus3.edgexfoundry.org:10004 [2021-06-03T07:41:26.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:41:26.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:41:26.484Z] Configure a credential helper to remove this warning. See [2021-06-03T07:41:26.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:41:26.484Z] [2021-06-03T07:41:26.484Z] Login Succeeded [2021-06-03T07:41:26.484Z] docker.io [2021-06-03T07:41:26.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:41:26.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:41:26.746Z] Configure a credential helper to remove this warning. See [2021-06-03T07:41:26.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:41:26.746Z] [2021-06-03T07:41:26.746Z] Login Succeeded [2021-06-03T07:41:26.746Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T07:41:26.816Z] 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-03T07:41:27.643Z] + git log --format=format:%s -1 1408b212ea7820d3ded43e67898db6b40362390e [Pipeline] echo [2021-06-03T07:41:27.704Z] GIT_COMMIT: 1408b212ea7820d3ded43e67898db6b40362390e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-03T07:41:27.754Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:41:28.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T07:41:28.397Z] [2021-06-03T07:41:28.397Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:41:28.765Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T07:41:28.765Z] latest: Pulling from edgex-devops/git-semver [2021-06-03T07:41:28.765Z] 31603596830f: Pulling fs layer [2021-06-03T07:41:28.765Z] 54011a49482f: Pulling fs layer [2021-06-03T07:41:28.765Z] a6820b24f6d8: Pulling fs layer [2021-06-03T07:41:28.765Z] f581987b2513: Pulling fs layer [2021-06-03T07:41:28.765Z] f581987b2513: Waiting [2021-06-03T07:41:28.765Z] 54011a49482f: Verifying Checksum [2021-06-03T07:41:28.765Z] 54011a49482f: Download complete [2021-06-03T07:41:29.036Z] 31603596830f: Verifying Checksum [2021-06-03T07:41:29.036Z] 31603596830f: Download complete [2021-06-03T07:41:29.036Z] a6820b24f6d8: Verifying Checksum [2021-06-03T07:41:29.036Z] a6820b24f6d8: Download complete [2021-06-03T07:41:29.036Z] f581987b2513: Verifying Checksum [2021-06-03T07:41:29.036Z] f581987b2513: Download complete [2021-06-03T07:41:29.036Z] 31603596830f: Pull complete [2021-06-03T07:41:29.298Z] 54011a49482f: Pull complete [2021-06-03T07:41:29.882Z] a6820b24f6d8: Pull complete [2021-06-03T07:41:30.148Z] f581987b2513: Pull complete [2021-06-03T07:41:30.148Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-03T07:41:30.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T07:41:30.148Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-03T07:41:30.266Z] prd-centos7-docker-4c-2g-286 does not seem to be running inside a container [2021-06-03T07:41:30.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-106 -v /w/workspace/gexfoundry_device-snmp-go_PR-106:/w/workspace/gexfoundry_device-snmp-go_PR-106:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-106@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-03T07:41:31.547Z] $ docker top b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-03T07:41:31.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-03T07:41:31.880Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-03T07:41:32.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-03T07:41:32.014Z] $ docker exec b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 ssh-agent [2021-06-03T07:41:32.143Z] SSH_AUTH_SOCK=/tmp/ssh-jQZAdiUodusz/agent.13 [2021-06-03T07:41:32.143Z] SSH_AGENT_PID=19 [2021-06-03T07:41:32.151Z] Running ssh-add (command line suppressed) [2021-06-03T07:41:32.269Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/private_key_2904837570603964997.key (/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/private_key_2904837570603964997.key) [2021-06-03T07:41:32.290Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-03T07:41:32.663Z] + git tag --points-at HEAD [Pipeline] } [2021-06-03T07:41:32.685Z] $ docker exec --env ******** --env ******** b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 ssh-agent -k [2021-06-03T07:41:32.787Z] unset SSH_AUTH_SOCK; [2021-06-03T07:41:32.787Z] unset SSH_AGENT_PID; [2021-06-03T07:41:32.787Z] echo Agent pid 19 killed; [2021-06-03T07:41:32.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-03T07:41:33.009Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-03T07:41:33.009Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-03T07:41:33.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-03T07:41:33.123Z] $ docker exec b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 ssh-agent [2021-06-03T07:41:33.243Z] SSH_AUTH_SOCK=/tmp/ssh-CLk3PeLQIWQM/agent.51 [2021-06-03T07:41:33.243Z] SSH_AGENT_PID=57 [2021-06-03T07:41:33.249Z] Running ssh-add (command line suppressed) [2021-06-03T07:41:33.359Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/private_key_4188034031687289569.key (/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/private_key_4188034031687289569.key) [2021-06-03T07:41:33.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-03T07:41:33.798Z] + git semver init [2021-06-03T07:41:33.799Z] # -> Open(): unable to determine branch for HEAD [2021-06-03T07:41:33.799Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-106/.git [2021-06-03T07:41:33.799Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-106 [2021-06-03T07:41:33.799Z] # $SEMVER_REMOTE_NAME = origin [2021-06-03T07:41:33.799Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-03T07:41:33.799Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-03T07:41:33.799Z] # $SEMVER_BRANCH = PR-106 [2021-06-03T07:41:33.799Z] # $SEMVER_TEMP = /tmp/semver-459326403 [2021-06-03T07:41:33.799Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-03T07:41:34.381Z] # '/tmp/semver-459326403' -> '/w/workspace/gexfoundry_device-snmp-go_PR-106/.semver' [2021-06-03T07:41:34.381Z] # -> Force: false [2021-06-03T07:41:34.381Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-106/.semver [Pipeline] } [2021-06-03T07:41:34.398Z] $ docker exec --env ******** --env ******** b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 ssh-agent -k [2021-06-03T07:41:34.507Z] unset SSH_AUTH_SOCK; [2021-06-03T07:41:34.508Z] unset SSH_AGENT_PID; [2021-06-03T07:41:34.508Z] echo Agent pid 57 killed; [2021-06-03T07:41:34.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-03T07:41:35.009Z] + git semver [Pipeline] } [2021-06-03T07:41:35.034Z] $ docker stop --time=1 b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 [2021-06-03T07:41:36.301Z] $ docker rm -f b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T07:41:36.741Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-03T07:41:37.101Z] Stashed 1 file(s) [Pipeline] echo [2021-06-03T07:41:37.131Z] [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-03T07:41:52.646Z] Still waiting to schedule task [2021-06-03T07:41:52.646Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-03T07:41:52.674Z] Still waiting to schedule task [2021-06-03T07:41:52.675Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-03T07:43:19.461Z] Running on prd-centos7-docker-4c-2g-291 in /w/workspace/gexfoundry_device-snmp-go_PR-106 [Pipeline] { [Pipeline] ws [2021-06-03T07:43:19.523Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-03T07:43:19.693Z] Selected Git installation does not exist. Using Default [2021-06-03T07:43:19.693Z] The recommended git tool is: NONE [2021-06-03T07:43:22.162Z] using credential edgex-jenkins-ssh [2021-06-03T07:43:22.183Z] Cloning the remote Git repository [2021-06-03T07:43:22.214Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-03T07:43:22.283Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-03T07:43:22.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-03T07:43:22.318Z] > git --version # timeout=10 [2021-06-03T07:43:22.329Z] > git --version # 'git version 2.24.4' [2021-06-03T07:43:22.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:43:22.358Z] [INFO] Currently running in a labeled security context [2021-06-03T07:43:22.359Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T07:43:22.359Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh5588740422220835608.key [2021-06-03T07:43:22.379Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T07:43:22.914Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-03T07:43:22.928Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T07:43:22.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-03T07:43:22.960Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-03T07:43:22.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:43:22.962Z] [INFO] Currently running in a labeled security context [2021-06-03T07:43:22.962Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T07:43:22.962Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh9131100048853186388.key [2021-06-03T07:43:22.971Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/106/head:refs/remotes/origin/PR-106 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-03T07:43:23.364Z] Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit 1408b212ea7820d3ded43e67898db6b40362390e [2021-06-03T07:43:23.471Z] Merge succeeded, producing 1408b212ea7820d3ded43e67898db6b40362390e [2021-06-03T07:43:23.472Z] Checking out Revision 1408b212ea7820d3ded43e67898db6b40362390e (PR-106) [2021-06-03T07:43:23.371Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T07:43:23.381Z] > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 [2021-06-03T07:43:23.421Z] > git remote # timeout=10 [2021-06-03T07:43:23.429Z] > git config --get remote.origin.url # timeout=10 [2021-06-03T07:43:23.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:43:23.436Z] [INFO] Currently running in a labeled security context [2021-06-03T07:43:23.436Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T07:43:23.436Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh2967039288922543304.key [2021-06-03T07:43:23.445Z] > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 [2021-06-03T07:43:23.456Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-03T07:43:23.471Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T07:43:23.481Z] > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 [2021-06-03T07:43:27.114Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-03T07:43:27.132Z] > git --version # timeout=10 [2021-06-03T07:43:27.136Z] > git --version # 'git version 2.24.4' [2021-06-03T07:43:27.144Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T07:43:28.296Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-03T07:43:28.652Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-03T07:43:28.978Z] + true [2021-06-03T07:43:28.978Z] + sudo service docker restart [2021-06-03T07:43:28.978Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T07:43:47.278Z] provisioning config files... [2021-06-03T07:43:47.295Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5648297730224959338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:43:47.702Z] ---> docker-login.sh [2021-06-03T07:43:47.702Z] nexus3.edgexfoundry.org:10001 [2021-06-03T07:43:47.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:43:47.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:43:47.966Z] Configure a credential helper to remove this warning. See [2021-06-03T07:43:47.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:43:47.966Z] [2021-06-03T07:43:47.966Z] Login Succeeded [2021-06-03T07:43:47.966Z] nexus3.edgexfoundry.org:10002 [2021-06-03T07:43:47.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:43:48.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:43:48.232Z] Configure a credential helper to remove this warning. See [2021-06-03T07:43:48.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:43:48.232Z] [2021-06-03T07:43:48.232Z] Login Succeeded [2021-06-03T07:43:48.232Z] nexus3.edgexfoundry.org:10003 [2021-06-03T07:43:48.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:43:48.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:43:48.232Z] Configure a credential helper to remove this warning. See [2021-06-03T07:43:48.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:43:48.233Z] [2021-06-03T07:43:48.233Z] Login Succeeded [2021-06-03T07:43:48.233Z] nexus3.edgexfoundry.org:10004 [2021-06-03T07:43:48.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:43:48.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:43:48.497Z] Configure a credential helper to remove this warning. See [2021-06-03T07:43:48.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:43:48.497Z] [2021-06-03T07:43:48.497Z] Login Succeeded [2021-06-03T07:43:48.497Z] docker.io [2021-06-03T07:43:48.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:43:48.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:43:48.760Z] Configure a credential helper to remove this warning. See [2021-06-03T07:43:48.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:43:48.760Z] [2021-06-03T07:43:48.760Z] Login Succeeded [2021-06-03T07:43:48.760Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T07:43:48.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-03T07:43:49.109Z] ========================================================= [2021-06-03T07:43:49.109Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-03T07:43:49.109Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:43:49.461Z] + 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-03T07:43:49.461Z] Sending build context to Docker daemon 361.5kB [2021-06-03T07:43:49.461Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T07:43:49.461Z] Step 2/10 : FROM ${BASE} [2021-06-03T07:43:49.725Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-03T07:43:49.725Z] 540db60ca938: Pulling fs layer [2021-06-03T07:43:49.725Z] adcc1eea9eea: Pulling fs layer [2021-06-03T07:43:49.725Z] 4c4ab2625f07: Pulling fs layer [2021-06-03T07:43:49.725Z] 0510c868ecb4: Pulling fs layer [2021-06-03T07:43:49.725Z] afea3b2eda06: Pulling fs layer [2021-06-03T07:43:49.725Z] 7809a108b3ef: Pulling fs layer [2021-06-03T07:43:49.725Z] f706445af74f: Pulling fs layer [2021-06-03T07:43:49.725Z] 0510c868ecb4: Waiting [2021-06-03T07:43:49.725Z] afea3b2eda06: Waiting [2021-06-03T07:43:49.725Z] 7809a108b3ef: Waiting [2021-06-03T07:43:49.725Z] f706445af74f: Waiting [2021-06-03T07:43:49.725Z] 4c4ab2625f07: Verifying Checksum [2021-06-03T07:43:49.725Z] 4c4ab2625f07: Download complete [2021-06-03T07:43:49.725Z] adcc1eea9eea: Verifying Checksum [2021-06-03T07:43:49.725Z] adcc1eea9eea: Download complete [2021-06-03T07:43:49.725Z] afea3b2eda06: Verifying Checksum [2021-06-03T07:43:49.725Z] afea3b2eda06: Download complete [2021-06-03T07:43:49.725Z] 7809a108b3ef: Verifying Checksum [2021-06-03T07:43:49.725Z] 7809a108b3ef: Download complete [2021-06-03T07:43:49.725Z] 540db60ca938: Verifying Checksum [2021-06-03T07:43:49.725Z] 540db60ca938: Download complete [2021-06-03T07:43:49.998Z] 540db60ca938: Pull complete [2021-06-03T07:43:49.998Z] adcc1eea9eea: Pull complete [2021-06-03T07:43:50.261Z] 4c4ab2625f07: Pull complete [2021-06-03T07:43:51.672Z] f706445af74f: Verifying Checksum [2021-06-03T07:43:51.672Z] f706445af74f: Download complete [2021-06-03T07:43:51.934Z] 0510c868ecb4: Verifying Checksum [2021-06-03T07:43:51.934Z] 0510c868ecb4: Download complete [2021-06-03T07:43:56.199Z] 0510c868ecb4: Pull complete [2021-06-03T07:43:56.199Z] afea3b2eda06: Pull complete [2021-06-03T07:43:56.199Z] 7809a108b3ef: Pull complete [2021-06-03T07:43:57.618Z] f706445af74f: Pull complete [2021-06-03T07:43:57.618Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-03T07:43:57.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-03T07:43:57.618Z] ---> b068be0155e3 [2021-06-03T07:43:57.618Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T07:44:01.905Z] ---> Running in 8451fcf6d019 [2021-06-03T07:44:01.905Z] Removing intermediate container 8451fcf6d019 [2021-06-03T07:44:01.905Z] ---> 126580a9b9f7 [2021-06-03T07:44:01.905Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T07:44:01.905Z] ---> Running in 538073874d72 [2021-06-03T07:44:01.905Z] Removing intermediate container 538073874d72 [2021-06-03T07:44:01.905Z] ---> 16712d6c82f6 [2021-06-03T07:44:01.905Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-03T07:44:01.905Z] ---> Running in 6d9240a635da [2021-06-03T07:44:01.905Z] Removing intermediate container 6d9240a635da [2021-06-03T07:44:01.905Z] ---> 9cba902eea57 [2021-06-03T07:44:01.905Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T07:44:01.905Z] ---> Running in 871168daf3d5 [2021-06-03T07:44:02.527Z] Removing intermediate container 871168daf3d5 [2021-06-03T07:44:02.527Z] ---> 9f62db1d58e5 [2021-06-03T07:44:02.527Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T07:44:02.527Z] ---> Running in a582bb5fa278 [2021-06-03T07:44:02.809Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-03T07:44:03.794Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-03T07:44:04.073Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-03T07:44:04.336Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-03T07:44:04.336Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-03T07:44:04.337Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-03T07:44:04.604Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-03T07:44:04.604Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-03T07:44:04.604Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-03T07:44:04.866Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-03T07:44:05.128Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-03T07:44:05.128Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-03T07:44:05.128Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-03T07:44:05.395Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-03T07:44:05.395Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-03T07:44:05.395Z] Executing busybox-1.32.1-r6.trigger [2021-06-03T07:44:05.662Z] OK: 156 MiB in 53 packages [2021-06-03T07:44:06.236Z] Removing intermediate container a582bb5fa278 [2021-06-03T07:44:06.236Z] ---> 18a8cf585b29 [2021-06-03T07:44:06.237Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-03T07:44:06.237Z] ---> Running in 48ab86be673b [2021-06-03T07:44:06.503Z] Removing intermediate container 48ab86be673b [2021-06-03T07:44:06.503Z] ---> 10142b1b0386 [2021-06-03T07:44:06.503Z] Step 9/10 : COPY . . [2021-06-03T07:44:06.768Z] ---> 6446564cc12c [2021-06-03T07:44:06.768Z] Step 10/10 : RUN go mod download [2021-06-03T07:44:06.768Z] ---> Running in 5fa535695e32 [2021-06-03T07:44:19.026Z] Removing intermediate container 5fa535695e32 [2021-06-03T07:44:19.026Z] ---> 72f1e23dfce5 [2021-06-03T07:44:19.026Z] Successfully built 72f1e23dfce5 [2021-06-03T07:44:19.026Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:44:19.367Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-03T07:44:19.367Z] . [Pipeline] withDockerContainer [2021-06-03T07:44:19.480Z] prd-centos7-docker-4c-2g-291 does not seem to be running inside a container [2021-06-03T07:44:19.517Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-03T07:44:19.909Z] $ docker top 0826fac1762ccc0080cee062879eca1d85b441fb00148b9e929ffdd23c086d32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:44:20.359Z] + go version [2021-06-03T07:44:20.359Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-03T07:44:20.384Z] $ docker stop --time=1 0826fac1762ccc0080cee062879eca1d85b441fb00148b9e929ffdd23c086d32 [2021-06-03T07:44:21.575Z] $ docker rm -f 0826fac1762ccc0080cee062879eca1d85b441fb00148b9e929ffdd23c086d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:44:22.391Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-03T07:44:22.391Z] . [Pipeline] withDockerContainer [2021-06-03T07:44:22.494Z] prd-centos7-docker-4c-2g-291 does not seem to be running inside a container [2021-06-03T07:44:22.535Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-03T07:44:22.928Z] $ docker top 15548c0c5fb5af27e5518d43bf9bacf19ad1c03ac91e436446ecab0781dad54b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:44:23.387Z] + go mod tidy [Pipeline] sh [2021-06-03T07:44:23.988Z] + make test [2021-06-03T07:44:23.988Z] go mod tidy [2021-06-03T07:44:24.262Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-03T07:44:24.530Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-03T07:44:42.750Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-03T07:44:42.750Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2021-06-03T07:44:42.750Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-03T07:44:49.395Z] gofmt -l . [2021-06-03T07:44:49.395Z] [ "`gofmt -l .`" = "" ] [2021-06-03T07:44:49.396Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-03T07:44:49.417Z] $ docker stop --time=1 15548c0c5fb5af27e5518d43bf9bacf19ad1c03ac91e436446ecab0781dad54b [2021-06-03T07:44:50.826Z] $ docker rm -f 15548c0c5fb5af27e5518d43bf9bacf19ad1c03ac91e436446ecab0781dad54b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T07:44:51.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-03T07:44:51.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-03T07:44:52.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-03T07:44:53.115Z] + ls -al . [2021-06-03T07:44:53.115Z] total 104 [2021-06-03T07:44:53.115Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 3 07:44 . [2021-06-03T07:44:53.115Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 3 07:43 .. [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 3 07:43 Attribution.txt [2021-06-03T07:44:53.115Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 3 07:43 bin [2021-06-03T07:44:53.115Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 3 07:43 cmd [2021-06-03T07:44:53.115Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 3 07:44 coverage.out [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 3 07:43 Dockerfile [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 3 07:43 Dockerfile.build [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 3 07:43 .dockerignore [2021-06-03T07:44:53.115Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 3 07:43 .git [2021-06-03T07:44:53.115Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 3 07:43 .github [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 3 07:43 .gitignore [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 3 07:43 go.mod [2021-06-03T07:44:53.115Z] -rw-r--r--. 1 jenkins jenkins 21134 Jun 3 07:44 go.sum [2021-06-03T07:44:53.115Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 3 07:43 internal [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 3 07:43 Jenkinsfile [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 3 07:43 LICENSE [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 3 07:43 Makefile [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 3 07:43 README.md [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 3 07:41 VERSION [2021-06-03T07:44:53.115Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 3 07:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:44:53.460Z] + 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=1408b212ea7820d3ded43e67898db6b40362390e --label arch=amd64 --label version=0.0.0 . [2021-06-03T07:44:53.460Z] Sending build context to Docker daemon 369.7kB [2021-06-03T07:44:53.460Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T07:44:53.460Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-03T07:44:53.460Z] ---> 72f1e23dfce5 [2021-06-03T07:44:53.460Z] Step 3/24 : ARG MAKE='make build' [2021-06-03T07:44:53.460Z] ---> Running in 331999533b0b [2021-06-03T07:44:53.727Z] Removing intermediate container 331999533b0b [2021-06-03T07:44:53.727Z] ---> 39f3e664b40d [2021-06-03T07:44:53.727Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T07:44:53.727Z] ---> Running in 95a26eaab436 [2021-06-03T07:44:53.727Z] Removing intermediate container 95a26eaab436 [2021-06-03T07:44:53.727Z] ---> 03ad20f6c230 [2021-06-03T07:44:53.727Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T07:44:53.727Z] ---> Running in 9a185b00a388 [2021-06-03T07:44:53.727Z] Removing intermediate container 9a185b00a388 [2021-06-03T07:44:53.727Z] ---> b6dbf33ba04d [2021-06-03T07:44:53.727Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T07:44:53.998Z] ---> Running in e92b21a2bd7b [2021-06-03T07:44:54.102Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-292 in /w/workspace/gexfoundry_device-snmp-go_PR-106 [Pipeline] { [Pipeline] ws [2021-06-03T07:44:54.168Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-03T07:44:54.266Z] Removing intermediate container e92b21a2bd7b [2021-06-03T07:44:54.266Z] ---> 680c100ac387 [2021-06-03T07:44:54.266Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T07:44:54.266Z] ---> Running in 6f1e59d9385b [2021-06-03T07:44:54.409Z] Selected Git installation does not exist. Using Default [2021-06-03T07:44:54.409Z] The recommended git tool is: NONE [2021-06-03T07:44:54.531Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-03T07:44:55.482Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-03T07:44:56.058Z] OK: 156 MiB in 53 packages [2021-06-03T07:44:56.058Z] Removing intermediate container 6f1e59d9385b [2021-06-03T07:44:56.058Z] ---> 6872d742bc1e [2021-06-03T07:44:56.058Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-03T07:44:56.058Z] ---> Running in fdb6eae7dcf1 [2021-06-03T07:44:56.320Z] Removing intermediate container fdb6eae7dcf1 [2021-06-03T07:44:56.320Z] ---> fff73b650e0a [2021-06-03T07:44:56.320Z] Step 9/24 : COPY . . [2021-06-03T07:44:56.320Z] ---> 69b8f2a66073 [2021-06-03T07:44:56.320Z] Step 10/24 : RUN go mod tidy [2021-06-03T07:44:56.591Z] ---> Running in 008c80ec5e64 [2021-06-03T07:44:57.174Z] Removing intermediate container 008c80ec5e64 [2021-06-03T07:44:57.174Z] ---> 644f2288a9d3 [2021-06-03T07:44:57.174Z] Step 11/24 : RUN make update [2021-06-03T07:44:57.174Z] ---> Running in 4e023baf6380 [2021-06-03T07:44:57.438Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-03T07:44:57.701Z] Removing intermediate container 4e023baf6380 [2021-06-03T07:44:57.701Z] ---> d3dfbdecef75 [2021-06-03T07:44:57.701Z] Step 12/24 : RUN ${MAKE} [2021-06-03T07:44:57.701Z] ---> Running in 8b46f8ca7f78 [2021-06-03T07:44:57.969Z] go mod tidy [2021-06-03T07:44:57.969Z] 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-03T07:45:00.165Z] using credential edgex-jenkins-ssh [2021-06-03T07:45:00.184Z] Cloning the remote Git repository [2021-06-03T07:45:00.276Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-03T07:45:00.436Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-03T07:45:00.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-03T07:45:00.526Z] > git --version # timeout=10 [2021-06-03T07:45:00.552Z] > git --version # 'git version 2.17.1' [2021-06-03T07:45:00.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:45:00.656Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T07:45:01.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-03T07:45:01.770Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T07:45:01.810Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-03T07:45:01.853Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-03T07:45:01.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:45:01.866Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/106/head:refs/remotes/origin/PR-106 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-03T07:45:04.356Z] Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit 1408b212ea7820d3ded43e67898db6b40362390e [2021-06-03T07:45:04.369Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T07:45:04.388Z] > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 [2021-06-03T07:45:04.459Z] > git remote # timeout=10 [2021-06-03T07:45:04.475Z] > git config --get remote.origin.url # timeout=10 [2021-06-03T07:45:04.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:45:04.501Z] > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 [2021-06-03T07:45:04.545Z] Merge succeeded, producing 1408b212ea7820d3ded43e67898db6b40362390e [2021-06-03T07:45:04.546Z] Checking out Revision 1408b212ea7820d3ded43e67898db6b40362390e (PR-106) [2021-06-03T07:45:04.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-03T07:45:04.545Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T07:45:04.554Z] > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 [2021-06-03T07:45:08.738Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-03T07:45:08.786Z] > git --version # timeout=10 [2021-06-03T07:45:08.801Z] > git --version # 'git version 2.17.1' [2021-06-03T07:45:08.819Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T07:45:10.332Z] Removing intermediate container 8b46f8ca7f78 [2021-06-03T07:45:10.332Z] ---> 2a37efd14160 [2021-06-03T07:45:10.332Z] Step 13/24 : FROM alpine:3.12 [2021-06-03T07:45:10.476Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-03T07:45:10.597Z] 3.12: Pulling from library/alpine [2021-06-03T07:45:10.860Z] 339de151aab4: Pulling fs layer [2021-06-03T07:45:10.860Z] 339de151aab4: Verifying Checksum [2021-06-03T07:45:10.860Z] 339de151aab4: Download complete [2021-06-03T07:45:10.935Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-03T07:45:11.122Z] 339de151aab4: Pull complete [2021-06-03T07:45:11.122Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-03T07:45:11.122Z] Status: Downloaded newer image for alpine:3.12 [2021-06-03T07:45:11.122Z] ---> 13621d1b12d4 [2021-06-03T07:45:11.122Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-03T07:45:11.122Z] ---> Running in e6dd5566160a [2021-06-03T07:45:11.340Z] + sudo service+ docker restart [2021-06-03T07:45:11.340Z] true [2021-06-03T07:45:11.384Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-03T07:45:11.385Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-03T07:45:11.648Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-03T07:45:11.648Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-03T07:45:11.648Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-03T07:45:11.648Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-03T07:45:11.648Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-03T07:45:11.648Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-03T07:45:11.648Z] Executing busybox-1.31.1-r20.trigger [2021-06-03T07:45:11.648Z] OK: 8 MiB in 20 packages [2021-06-03T07:45:11.911Z] Removing intermediate container e6dd5566160a [2021-06-03T07:45:11.911Z] ---> 87273bf646d2 [2021-06-03T07:45:11.911Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-03T07:45:12.179Z] ---> 1ef8f473b435 [2021-06-03T07:45:12.179Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-03T07:45:12.442Z] ---> ac4463a6e27b [2021-06-03T07:45:12.442Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-03T07:45:12.734Z] ---> c978aef6147a [2021-06-03T07:45:12.734Z] Step 18/24 : EXPOSE 59993 [2021-06-03T07:45:12.734Z] ---> Running in c5759797c0d0 [2021-06-03T07:45:12.734Z] Removing intermediate container c5759797c0d0 [2021-06-03T07:45:12.734Z] ---> 26b29f6d9363 [2021-06-03T07:45:12.734Z] Step 19/24 : EXPOSE 161 [2021-06-03T07:45:12.734Z] ---> Running in ae4c3d9df543 [2021-06-03T07:45:12.997Z] Removing intermediate container ae4c3d9df543 [2021-06-03T07:45:12.997Z] ---> 9c77125897d7 [2021-06-03T07:45:12.997Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-03T07:45:12.997Z] ---> Running in 76b06514980c [2021-06-03T07:45:12.997Z] Removing intermediate container 76b06514980c [2021-06-03T07:45:12.997Z] ---> 5a7d537bacfd [2021-06-03T07:45:12.997Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-03T07:45:12.997Z] ---> Running in e783acd9113f [2021-06-03T07:45:12.997Z] Removing intermediate container e783acd9113f [2021-06-03T07:45:12.997Z] ---> f45e049aa25c [2021-06-03T07:45:12.997Z] Step 22/24 : LABEL arch=amd64 [2021-06-03T07:45:13.261Z] ---> Running in 13da49013a73 [2021-06-03T07:45:13.261Z] Removing intermediate container 13da49013a73 [2021-06-03T07:45:13.261Z] ---> 8d1dfd0618ae [2021-06-03T07:45:13.261Z] Step 23/24 : LABEL git_sha=1408b212ea7820d3ded43e67898db6b40362390e [2021-06-03T07:45:13.261Z] ---> Running in 7da473d6aebf [2021-06-03T07:45:13.261Z] Removing intermediate container 7da473d6aebf [2021-06-03T07:45:13.261Z] ---> 28027c605507 [2021-06-03T07:45:13.261Z] Step 24/24 : LABEL version=0.0.0 [2021-06-03T07:45:13.261Z] ---> Running in 40e98b43ecc9 [2021-06-03T07:45:13.527Z] Removing intermediate container 40e98b43ecc9 [2021-06-03T07:45:13.527Z] ---> 9b358947cca5 [2021-06-03T07:45:13.527Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-03T07:45:13.527Z] Successfully built 9b358947cca5 [2021-06-03T07:45:13.527Z] Successfully tagged device-snmp:latest [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-03T07:45:14.842Z] ---> job-cost.sh [2021-06-03T07:45:14.842Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ssnc [2021-06-03T07:45:27.121Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T07:45:29.753Z] provisioning config files... [2021-06-03T07:45:29.781Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config659571213492883593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:45:30.210Z] ---> docker-login.sh [2021-06-03T07:45:30.210Z] nexus3.edgexfoundry.org:10001 [2021-06-03T07:45:30.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:45:31.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:45:31.423Z] Configure a credential helper to remove this warning. See [2021-06-03T07:45:31.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:45:31.424Z] [2021-06-03T07:45:31.424Z] Login Succeeded [2021-06-03T07:45:31.424Z] nexus3.edgexfoundry.org:10002 [2021-06-03T07:45:31.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:45:31.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:45:31.990Z] Configure a credential helper to remove this warning. See [2021-06-03T07:45:31.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:45:31.990Z] [2021-06-03T07:45:31.990Z] Login Succeeded [2021-06-03T07:45:31.990Z] nexus3.edgexfoundry.org:10003 [2021-06-03T07:45:32.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:45:32.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:45:32.548Z] Configure a credential helper to remove this warning. See [2021-06-03T07:45:32.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:45:32.548Z] [2021-06-03T07:45:32.548Z] Login Succeeded [2021-06-03T07:45:32.548Z] nexus3.edgexfoundry.org:10004 [2021-06-03T07:45:32.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:45:33.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:45:33.101Z] Configure a credential helper to remove this warning. See [2021-06-03T07:45:33.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:45:33.101Z] [2021-06-03T07:45:33.101Z] Login Succeeded [2021-06-03T07:45:33.101Z] docker.io [2021-06-03T07:45:33.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:45:33.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:45:33.654Z] Configure a credential helper to remove this warning. See [2021-06-03T07:45:33.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:45:33.654Z] [2021-06-03T07:45:33.654Z] Login Succeeded [2021-06-03T07:45:33.654Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T07:45:33.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-03T07:45:34.362Z] ========================================================= [2021-06-03T07:45:34.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-03T07:45:34.363Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:45:34.782Z] + 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-03T07:45:35.061Z] Sending build context to Docker daemon 360.4kB [2021-06-03T07:45:35.061Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T07:45:35.061Z] Step 2/10 : FROM ${BASE} [2021-06-03T07:45:35.335Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-03T07:45:35.335Z] 595b0fe564bb: Pulling fs layer [2021-06-03T07:45:35.335Z] 7186ed65a4f7: Pulling fs layer [2021-06-03T07:45:35.335Z] 316046926c0a: Pulling fs layer [2021-06-03T07:45:35.335Z] 4ebd0625c992: Pulling fs layer [2021-06-03T07:45:35.335Z] 207e8628e3a3: Pulling fs layer [2021-06-03T07:45:35.335Z] c791037a9be2: Pulling fs layer [2021-06-03T07:45:35.335Z] ffd874e62e21: Pulling fs layer [2021-06-03T07:45:35.335Z] 207e8628e3a3: Waiting [2021-06-03T07:45:35.335Z] c791037a9be2: Waiting [2021-06-03T07:45:35.335Z] ffd874e62e21: Waiting [2021-06-03T07:45:35.335Z] 4ebd0625c992: Waiting [2021-06-03T07:45:35.335Z] 316046926c0a: Verifying Checksum [2021-06-03T07:45:35.335Z] 316046926c0a: Download complete [2021-06-03T07:45:35.335Z] 7186ed65a4f7: Verifying Checksum [2021-06-03T07:45:35.335Z] 7186ed65a4f7: Download complete [2021-06-03T07:45:35.611Z] 207e8628e3a3: Download complete [2021-06-03T07:45:35.611Z] c791037a9be2: Verifying Checksum [2021-06-03T07:45:35.611Z] c791037a9be2: Download complete [2021-06-03T07:45:35.611Z] 595b0fe564bb: Verifying Checksum [2021-06-03T07:45:35.611Z] 595b0fe564bb: Download complete [2021-06-03T07:45:36.214Z] 595b0fe564bb: Pull complete [2021-06-03T07:45:36.825Z] 7186ed65a4f7: Pull complete [2021-06-03T07:45:37.106Z] 316046926c0a: Pull complete [2021-06-03T07:45:38.090Z] ffd874e62e21: Download complete [2021-06-03T07:45:39.384Z] lf-activate-venv(): INFO: Adding /tmp/venv-ssnc/bin to PATH [2021-06-03T07:45:39.385Z] INFO: No Stack... [2021-06-03T07:45:39.385Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-03T07:45:39.519Z] 4ebd0625c992: Verifying Checksum [2021-06-03T07:45:39.519Z] 4ebd0625c992: Download complete [2021-06-03T07:45:39.957Z] INFO: Archiving Costs [Pipeline] sh [2021-06-03T07:45:40.278Z] + cut -d, -f6 [2021-06-03T07:45:40.278Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-06-03T07:45:40.332Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [2021-06-03T07:45:40.338Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] did not exist. Created. [2021-06-03T07:45:40.338Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-03T07:45:40.744Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-03T07:45:40.836Z] Stashed 1 file(s) [Pipeline] } [2021-06-03T07:45:40.856Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-03T07:45:49.689Z] 4ebd0625c992: Pull complete [2021-06-03T07:45:49.963Z] 207e8628e3a3: Pull complete [2021-06-03T07:45:50.240Z] c791037a9be2: Pull complete [2021-06-03T07:45:54.565Z] ffd874e62e21: Pull complete [2021-06-03T07:45:54.565Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-03T07:45:54.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-03T07:45:54.565Z] ---> cfc18b08335c [2021-06-03T07:45:54.565Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T07:45:56.011Z] ---> Running in 4f5aec0acf39 [2021-06-03T07:45:56.608Z] Removing intermediate container 4f5aec0acf39 [2021-06-03T07:45:56.608Z] ---> 1ac3f8263ec7 [2021-06-03T07:45:56.608Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T07:45:56.609Z] ---> Running in 05c7af8509bf [2021-06-03T07:45:57.203Z] Removing intermediate container 05c7af8509bf [2021-06-03T07:45:57.203Z] ---> 8478d841b601 [2021-06-03T07:45:57.203Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-03T07:45:57.203Z] ---> Running in 3008119003bb [2021-06-03T07:45:57.814Z] Removing intermediate container 3008119003bb [2021-06-03T07:45:57.814Z] ---> 79482501eb7e [2021-06-03T07:45:57.814Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T07:45:57.814Z] ---> Running in 304f88c5496d [2021-06-03T07:46:01.204Z] Removing intermediate container 304f88c5496d [2021-06-03T07:46:01.204Z] ---> a6eec4bdfb7d [2021-06-03T07:46:01.204Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T07:46:01.475Z] ---> Running in a5fdb83ebc53 [2021-06-03T07:46:02.452Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-03T07:46:03.873Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-03T07:46:04.474Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-03T07:46:04.474Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-03T07:46:04.744Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-03T07:46:04.744Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-03T07:46:05.014Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-03T07:46:05.605Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-03T07:46:05.605Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-03T07:46:06.577Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-03T07:46:06.577Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-03T07:46:06.577Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-03T07:46:06.850Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-03T07:46:07.123Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-03T07:46:07.397Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-03T07:46:07.397Z] Executing busybox-1.32.1-r6.trigger [2021-06-03T07:46:07.397Z] OK: 145 MiB in 53 packages [2021-06-03T07:46:08.835Z] Removing intermediate container a5fdb83ebc53 [2021-06-03T07:46:08.835Z] ---> e8413c60d257 [2021-06-03T07:46:08.835Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-03T07:46:09.119Z] ---> Running in 5b633315f0e4 [2021-06-03T07:46:09.390Z] Removing intermediate container 5b633315f0e4 [2021-06-03T07:46:09.390Z] ---> 54ef4aae6578 [2021-06-03T07:46:09.390Z] Step 9/10 : COPY . . [2021-06-03T07:46:10.370Z] ---> 4f63dbf157a5 [2021-06-03T07:46:10.370Z] Step 10/10 : RUN go mod download [2021-06-03T07:46:10.644Z] ---> Running in b40d0eaa300c [2021-06-03T07:46:37.427Z] Removing intermediate container b40d0eaa300c [2021-06-03T07:46:37.427Z] ---> c99047957f78 [2021-06-03T07:46:37.427Z] Successfully built c99047957f78 [2021-06-03T07:46:37.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:46:37.797Z] + docker inspect -f . ci-base-image-arm64 [2021-06-03T07:46:37.797Z] . [Pipeline] withDockerContainer [2021-06-03T07:46:38.084Z] prd-ubuntu18.04-docker-arm64-4c-16g-292 does not seem to be running inside a container [2021-06-03T07:46:38.166Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-03T07:46:39.783Z] $ docker top 7755e86b048802c5da59e78f6828f489031d0e1d49cb39fe7770f84567fb8a50 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:46:40.810Z] + go version [2021-06-03T07:46:40.810Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-03T07:46:40.845Z] $ docker stop --time=1 7755e86b048802c5da59e78f6828f489031d0e1d49cb39fe7770f84567fb8a50 [2021-06-03T07:46:42.706Z] $ docker rm -f 7755e86b048802c5da59e78f6828f489031d0e1d49cb39fe7770f84567fb8a50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:46:43.767Z] + docker inspect -f . ci-base-image-arm64 [2021-06-03T07:46:43.767Z] . [Pipeline] withDockerContainer [2021-06-03T07:46:44.069Z] prd-ubuntu18.04-docker-arm64-4c-16g-292 does not seem to be running inside a container [2021-06-03T07:46:44.150Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-03T07:46:45.785Z] $ docker top 1c5c25f8944abee799d097c3a1a00d730d716cc16b31ab575f4f4d5e1f4c0672 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:46:46.819Z] + go mod tidy [Pipeline] sh [2021-06-03T07:46:48.118Z] + make test [2021-06-03T07:46:48.118Z] go mod tidy [2021-06-03T07:46:48.717Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-03T07:46:50.153Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-03T07:47:37.160Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-03T07:47:37.160Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements [2021-06-03T07:47:37.160Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-03T07:48:03.970Z] gofmt -l . [2021-06-03T07:48:03.970Z] [ "`gofmt -l .`" = "" ] [2021-06-03T07:48:03.970Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-03T07:48:05.436Z] $ docker stop --time=1 1c5c25f8944abee799d097c3a1a00d730d716cc16b31ab575f4f4d5e1f4c0672 [2021-06-03T07:48:07.458Z] $ docker rm -f 1c5c25f8944abee799d097c3a1a00d730d716cc16b31ab575f4f4d5e1f4c0672 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T07:48:08.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-03T07:48:08.374Z] Warning: overwriting stash ‘coverage-report’ [2021-06-03T07:48:08.857Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T07:48:09.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-03T07:48:09.878Z] + ls -al . [2021-06-03T07:48:09.878Z] total 128 [2021-06-03T07:48:09.878Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 3 07:48 . [2021-06-03T07:48:09.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 07:45 .. [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 3 07:45 .dockerignore [2021-06-03T07:48:09.878Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:45 .git [2021-06-03T07:48:09.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:45 .github [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 3 07:45 .gitignore [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 3 07:45 Attribution.txt [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 3 07:45 Dockerfile [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 3 07:45 Dockerfile.build [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 3 07:45 Jenkinsfile [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 07:45 LICENSE [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 3 07:45 Makefile [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 3 07:45 README.md [2021-06-03T07:48:09.878Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 07:41 VERSION [2021-06-03T07:48:09.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:45 bin [2021-06-03T07:48:09.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:45 cmd [2021-06-03T07:48:09.879Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 3 07:47 coverage.out [2021-06-03T07:48:09.879Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 3 07:45 go.mod [2021-06-03T07:48:09.879Z] -rw-r--r-- 1 jenkins jenkins 21134 Jun 3 07:46 go.sum [2021-06-03T07:48:09.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:45 internal [2021-06-03T07:48:09.879Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 3 07:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:48:10.249Z] + 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=1408b212ea7820d3ded43e67898db6b40362390e --label arch=arm64 --label version=0.0.0 . [2021-06-03T07:48:10.524Z] Sending build context to Docker daemon 368.6kB [2021-06-03T07:48:10.524Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T07:48:10.524Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-03T07:48:10.524Z] ---> c99047957f78 [2021-06-03T07:48:10.524Z] Step 3/24 : ARG MAKE='make build' [2021-06-03T07:48:10.798Z] ---> Running in 298395d78479 [2021-06-03T07:48:11.404Z] Removing intermediate container 298395d78479 [2021-06-03T07:48:11.404Z] ---> 36984809d6c3 [2021-06-03T07:48:11.404Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T07:48:11.404Z] ---> Running in c8b7ca3111c9 [2021-06-03T07:48:11.999Z] Removing intermediate container c8b7ca3111c9 [2021-06-03T07:48:11.999Z] ---> 1e31df57a777 [2021-06-03T07:48:11.999Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T07:48:11.999Z] ---> Running in 2c1a7863e526 [2021-06-03T07:48:12.603Z] Removing intermediate container 2c1a7863e526 [2021-06-03T07:48:12.603Z] ---> 31ebd47c725e [2021-06-03T07:48:12.603Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T07:48:12.603Z] ---> Running in b92152675a21 [2021-06-03T07:48:15.236Z] Removing intermediate container b92152675a21 [2021-06-03T07:48:15.236Z] ---> 50885b782911 [2021-06-03T07:48:15.236Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T07:48:15.236Z] ---> Running in 7c9b55287b27 [2021-06-03T07:48:16.218Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-03T07:48:17.194Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-03T07:48:17.791Z] OK: 145 MiB in 53 packages [2021-06-03T07:48:18.769Z] Removing intermediate container 7c9b55287b27 [2021-06-03T07:48:18.769Z] ---> be627e77e742 [2021-06-03T07:48:18.769Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-03T07:48:19.043Z] ---> Running in 9ad1c6407bc5 [2021-06-03T07:48:19.636Z] Removing intermediate container 9ad1c6407bc5 [2021-06-03T07:48:19.636Z] ---> 42f57b9b75c6 [2021-06-03T07:48:19.636Z] Step 9/24 : COPY . . [2021-06-03T07:48:20.618Z] ---> c2ca0910dc80 [2021-06-03T07:48:20.619Z] Step 10/24 : RUN go mod tidy [2021-06-03T07:48:20.619Z] ---> Running in 038a73bdee62 [2021-06-03T07:48:23.254Z] Removing intermediate container 038a73bdee62 [2021-06-03T07:48:23.254Z] ---> 41a40c101dcd [2021-06-03T07:48:23.254Z] Step 11/24 : RUN make update [2021-06-03T07:48:23.533Z] ---> Running in 623b2fc43c6c [2021-06-03T07:48:24.978Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-03T07:48:25.956Z] Removing intermediate container 623b2fc43c6c [2021-06-03T07:48:25.956Z] ---> ffe0e544569a [2021-06-03T07:48:25.956Z] Step 12/24 : RUN ${MAKE} [2021-06-03T07:48:25.956Z] ---> Running in 68b191a52481 [2021-06-03T07:48:27.398Z] go mod tidy [2021-06-03T07:48:27.673Z] 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-03T07:49:06.719Z] Removing intermediate container 68b191a52481 [2021-06-03T07:49:06.719Z] ---> 5ec9cc1d43cf [2021-06-03T07:49:06.719Z] Step 13/24 : FROM alpine:3.12 [2021-06-03T07:49:06.719Z] 3.12: Pulling from library/alpine [2021-06-03T07:49:06.719Z] d2f70382dc9a: Pulling fs layer [2021-06-03T07:49:06.719Z] d2f70382dc9a: Verifying Checksum [2021-06-03T07:49:06.719Z] d2f70382dc9a: Download complete [2021-06-03T07:49:06.719Z] d2f70382dc9a: Pull complete [2021-06-03T07:49:06.719Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-03T07:49:06.719Z] Status: Downloaded newer image for alpine:3.12 [2021-06-03T07:49:06.719Z] ---> 9852663dfa18 [2021-06-03T07:49:06.719Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-03T07:49:06.719Z] ---> Running in 42c9f7b3ab48 [2021-06-03T07:49:06.719Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-03T07:49:06.719Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-03T07:49:06.719Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-03T07:49:06.719Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-03T07:49:06.719Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-03T07:49:06.719Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-03T07:49:06.719Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-03T07:49:06.719Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-03T07:49:06.719Z] Executing busybox-1.31.1-r20.trigger [2021-06-03T07:49:06.719Z] OK: 8 MiB in 20 packages [2021-06-03T07:49:08.156Z] Removing intermediate container 42c9f7b3ab48 [2021-06-03T07:49:08.156Z] ---> 701e1acc4653 [2021-06-03T07:49:08.156Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-03T07:49:09.135Z] ---> 7c0cb10db461 [2021-06-03T07:49:09.135Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-03T07:49:09.735Z] ---> 4166d3b6c290 [2021-06-03T07:49:09.735Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-03T07:49:10.715Z] ---> 0acb2be7b023 [2021-06-03T07:49:10.715Z] Step 18/24 : EXPOSE 59993 [2021-06-03T07:49:10.715Z] ---> Running in 4472fc627554 [2021-06-03T07:49:11.308Z] Removing intermediate container 4472fc627554 [2021-06-03T07:49:11.308Z] ---> f903c97e478b [2021-06-03T07:49:11.308Z] Step 19/24 : EXPOSE 161 [2021-06-03T07:49:11.308Z] ---> Running in 2ed29a7b4086 [2021-06-03T07:49:11.902Z] Removing intermediate container 2ed29a7b4086 [2021-06-03T07:49:11.902Z] ---> ffacf6af1510 [2021-06-03T07:49:11.902Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-03T07:49:11.902Z] ---> Running in 8d8e571d9f7e [2021-06-03T07:49:12.498Z] Removing intermediate container 8d8e571d9f7e [2021-06-03T07:49:12.498Z] ---> a582f5ce4c63 [2021-06-03T07:49:12.498Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-03T07:49:12.498Z] ---> Running in a7d1f8815ef4 [2021-06-03T07:49:13.101Z] Removing intermediate container a7d1f8815ef4 [2021-06-03T07:49:13.101Z] ---> 351e741a8368 [2021-06-03T07:49:13.101Z] Step 22/24 : LABEL arch=arm64 [2021-06-03T07:49:13.101Z] ---> Running in ed38f7335dd9 [2021-06-03T07:49:13.698Z] Removing intermediate container ed38f7335dd9 [2021-06-03T07:49:13.698Z] ---> f91097f59352 [2021-06-03T07:49:13.698Z] Step 23/24 : LABEL git_sha=1408b212ea7820d3ded43e67898db6b40362390e [2021-06-03T07:49:13.698Z] ---> Running in 3f4b8d6dedb3 [2021-06-03T07:49:14.297Z] Removing intermediate container 3f4b8d6dedb3 [2021-06-03T07:49:14.297Z] ---> 7c7362728994 [2021-06-03T07:49:14.297Z] Step 24/24 : LABEL version=0.0.0 [2021-06-03T07:49:14.297Z] ---> Running in 8de6c2fa6ae3 [2021-06-03T07:49:14.896Z] Removing intermediate container 8de6c2fa6ae3 [2021-06-03T07:49:14.896Z] ---> 5e7079664235 [2021-06-03T07:49:14.896Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-03T07:49:14.896Z] Successfully built 5e7079664235 [2021-06-03T07:49:14.896Z] 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-03T07:49:15.871Z] ---> job-cost.sh [2021-06-03T07:49:15.871Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cxvD [2021-06-03T07:49:54.863Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-03T07:51:16.633Z] lf-activate-venv(): INFO: Adding /tmp/venv-cxvD/bin to PATH [2021-06-03T07:51:16.633Z] INFO: No Stack... [2021-06-03T07:51:16.904Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-03T07:51:17.497Z] INFO: Archiving Costs [Pipeline] sh [2021-06-03T07:51:18.521Z] + cut -d, -f6 [2021-06-03T07:51:18.521Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-06-03T07:51:18.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [2021-06-03T07:51:18.615Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] did not exist. Created. [2021-06-03T07:51:18.616Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-03T07:51:19.041Z] /w/workspace/device-snmp-go/1@tmp/durable-cad12cdd/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-cad12cdd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-03T07:51:19.406Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-03T07:51:19.444Z] Warning: overwriting stash ‘stack-cost’ [2021-06-03T07:51:19.599Z] Stashed 1 file(s) [Pipeline] } [2021-06-03T07:51:19.618Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-106-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-03T07:51:20.565Z] provisioning config files... [2021-06-03T07:51:20.577Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/config1091174489358939558tmp [Pipeline] { [Pipeline] sh [2021-06-03T07:51:20.963Z] + set +x [2021-06-03T07:51:20.963Z] + curl -s https://codecov.io/bash [2021-06-03T07:51:20.963Z] + bash -s -- [2021-06-03T07:51:20.963Z] [2021-06-03T07:51:20.963Z] _____ _ [2021-06-03T07:51:20.963Z] / ____| | | [2021-06-03T07:51:20.963Z] | | ___ __| | ___ ___ _____ __ [2021-06-03T07:51:20.963Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-03T07:51:20.963Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-03T07:51:20.963Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-03T07:51:20.963Z] Bash-1.0.3 [2021-06-03T07:51:20.963Z] [2021-06-03T07:51:20.963Z] [2021-06-03T07:51:20.963Z] ==> git version 2.24.4 found [2021-06-03T07:51:20.963Z] ==> 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-03T07:51:20.963Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-03T07:51:20.963Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-03T07:51:20.963Z] ==> Jenkins CI detected. [2021-06-03T07:51:20.963Z] project root: . [2021-06-03T07:51:20.963Z] --> token set from env [2021-06-03T07:51:20.963Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-03T07:51:20.963Z] ==> Running gcov in . (disable via -X gcov) [2021-06-03T07:51:20.963Z] ==> Python coveragepy not found [2021-06-03T07:51:20.963Z] ==> Searching for coverage reports in: [2021-06-03T07:51:20.963Z] + . [2021-06-03T07:51:20.963Z] -> Found 1 reports [2021-06-03T07:51:20.963Z] ==> Detecting git/mercurial file structure [2021-06-03T07:51:20.963Z] ==> Reading reports [2021-06-03T07:51:20.963Z] + ./coverage.out bytes=7631 [2021-06-03T07:51:21.227Z] ==> Appending adjustments [2021-06-03T07:51:21.227Z] https://docs.codecov.io/docs/fixing-reports [2021-06-03T07:51:21.227Z] + Found adjustments [2021-06-03T07:51:21.227Z] ==> Gzipping contents [2021-06-03T07:51:21.227Z] 4.0K /tmp/codecov.i1OzVY.gz [2021-06-03T07:51:21.227Z] ==> Uploading reports [2021-06-03T07:51:21.227Z] url: https://codecov.io [2021-06-03T07:51:21.227Z] query: branch=PR-106&commit=1408b212ea7820d3ded43e67898db6b40362390e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-106%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=106&job=&cmd_args= [2021-06-03T07:51:21.227Z] -> Pinging Codecov [2021-06-03T07:51:21.227Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-106&commit=1408b212ea7820d3ded43e67898db6b40362390e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-106%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=106&job=&cmd_args= [2021-06-03T07:51:21.804Z] -> Uploading to [2021-06-03T07:51:21.804Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-03/6C56EA5C29638FB4528AC87E60AF5AE0/1408b212ea7820d3ded43e67898db6b40362390e/ad54d75d-70a0-4440-82e1-779198844707.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210603T075121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d551d683bdd521a7fc52d76fc6c210a73b20c3510cd16b61043c57482a56f1b8 [2021-06-03T07:51:22.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-03T07:51:22.068Z] Dload Upload Total Spent Left Speed [2021-06-03T07:51:22.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 2681 --:--:-- --:--:-- --:--:-- 2686 [2021-06-03T07:51:22.330Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/1408b212ea7820d3ded43e67898db6b40362390e [Pipeline] } [2021-06-03T07:51:22.394Z] 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-03T07:51:24.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:51:25.231Z] ---> package-listing.sh [2021-06-03T07:51:25.231Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-03T07:51:25.231Z] ++ facter osfamily [2021-06-03T07:51:25.496Z] + OS_FAMILY=redhat [2021-06-03T07:51:25.497Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-106 [2021-06-03T07:51:25.497Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-03T07:51:25.497Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-03T07:51:25.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-03T07:51:25.497Z] + PACKAGES=/tmp/packages_start.txt [2021-06-03T07:51:25.497Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-106 ']' [2021-06-03T07:51:25.497Z] + PACKAGES=/tmp/packages_end.txt [2021-06-03T07:51:25.497Z] + case "${OS_FAMILY}" in [2021-06-03T07:51:25.497Z] + rpm -qa [2021-06-03T07:51:25.497Z] + sort [2021-06-03T07:51:26.073Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-03T07:51:26.073Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-03T07:51:26.073Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-03T07:51:26.073Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-106 ']' [2021-06-03T07:51:26.073Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-106/archives/ [2021-06-03T07:51:26.073Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-106/archives/ [Pipeline] echo [2021-06-03T07:51:26.107Z] 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-106/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-03T07:51:26.415Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:51:27.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T07:51:27.007Z] [2021-06-03T07:51:27.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:51:27.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T07:51:27.371Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-03T07:51:27.371Z] df20fa9351a1: Pulling fs layer [2021-06-03T07:51:27.371Z] 36b3adc4ff6f: Pulling fs layer [2021-06-03T07:51:27.371Z] 8ad3a11d3b57: Pulling fs layer [2021-06-03T07:51:27.371Z] 46f8f816bc3b: Pulling fs layer [2021-06-03T07:51:27.371Z] 93b61091891f: Pulling fs layer [2021-06-03T07:51:27.371Z] 93b9cdb0e59b: Pulling fs layer [2021-06-03T07:51:27.371Z] 5e14af77c1be: Pulling fs layer [2021-06-03T07:51:27.371Z] 01666e4c0597: Pulling fs layer [2021-06-03T07:51:27.371Z] aa168da1d23b: Pulling fs layer [2021-06-03T07:51:27.371Z] 93b9cdb0e59b: Waiting [2021-06-03T07:51:27.371Z] 5e14af77c1be: Waiting [2021-06-03T07:51:27.371Z] 01666e4c0597: Waiting [2021-06-03T07:51:27.371Z] aa168da1d23b: Waiting [2021-06-03T07:51:27.371Z] 46f8f816bc3b: Waiting [2021-06-03T07:51:27.371Z] 93b61091891f: Waiting [2021-06-03T07:51:27.371Z] 36b3adc4ff6f: Verifying Checksum [2021-06-03T07:51:27.371Z] 36b3adc4ff6f: Download complete [2021-06-03T07:51:27.371Z] 46f8f816bc3b: Verifying Checksum [2021-06-03T07:51:27.371Z] 46f8f816bc3b: Download complete [2021-06-03T07:51:27.371Z] df20fa9351a1: Verifying Checksum [2021-06-03T07:51:27.371Z] df20fa9351a1: Download complete [2021-06-03T07:51:27.643Z] 93b9cdb0e59b: Verifying Checksum [2021-06-03T07:51:27.643Z] 93b9cdb0e59b: Download complete [2021-06-03T07:51:27.643Z] 5e14af77c1be: Verifying Checksum [2021-06-03T07:51:27.643Z] 5e14af77c1be: Download complete [2021-06-03T07:51:27.643Z] 93b61091891f: Verifying Checksum [2021-06-03T07:51:27.643Z] 93b61091891f: Download complete [2021-06-03T07:51:27.643Z] 01666e4c0597: Verifying Checksum [2021-06-03T07:51:27.643Z] 01666e4c0597: Download complete [2021-06-03T07:51:27.643Z] df20fa9351a1: Pull complete [2021-06-03T07:51:27.906Z] 36b3adc4ff6f: Pull complete [2021-06-03T07:51:28.168Z] 8ad3a11d3b57: Verifying Checksum [2021-06-03T07:51:28.168Z] 8ad3a11d3b57: Download complete [2021-06-03T07:51:28.429Z] 8ad3a11d3b57: Pull complete [2021-06-03T07:51:28.699Z] 46f8f816bc3b: Pull complete [2021-06-03T07:51:28.967Z] 93b61091891f: Pull complete [2021-06-03T07:51:28.967Z] 93b9cdb0e59b: Pull complete [2021-06-03T07:51:29.229Z] 5e14af77c1be: Pull complete [2021-06-03T07:51:29.229Z] 01666e4c0597: Pull complete [2021-06-03T07:51:29.812Z] aa168da1d23b: Verifying Checksum [2021-06-03T07:51:29.813Z] aa168da1d23b: Download complete [2021-06-03T07:51:34.062Z] aa168da1d23b: Pull complete [2021-06-03T07:51:34.062Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-03T07:51:34.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T07:51:34.062Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-03T07:51:34.169Z] prd-centos7-docker-4c-2g-286 does not seem to be running inside a container [2021-06-03T07:51:34.210Z] $ 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-106/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-106 -v /w/workspace/gexfoundry_device-snmp-go_PR-106:/w/workspace/gexfoundry_device-snmp-go_PR-106:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-106@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-03T07:51:36.916Z] $ docker top de18cb9f6086f7d237226be1382f2064b946dcedcc8a005717a221ab00873556 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:51:37.359Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-03T07:51:37.675Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-03T07:51:37.987Z] + ls /var/log/sa-host [2021-06-03T07:51:37.987Z] + sadf -c /var/log/sa-host/sa03 [2021-06-03T07:51:37.987Z] file_magic: OK [2021-06-03T07:51:37.987Z] HZ: Using current value: 100 [2021-06-03T07:51:37.987Z] file_header: OK [2021-06-03T07:51:37.987Z] 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-03T07:51:37.987Z] Statistics: [2021-06-03T07:51:37.987Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-03T07:51:37.987Z] File successfully converted to sysstat format version 12.2.1 [2021-06-03T07:51:37.987Z] + sadf -c /var/log/sa-host/sa05 [2021-06-03T07:51:37.987Z] file_magic: OK [2021-06-03T07:51:37.987Z] HZ: Using current value: 100 [2021-06-03T07:51:37.987Z] file_header: OK [2021-06-03T07:51:37.987Z] 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-03T07:51:37.987Z] Statistics: [2021-06-03T07:51:37.987Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-03T07:51:37.987Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T07:51:38.239Z] provisioning config files... [2021-06-03T07:51:38.260Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/config3922140439325491398tmp [Pipeline] { [Pipeline] echo [2021-06-03T07:51:38.321Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:51:38.674Z] ---> create-netrc.sh [Pipeline] } [2021-06-03T07:51:38.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-03T07:51:38.762Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:51:39.094Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-03T07:51:39.124Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:51:39.458Z] ---> sudo-logs.sh [2021-06-03T07:51:39.458Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-03T07:51:39.529Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:51:39.856Z] ---> job-cost.sh [2021-06-03T07:51:39.856Z] lf-activate-venv: SKIPPING [2021-06-03T07:51:39.856Z] DEBUG: total: 0.18000000715255737 [2021-06-03T07:51:39.856Z] INFO: Retrieving Stack Cost... [2021-06-03T07:51:41.255Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-03T07:51:41.516Z] INFO: Archiving Costs [Pipeline] echo [2021-06-03T07:51:41.550Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:51:41.906Z] ---> logs-deploy.sh [2021-06-03T07:51:41.907Z] lf-activate-venv: SKIPPING [2021-06-03T07:51:41.907Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-106/1 [2021-06-03T07:51:41.907Z] INFO: archiving workspace using pattern(s): [2021-06-03T07:51:42.854Z] Archives upload complete. [2021-06-03T07:51:42.854Z] INFO: archiving logs to Nexus