Pull request #95 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bc23b967fe3c88f879d260097d0161ea44e0e0b1+80fc4d6fa8e57088abf890f3ca65168d4dd41549 (18fd31f242ca3c4c93076a0ade275c911b4a984f) 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-ssh8146911978550661208.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh3925738161788286994.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 9d0281235b943b7ad605f650702698f9078b2862 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-95/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-95/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1040687332702512313.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-95/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9060902550872698791.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh5290369370793478094.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-95/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-95/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6284630182926077833.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 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15334 in /w/workspace/dgexfoundry_device-snmp-go_PR-95 [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/dgexfoundry_device-snmp-go_PR-95 # timeout=10 Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit bc23b967fe3c88f879d260097d0161ea44e0e0b1 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/dgexfoundry_device-snmp-go_PR-95@tmp/jenkins-gitclient-ssh4890594739398458597.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/dgexfoundry_device-snmp-go_PR-95@tmp/jenkins-gitclient-ssh9205949116661332321.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing bc23b967fe3c88f879d260097d0161ea44e0e0b1 Checking out Revision bc23b967fe3c88f879d260097d0161ea44e0e0b1 (PR-95) > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # 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/dgexfoundry_device-snmp-go_PR-95@tmp/jenkins-gitclient-ssh21164738558478763.key > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # 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 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T16:24:55.629Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T16:24:55.809Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T16:24:55.920Z] ========================================================= [2021-05-20T16:24:55.920Z] EdgeX Global Pipelines Version Info [2021-05-20T16:24:55.920Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:24:57.397Z] ------------------- [2021-05-20T16:24:57.397Z] stable info: [2021-05-20T16:24:57.397Z] ------------------- [2021-05-20T16:24:57.397Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T16:24:57.397Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T16:24:57.397Z] Message: update stable to v1.0.192 [2021-05-20T16:24:57.974Z] ------------------- [2021-05-20T16:24:57.974Z] experimental info: [2021-05-20T16:24:57.974Z] ------------------- [2021-05-20T16:24:57.974Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T16:24:57.974Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T16:24:57.974Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T16:24:58.199Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-20T16:24:58.258Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-20T16:24:58.315Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T16:24:58.377Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T16:24:58.438Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T16:24:58.495Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T16:24:58.554Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T16:24:58.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T16:24:58.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-20T16:24:58.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T16:24:58.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T16:24:58.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-20T16:24:58.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T16:24:59.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T16:24:59.115Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T16:24:59.173Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T16:24:59.229Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T16:24:59.288Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T16:24:59.350Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T16:24:59.409Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T16:24:59.468Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-20T16:24:59.527Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-20T16:24:59.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T16:24:59.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T16:24:59.734Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T16:24:59.803Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T16:24:59.862Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo [2021-05-20T16:24:59.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo [2021-05-20T16:24:59.970Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo [2021-05-20T16:25:00.038Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc23b967fe3c88f879d260097d0161ea44e0e0b1 [Pipeline] echo [2021-05-20T16:25:00.097Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc23b96 [Pipeline] echo [2021-05-20T16:25:00.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T16:25:00.309Z] provisioning config files... [2021-05-20T16:25:00.327Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/config3932152540796359039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:25:00.709Z] ---> docker-login.sh [2021-05-20T16:25:00.709Z] nexus3.edgexfoundry.org:10001 [2021-05-20T16:25:01.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:01.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:01.552Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:01.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:01.552Z] [2021-05-20T16:25:01.552Z] Login Succeeded [2021-05-20T16:25:01.552Z] nexus3.edgexfoundry.org:10002 [2021-05-20T16:25:01.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:01.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:01.552Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:01.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:01.552Z] [2021-05-20T16:25:01.552Z] Login Succeeded [2021-05-20T16:25:01.552Z] nexus3.edgexfoundry.org:10003 [2021-05-20T16:25:01.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:01.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:01.820Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:01.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:01.820Z] [2021-05-20T16:25:01.820Z] Login Succeeded [2021-05-20T16:25:01.820Z] nexus3.edgexfoundry.org:10004 [2021-05-20T16:25:01.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:01.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:01.820Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:01.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:01.820Z] [2021-05-20T16:25:01.820Z] Login Succeeded [2021-05-20T16:25:01.820Z] docker.io [2021-05-20T16:25:02.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:02.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:02.347Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:02.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:02.347Z] [2021-05-20T16:25:02.347Z] Login Succeeded [2021-05-20T16:25:02.347Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T16:25:02.365Z] 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-05-20T16:25:03.089Z] + git log --format=format:%s -1 bc23b967fe3c88f879d260097d0161ea44e0e0b1 [Pipeline] echo [2021-05-20T16:25:03.170Z] GIT_COMMIT: bc23b967fe3c88f879d260097d0161ea44e0e0b1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-20T16:25:03.213Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:25:03.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T16:25:03.926Z] [2021-05-20T16:25:03.926Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:25:04.281Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T16:25:04.281Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T16:25:04.281Z] 31603596830f: Pulling fs layer [2021-05-20T16:25:04.281Z] 54011a49482f: Pulling fs layer [2021-05-20T16:25:04.281Z] a6820b24f6d8: Pulling fs layer [2021-05-20T16:25:04.281Z] f581987b2513: Pulling fs layer [2021-05-20T16:25:04.281Z] f581987b2513: Waiting [2021-05-20T16:25:04.281Z] 54011a49482f: Verifying Checksum [2021-05-20T16:25:04.281Z] 54011a49482f: Download complete [2021-05-20T16:25:04.548Z] 31603596830f: Verifying Checksum [2021-05-20T16:25:04.548Z] 31603596830f: Download complete [2021-05-20T16:25:04.548Z] f581987b2513: Verifying Checksum [2021-05-20T16:25:04.548Z] f581987b2513: Download complete [2021-05-20T16:25:04.548Z] a6820b24f6d8: Verifying Checksum [2021-05-20T16:25:04.548Z] a6820b24f6d8: Download complete [2021-05-20T16:25:04.815Z] 31603596830f: Pull complete [2021-05-20T16:25:04.815Z] 54011a49482f: Pull complete [2021-05-20T16:25:05.768Z] a6820b24f6d8: Pull complete [2021-05-20T16:25:05.768Z] f581987b2513: Pull complete [2021-05-20T16:25:06.030Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T16:25:06.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T16:25:06.030Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T16:25:06.134Z] prd-centos7-docker-4c-2g-15334 does not seem to be running inside a container [2021-05-20T16:25:06.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-95 -v /w/workspace/dgexfoundry_device-snmp-go_PR-95:/w/workspace/dgexfoundry_device-snmp-go_PR-95:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-95@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T16:25:10.137Z] $ docker top aec54758160dd74af57d8a3f33dca3b029709f1cc8030c3c3056ca6245022693 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T16:25:10.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T16:25:10.347Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T16:25:10.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T16:25:10.461Z] $ docker exec aec54758160dd74af57d8a3f33dca3b029709f1cc8030c3c3056ca6245022693 ssh-agent [2021-05-20T16:25:10.565Z] SSH_AUTH_SOCK=/tmp/ssh-RPazPQ9bJ9Ff/agent.15 [2021-05-20T16:25:10.565Z] SSH_AGENT_PID=21 [2021-05-20T16:25:10.574Z] Running ssh-add (command line suppressed) [2021-05-20T16:25:10.663Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/private_key_2249268500048371142.key (/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/private_key_2249268500048371142.key) [2021-05-20T16:25:10.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T16:25:11.022Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T16:25:11.043Z] $ docker exec --env ******** --env ******** aec54758160dd74af57d8a3f33dca3b029709f1cc8030c3c3056ca6245022693 ssh-agent -k [2021-05-20T16:25:11.141Z] unset SSH_AUTH_SOCK; [2021-05-20T16:25:11.142Z] unset SSH_AGENT_PID; [2021-05-20T16:25:11.142Z] echo Agent pid 21 killed; [2021-05-20T16:25:11.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T16:25:11.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T16:25:11.249Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T16:25:11.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T16:25:11.365Z] $ docker exec aec54758160dd74af57d8a3f33dca3b029709f1cc8030c3c3056ca6245022693 ssh-agent [2021-05-20T16:25:11.474Z] SSH_AUTH_SOCK=/tmp/ssh-TmXXjFlZIUJs/agent.56 [2021-05-20T16:25:11.474Z] SSH_AGENT_PID=61 [2021-05-20T16:25:11.486Z] Running ssh-add (command line suppressed) [2021-05-20T16:25:11.585Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/private_key_6216440728052663828.key (/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/private_key_6216440728052663828.key) [2021-05-20T16:25:11.602Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T16:25:11.943Z] + git semver init [2021-05-20T16:25:11.944Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T16:25:11.944Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-95/.git [2021-05-20T16:25:11.944Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-95 [2021-05-20T16:25:11.944Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T16:25:11.944Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T16:25:11.944Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T16:25:11.944Z] # $SEMVER_BRANCH = PR-95 [2021-05-20T16:25:11.944Z] # $SEMVER_TEMP = /tmp/semver-241692077 [2021-05-20T16:25:11.944Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-20T16:25:12.205Z] # '/tmp/semver-241692077' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-95/.semver' [2021-05-20T16:25:12.205Z] # -> Force: false [2021-05-20T16:25:12.206Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-95/.semver [Pipeline] } [2021-05-20T16:25:12.226Z] $ docker exec --env ******** --env ******** aec54758160dd74af57d8a3f33dca3b029709f1cc8030c3c3056ca6245022693 ssh-agent -k [2021-05-20T16:25:12.326Z] unset SSH_AUTH_SOCK; [2021-05-20T16:25:12.327Z] unset SSH_AGENT_PID; [2021-05-20T16:25:12.327Z] echo Agent pid 61 killed; [2021-05-20T16:25:12.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T16:25:12.776Z] + git semver [Pipeline] } [2021-05-20T16:25:12.804Z] $ docker stop --time=1 aec54758160dd74af57d8a3f33dca3b029709f1cc8030c3c3056ca6245022693 [2021-05-20T16:25:14.535Z] $ docker rm -f aec54758160dd74af57d8a3f33dca3b029709f1cc8030c3c3056ca6245022693 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T16:25:15.015Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T16:25:15.329Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T16:25:15.353Z] [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-05-20T16:25:30.893Z] Still waiting to schedule task [2021-05-20T16:25:30.893Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-20T16:25:30.893Z] ‘prd-centos7-docker-4c-2g-15336’ is offline [2021-05-20T16:25:30.894Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-20T16:25:30.917Z] Still waiting to schedule task [2021-05-20T16:25:30.917Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15331’ [2021-05-20T16:26:44.340Z] Running on prd-centos7-docker-4c-2g-15337 in /w/workspace/dgexfoundry_device-snmp-go_PR-95 [Pipeline] { [Pipeline] ws [2021-05-20T16:26:44.397Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-20T16:26:44.559Z] Selected Git installation does not exist. Using Default [2021-05-20T16:26:44.560Z] The recommended git tool is: NONE [2021-05-20T16:26:46.943Z] using credential edgex-jenkins-ssh [2021-05-20T16:26:46.959Z] Cloning the remote Git repository [2021-05-20T16:26:46.988Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:26:47.049Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-20T16:26:47.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:26:47.076Z] > git --version # timeout=10 [2021-05-20T16:26:47.082Z] > git --version # 'git version 2.24.4' [2021-05-20T16:26:47.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:26:47.107Z] [INFO] Currently running in a labeled security context [2021-05-20T16:26:47.107Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T16:26:47.108Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh6798896801882319556.key [2021-05-20T16:26:47.128Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T16:26:47.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T16:26:47.649Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T16:26:47.661Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T16:26:47.674Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:26:47.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:26:47.675Z] [INFO] Currently running in a labeled security context [2021-05-20T16:26:47.675Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T16:26:47.675Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh775068020033172337.key [2021-05-20T16:26:47.685Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T16:26:48.209Z] Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit bc23b967fe3c88f879d260097d0161ea44e0e0b1 [2021-05-20T16:26:48.299Z] Merge succeeded, producing bc23b967fe3c88f879d260097d0161ea44e0e0b1 [2021-05-20T16:26:48.300Z] Checking out Revision bc23b967fe3c88f879d260097d0161ea44e0e0b1 (PR-95) [2021-05-20T16:26:48.219Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T16:26:48.225Z] > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [2021-05-20T16:26:48.251Z] > git remote # timeout=10 [2021-05-20T16:26:48.263Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T16:26:48.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:26:48.271Z] [INFO] Currently running in a labeled security context [2021-05-20T16:26:48.271Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T16:26:48.271Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3854949464921565166.key [2021-05-20T16:26:48.280Z] > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 [2021-05-20T16:26:48.292Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T16:26:48.304Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T16:26:48.311Z] > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [2021-05-20T16:26:51.921Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-20T16:26:51.948Z] > git --version # timeout=10 [2021-05-20T16:26:51.954Z] > git --version # 'git version 2.24.4' [2021-05-20T16:26:51.957Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T16:26:53.094Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T16:26:53.437Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T16:26:53.751Z] + sudo service docker restart [2021-05-20T16:26:53.751Z] + true [2021-05-20T16:26:53.751Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T16:27:11.991Z] provisioning config files... [2021-05-20T16:27:12.011Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1287115547724773801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:27:12.390Z] ---> docker-login.sh [2021-05-20T16:27:12.390Z] nexus3.edgexfoundry.org:10001 [2021-05-20T16:27:12.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:12.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:12.916Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:12.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:12.916Z] [2021-05-20T16:27:12.916Z] Login Succeeded [2021-05-20T16:27:12.916Z] nexus3.edgexfoundry.org:10002 [2021-05-20T16:27:12.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:12.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:12.916Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:12.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:12.916Z] [2021-05-20T16:27:12.916Z] Login Succeeded [2021-05-20T16:27:12.916Z] nexus3.edgexfoundry.org:10003 [2021-05-20T16:27:13.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:13.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:13.180Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:13.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:13.180Z] [2021-05-20T16:27:13.180Z] Login Succeeded [2021-05-20T16:27:13.180Z] nexus3.edgexfoundry.org:10004 [2021-05-20T16:27:13.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:13.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:13.180Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:13.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:13.180Z] [2021-05-20T16:27:13.180Z] Login Succeeded [2021-05-20T16:27:13.180Z] docker.io [2021-05-20T16:27:13.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:13.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:13.705Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:13.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:13.705Z] [2021-05-20T16:27:13.705Z] Login Succeeded [2021-05-20T16:27:13.705Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T16:27:13.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T16:27:14.057Z] ========================================================= [2021-05-20T16:27:14.057Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T16:27:14.057Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:27:14.404Z] + 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-05-20T16:27:14.404Z] Sending build context to Docker daemon 352.8kB [2021-05-20T16:27:14.404Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T16:27:14.404Z] Step 2/10 : FROM ${BASE} [2021-05-20T16:27:14.985Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T16:27:14.985Z] 540db60ca938: Pulling fs layer [2021-05-20T16:27:14.985Z] adcc1eea9eea: Pulling fs layer [2021-05-20T16:27:14.985Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T16:27:14.985Z] 0510c868ecb4: Pulling fs layer [2021-05-20T16:27:14.985Z] afea3b2eda06: Pulling fs layer [2021-05-20T16:27:14.985Z] 7809a108b3ef: Pulling fs layer [2021-05-20T16:27:14.985Z] f706445af74f: Pulling fs layer [2021-05-20T16:27:14.985Z] 0510c868ecb4: Waiting [2021-05-20T16:27:14.985Z] afea3b2eda06: Waiting [2021-05-20T16:27:14.985Z] 7809a108b3ef: Waiting [2021-05-20T16:27:14.985Z] f706445af74f: Waiting [2021-05-20T16:27:14.985Z] 4c4ab2625f07: Download complete [2021-05-20T16:27:14.985Z] adcc1eea9eea: Verifying Checksum [2021-05-20T16:27:14.985Z] adcc1eea9eea: Download complete [2021-05-20T16:27:14.985Z] afea3b2eda06: Verifying Checksum [2021-05-20T16:27:14.985Z] afea3b2eda06: Download complete [2021-05-20T16:27:14.985Z] 7809a108b3ef: Verifying Checksum [2021-05-20T16:27:14.985Z] 7809a108b3ef: Download complete [2021-05-20T16:27:14.985Z] 540db60ca938: Verifying Checksum [2021-05-20T16:27:14.985Z] 540db60ca938: Download complete [2021-05-20T16:27:15.248Z] 540db60ca938: Pull complete [2021-05-20T16:27:15.513Z] adcc1eea9eea: Pull complete [2021-05-20T16:27:15.775Z] 4c4ab2625f07: Pull complete [2021-05-20T16:27:17.168Z] f706445af74f: Verifying Checksum [2021-05-20T16:27:17.168Z] f706445af74f: Download complete [2021-05-20T16:27:17.744Z] 0510c868ecb4: Download complete [2021-05-20T16:27:21.993Z] 0510c868ecb4: Pull complete [2021-05-20T16:27:21.993Z] afea3b2eda06: Pull complete [2021-05-20T16:27:21.993Z] 7809a108b3ef: Pull complete [2021-05-20T16:27:23.405Z] f706445af74f: Pull complete [2021-05-20T16:27:23.405Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T16:27:23.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T16:27:23.405Z] ---> b068be0155e3 [2021-05-20T16:27:23.405Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T16:27:38.350Z] ---> Running in 94145b334988 [2021-05-20T16:27:38.350Z] Removing intermediate container 94145b334988 [2021-05-20T16:27:38.350Z] ---> aa9d6f4bc775 [2021-05-20T16:27:38.350Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T16:27:38.350Z] ---> Running in 8e7f58ebfb49 [2021-05-20T16:27:38.350Z] Removing intermediate container 8e7f58ebfb49 [2021-05-20T16:27:38.350Z] ---> fc35b9223de4 [2021-05-20T16:27:38.350Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-20T16:27:38.350Z] ---> Running in 1454a0e99c8a [2021-05-20T16:27:38.350Z] Removing intermediate container 1454a0e99c8a [2021-05-20T16:27:38.350Z] ---> bcff1971080b [2021-05-20T16:27:38.350Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T16:27:38.350Z] ---> Running in 31da53b18514 [2021-05-20T16:27:38.922Z] Removing intermediate container 31da53b18514 [2021-05-20T16:27:38.922Z] ---> a47ce477aaa6 [2021-05-20T16:27:38.922Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T16:27:38.922Z] ---> Running in 14f3af4b832e [2021-05-20T16:27:39.182Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T16:27:40.127Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T16:27:40.700Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T16:27:40.700Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T16:27:40.700Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T16:27:40.700Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T16:27:40.962Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T16:27:40.962Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T16:27:41.223Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T16:27:41.485Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T16:27:41.485Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T16:27:41.485Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T16:27:41.746Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T16:27:41.746Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T16:27:41.746Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T16:27:42.006Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T16:27:42.006Z] OK: 156 MiB in 53 packages [2021-05-20T16:27:42.948Z] Removing intermediate container 14f3af4b832e [2021-05-20T16:27:42.948Z] ---> 5391e4df2512 [2021-05-20T16:27:42.948Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-20T16:27:42.948Z] ---> Running in 387276b659a5 [2021-05-20T16:27:43.211Z] Removing intermediate container 387276b659a5 [2021-05-20T16:27:43.211Z] ---> 71826784e576 [2021-05-20T16:27:43.211Z] Step 9/10 : COPY . . [2021-05-20T16:27:43.474Z] ---> 24262e4a3fb4 [2021-05-20T16:27:43.474Z] Step 10/10 : RUN go mod download [2021-05-20T16:27:43.748Z] ---> Running in 9a601f4dcea9 [2021-05-20T16:28:10.336Z] Removing intermediate container 9a601f4dcea9 [2021-05-20T16:28:10.336Z] ---> 24b5a8ba0857 [2021-05-20T16:28:10.336Z] Successfully built 24b5a8ba0857 [2021-05-20T16:28:10.336Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:28:10.712Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T16:28:10.712Z] . [Pipeline] withDockerContainer [2021-05-20T16:28:10.839Z] prd-centos7-docker-4c-2g-15337 does not seem to be running inside a container [2021-05-20T16:28:10.885Z] $ 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-x86_64 cat [2021-05-20T16:28:11.617Z] $ docker top 60d2b0fc8f95f6ffbe20646228c4013a72f287e32b30dd97137a473700290d82 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:28:12.050Z] + go version [2021-05-20T16:28:12.050Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T16:28:12.079Z] $ docker stop --time=1 60d2b0fc8f95f6ffbe20646228c4013a72f287e32b30dd97137a473700290d82 [2021-05-20T16:28:13.494Z] $ docker rm -f 60d2b0fc8f95f6ffbe20646228c4013a72f287e32b30dd97137a473700290d82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:28:14.320Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T16:28:14.320Z] . [Pipeline] withDockerContainer [2021-05-20T16:28:14.678Z] prd-centos7-docker-4c-2g-15337 does not seem to be running inside a container [2021-05-20T16:28:14.738Z] $ 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-x86_64 cat [2021-05-20T16:28:15.322Z] $ docker top 33273d1ee9e7d72019f6f7c6b0d4e0973d15c51380d31b59d49cf30ee924b6ce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:28:15.774Z] + go mod tidy [Pipeline] sh [2021-05-20T16:28:16.376Z] + make test [2021-05-20T16:28:16.376Z] go mod tidy [2021-05-20T16:28:16.376Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T16:28:16.954Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-20T16:28:32.001Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-20T16:28:32.001Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-05-20T16:28:32.001Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T16:28:38.698Z] gofmt -l . [2021-05-20T16:28:38.698Z] [ "`gofmt -l .`" = "" ] [2021-05-20T16:28:38.698Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T16:28:38.730Z] $ docker stop --time=1 33273d1ee9e7d72019f6f7c6b0d4e0973d15c51380d31b59d49cf30ee924b6ce [2021-05-20T16:28:40.934Z] $ docker rm -f 33273d1ee9e7d72019f6f7c6b0d4e0973d15c51380d31b59d49cf30ee924b6ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T16:28:41.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T16:28:41.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-20T16:28:43.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T16:28:43.466Z] + ls -al . [2021-05-20T16:28:43.467Z] total 104 [2021-05-20T16:28:43.467Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 20 16:28 . [2021-05-20T16:28:43.467Z] drwxrwxr-x. 4 jenkins jenkins 28 May 20 16:26 .. [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 20 16:26 Attribution.txt [2021-05-20T16:28:43.467Z] drwxrwxr-x. 2 jenkins jenkins 60 May 20 16:26 bin [2021-05-20T16:28:43.467Z] drwxrwxr-x. 3 jenkins jenkins 32 May 20 16:26 cmd [2021-05-20T16:28:43.467Z] -rw-r--r--. 1 jenkins jenkins 7631 May 20 16:28 coverage.out [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 20 16:26 Dockerfile [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 20 16:26 Dockerfile.build [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 6 May 20 16:26 .dockerignore [2021-05-20T16:28:43.467Z] drwxrwxr-x. 8 jenkins jenkins 179 May 20 16:26 .git [2021-05-20T16:28:43.467Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 16:26 .github [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 272 May 20 16:26 .gitignore [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 222 May 20 16:26 go.mod [2021-05-20T16:28:43.467Z] -rw-r--r--. 1 jenkins jenkins 21556 May 20 16:28 go.sum [2021-05-20T16:28:43.467Z] drwxrwxr-x. 3 jenkins jenkins 20 May 20 16:26 internal [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 656 May 20 16:26 Jenkinsfile [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 20 16:26 LICENSE [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 936 May 20 16:26 Makefile [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 20 16:26 README.md [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 5 May 20 16:25 VERSION [2021-05-20T16:28:43.467Z] -rw-rw-r--. 1 jenkins jenkins 209 May 20 16:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:28:43.849Z] + 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=bc23b967fe3c88f879d260097d0161ea44e0e0b1 --label arch=amd64 --label version=0.0.0 . [2021-05-20T16:28:43.849Z] Sending build context to Docker daemon 361kB [2021-05-20T16:28:43.849Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T16:28:43.849Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-20T16:28:43.849Z] ---> 24b5a8ba0857 [2021-05-20T16:28:43.849Z] Step 3/24 : ARG MAKE='make build' [2021-05-20T16:28:43.849Z] ---> Running in dbfa8cb0c05e [2021-05-20T16:28:43.849Z] Removing intermediate container dbfa8cb0c05e [2021-05-20T16:28:43.849Z] ---> 8ad2f5ef5150 [2021-05-20T16:28:43.849Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T16:28:44.113Z] ---> Running in af3f26ce13b4 [2021-05-20T16:28:44.113Z] Removing intermediate container af3f26ce13b4 [2021-05-20T16:28:44.113Z] ---> 395a0c5ef0ce [2021-05-20T16:28:44.113Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T16:28:44.113Z] ---> Running in 791b249dd21e [2021-05-20T16:28:44.376Z] Removing intermediate container 791b249dd21e [2021-05-20T16:28:44.376Z] ---> 9ca60d667eb7 [2021-05-20T16:28:44.376Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T16:28:44.376Z] ---> Running in 74b935bca526 [2021-05-20T16:28:44.640Z] Removing intermediate container 74b935bca526 [2021-05-20T16:28:44.640Z] ---> 796497185264 [2021-05-20T16:28:44.640Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T16:28:44.903Z] ---> Running in 8cb69acc3bc9 [2021-05-20T16:28:45.164Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T16:28:45.735Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T16:28:46.306Z] OK: 156 MiB in 53 packages [2021-05-20T16:28:46.568Z] Removing intermediate container 8cb69acc3bc9 [2021-05-20T16:28:46.568Z] ---> 90938ec2cf1f [2021-05-20T16:28:46.568Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-20T16:28:46.839Z] ---> Running in 3f9ec1bdc5db [2021-05-20T16:28:46.839Z] Removing intermediate container 3f9ec1bdc5db [2021-05-20T16:28:46.839Z] ---> 79ddf5e9461d [2021-05-20T16:28:46.839Z] Step 9/24 : COPY . . [2021-05-20T16:28:47.105Z] ---> 655a8d879296 [2021-05-20T16:28:47.105Z] Step 10/24 : RUN go mod tidy [2021-05-20T16:28:47.105Z] ---> Running in b813d192e31d [2021-05-20T16:28:47.689Z] Removing intermediate container b813d192e31d [2021-05-20T16:28:47.689Z] ---> 73b874a14f2d [2021-05-20T16:28:47.689Z] Step 11/24 : RUN make update [2021-05-20T16:28:47.689Z] ---> Running in 3a64bb0df55e [2021-05-20T16:28:47.951Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T16:28:48.214Z] Removing intermediate container 3a64bb0df55e [2021-05-20T16:28:48.214Z] ---> f8886bc6a0a5 [2021-05-20T16:28:48.214Z] Step 12/24 : RUN ${MAKE} [2021-05-20T16:28:48.214Z] ---> Running in 5b75942a4f39 [2021-05-20T16:28:48.478Z] go mod tidy [2021-05-20T16:28:48.745Z] 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-05-20T16:28:57.591Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15340 in /w/workspace/dgexfoundry_device-snmp-go_PR-95 [Pipeline] { [Pipeline] ws [2021-05-20T16:28:57.656Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-20T16:28:57.899Z] Selected Git installation does not exist. Using Default [2021-05-20T16:28:57.899Z] The recommended git tool is: NONE [2021-05-20T16:29:02.861Z] using credential edgex-jenkins-ssh [2021-05-20T16:29:02.879Z] Cloning the remote Git repository [2021-05-20T16:29:03.736Z] Removing intermediate container 5b75942a4f39 [2021-05-20T16:29:03.736Z] ---> 211239dcb67b [2021-05-20T16:29:03.736Z] Step 13/24 : FROM alpine:3.12 [2021-05-20T16:29:03.736Z] 3.12: Pulling from library/alpine [2021-05-20T16:29:03.736Z] 339de151aab4: Pulling fs layer [2021-05-20T16:29:03.736Z] 339de151aab4: Download complete [2021-05-20T16:29:03.736Z] 339de151aab4: Pull complete [2021-05-20T16:29:03.736Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T16:29:03.736Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T16:29:03.736Z] ---> 13621d1b12d4 [2021-05-20T16:29:03.736Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T16:29:03.736Z] ---> Running in bb2dba490275 [2021-05-20T16:29:03.736Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T16:29:03.736Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T16:29:03.736Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T16:29:03.736Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T16:29:03.736Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T16:29:03.736Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T16:29:03.736Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T16:29:03.736Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T16:29:03.736Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T16:29:03.736Z] OK: 8 MiB in 20 packages [2021-05-20T16:29:02.897Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:29:03.016Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-20T16:29:03.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:29:03.088Z] > git --version # timeout=10 [2021-05-20T16:29:03.105Z] > git --version # 'git version 2.17.1' [2021-05-20T16:29:03.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:29:03.187Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T16:29:03.996Z] Removing intermediate container bb2dba490275 [2021-05-20T16:29:03.996Z] ---> 822435b2cc73 [2021-05-20T16:29:03.996Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-20T16:29:04.935Z] ---> 0dd8f5f3a6a2 [2021-05-20T16:29:04.935Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-20T16:29:05.092Z] Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit bc23b967fe3c88f879d260097d0161ea44e0e0b1 [2021-05-20T16:29:05.195Z] ---> 7cd283d1d36f [2021-05-20T16:29:05.195Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-20T16:29:04.524Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T16:29:04.538Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T16:29:04.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T16:29:04.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:29:04.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:29:04.600Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T16:29:05.089Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T16:29:05.100Z] > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [2021-05-20T16:29:05.172Z] > git remote # timeout=10 [2021-05-20T16:29:05.189Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T16:29:05.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:29:05.269Z] Merge succeeded, producing bc23b967fe3c88f879d260097d0161ea44e0e0b1 [2021-05-20T16:29:05.269Z] Checking out Revision bc23b967fe3c88f879d260097d0161ea44e0e0b1 (PR-95) [2021-05-20T16:29:05.458Z] ---> 25bddaf56713 [2021-05-20T16:29:05.458Z] Step 18/24 : EXPOSE 49993 [2021-05-20T16:29:05.458Z] ---> Running in 50b9df19eee8 [2021-05-20T16:29:05.720Z] Removing intermediate container 50b9df19eee8 [2021-05-20T16:29:05.720Z] ---> 668cdc8c42a6 [2021-05-20T16:29:05.720Z] Step 19/24 : EXPOSE 161 [2021-05-20T16:29:05.720Z] ---> Running in a8ae13f89c22 [2021-05-20T16:29:05.720Z] Removing intermediate container a8ae13f89c22 [2021-05-20T16:29:05.720Z] ---> d7053a4cf49d [2021-05-20T16:29:05.720Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-20T16:29:05.720Z] ---> Running in caffb8044e6f [2021-05-20T16:29:05.984Z] Removing intermediate container caffb8044e6f [2021-05-20T16:29:05.984Z] ---> 0aad1051177d [2021-05-20T16:29:05.984Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T16:29:05.984Z] ---> Running in 8dbe98afa7dc [2021-05-20T16:29:05.984Z] Removing intermediate container 8dbe98afa7dc [2021-05-20T16:29:05.984Z] ---> 7fe70665c5a5 [2021-05-20T16:29:05.984Z] Step 22/24 : LABEL arch=amd64 [2021-05-20T16:29:05.984Z] ---> Running in 8af035d55b34 [2021-05-20T16:29:05.984Z] Removing intermediate container 8af035d55b34 [2021-05-20T16:29:05.984Z] ---> da3c4ef271d9 [2021-05-20T16:29:05.984Z] Step 23/24 : LABEL git_sha=bc23b967fe3c88f879d260097d0161ea44e0e0b1 [2021-05-20T16:29:06.244Z] ---> Running in 0674ee15497f [2021-05-20T16:29:06.244Z] Removing intermediate container 0674ee15497f [2021-05-20T16:29:06.244Z] ---> e6797c003479 [2021-05-20T16:29:06.244Z] Step 24/24 : LABEL version=0.0.0 [2021-05-20T16:29:06.244Z] ---> Running in f798a732e0f2 [2021-05-20T16:29:06.244Z] Removing intermediate container f798a732e0f2 [2021-05-20T16:29:06.244Z] ---> c40930535418 [2021-05-20T16:29:06.244Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T16:29:06.244Z] Successfully built c40930535418 [2021-05-20T16:29:06.244Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [2021-05-20T16:29:05.213Z] > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 [2021-05-20T16:29:05.235Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T16:29:05.253Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T16:29:05.262Z] > git checkout -f bc23b967fe3c88f879d260097d0161ea44e0e0b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:29:07.318Z] ---> job-cost.sh [2021-05-20T16:29:07.318Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QkhM [2021-05-20T16:29:09.433Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-20T16:29:09.474Z] > git --version # timeout=10 [2021-05-20T16:29:09.485Z] > git --version # 'git version 2.17.1' [2021-05-20T16:29:09.509Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T16:29:09.830Z] [2021-05-20T16:29:09.830Z] GitHub has been notified of this commit’s build result [2021-05-20T16:29:09.830Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T16:29:11.029Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T16:29:11.465Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T16:29:11.830Z] + sudo service docker restart+ [2021-05-20T16:29:11.830Z] true [2021-05-20T16:29:17.343Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T16:29:30.254Z] provisioning config files... [2021-05-20T16:29:30.283Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7608374819501426431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:29:30.726Z] ---> docker-login.sh [2021-05-20T16:29:30.726Z] nexus3.edgexfoundry.org:10001 [2021-05-20T16:29:31.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:29:31.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:29:31.929Z] Configure a credential helper to remove this warning. See [2021-05-20T16:29:31.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:29:31.929Z] [2021-05-20T16:29:31.929Z] Login Succeeded [2021-05-20T16:29:31.929Z] nexus3.edgexfoundry.org:10002 [2021-05-20T16:29:32.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:29:32.308Z] lf-activate-venv(): INFO: Adding /tmp/venv-QkhM/bin to PATH [2021-05-20T16:29:32.308Z] INFO: No Stack... [2021-05-20T16:29:32.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:29:32.482Z] Configure a credential helper to remove this warning. See [2021-05-20T16:29:32.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:29:32.482Z] [2021-05-20T16:29:32.482Z] Login Succeeded [2021-05-20T16:29:32.482Z] nexus3.edgexfoundry.org:10003 [2021-05-20T16:29:32.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:29:32.880Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T16:29:33.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:29:33.033Z] Configure a credential helper to remove this warning. See [2021-05-20T16:29:33.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:29:33.033Z] [2021-05-20T16:29:33.033Z] Login Succeeded [2021-05-20T16:29:33.033Z] nexus3.edgexfoundry.org:10004 [2021-05-20T16:29:33.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:29:33.451Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T16:29:33.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:29:33.581Z] Configure a credential helper to remove this warning. See [2021-05-20T16:29:33.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:29:33.581Z] [2021-05-20T16:29:33.581Z] Login Succeeded [2021-05-20T16:29:33.581Z] docker.io [2021-05-20T16:29:33.792Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-20T16:29:33.793Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T16:29:33.852Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-95-1-stack-cost] [2021-05-20T16:29:33.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:29:33.860Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-95-1-stack-cost] did not exist. Created. [2021-05-20T16:29:33.860Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T16:29:34.290Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T16:29:34.369Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T16:29:34.386Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-95-1-stack-cost] [Pipeline] // lock [2021-05-20T16:29:34.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:29:34.452Z] Configure a credential helper to remove this warning. See [2021-05-20T16:29:34.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:29:34.452Z] [2021-05-20T16:29:34.452Z] Login Succeeded [2021-05-20T16:29:34.452Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T16:29:34.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2021-05-20T16:29:35.113Z] ========================================================= [2021-05-20T16:29:35.113Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T16:29:35.113Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:29:35.516Z] + 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-05-20T16:29:35.796Z] Sending build context to Docker daemon 351.7kB [2021-05-20T16:29:36.070Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T16:29:36.070Z] Step 2/10 : FROM ${BASE} [2021-05-20T16:29:36.071Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T16:29:36.071Z] 595b0fe564bb: Pulling fs layer [2021-05-20T16:29:36.071Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T16:29:36.071Z] 316046926c0a: Pulling fs layer [2021-05-20T16:29:36.071Z] 4ebd0625c992: Pulling fs layer [2021-05-20T16:29:36.071Z] 207e8628e3a3: Pulling fs layer [2021-05-20T16:29:36.071Z] c791037a9be2: Pulling fs layer [2021-05-20T16:29:36.071Z] ffd874e62e21: Pulling fs layer [2021-05-20T16:29:36.071Z] 4ebd0625c992: Waiting [2021-05-20T16:29:36.071Z] 207e8628e3a3: Waiting [2021-05-20T16:29:36.071Z] ffd874e62e21: Waiting [2021-05-20T16:29:36.071Z] c791037a9be2: Waiting [2021-05-20T16:29:36.071Z] 316046926c0a: Download complete [2021-05-20T16:29:36.071Z] 7186ed65a4f7: Verifying Checksum [2021-05-20T16:29:36.071Z] 7186ed65a4f7: Download complete [2021-05-20T16:29:36.345Z] 207e8628e3a3: Verifying Checksum [2021-05-20T16:29:36.345Z] 207e8628e3a3: Download complete [2021-05-20T16:29:36.345Z] c791037a9be2: Verifying Checksum [2021-05-20T16:29:36.345Z] c791037a9be2: Download complete [2021-05-20T16:29:36.345Z] 595b0fe564bb: Verifying Checksum [2021-05-20T16:29:36.345Z] 595b0fe564bb: Download complete [2021-05-20T16:29:36.955Z] 595b0fe564bb: Pull complete [2021-05-20T16:29:37.950Z] 7186ed65a4f7: Pull complete [2021-05-20T16:29:38.229Z] 316046926c0a: Pull complete [2021-05-20T16:29:38.829Z] ffd874e62e21: Verifying Checksum [2021-05-20T16:29:38.829Z] ffd874e62e21: Download complete [2021-05-20T16:29:39.822Z] 4ebd0625c992: Verifying Checksum [2021-05-20T16:29:39.822Z] 4ebd0625c992: Download complete [2021-05-20T16:29:50.003Z] 4ebd0625c992: Pull complete [2021-05-20T16:29:50.003Z] 207e8628e3a3: Pull complete [2021-05-20T16:29:50.277Z] c791037a9be2: Pull complete [2021-05-20T16:29:54.593Z] ffd874e62e21: Pull complete [2021-05-20T16:29:54.593Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T16:29:54.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T16:29:54.593Z] ---> cfc18b08335c [2021-05-20T16:29:54.593Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T16:29:56.576Z] ---> Running in 2e5ee1143350 [2021-05-20T16:29:56.854Z] Removing intermediate container 2e5ee1143350 [2021-05-20T16:29:56.854Z] ---> b539e6821be9 [2021-05-20T16:29:56.854Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T16:29:56.854Z] ---> Running in 4bf0783794ce [2021-05-20T16:29:57.450Z] Removing intermediate container 4bf0783794ce [2021-05-20T16:29:57.450Z] ---> 0f130edba830 [2021-05-20T16:29:57.450Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-20T16:29:57.450Z] ---> Running in f521ff9d6e3e [2021-05-20T16:29:58.044Z] Removing intermediate container f521ff9d6e3e [2021-05-20T16:29:58.044Z] ---> 1383664c27c0 [2021-05-20T16:29:58.044Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T16:29:58.319Z] ---> Running in 6dfe50bf1fb3 [2021-05-20T16:30:00.936Z] Removing intermediate container 6dfe50bf1fb3 [2021-05-20T16:30:00.936Z] ---> e4e8951a4ba3 [2021-05-20T16:30:00.936Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T16:30:00.936Z] ---> Running in 982cc147b620 [2021-05-20T16:30:01.932Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T16:30:02.525Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T16:30:03.502Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T16:30:03.502Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T16:30:03.502Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T16:30:03.772Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T16:30:03.772Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T16:30:03.772Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T16:30:04.076Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T16:30:04.348Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T16:30:04.618Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T16:30:04.618Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T16:30:04.618Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T16:30:04.890Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T16:30:04.890Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T16:30:04.890Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T16:30:05.166Z] OK: 145 MiB in 53 packages [2021-05-20T16:30:06.628Z] Removing intermediate container 982cc147b620 [2021-05-20T16:30:06.628Z] ---> 26c7931b0d86 [2021-05-20T16:30:06.628Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-20T16:30:06.628Z] ---> Running in 228e498f3294 [2021-05-20T16:30:07.231Z] Removing intermediate container 228e498f3294 [2021-05-20T16:30:07.231Z] ---> 1892cf90815a [2021-05-20T16:30:07.231Z] Step 9/10 : COPY . . [2021-05-20T16:30:08.235Z] ---> 65a54c093df6 [2021-05-20T16:30:08.235Z] Step 10/10 : RUN go mod download [2021-05-20T16:30:08.235Z] ---> Running in 2aa3f9ce6016 [2021-05-20T16:30:36.314Z] Removing intermediate container 2aa3f9ce6016 [2021-05-20T16:30:36.314Z] ---> 76a4a0b36668 [2021-05-20T16:30:36.314Z] Successfully built 76a4a0b36668 [2021-05-20T16:30:36.314Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:30:36.698Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T16:30:36.698Z] . [Pipeline] withDockerContainer [2021-05-20T16:30:36.988Z] prd-ubuntu18.04-docker-arm64-4c-16g-15340 does not seem to be running inside a container [2021-05-20T16:30:37.066Z] $ 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-arm64 cat [2021-05-20T16:30:38.691Z] $ docker top cb86a2c3dbe8c9d72b86c9df8fbc5ab260abd24c2c3b30dc55abfa2a263d3253 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:30:39.729Z] + go version [2021-05-20T16:30:39.729Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T16:30:39.763Z] $ docker stop --time=1 cb86a2c3dbe8c9d72b86c9df8fbc5ab260abd24c2c3b30dc55abfa2a263d3253 [2021-05-20T16:30:41.626Z] $ docker rm -f cb86a2c3dbe8c9d72b86c9df8fbc5ab260abd24c2c3b30dc55abfa2a263d3253 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:30:42.638Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T16:30:42.638Z] . [Pipeline] withDockerContainer [2021-05-20T16:30:42.923Z] prd-ubuntu18.04-docker-arm64-4c-16g-15340 does not seem to be running inside a container [2021-05-20T16:30:43.007Z] $ 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-arm64 cat [2021-05-20T16:30:44.672Z] $ docker top da6cb78de33dc12fe605d43357fe95491a7e83bd146ff119a175899f27a67af9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:30:45.701Z] + go mod tidy [Pipeline] sh [2021-05-20T16:30:46.989Z] + make test [2021-05-20T16:30:46.989Z] go mod tidy [2021-05-20T16:30:47.281Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T16:30:48.731Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-20T16:31:45.377Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-20T16:31:45.377Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements [2021-05-20T16:31:45.377Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T16:32:00.510Z] gofmt -l . [2021-05-20T16:32:00.510Z] [ "`gofmt -l .`" = "" ] [2021-05-20T16:32:00.510Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T16:32:01.986Z] $ docker stop --time=1 da6cb78de33dc12fe605d43357fe95491a7e83bd146ff119a175899f27a67af9 [2021-05-20T16:32:03.949Z] $ docker rm -f da6cb78de33dc12fe605d43357fe95491a7e83bd146ff119a175899f27a67af9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T16:32:04.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T16:32:04.901Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T16:32:05.384Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T16:32:06.096Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T16:32:06.454Z] + ls -al . [2021-05-20T16:32:06.454Z] total 128 [2021-05-20T16:32:06.454Z] drwxrwxr-x 7 jenkins jenkins 4096 May 20 16:32 . [2021-05-20T16:32:06.454Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 16:29 .. [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 6 May 20 16:29 .dockerignore [2021-05-20T16:32:06.454Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 16:29 .git [2021-05-20T16:32:06.454Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 16:29 .github [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 272 May 20 16:29 .gitignore [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 20 16:29 Attribution.txt [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 20 16:29 Dockerfile [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 20 16:29 Dockerfile.build [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 656 May 20 16:29 Jenkinsfile [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 20 16:29 LICENSE [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 936 May 20 16:29 Makefile [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 20 16:29 README.md [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 16:25 VERSION [2021-05-20T16:32:06.454Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 16:29 bin [2021-05-20T16:32:06.454Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 16:29 cmd [2021-05-20T16:32:06.454Z] -rw-r--r-- 1 jenkins jenkins 7631 May 20 16:31 coverage.out [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 222 May 20 16:29 go.mod [2021-05-20T16:32:06.454Z] -rw-r--r-- 1 jenkins jenkins 21556 May 20 16:30 go.sum [2021-05-20T16:32:06.454Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 16:29 internal [2021-05-20T16:32:06.454Z] -rw-rw-r-- 1 jenkins jenkins 209 May 20 16:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:32:06.832Z] + 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=bc23b967fe3c88f879d260097d0161ea44e0e0b1 --label arch=arm64 --label version=0.0.0 . [2021-05-20T16:32:07.106Z] Sending build context to Docker daemon 359.9kB [2021-05-20T16:32:07.106Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T16:32:07.106Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-20T16:32:07.106Z] ---> 76a4a0b36668 [2021-05-20T16:32:07.106Z] Step 3/24 : ARG MAKE='make build' [2021-05-20T16:32:07.700Z] ---> Running in 2b2de35a39db [2021-05-20T16:32:07.975Z] Removing intermediate container 2b2de35a39db [2021-05-20T16:32:07.975Z] ---> fa8106cbb8eb [2021-05-20T16:32:07.975Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T16:32:08.254Z] ---> Running in 1d88dd2e503a [2021-05-20T16:32:08.530Z] Removing intermediate container 1d88dd2e503a [2021-05-20T16:32:08.530Z] ---> 4e63d2873a40 [2021-05-20T16:32:08.530Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T16:32:08.806Z] ---> Running in 2f399171bfe9 [2021-05-20T16:32:09.402Z] Removing intermediate container 2f399171bfe9 [2021-05-20T16:32:09.402Z] ---> bb2ceddbd01e [2021-05-20T16:32:09.402Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T16:32:09.402Z] ---> Running in 384d1880fe74 [2021-05-20T16:32:11.380Z] Removing intermediate container 384d1880fe74 [2021-05-20T16:32:11.380Z] ---> d3cde67efe7d [2021-05-20T16:32:11.380Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T16:32:11.653Z] ---> Running in 7f9c3ce47e4a [2021-05-20T16:32:13.091Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T16:32:14.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T16:32:14.665Z] OK: 145 MiB in 53 packages [2021-05-20T16:32:16.105Z] Removing intermediate container 7f9c3ce47e4a [2021-05-20T16:32:16.105Z] ---> 3276cf436d8f [2021-05-20T16:32:16.105Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-20T16:32:16.105Z] ---> Running in 0aca8ffa6725 [2021-05-20T16:32:16.699Z] Removing intermediate container 0aca8ffa6725 [2021-05-20T16:32:16.699Z] ---> 9bf66093e7f5 [2021-05-20T16:32:16.699Z] Step 9/24 : COPY . . [2021-05-20T16:32:17.681Z] ---> 300c4d864c20 [2021-05-20T16:32:17.681Z] Step 10/24 : RUN go mod tidy [2021-05-20T16:32:17.681Z] ---> Running in f7f18db050d8 [2021-05-20T16:32:21.085Z] Removing intermediate container f7f18db050d8 [2021-05-20T16:32:21.086Z] ---> da286fe31ae7 [2021-05-20T16:32:21.086Z] Step 11/24 : RUN make update [2021-05-20T16:32:21.086Z] ---> Running in 6e147cc88a08 [2021-05-20T16:32:21.685Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T16:32:23.121Z] Removing intermediate container 6e147cc88a08 [2021-05-20T16:32:23.121Z] ---> 4125b9adb7cf [2021-05-20T16:32:23.121Z] Step 12/24 : RUN ${MAKE} [2021-05-20T16:32:23.121Z] ---> Running in 219273efec93 [2021-05-20T16:32:24.105Z] go mod tidy [2021-05-20T16:32:24.707Z] 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-05-20T16:33:03.796Z] Removing intermediate container 219273efec93 [2021-05-20T16:33:03.796Z] ---> 4ae68efcccb3 [2021-05-20T16:33:03.796Z] Step 13/24 : FROM alpine:3.12 [2021-05-20T16:33:03.796Z] 3.12: Pulling from library/alpine [2021-05-20T16:33:03.796Z] d2f70382dc9a: Pulling fs layer [2021-05-20T16:33:03.796Z] d2f70382dc9a: Download complete [2021-05-20T16:33:03.797Z] d2f70382dc9a: Pull complete [2021-05-20T16:33:03.797Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T16:33:03.797Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T16:33:03.797Z] ---> 9852663dfa18 [2021-05-20T16:33:03.797Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T16:33:03.797Z] ---> Running in 3be055383476 [2021-05-20T16:33:03.797Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T16:33:03.797Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T16:33:03.797Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T16:33:03.797Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T16:33:03.797Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T16:33:03.797Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T16:33:03.797Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T16:33:03.797Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T16:33:03.797Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T16:33:03.797Z] OK: 8 MiB in 20 packages [2021-05-20T16:33:04.781Z] Removing intermediate container 3be055383476 [2021-05-20T16:33:04.781Z] ---> cd881103c7fe [2021-05-20T16:33:04.781Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-20T16:33:06.220Z] ---> 1db369d2178e [2021-05-20T16:33:06.220Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-20T16:33:06.849Z] ---> 60cfb386d43c [2021-05-20T16:33:06.849Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-20T16:33:07.833Z] ---> 467aac85fa34 [2021-05-20T16:33:07.833Z] Step 18/24 : EXPOSE 49993 [2021-05-20T16:33:07.833Z] ---> Running in 36bc1e362d97 [2021-05-20T16:33:08.433Z] Removing intermediate container 36bc1e362d97 [2021-05-20T16:33:08.433Z] ---> 0ceac9617f32 [2021-05-20T16:33:08.433Z] Step 19/24 : EXPOSE 161 [2021-05-20T16:33:08.433Z] ---> Running in 5ec5655fc809 [2021-05-20T16:33:09.031Z] Removing intermediate container 5ec5655fc809 [2021-05-20T16:33:09.031Z] ---> 1843141e7a41 [2021-05-20T16:33:09.031Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-20T16:33:09.031Z] ---> Running in 0e135445cde4 [2021-05-20T16:33:09.629Z] Removing intermediate container 0e135445cde4 [2021-05-20T16:33:09.629Z] ---> 60e9a84f784a [2021-05-20T16:33:09.629Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T16:33:09.629Z] ---> Running in d86a7719dbcd [2021-05-20T16:33:10.228Z] Removing intermediate container d86a7719dbcd [2021-05-20T16:33:10.228Z] ---> a934763d1581 [2021-05-20T16:33:10.228Z] Step 22/24 : LABEL arch=arm64 [2021-05-20T16:33:10.229Z] ---> Running in a34ab6711287 [2021-05-20T16:33:10.827Z] Removing intermediate container a34ab6711287 [2021-05-20T16:33:10.827Z] ---> b922e7b5294a [2021-05-20T16:33:10.827Z] Step 23/24 : LABEL git_sha=bc23b967fe3c88f879d260097d0161ea44e0e0b1 [2021-05-20T16:33:10.827Z] ---> Running in b05d3f9f77c7 [2021-05-20T16:33:11.425Z] Removing intermediate container b05d3f9f77c7 [2021-05-20T16:33:11.425Z] ---> 0c2fc7bbaf12 [2021-05-20T16:33:11.425Z] Step 24/24 : LABEL version=0.0.0 [2021-05-20T16:33:11.425Z] ---> Running in 1f2ef186f0b8 [2021-05-20T16:33:12.025Z] Removing intermediate container 1f2ef186f0b8 [2021-05-20T16:33:12.025Z] ---> b7771eb7a049 [2021-05-20T16:33:12.025Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T16:33:12.025Z] Successfully built b7771eb7a049 [2021-05-20T16:33:12.025Z] 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-05-20T16:33:12.948Z] ---> job-cost.sh [2021-05-20T16:33:12.948Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1anI [2021-05-20T16:33:51.926Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T16:35:13.676Z] lf-activate-venv(): INFO: Adding /tmp/venv-1anI/bin to PATH [2021-05-20T16:35:13.676Z] INFO: No Stack... [2021-05-20T16:35:13.676Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T16:35:13.956Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T16:35:14.323Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-20T16:35:14.323Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T16:35:14.413Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-95-1-stack-cost] [2021-05-20T16:35:14.419Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-95-1-stack-cost] did not exist. Created. [2021-05-20T16:35:14.419Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T16:35:14.859Z] /w/workspace/device-snmp-go/1@tmp/durable-956e51c0/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-956e51c0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T16:35:15.230Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T16:35:15.269Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T16:35:15.421Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T16:35:15.459Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-95-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-05-20T16:35:16.648Z] provisioning config files... [2021-05-20T16:35:16.658Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/config2937646324580997418tmp [Pipeline] { [Pipeline] sh [2021-05-20T16:35:17.020Z] + set +x [2021-05-20T16:35:17.020Z] + curl -s https://codecov.io/bash [2021-05-20T16:35:17.020Z] + bash -s -- [2021-05-20T16:35:17.020Z] [2021-05-20T16:35:17.020Z] _____ _ [2021-05-20T16:35:17.020Z] / ____| | | [2021-05-20T16:35:17.020Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T16:35:17.020Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T16:35:17.020Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T16:35:17.020Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T16:35:17.020Z] Bash-1.0.2 [2021-05-20T16:35:17.020Z] [2021-05-20T16:35:17.020Z] [2021-05-20T16:35:17.020Z] ==> git version 2.24.4 found [2021-05-20T16:35:17.020Z] ==> 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-05-20T16:35:17.020Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T16:35:17.020Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T16:35:17.020Z] ==> Jenkins CI detected. [2021-05-20T16:35:17.020Z] project root: . [2021-05-20T16:35:17.020Z] --> token set from env [2021-05-20T16:35:17.020Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T16:35:17.020Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T16:35:17.020Z] ==> Python coveragepy not found [2021-05-20T16:35:17.020Z] ==> Searching for coverage reports in: [2021-05-20T16:35:17.020Z] + . [2021-05-20T16:35:17.020Z] -> Found 1 reports [2021-05-20T16:35:17.020Z] ==> Detecting git/mercurial file structure [2021-05-20T16:35:17.283Z] ==> Reading reports [2021-05-20T16:35:17.283Z] + ./coverage.out bytes=7631 [2021-05-20T16:35:17.283Z] ==> Appending adjustments [2021-05-20T16:35:17.283Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T16:35:17.283Z] + Found adjustments [2021-05-20T16:35:17.283Z] ==> Gzipping contents [2021-05-20T16:35:17.283Z] 4.0K /tmp/codecov.MTzBdO.gz [2021-05-20T16:35:17.283Z] ==> Uploading reports [2021-05-20T16:35:17.283Z] url: https://codecov.io [2021-05-20T16:35:17.283Z] query: branch=PR-95&commit=bc23b967fe3c88f879d260097d0161ea44e0e0b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=95&job=&cmd_args= [2021-05-20T16:35:17.283Z] -> Pinging Codecov [2021-05-20T16:35:17.283Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-95&commit=bc23b967fe3c88f879d260097d0161ea44e0e0b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=95&job=&cmd_args= [2021-05-20T16:35:17.557Z] -> Uploading to [2021-05-20T16:35:17.557Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/6C56EA5C29638FB4528AC87E60AF5AE0/bc23b967fe3c88f879d260097d0161ea44e0e0b1/3f254ef4-826d-44ee-a8e8-98e5ab14f744.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T163517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c44be76b3bcd5939b95bc72c3fa4363a71b54ac7de9bac6b0542f6d6701743b [2021-05-20T16:35:17.557Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T16:35:17.557Z] Dload Upload Total Spent Left Speed [2021-05-20T16:35:18.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1383 0 0 100 1383 0 2787 --:--:-- --:--:-- --:--:-- 2788 [2021-05-20T16:35:18.137Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/bc23b967fe3c88f879d260097d0161ea44e0e0b1 [Pipeline] } [2021-05-20T16:35:18.175Z] 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-05-20T16:35:20.731Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:35:21.350Z] ---> package-listing.sh [2021-05-20T16:35:21.350Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T16:35:21.350Z] ++ facter osfamily [2021-05-20T16:35:21.621Z] + OS_FAMILY=redhat [2021-05-20T16:35:21.621Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-95 [2021-05-20T16:35:21.621Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T16:35:21.621Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T16:35:21.621Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T16:35:21.621Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T16:35:21.621Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-95 ']' [2021-05-20T16:35:21.621Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T16:35:21.621Z] + case "${OS_FAMILY}" in [2021-05-20T16:35:21.621Z] + rpm -qa [2021-05-20T16:35:21.621Z] + sort [2021-05-20T16:35:22.295Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T16:35:22.295Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T16:35:22.295Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T16:35:22.295Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-95 ']' [2021-05-20T16:35:22.295Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-95/archives/ [2021-05-20T16:35:22.295Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-95/archives/ [Pipeline] echo [2021-05-20T16:35:22.384Z] 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/dgexfoundry_device-snmp-go_PR-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-20T16:35:22.696Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:35:23.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T16:35:23.308Z] [2021-05-20T16:35:23.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:35:23.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T16:35:23.673Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T16:35:23.673Z] df20fa9351a1: Pulling fs layer [2021-05-20T16:35:23.673Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T16:35:23.673Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T16:35:23.673Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T16:35:23.673Z] 93b61091891f: Pulling fs layer [2021-05-20T16:35:23.673Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T16:35:23.673Z] 5e14af77c1be: Pulling fs layer [2021-05-20T16:35:23.673Z] 01666e4c0597: Pulling fs layer [2021-05-20T16:35:23.673Z] aa168da1d23b: Pulling fs layer [2021-05-20T16:35:23.673Z] 46f8f816bc3b: Waiting [2021-05-20T16:35:23.673Z] 93b61091891f: Waiting [2021-05-20T16:35:23.673Z] 93b9cdb0e59b: Waiting [2021-05-20T16:35:23.673Z] 5e14af77c1be: Waiting [2021-05-20T16:35:23.673Z] 01666e4c0597: Waiting [2021-05-20T16:35:23.673Z] aa168da1d23b: Waiting [2021-05-20T16:35:23.673Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T16:35:23.673Z] 36b3adc4ff6f: Download complete [2021-05-20T16:35:23.673Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T16:35:23.673Z] 46f8f816bc3b: Download complete [2021-05-20T16:35:23.935Z] df20fa9351a1: Verifying Checksum [2021-05-20T16:35:23.935Z] df20fa9351a1: Download complete [2021-05-20T16:35:23.935Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T16:35:23.935Z] 93b9cdb0e59b: Download complete [2021-05-20T16:35:23.935Z] 93b61091891f: Verifying Checksum [2021-05-20T16:35:23.935Z] 93b61091891f: Download complete [2021-05-20T16:35:23.935Z] 01666e4c0597: Verifying Checksum [2021-05-20T16:35:23.936Z] 01666e4c0597: Download complete [2021-05-20T16:35:23.936Z] 5e14af77c1be: Verifying Checksum [2021-05-20T16:35:23.936Z] 5e14af77c1be: Download complete [2021-05-20T16:35:24.199Z] df20fa9351a1: Pull complete [2021-05-20T16:35:24.199Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T16:35:24.199Z] 8ad3a11d3b57: Download complete [2021-05-20T16:35:24.199Z] 36b3adc4ff6f: Pull complete [2021-05-20T16:35:24.778Z] 8ad3a11d3b57: Pull complete [2021-05-20T16:35:24.778Z] 46f8f816bc3b: Pull complete [2021-05-20T16:35:25.042Z] 93b61091891f: Pull complete [2021-05-20T16:35:25.304Z] 93b9cdb0e59b: Pull complete [2021-05-20T16:35:25.304Z] 5e14af77c1be: Pull complete [2021-05-20T16:35:25.304Z] 01666e4c0597: Pull complete [2021-05-20T16:35:26.731Z] aa168da1d23b: Verifying Checksum [2021-05-20T16:35:26.731Z] aa168da1d23b: Download complete [2021-05-20T16:35:31.000Z] aa168da1d23b: Pull complete [2021-05-20T16:35:31.000Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T16:35:31.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T16:35:31.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T16:35:31.110Z] prd-centos7-docker-4c-2g-15334 does not seem to be running inside a container [2021-05-20T16:35:31.149Z] $ 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/dgexfoundry_device-snmp-go_PR-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-95 -v /w/workspace/dgexfoundry_device-snmp-go_PR-95:/w/workspace/dgexfoundry_device-snmp-go_PR-95:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-20T16:35:35.327Z] $ docker top 4856392cb6e743938af72dfa7302b3c2decf94d118b2ea1b476ef67220715bfb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:35:35.773Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T16:35:36.121Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T16:35:36.464Z] + ls /var/log/sa-host [2021-05-20T16:35:36.464Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T16:35:36.464Z] file_magic: OK [2021-05-20T16:35:36.464Z] HZ: Using current value: 100 [2021-05-20T16:35:36.464Z] file_header: OK [2021-05-20T16:35:36.464Z] 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-05-20T16:35:36.464Z] Statistics: [2021-05-20T16:35:36.464Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T16:35:36.464Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T16:35:36.464Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T16:35:36.464Z] file_magic: OK [2021-05-20T16:35:36.464Z] HZ: Using current value: 100 [2021-05-20T16:35:36.464Z] file_header: OK [2021-05-20T16:35:36.464Z] 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-05-20T16:35:36.464Z] Statistics: [2021-05-20T16:35:36.464Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T16:35:36.464Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T16:35:37.145Z] provisioning config files... [2021-05-20T16:35:37.159Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-95@tmp/config8757677892744023504tmp [Pipeline] { [Pipeline] echo [2021-05-20T16:35:37.224Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:35:37.573Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T16:35:37.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T16:35:37.671Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:35:38.032Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T16:35:38.060Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:35:38.393Z] ---> sudo-logs.sh [2021-05-20T16:35:38.393Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T16:35:38.474Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:35:38.806Z] ---> job-cost.sh [2021-05-20T16:35:38.806Z] lf-activate-venv: SKIPPING [2021-05-20T16:35:38.806Z] DEBUG: total: 0.18000000715255737 [2021-05-20T16:35:38.806Z] INFO: Retrieving Stack Cost... [2021-05-20T16:35:39.378Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T16:35:39.957Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T16:35:40.020Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:35:40.373Z] ---> logs-deploy.sh [2021-05-20T16:35:40.373Z] lf-activate-venv: SKIPPING [2021-05-20T16:35:40.373Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-95/1 [2021-05-20T16:35:40.373Z] INFO: archiving workspace using pattern(s): [2021-05-20T16:35:41.328Z] Archives upload complete. [2021-05-20T16:35:41.328Z] INFO: archiving logs to Nexus