Pull request #96 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 25abfe57947f788d4293243a21694654233679a1+80fc4d6fa8e57088abf890f3ca65168d4dd41549 (abebd821cf89aea30c02686d6fc771214ff3d21d) 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-ssh1970453953226746828.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-ssh1273602024692804810.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-96/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-96/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7485756777406549488.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-96/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6656593431374658615.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-ssh2478008283601786023.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-96/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-96/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3949568049502560633.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-15335 in /w/workspace/dgexfoundry_device-snmp-go_PR-96 [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 Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit 25abfe57947f788d4293243a21694654233679a1 > git init /w/workspace/dgexfoundry_device-snmp-go_PR-96 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp/jenkins-gitclient-ssh3504912969583031417.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-96@tmp/jenkins-gitclient-ssh5450057947509692915.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25abfe57947f788d4293243a21694654233679a1 # 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-96@tmp/jenkins-gitclient-ssh8384400986493120676.key Merge succeeded, producing 25abfe57947f788d4293243a21694654233679a1 Checking out Revision 25abfe57947f788d4293243a21694654233679a1 (PR-96) > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25abfe57947f788d4293243a21694654233679a1 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T16:25:35.594Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T16:25:35.771Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T16:25:35.882Z] ========================================================= [2021-05-20T16:25:35.882Z] EdgeX Global Pipelines Version Info [2021-05-20T16:25:35.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:25:37.417Z] ------------------- [2021-05-20T16:25:37.417Z] stable info: [2021-05-20T16:25:37.417Z] ------------------- [2021-05-20T16:25:37.417Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T16:25:37.417Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T16:25:37.417Z] Message: update stable to v1.0.192 [2021-05-20T16:25:38.000Z] ------------------- [2021-05-20T16:25:38.001Z] experimental info: [2021-05-20T16:25:38.001Z] ------------------- [2021-05-20T16:25:38.001Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T16:25:38.001Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T16:25:38.001Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T16:25:38.260Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-20T16:25:38.319Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-20T16:25:38.375Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T16:25:38.432Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T16:25:38.486Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T16:25:38.540Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T16:25:38.615Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T16:25:38.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T16:25:38.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-20T16:25:38.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T16:25:38.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T16:25:38.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-20T16:25:38.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T16:25:39.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T16:25:39.081Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T16:25:39.146Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T16:25:39.212Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T16:25:39.270Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T16:25:39.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T16:25:39.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T16:25:39.517Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-20T16:25:39.575Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-20T16:25:39.634Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T16:25:39.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T16:25:39.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T16:25:39.854Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T16:25:39.941Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-96 [Pipeline] echo [2021-05-20T16:25:40.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-96 [Pipeline] echo [2021-05-20T16:25:40.094Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-96 [Pipeline] echo [2021-05-20T16:25:40.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25abfe57947f788d4293243a21694654233679a1 [Pipeline] echo [2021-05-20T16:25:40.247Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25abfe5 [Pipeline] echo [2021-05-20T16:25:40.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T16:25:40.492Z] provisioning config files... [2021-05-20T16:25:40.507Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp/config1816322408610140056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:25:40.893Z] ---> docker-login.sh [2021-05-20T16:25:40.893Z] nexus3.edgexfoundry.org:10001 [2021-05-20T16:25:41.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:41.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:41.170Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:41.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:41.170Z] [2021-05-20T16:25:41.170Z] Login Succeeded [2021-05-20T16:25:41.170Z] nexus3.edgexfoundry.org:10002 [2021-05-20T16:25:41.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:41.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:41.434Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:41.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:41.434Z] [2021-05-20T16:25:41.434Z] Login Succeeded [2021-05-20T16:25:41.434Z] nexus3.edgexfoundry.org:10003 [2021-05-20T16:25:41.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:41.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:41.702Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:41.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:41.702Z] [2021-05-20T16:25:41.702Z] Login Succeeded [2021-05-20T16:25:41.702Z] nexus3.edgexfoundry.org:10004 [2021-05-20T16:25:41.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:41.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:41.702Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:41.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:41.702Z] [2021-05-20T16:25:41.702Z] Login Succeeded [2021-05-20T16:25:41.702Z] docker.io [2021-05-20T16:25:41.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:25:42.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:25:42.232Z] Configure a credential helper to remove this warning. See [2021-05-20T16:25:42.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:25:42.232Z] [2021-05-20T16:25:42.232Z] Login Succeeded [2021-05-20T16:25:42.232Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T16:25:42.254Z] 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:43.090Z] + git log --format=format:%s -1 25abfe57947f788d4293243a21694654233679a1 [Pipeline] echo [2021-05-20T16:25:43.152Z] GIT_COMMIT: 25abfe57947f788d4293243a21694654233679a1, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-20T16:25:43.212Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:25:43.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T16:25:43.847Z] [2021-05-20T16:25:43.847Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:25:44.217Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T16:25:44.217Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T16:25:44.217Z] 31603596830f: Pulling fs layer [2021-05-20T16:25:44.217Z] 54011a49482f: Pulling fs layer [2021-05-20T16:25:44.217Z] a6820b24f6d8: Pulling fs layer [2021-05-20T16:25:44.217Z] f581987b2513: Pulling fs layer [2021-05-20T16:25:44.217Z] f581987b2513: Waiting [2021-05-20T16:25:44.217Z] 54011a49482f: Verifying Checksum [2021-05-20T16:25:44.217Z] 54011a49482f: Download complete [2021-05-20T16:25:44.480Z] 31603596830f: Verifying Checksum [2021-05-20T16:25:44.480Z] 31603596830f: Download complete [2021-05-20T16:25:44.480Z] f581987b2513: Verifying Checksum [2021-05-20T16:25:44.480Z] f581987b2513: Download complete [2021-05-20T16:25:44.480Z] a6820b24f6d8: Verifying Checksum [2021-05-20T16:25:44.480Z] a6820b24f6d8: Download complete [2021-05-20T16:25:44.480Z] 31603596830f: Pull complete [2021-05-20T16:25:44.742Z] 54011a49482f: Pull complete [2021-05-20T16:25:45.328Z] a6820b24f6d8: Pull complete [2021-05-20T16:25:45.590Z] f581987b2513: Pull complete [2021-05-20T16:25:45.591Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T16:25:45.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T16:25:45.591Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T16:25:45.707Z] prd-centos7-docker-4c-2g-15335 does not seem to be running inside a container [2021-05-20T16:25:45.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-96 -v /w/workspace/dgexfoundry_device-snmp-go_PR-96:/w/workspace/dgexfoundry_device-snmp-go_PR-96:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-96@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:47.363Z] $ docker top 28e11e7c37f88df8fae8429a70828d643220baa9bfc104d3d201f72ff2e25b67 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T16:25:47.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T16:25:47.614Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T16:25:47.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T16:25:47.749Z] $ docker exec 28e11e7c37f88df8fae8429a70828d643220baa9bfc104d3d201f72ff2e25b67 ssh-agent [2021-05-20T16:25:47.882Z] SSH_AUTH_SOCK=/tmp/ssh-QCMadMyfqLw9/agent.13 [2021-05-20T16:25:47.882Z] SSH_AGENT_PID=19 [2021-05-20T16:25:47.890Z] Running ssh-add (command line suppressed) [2021-05-20T16:25:48.003Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp/private_key_8008389203350585228.key (/w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp/private_key_8008389203350585228.key) [2021-05-20T16:25:48.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T16:25:48.377Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T16:25:48.402Z] $ docker exec --env ******** --env ******** 28e11e7c37f88df8fae8429a70828d643220baa9bfc104d3d201f72ff2e25b67 ssh-agent -k [2021-05-20T16:25:48.508Z] unset SSH_AUTH_SOCK; [2021-05-20T16:25:48.509Z] unset SSH_AGENT_PID; [2021-05-20T16:25:48.509Z] echo Agent pid 19 killed; [2021-05-20T16:25:48.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T16:25:48.635Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T16:25:48.635Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T16:25:48.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T16:25:48.762Z] $ docker exec 28e11e7c37f88df8fae8429a70828d643220baa9bfc104d3d201f72ff2e25b67 ssh-agent [2021-05-20T16:25:48.893Z] SSH_AUTH_SOCK=/tmp/ssh-ZgYpZ4SiDkPq/agent.53 [2021-05-20T16:25:48.893Z] SSH_AGENT_PID=60 [2021-05-20T16:25:48.913Z] Running ssh-add (command line suppressed) [2021-05-20T16:25:49.042Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp/private_key_7530014923106495989.key (/w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp/private_key_7530014923106495989.key) [2021-05-20T16:25:49.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T16:25:49.468Z] + git semver init [2021-05-20T16:25:49.468Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T16:25:49.469Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-96/.git [2021-05-20T16:25:49.469Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-96 [2021-05-20T16:25:49.469Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T16:25:49.469Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T16:25:49.469Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T16:25:49.469Z] # $SEMVER_BRANCH = PR-96 [2021-05-20T16:25:49.469Z] # $SEMVER_TEMP = /tmp/semver-989325221 [2021-05-20T16:25:49.469Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-20T16:25:49.732Z] # '/tmp/semver-989325221' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-96/.semver' [2021-05-20T16:25:49.732Z] # -> Force: false [2021-05-20T16:25:49.732Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-96/.semver [Pipeline] } [2021-05-20T16:25:49.751Z] $ docker exec --env ******** --env ******** 28e11e7c37f88df8fae8429a70828d643220baa9bfc104d3d201f72ff2e25b67 ssh-agent -k [2021-05-20T16:25:49.904Z] unset SSH_AUTH_SOCK; [2021-05-20T16:25:49.904Z] unset SSH_AGENT_PID; [2021-05-20T16:25:49.904Z] echo Agent pid 60 killed; [2021-05-20T16:25:49.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T16:25:50.370Z] + git semver [Pipeline] } [2021-05-20T16:25:50.398Z] $ docker stop --time=1 28e11e7c37f88df8fae8429a70828d643220baa9bfc104d3d201f72ff2e25b67 [2021-05-20T16:25:52.030Z] $ docker rm -f 28e11e7c37f88df8fae8429a70828d643220baa9bfc104d3d201f72ff2e25b67 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T16:25:52.463Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T16:25:52.860Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T16:25:52.884Z] [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:26:08.435Z] Still waiting to schedule task [2021-05-20T16:26:08.435Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-20T16:26:08.465Z] Still waiting to schedule task [2021-05-20T16:26:08.465Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15331’ [2021-05-20T16:27:01.856Z] Running on prd-centos7-docker-4c-2g-15339 in /w/workspace/dgexfoundry_device-snmp-go_PR-96 [Pipeline] { [Pipeline] ws [2021-05-20T16:27:01.929Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-20T16:27:02.079Z] Selected Git installation does not exist. Using Default [2021-05-20T16:27:02.079Z] The recommended git tool is: NONE [2021-05-20T16:27:04.817Z] using credential edgex-jenkins-ssh [2021-05-20T16:27:04.840Z] Cloning the remote Git repository [2021-05-20T16:27:04.868Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:27:04.929Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-20T16:27:04.953Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:27:04.953Z] > git --version # timeout=10 [2021-05-20T16:27:04.964Z] > git --version # 'git version 2.24.4' [2021-05-20T16:27:04.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:27:04.982Z] [INFO] Currently running in a labeled security context [2021-05-20T16:27:04.983Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T16:27:04.983Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh718854248489037110.key [2021-05-20T16:27:04.998Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T16:27:05.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T16:27:05.466Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T16:27:05.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T16:27:05.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:27:05.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:27:05.490Z] [INFO] Currently running in a labeled security context [2021-05-20T16:27:05.490Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T16:27:05.490Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh9131472096616727928.key [2021-05-20T16:27:05.496Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T16:27:05.873Z] Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit 25abfe57947f788d4293243a21694654233679a1 [2021-05-20T16:27:05.958Z] Merge succeeded, producing 25abfe57947f788d4293243a21694654233679a1 [2021-05-20T16:27:05.959Z] Checking out Revision 25abfe57947f788d4293243a21694654233679a1 (PR-96) [2021-05-20T16:27:05.880Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T16:27:05.892Z] > git checkout -f 25abfe57947f788d4293243a21694654233679a1 # timeout=10 [2021-05-20T16:27:05.917Z] > git remote # timeout=10 [2021-05-20T16:27:05.921Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T16:27:05.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:27:05.929Z] [INFO] Currently running in a labeled security context [2021-05-20T16:27:05.929Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T16:27:05.929Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh5356243170620366310.key [2021-05-20T16:27:05.940Z] > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 [2021-05-20T16:27:05.951Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T16:27:05.959Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T16:27:05.966Z] > git checkout -f 25abfe57947f788d4293243a21694654233679a1 # timeout=10 [2021-05-20T16:27:09.565Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-20T16:27:09.584Z] > git --version # timeout=10 [2021-05-20T16:27:09.587Z] > git --version # 'git version 2.24.4' [2021-05-20T16:27:09.600Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T16:27:10.770Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T16:27:11.129Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T16:27:11.443Z] + sudo service docker restart [2021-05-20T16:27:11.443Z] + true [2021-05-20T16:27:11.443Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T16:27:29.686Z] provisioning config files... [2021-05-20T16:27:29.701Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7358034285628544273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:27:30.087Z] ---> docker-login.sh [2021-05-20T16:27:30.087Z] nexus3.edgexfoundry.org:10001 [2021-05-20T16:27:30.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:30.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:30.350Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:30.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:30.350Z] [2021-05-20T16:27:30.350Z] Login Succeeded [2021-05-20T16:27:30.350Z] nexus3.edgexfoundry.org:10002 [2021-05-20T16:27:30.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:30.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:30.350Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:30.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:30.350Z] [2021-05-20T16:27:30.350Z] Login Succeeded [2021-05-20T16:27:30.350Z] nexus3.edgexfoundry.org:10003 [2021-05-20T16:27:30.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:30.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:30.613Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:30.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:30.613Z] [2021-05-20T16:27:30.613Z] Login Succeeded [2021-05-20T16:27:30.613Z] nexus3.edgexfoundry.org:10004 [2021-05-20T16:27:30.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:30.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:30.613Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:30.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:30.613Z] [2021-05-20T16:27:30.613Z] Login Succeeded [2021-05-20T16:27:30.613Z] docker.io [2021-05-20T16:27:30.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:27:31.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:27:31.139Z] Configure a credential helper to remove this warning. See [2021-05-20T16:27:31.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:27:31.139Z] [2021-05-20T16:27:31.139Z] Login Succeeded [2021-05-20T16:27:31.139Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T16:27:31.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T16:27:31.451Z] ========================================================= [2021-05-20T16:27:31.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T16:27:31.451Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:27:31.801Z] + 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:31.801Z] Sending build context to Docker daemon 352.8kB [2021-05-20T16:27:31.801Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T16:27:31.801Z] Step 2/10 : FROM ${BASE} [2021-05-20T16:27:31.801Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T16:27:31.801Z] 540db60ca938: Pulling fs layer [2021-05-20T16:27:31.801Z] adcc1eea9eea: Pulling fs layer [2021-05-20T16:27:31.801Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T16:27:31.801Z] 0510c868ecb4: Pulling fs layer [2021-05-20T16:27:31.801Z] afea3b2eda06: Pulling fs layer [2021-05-20T16:27:31.801Z] 7809a108b3ef: Pulling fs layer [2021-05-20T16:27:31.801Z] f706445af74f: Pulling fs layer [2021-05-20T16:27:31.801Z] 0510c868ecb4: Waiting [2021-05-20T16:27:31.801Z] afea3b2eda06: Waiting [2021-05-20T16:27:31.801Z] 7809a108b3ef: Waiting [2021-05-20T16:27:31.801Z] f706445af74f: Waiting [2021-05-20T16:27:31.801Z] 4c4ab2625f07: Verifying Checksum [2021-05-20T16:27:31.801Z] 4c4ab2625f07: Download complete [2021-05-20T16:27:31.801Z] adcc1eea9eea: Verifying Checksum [2021-05-20T16:27:31.801Z] adcc1eea9eea: Download complete [2021-05-20T16:27:31.801Z] afea3b2eda06: Verifying Checksum [2021-05-20T16:27:31.801Z] afea3b2eda06: Download complete [2021-05-20T16:27:32.074Z] 7809a108b3ef: Verifying Checksum [2021-05-20T16:27:32.074Z] 7809a108b3ef: Download complete [2021-05-20T16:27:32.074Z] 540db60ca938: Verifying Checksum [2021-05-20T16:27:32.074Z] 540db60ca938: Download complete [2021-05-20T16:27:32.074Z] 540db60ca938: Pull complete [2021-05-20T16:27:32.335Z] adcc1eea9eea: Pull complete [2021-05-20T16:27:32.335Z] 4c4ab2625f07: Pull complete [2021-05-20T16:27:33.302Z] f706445af74f: Verifying Checksum [2021-05-20T16:27:33.302Z] f706445af74f: Download complete [2021-05-20T16:27:33.876Z] 0510c868ecb4: Verifying Checksum [2021-05-20T16:27:33.876Z] 0510c868ecb4: Download complete [2021-05-20T16:28:12.657Z] 0510c868ecb4: Pull complete [2021-05-20T16:28:12.657Z] afea3b2eda06: Pull complete [2021-05-20T16:28:12.657Z] 7809a108b3ef: Pull complete [2021-05-20T16:28:13.242Z] f706445af74f: Pull complete [2021-05-20T16:28:13.503Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T16:28:13.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T16:28:13.503Z] ---> b068be0155e3 [2021-05-20T16:28:13.503Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T16:28:14.077Z] ---> Running in 27aac1bda430 [2021-05-20T16:28:14.339Z] Removing intermediate container 27aac1bda430 [2021-05-20T16:28:14.339Z] ---> ff915c56ca52 [2021-05-20T16:28:14.339Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T16:28:14.339Z] ---> Running in c3c728addd90 [2021-05-20T16:28:14.611Z] Removing intermediate container c3c728addd90 [2021-05-20T16:28:14.611Z] ---> ba0022c8c5a7 [2021-05-20T16:28:14.611Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-20T16:28:14.611Z] ---> Running in b8ce7fa72ede [2021-05-20T16:28:14.611Z] Removing intermediate container b8ce7fa72ede [2021-05-20T16:28:14.611Z] ---> b003b4603c6e [2021-05-20T16:28:14.611Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T16:28:14.611Z] ---> Running in a298163145ac [2021-05-20T16:28:15.184Z] Removing intermediate container a298163145ac [2021-05-20T16:28:15.184Z] ---> 11a5458d3acd [2021-05-20T16:28:15.184Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T16:28:15.184Z] ---> Running in ab579deee661 [2021-05-20T16:28:15.446Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T16:28:16.393Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T16:28:16.966Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T16:28:16.966Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T16:28:16.966Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T16:28:16.966Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T16:28:17.226Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T16:28:17.226Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T16:28:17.487Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T16:28:17.784Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T16:28:17.784Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T16:28:17.784Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T16:28:18.378Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T16:28:18.650Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T16:28:18.650Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T16:28:18.650Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T16:28:18.650Z] OK: 156 MiB in 53 packages [2021-05-20T16:28:19.232Z] Removing intermediate container ab579deee661 [2021-05-20T16:28:19.232Z] ---> 8acce8a1be21 [2021-05-20T16:28:19.232Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-20T16:28:19.232Z] ---> Running in a08b29299602 [2021-05-20T16:28:19.232Z] Removing intermediate container a08b29299602 [2021-05-20T16:28:19.232Z] ---> 6797275b41fd [2021-05-20T16:28:19.232Z] Step 9/10 : COPY . . [2021-05-20T16:28:19.500Z] ---> 32efdc552272 [2021-05-20T16:28:19.500Z] Step 10/10 : RUN go mod download [2021-05-20T16:28:19.500Z] ---> Running in 99f18536af11 [2021-05-20T16:28:31.766Z] Removing intermediate container 99f18536af11 [2021-05-20T16:28:31.766Z] ---> e1c4d1791c80 [2021-05-20T16:28:31.766Z] Successfully built e1c4d1791c80 [2021-05-20T16:28:31.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:28:32.112Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T16:28:32.113Z] . [Pipeline] withDockerContainer [2021-05-20T16:28:32.218Z] prd-centos7-docker-4c-2g-15339 does not seem to be running inside a container [2021-05-20T16:28:32.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T16:28:32.617Z] $ docker top 258c40e454d8ed10032b2e5f8d3d2485ca3d6183a41b275d843b995b934fcacd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:28:33.045Z] + go version [2021-05-20T16:28:33.045Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T16:28:33.072Z] $ docker stop --time=1 258c40e454d8ed10032b2e5f8d3d2485ca3d6183a41b275d843b995b934fcacd [2021-05-20T16:28:34.282Z] $ docker rm -f 258c40e454d8ed10032b2e5f8d3d2485ca3d6183a41b275d843b995b934fcacd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:28:35.290Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T16:28:35.290Z] . [Pipeline] withDockerContainer [2021-05-20T16:28:35.393Z] prd-centos7-docker-4c-2g-15339 does not seem to be running inside a container [2021-05-20T16:28:35.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T16:28:35.804Z] $ docker top 69433075ca20cb4cd52bead213e10283d86a38cd621f078680f269ec6609905a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:28:36.256Z] + go mod tidy [Pipeline] sh [2021-05-20T16:28:36.873Z] + make test [2021-05-20T16:28:36.873Z] go mod tidy [2021-05-20T16:28:36.873Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T16:28:37.479Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-20T16:28:52.480Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-20T16:28:52.480Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-05-20T16:28:52.480Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T16:28:59.148Z] gofmt -l . [2021-05-20T16:28:59.148Z] [ "`gofmt -l .`" = "" ] [2021-05-20T16:28:59.148Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T16:28:59.230Z] $ docker stop --time=1 69433075ca20cb4cd52bead213e10283d86a38cd621f078680f269ec6609905a [2021-05-20T16:29:00.653Z] $ docker rm -f 69433075ca20cb4cd52bead213e10283d86a38cd621f078680f269ec6609905a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T16:29:01.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T16:29:01.350Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-20T16:29:02.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T16:29:03.168Z] + ls -al . [2021-05-20T16:29:03.169Z] total 104 [2021-05-20T16:29:03.169Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 20 16:28 . [2021-05-20T16:29:03.169Z] drwxrwxr-x. 4 jenkins jenkins 28 May 20 16:27 .. [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 20 16:27 Attribution.txt [2021-05-20T16:29:03.169Z] drwxrwxr-x. 2 jenkins jenkins 60 May 20 16:27 bin [2021-05-20T16:29:03.169Z] drwxrwxr-x. 3 jenkins jenkins 32 May 20 16:27 cmd [2021-05-20T16:29:03.169Z] -rw-r--r--. 1 jenkins jenkins 7631 May 20 16:28 coverage.out [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 20 16:27 Dockerfile [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 20 16:27 Dockerfile.build [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 6 May 20 16:27 .dockerignore [2021-05-20T16:29:03.169Z] drwxrwxr-x. 8 jenkins jenkins 179 May 20 16:27 .git [2021-05-20T16:29:03.169Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 16:27 .github [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 272 May 20 16:27 .gitignore [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 222 May 20 16:27 go.mod [2021-05-20T16:29:03.169Z] -rw-r--r--. 1 jenkins jenkins 21438 May 20 16:28 go.sum [2021-05-20T16:29:03.169Z] drwxrwxr-x. 3 jenkins jenkins 20 May 20 16:27 internal [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 656 May 20 16:27 Jenkinsfile [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 20 16:27 LICENSE [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 936 May 20 16:27 Makefile [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 20 16:27 README.md [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 5 May 20 16:25 VERSION [2021-05-20T16:29:03.169Z] -rw-rw-r--. 1 jenkins jenkins 209 May 20 16:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:29:03.512Z] + 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=25abfe57947f788d4293243a21694654233679a1 --label arch=amd64 --label version=0.0.0 . [2021-05-20T16:29:03.512Z] Sending build context to Docker daemon 361kB [2021-05-20T16:29:03.512Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T16:29:03.512Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-20T16:29:03.512Z] ---> e1c4d1791c80 [2021-05-20T16:29:03.512Z] Step 3/24 : ARG MAKE='make build' [2021-05-20T16:29:03.512Z] ---> Running in 44d45c1ba153 [2021-05-20T16:29:03.512Z] Removing intermediate container 44d45c1ba153 [2021-05-20T16:29:03.512Z] ---> 25058d7a090d [2021-05-20T16:29:03.512Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T16:29:03.512Z] ---> Running in da9df73ca589 [2021-05-20T16:29:03.777Z] Removing intermediate container da9df73ca589 [2021-05-20T16:29:03.777Z] ---> ff83918b493f [2021-05-20T16:29:03.777Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T16:29:03.777Z] ---> Running in 39ed922cb820 [2021-05-20T16:29:03.777Z] Removing intermediate container 39ed922cb820 [2021-05-20T16:29:03.777Z] ---> a33890703856 [2021-05-20T16:29:03.777Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T16:29:03.777Z] ---> Running in 53acee9b2493 [2021-05-20T16:29:04.351Z] Removing intermediate container 53acee9b2493 [2021-05-20T16:29:04.351Z] ---> f6702b87a799 [2021-05-20T16:29:04.351Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T16:29:04.351Z] ---> Running in 30ad7c556087 [2021-05-20T16:29:04.614Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T16:29:05.559Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T16:29:05.827Z] OK: 156 MiB in 53 packages [2021-05-20T16:29:06.094Z] Removing intermediate container 30ad7c556087 [2021-05-20T16:29:06.094Z] ---> ea5cbb38e662 [2021-05-20T16:29:06.094Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-20T16:29:06.094Z] ---> Running in c1fd85ba383d [2021-05-20T16:29:06.094Z] Removing intermediate container c1fd85ba383d [2021-05-20T16:29:06.094Z] ---> 5aa305ec8f84 [2021-05-20T16:29:06.094Z] Step 9/24 : COPY . . [2021-05-20T16:29:06.358Z] ---> 3605b7aed833 [2021-05-20T16:29:06.358Z] Step 10/24 : RUN go mod tidy [2021-05-20T16:29:06.358Z] ---> Running in 15afa9b79938 [2021-05-20T16:29:06.950Z] Removing intermediate container 15afa9b79938 [2021-05-20T16:29:06.950Z] ---> db28b39de75e [2021-05-20T16:29:06.950Z] Step 11/24 : RUN make update [2021-05-20T16:29:06.950Z] ---> Running in 037348fbbd50 [2021-05-20T16:29:07.212Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T16:29:07.475Z] Removing intermediate container 037348fbbd50 [2021-05-20T16:29:07.475Z] ---> ebcb9db0ae65 [2021-05-20T16:29:07.475Z] Step 12/24 : RUN ${MAKE} [2021-05-20T16:29:07.475Z] ---> Running in af9aa7adbf71 [2021-05-20T16:29:07.754Z] go mod tidy [2021-05-20T16:29:08.031Z] 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:29:20.324Z] Removing intermediate container af9aa7adbf71 [2021-05-20T16:29:20.324Z] ---> ede78f00861e [2021-05-20T16:29:20.324Z] Step 13/24 : FROM alpine:3.12 [2021-05-20T16:29:20.324Z] 3.12: Pulling from library/alpine [2021-05-20T16:29:20.324Z] 339de151aab4: Pulling fs layer [2021-05-20T16:29:20.324Z] 339de151aab4: Verifying Checksum [2021-05-20T16:29:20.324Z] 339de151aab4: Download complete [2021-05-20T16:29:20.324Z] 339de151aab4: Pull complete [2021-05-20T16:29:20.324Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T16:29:20.324Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T16:29:20.324Z] ---> 13621d1b12d4 [2021-05-20T16:29:20.324Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T16:29:20.324Z] ---> Running in 2132dd6d2e24 [2021-05-20T16:29:20.601Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T16:29:20.601Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T16:29:20.601Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T16:29:20.601Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T16:29:20.601Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T16:29:20.601Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T16:29:20.601Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T16:29:20.601Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T16:29:20.601Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T16:29:20.601Z] OK: 8 MiB in 20 packages [2021-05-20T16:29:20.870Z] Removing intermediate container 2132dd6d2e24 [2021-05-20T16:29:20.870Z] ---> c5817bc952ae [2021-05-20T16:29:20.870Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-20T16:29:21.446Z] ---> ec4d38ea76b9 [2021-05-20T16:29:21.446Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-20T16:29:21.446Z] ---> 4730d5f4f7ba [2021-05-20T16:29:21.446Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-20T16:29:21.707Z] ---> 4cc384d7bcd4 [2021-05-20T16:29:21.707Z] Step 18/24 : EXPOSE 49993 [2021-05-20T16:29:21.707Z] ---> Running in 2847ae478f75 [2021-05-20T16:29:21.707Z] Removing intermediate container 2847ae478f75 [2021-05-20T16:29:21.707Z] ---> efe00848007c [2021-05-20T16:29:21.707Z] Step 19/24 : EXPOSE 161 [2021-05-20T16:29:21.707Z] ---> Running in d033f607957c [2021-05-20T16:29:21.707Z] Removing intermediate container d033f607957c [2021-05-20T16:29:21.707Z] ---> c5132992ee83 [2021-05-20T16:29:21.707Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-20T16:29:21.967Z] ---> Running in 09ba57e44b1a [2021-05-20T16:29:21.967Z] Removing intermediate container 09ba57e44b1a [2021-05-20T16:29:21.967Z] ---> dc4cc29f3b24 [2021-05-20T16:29:21.967Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T16:29:21.967Z] ---> Running in 70a062ebad41 [2021-05-20T16:29:21.967Z] Removing intermediate container 70a062ebad41 [2021-05-20T16:29:21.967Z] ---> b21b057d8955 [2021-05-20T16:29:21.967Z] Step 22/24 : LABEL arch=amd64 [2021-05-20T16:29:21.967Z] ---> Running in fbd2fe540ba4 [2021-05-20T16:29:22.229Z] Removing intermediate container fbd2fe540ba4 [2021-05-20T16:29:22.229Z] ---> 17a78a396cd4 [2021-05-20T16:29:22.229Z] Step 23/24 : LABEL git_sha=25abfe57947f788d4293243a21694654233679a1 [2021-05-20T16:29:22.229Z] ---> Running in b281e16faf62 [2021-05-20T16:29:22.229Z] Removing intermediate container b281e16faf62 [2021-05-20T16:29:22.229Z] ---> 0da59ef5d07e [2021-05-20T16:29:22.229Z] Step 24/24 : LABEL version=0.0.0 [2021-05-20T16:29:22.229Z] ---> Running in 68531f8a5139 [2021-05-20T16:29:22.495Z] Removing intermediate container 68531f8a5139 [2021-05-20T16:29:22.495Z] ---> d8597e4a1065 [2021-05-20T16:29:22.495Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T16:29:22.495Z] Successfully built d8597e4a1065 [2021-05-20T16:29:22.495Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:29:23.502Z] ---> job-cost.sh [2021-05-20T16:29:23.502Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JTq4 [2021-05-20T16:29:25.618Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15341 in /w/workspace/dgexfoundry_device-snmp-go_PR-96 [Pipeline] { [Pipeline] ws [2021-05-20T16:29:25.675Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-20T16:29:25.990Z] Selected Git installation does not exist. Using Default [2021-05-20T16:29:25.990Z] The recommended git tool is: NONE [2021-05-20T16:29:31.680Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T16:29:32.336Z] using credential edgex-jenkins-ssh [2021-05-20T16:29:32.363Z] Cloning the remote Git repository [2021-05-20T16:29:32.453Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:29:32.651Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-20T16:29:32.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:29:32.767Z] > git --version # timeout=10 [2021-05-20T16:29:32.794Z] > git --version # 'git version 2.17.1' [2021-05-20T16:29:32.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:29:32.926Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T16:29:34.261Z] Merging remotes/origin/master commit 80fc4d6fa8e57088abf890f3ca65168d4dd41549 into PR head commit 25abfe57947f788d4293243a21694654233679a1 [2021-05-20T16:29:34.521Z] Merge succeeded, producing 25abfe57947f788d4293243a21694654233679a1 [2021-05-20T16:29:34.522Z] Checking out Revision 25abfe57947f788d4293243a21694654233679a1 (PR-96) [2021-05-20T16:29:33.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T16:29:33.698Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T16:29:33.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T16:29:33.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T16:29:33.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:29:33.793Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T16:29:34.301Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T16:29:34.321Z] > git checkout -f 25abfe57947f788d4293243a21694654233679a1 # timeout=10 [2021-05-20T16:29:34.414Z] > git remote # timeout=10 [2021-05-20T16:29:34.451Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T16:29:34.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T16:29:34.485Z] > git merge 80fc4d6fa8e57088abf890f3ca65168d4dd41549 # timeout=10 [2021-05-20T16:29:34.513Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T16:29:34.539Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T16:29:34.551Z] > git checkout -f 25abfe57947f788d4293243a21694654233679a1 # timeout=10 [2021-05-20T16:29:39.019Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-20T16:29:39.102Z] > git --version # timeout=10 [2021-05-20T16:29:39.115Z] > git --version # 'git version 2.17.1' [2021-05-20T16:29:39.136Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T16:29:39.445Z] [2021-05-20T16:29:39.445Z] GitHub has been notified of this commit’s build result [2021-05-20T16:29:39.445Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T16:29:40.850Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T16:29:41.318Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T16:29:41.702Z] + sudo service docker restart+ [2021-05-20T16:29:41.702Z] true [2021-05-20T16:29:46.670Z] lf-activate-venv(): INFO: Adding /tmp/venv-JTq4/bin to PATH [2021-05-20T16:29:46.670Z] INFO: No Stack... [2021-05-20T16:29:46.670Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T16:29:46.670Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T16:29:46.996Z] + cut -d, -f6 [2021-05-20T16:29:46.996Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-05-20T16:29:47.068Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-96-1-stack-cost] [2021-05-20T16:29:47.075Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-96-1-stack-cost] did not exist. Created. [2021-05-20T16:29:47.075Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-96-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T16:29:47.517Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T16:29:47.595Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T16:29:47.615Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-96-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T16:30:04.100Z] provisioning config files... [2021-05-20T16:30:04.135Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6448362972047638336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:30:04.591Z] ---> docker-login.sh [2021-05-20T16:30:04.591Z] nexus3.edgexfoundry.org:10001 [2021-05-20T16:30:05.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:30:05.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:30:05.880Z] Configure a credential helper to remove this warning. See [2021-05-20T16:30:05.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:30:05.880Z] [2021-05-20T16:30:05.880Z] Login Succeeded [2021-05-20T16:30:05.880Z] nexus3.edgexfoundry.org:10002 [2021-05-20T16:30:06.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:30:06.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:30:06.760Z] Configure a credential helper to remove this warning. See [2021-05-20T16:30:06.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:30:06.760Z] [2021-05-20T16:30:06.760Z] Login Succeeded [2021-05-20T16:30:06.760Z] nexus3.edgexfoundry.org:10003 [2021-05-20T16:30:07.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:30:07.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:30:07.317Z] Configure a credential helper to remove this warning. See [2021-05-20T16:30:07.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:30:07.317Z] [2021-05-20T16:30:07.317Z] Login Succeeded [2021-05-20T16:30:07.317Z] nexus3.edgexfoundry.org:10004 [2021-05-20T16:30:07.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:30:07.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:30:07.938Z] Configure a credential helper to remove this warning. See [2021-05-20T16:30:07.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:30:07.938Z] [2021-05-20T16:30:07.938Z] Login Succeeded [2021-05-20T16:30:07.938Z] docker.io [2021-05-20T16:30:08.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T16:30:08.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T16:30:08.811Z] Configure a credential helper to remove this warning. See [2021-05-20T16:30:08.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T16:30:08.811Z] [2021-05-20T16:30:08.811Z] Login Succeeded [2021-05-20T16:30:08.811Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T16:30:08.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T16:30:09.657Z] ========================================================= [2021-05-20T16:30:09.657Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T16:30:09.657Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:30:10.090Z] + 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:30:10.696Z] Sending build context to Docker daemon 351.7kB [2021-05-20T16:30:10.696Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T16:30:10.696Z] Step 2/10 : FROM ${BASE} [2021-05-20T16:30:11.004Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T16:30:11.004Z] 595b0fe564bb: Pulling fs layer [2021-05-20T16:30:11.004Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T16:30:11.004Z] 316046926c0a: Pulling fs layer [2021-05-20T16:30:11.004Z] 4ebd0625c992: Pulling fs layer [2021-05-20T16:30:11.004Z] 207e8628e3a3: Pulling fs layer [2021-05-20T16:30:11.004Z] c791037a9be2: Pulling fs layer [2021-05-20T16:30:11.004Z] ffd874e62e21: Pulling fs layer [2021-05-20T16:30:11.004Z] 207e8628e3a3: Waiting [2021-05-20T16:30:11.004Z] c791037a9be2: Waiting [2021-05-20T16:30:11.004Z] ffd874e62e21: Waiting [2021-05-20T16:30:11.004Z] 4ebd0625c992: Waiting [2021-05-20T16:30:11.004Z] 316046926c0a: Download complete [2021-05-20T16:30:11.004Z] 7186ed65a4f7: Verifying Checksum [2021-05-20T16:30:11.004Z] 7186ed65a4f7: Download complete [2021-05-20T16:30:11.004Z] 207e8628e3a3: Verifying Checksum [2021-05-20T16:30:11.004Z] 207e8628e3a3: Download complete [2021-05-20T16:30:11.004Z] c791037a9be2: Download complete [2021-05-20T16:30:11.004Z] 595b0fe564bb: Verifying Checksum [2021-05-20T16:30:11.004Z] 595b0fe564bb: Download complete [2021-05-20T16:30:11.611Z] 595b0fe564bb: Pull complete [2021-05-20T16:30:12.612Z] 7186ed65a4f7: Pull complete [2021-05-20T16:30:12.899Z] 316046926c0a: Pull complete [2021-05-20T16:30:13.177Z] ffd874e62e21: Verifying Checksum [2021-05-20T16:30:13.177Z] ffd874e62e21: Download complete [2021-05-20T16:30:14.616Z] 4ebd0625c992: Verifying Checksum [2021-05-20T16:30:14.616Z] 4ebd0625c992: Download complete [2021-05-20T16:30:26.671Z] 4ebd0625c992: Pull complete [2021-05-20T16:30:26.671Z] 207e8628e3a3: Pull complete [2021-05-20T16:30:26.671Z] c791037a9be2: Pull complete [2021-05-20T16:30:29.319Z] ffd874e62e21: Pull complete [2021-05-20T16:30:29.319Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T16:30:29.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T16:30:29.597Z] ---> cfc18b08335c [2021-05-20T16:30:29.597Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T16:30:32.241Z] ---> Running in 7c68ddac9fbc [2021-05-20T16:30:32.518Z] Removing intermediate container 7c68ddac9fbc [2021-05-20T16:30:32.518Z] ---> c28f578ff5db [2021-05-20T16:30:32.518Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T16:30:32.518Z] ---> Running in 98d25c0af096 [2021-05-20T16:30:33.128Z] Removing intermediate container 98d25c0af096 [2021-05-20T16:30:33.128Z] ---> f13e1ab4a2cc [2021-05-20T16:30:33.128Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-20T16:30:33.404Z] ---> Running in c9983fb33dfe [2021-05-20T16:30:34.008Z] Removing intermediate container c9983fb33dfe [2021-05-20T16:30:34.008Z] ---> 50ca6f3b0ec0 [2021-05-20T16:30:34.008Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T16:30:34.008Z] ---> Running in 306133f99e6d [2021-05-20T16:30:36.665Z] Removing intermediate container 306133f99e6d [2021-05-20T16:30:36.665Z] ---> e7b6f81c2db1 [2021-05-20T16:30:36.666Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T16:30:36.942Z] ---> Running in 18f4cf63118d [2021-05-20T16:30:38.382Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T16:30:39.379Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T16:30:40.365Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T16:30:40.365Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T16:30:40.648Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T16:30:40.648Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T16:30:40.648Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T16:30:40.937Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T16:30:40.937Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T16:30:41.563Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T16:30:41.563Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T16:30:41.563Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T16:30:41.563Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T16:30:41.839Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T16:30:41.839Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T16:30:42.117Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T16:30:42.117Z] OK: 145 MiB in 53 packages [2021-05-20T16:30:43.589Z] Removing intermediate container 18f4cf63118d [2021-05-20T16:30:43.589Z] ---> 9b1dc9d64202 [2021-05-20T16:30:43.589Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-20T16:30:43.589Z] ---> Running in 2afade75ec59 [2021-05-20T16:30:44.193Z] Removing intermediate container 2afade75ec59 [2021-05-20T16:30:44.193Z] ---> c836d1bc54ee [2021-05-20T16:30:44.193Z] Step 9/10 : COPY . . [2021-05-20T16:30:45.177Z] ---> 955392a9c5c0 [2021-05-20T16:30:45.177Z] Step 10/10 : RUN go mod download [2021-05-20T16:30:45.465Z] ---> Running in 1485607261ac [2021-05-20T16:31:17.848Z] Removing intermediate container 1485607261ac [2021-05-20T16:31:17.848Z] ---> bae25c193219 [2021-05-20T16:31:17.848Z] Successfully built bae25c193219 [2021-05-20T16:31:17.848Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:31:18.259Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T16:31:18.259Z] . [Pipeline] withDockerContainer [2021-05-20T16:31:18.587Z] prd-ubuntu18.04-docker-arm64-4c-16g-15341 does not seem to be running inside a container [2021-05-20T16:31:18.693Z] $ 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:31:20.470Z] $ docker top 8c0fcaf75d0474643ff9a1e228eda67cb48d67af601ab3bb536bf039e7eb44ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:31:21.545Z] + go version [2021-05-20T16:31:21.545Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T16:31:21.593Z] $ docker stop --time=1 8c0fcaf75d0474643ff9a1e228eda67cb48d67af601ab3bb536bf039e7eb44ed [2021-05-20T16:31:23.495Z] $ docker rm -f 8c0fcaf75d0474643ff9a1e228eda67cb48d67af601ab3bb536bf039e7eb44ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:31:24.516Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T16:31:24.516Z] . [Pipeline] withDockerContainer [2021-05-20T16:31:24.813Z] prd-ubuntu18.04-docker-arm64-4c-16g-15341 does not seem to be running inside a container [2021-05-20T16:31:24.915Z] $ 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:31:26.672Z] $ docker top e7e32b4418cd29948a05c2733d6d3ded18c3d5f8171a598c8e28934a7b8fb977 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:31:29.051Z] + go mod tidy [Pipeline] sh [2021-05-20T16:31:30.349Z] + make test [2021-05-20T16:31:30.349Z] go mod tidy [2021-05-20T16:31:30.954Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T16:31:32.409Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-20T16:32:29.052Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-20T16:32:29.052Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.039s coverage: 0.0% of statements [2021-05-20T16:32:29.052Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T16:33:01.463Z] gofmt -l . [2021-05-20T16:33:01.463Z] [ "`gofmt -l .`" = "" ] [2021-05-20T16:33:01.463Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T16:33:01.520Z] $ docker stop --time=1 e7e32b4418cd29948a05c2733d6d3ded18c3d5f8171a598c8e28934a7b8fb977 [2021-05-20T16:33:03.560Z] $ docker rm -f e7e32b4418cd29948a05c2733d6d3ded18c3d5f8171a598c8e28934a7b8fb977 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T16:33:04.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T16:33:04.537Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T16:33:05.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T16:33:05.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T16:33:06.314Z] + ls -al . [2021-05-20T16:33:06.314Z] total 128 [2021-05-20T16:33:06.314Z] drwxrwxr-x 7 jenkins jenkins 4096 May 20 16:32 . [2021-05-20T16:33:06.314Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 16:29 .. [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 6 May 20 16:29 .dockerignore [2021-05-20T16:33:06.314Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 16:29 .git [2021-05-20T16:33:06.314Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 16:29 .github [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 272 May 20 16:29 .gitignore [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 20 16:29 Attribution.txt [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 20 16:29 Dockerfile [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 20 16:29 Dockerfile.build [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 656 May 20 16:29 Jenkinsfile [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 20 16:29 LICENSE [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 936 May 20 16:29 Makefile [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 20 16:29 README.md [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 16:25 VERSION [2021-05-20T16:33:06.314Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 16:29 bin [2021-05-20T16:33:06.314Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 16:29 cmd [2021-05-20T16:33:06.314Z] -rw-r--r-- 1 jenkins jenkins 7631 May 20 16:32 coverage.out [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 222 May 20 16:29 go.mod [2021-05-20T16:33:06.314Z] -rw-r--r-- 1 jenkins jenkins 21438 May 20 16:31 go.sum [2021-05-20T16:33:06.314Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 16:29 internal [2021-05-20T16:33:06.314Z] -rw-rw-r-- 1 jenkins jenkins 209 May 20 16:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:33:06.697Z] + 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=25abfe57947f788d4293243a21694654233679a1 --label arch=arm64 --label version=0.0.0 . [2021-05-20T16:33:06.971Z] Sending build context to Docker daemon 359.9kB [2021-05-20T16:33:07.260Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T16:33:07.260Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-20T16:33:07.260Z] ---> bae25c193219 [2021-05-20T16:33:07.260Z] Step 3/24 : ARG MAKE='make build' [2021-05-20T16:33:07.260Z] ---> Running in f2b6d20c2891 [2021-05-20T16:33:07.871Z] Removing intermediate container f2b6d20c2891 [2021-05-20T16:33:07.871Z] ---> 9e8a39a209d8 [2021-05-20T16:33:07.871Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T16:33:08.145Z] ---> Running in 1ed21fb12d59 [2021-05-20T16:33:08.421Z] Removing intermediate container 1ed21fb12d59 [2021-05-20T16:33:08.421Z] ---> b28db334662b [2021-05-20T16:33:08.421Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T16:33:08.698Z] ---> Running in 304b7bdbb6ce [2021-05-20T16:33:09.299Z] Removing intermediate container 304b7bdbb6ce [2021-05-20T16:33:09.299Z] ---> eb44b60467bd [2021-05-20T16:33:09.299Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T16:33:09.299Z] ---> Running in 2d6b0518579d [2021-05-20T16:33:11.932Z] Removing intermediate container 2d6b0518579d [2021-05-20T16:33:11.932Z] ---> 5caa3df9d277 [2021-05-20T16:33:11.932Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T16:33:11.932Z] ---> Running in cf1ab91ce9f7 [2021-05-20T16:33:12.918Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T16:33:13.895Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T16:33:14.872Z] OK: 145 MiB in 53 packages [2021-05-20T16:33:15.851Z] Removing intermediate container cf1ab91ce9f7 [2021-05-20T16:33:15.851Z] ---> 439a2f9e03f4 [2021-05-20T16:33:15.851Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-20T16:33:15.851Z] ---> Running in a4e89f22913a [2021-05-20T16:33:16.448Z] Removing intermediate container a4e89f22913a [2021-05-20T16:33:16.448Z] ---> e0c2b3ddfc17 [2021-05-20T16:33:16.448Z] Step 9/24 : COPY . . [2021-05-20T16:33:17.431Z] ---> 01d3c3d66fb6 [2021-05-20T16:33:17.432Z] Step 10/24 : RUN go mod tidy [2021-05-20T16:33:17.706Z] ---> Running in accbc5961243 [2021-05-20T16:33:20.326Z] Removing intermediate container accbc5961243 [2021-05-20T16:33:20.326Z] ---> f86492934f49 [2021-05-20T16:33:20.326Z] Step 11/24 : RUN make update [2021-05-20T16:33:20.601Z] ---> Running in beb75f512e5b [2021-05-20T16:33:22.043Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T16:33:23.025Z] Removing intermediate container beb75f512e5b [2021-05-20T16:33:23.025Z] ---> 2b73b31801f8 [2021-05-20T16:33:23.025Z] Step 12/24 : RUN ${MAKE} [2021-05-20T16:33:23.025Z] ---> Running in 3d53ddb65ed3 [2021-05-20T16:33:24.468Z] go mod tidy [2021-05-20T16:33:24.747Z] 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:34:03.806Z] Removing intermediate container 3d53ddb65ed3 [2021-05-20T16:34:03.806Z] ---> 07925370b676 [2021-05-20T16:34:03.806Z] Step 13/24 : FROM alpine:3.12 [2021-05-20T16:34:03.806Z] 3.12: Pulling from library/alpine [2021-05-20T16:34:03.806Z] d2f70382dc9a: Pulling fs layer [2021-05-20T16:34:03.806Z] d2f70382dc9a: Download complete [2021-05-20T16:34:03.806Z] d2f70382dc9a: Pull complete [2021-05-20T16:34:03.806Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T16:34:03.806Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T16:34:03.806Z] ---> 9852663dfa18 [2021-05-20T16:34:03.806Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T16:34:03.806Z] ---> Running in f9c9303eca42 [2021-05-20T16:34:04.403Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T16:34:04.679Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T16:34:05.284Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T16:34:05.284Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T16:34:05.284Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T16:34:05.284Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T16:34:05.284Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T16:34:05.284Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T16:34:05.284Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T16:34:05.284Z] OK: 8 MiB in 20 packages [2021-05-20T16:34:06.277Z] Removing intermediate container f9c9303eca42 [2021-05-20T16:34:06.277Z] ---> dda3a29a3f98 [2021-05-20T16:34:06.277Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-20T16:34:07.717Z] ---> 1ab86ba207d5 [2021-05-20T16:34:07.717Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-20T16:34:08.317Z] ---> f49e1c446d87 [2021-05-20T16:34:08.317Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-20T16:34:09.301Z] ---> 033101a39cd3 [2021-05-20T16:34:09.301Z] Step 18/24 : EXPOSE 49993 [2021-05-20T16:34:09.301Z] ---> Running in a4593a55d07a [2021-05-20T16:34:09.899Z] Removing intermediate container a4593a55d07a [2021-05-20T16:34:09.899Z] ---> e5aa819515e8 [2021-05-20T16:34:09.899Z] Step 19/24 : EXPOSE 161 [2021-05-20T16:34:09.899Z] ---> Running in a9ae066cf6e3 [2021-05-20T16:34:10.528Z] Removing intermediate container a9ae066cf6e3 [2021-05-20T16:34:10.528Z] ---> f1fc5a57d402 [2021-05-20T16:34:10.528Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-20T16:34:10.528Z] ---> Running in ddeda4e38676 [2021-05-20T16:34:10.804Z] Removing intermediate container ddeda4e38676 [2021-05-20T16:34:10.804Z] ---> 1bca443211e5 [2021-05-20T16:34:10.804Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T16:34:11.080Z] ---> Running in 309477a05127 [2021-05-20T16:34:11.678Z] Removing intermediate container 309477a05127 [2021-05-20T16:34:11.678Z] ---> aff56aa909a3 [2021-05-20T16:34:11.678Z] Step 22/24 : LABEL arch=arm64 [2021-05-20T16:34:11.678Z] ---> Running in 6e1103a93c62 [2021-05-20T16:34:12.275Z] Removing intermediate container 6e1103a93c62 [2021-05-20T16:34:12.275Z] ---> 435a0be4fb7e [2021-05-20T16:34:12.275Z] Step 23/24 : LABEL git_sha=25abfe57947f788d4293243a21694654233679a1 [2021-05-20T16:34:12.275Z] ---> Running in 5aeb0353c826 [2021-05-20T16:34:12.870Z] Removing intermediate container 5aeb0353c826 [2021-05-20T16:34:12.870Z] ---> 270ef18a3ff3 [2021-05-20T16:34:12.870Z] Step 24/24 : LABEL version=0.0.0 [2021-05-20T16:34:12.870Z] ---> Running in ead8db18ff67 [2021-05-20T16:34:13.467Z] Removing intermediate container ead8db18ff67 [2021-05-20T16:34:13.467Z] ---> 9eed2c8d3ab2 [2021-05-20T16:34:13.467Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T16:34:13.467Z] Successfully built 9eed2c8d3ab2 [2021-05-20T16:34:13.467Z] 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:34:14.250Z] ---> job-cost.sh [2021-05-20T16:34:14.250Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MMho [2021-05-20T16:35:01.224Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T16:36:23.069Z] lf-activate-venv(): INFO: Adding /tmp/venv-MMho/bin to PATH [2021-05-20T16:36:23.069Z] INFO: No Stack... [2021-05-20T16:36:23.069Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T16:36:23.069Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T16:36:23.438Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-20T16:36:23.438Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T16:36:23.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-96-1-stack-cost] [2021-05-20T16:36:23.547Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-96-1-stack-cost] did not exist. Created. [2021-05-20T16:36:23.547Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-96-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T16:36:23.988Z] /w/workspace/device-snmp-go/1@tmp/durable-ff2bdc72/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-ff2bdc72/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T16:36:24.362Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T16:36:24.407Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T16:36:24.549Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T16:36:24.569Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-96-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:36:25.533Z] provisioning config files... [2021-05-20T16:36:25.544Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp/config6776512457137513337tmp [Pipeline] { [Pipeline] sh [2021-05-20T16:36:25.910Z] + set +x [2021-05-20T16:36:25.910Z] + bash -s -- [2021-05-20T16:36:25.910Z] + curl -s https://codecov.io/bash [2021-05-20T16:36:25.910Z] [2021-05-20T16:36:25.910Z] _____ _ [2021-05-20T16:36:25.910Z] / ____| | | [2021-05-20T16:36:25.910Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T16:36:25.910Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T16:36:25.910Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T16:36:25.910Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T16:36:25.910Z] Bash-1.0.2 [2021-05-20T16:36:25.910Z] [2021-05-20T16:36:25.910Z] [2021-05-20T16:36:25.910Z] ==> git version 2.24.4 found [2021-05-20T16:36:25.910Z] ==> 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:36:25.910Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T16:36:25.910Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T16:36:25.910Z] ==> Jenkins CI detected. [2021-05-20T16:36:25.910Z] project root: . [2021-05-20T16:36:25.910Z] --> token set from env [2021-05-20T16:36:25.910Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T16:36:25.910Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T16:36:25.910Z] ==> Python coveragepy not found [2021-05-20T16:36:25.910Z] ==> Searching for coverage reports in: [2021-05-20T16:36:25.910Z] + . [2021-05-20T16:36:25.910Z] -> Found 1 reports [2021-05-20T16:36:25.910Z] ==> Detecting git/mercurial file structure [2021-05-20T16:36:26.176Z] ==> Reading reports [2021-05-20T16:36:26.176Z] + ./coverage.out bytes=7631 [2021-05-20T16:36:26.176Z] ==> Appending adjustments [2021-05-20T16:36:26.176Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T16:36:26.176Z] + Found adjustments [2021-05-20T16:36:26.176Z] ==> Gzipping contents [2021-05-20T16:36:26.176Z] 4.0K /tmp/codecov.2AjCvb.gz [2021-05-20T16:36:26.176Z] ==> Uploading reports [2021-05-20T16:36:26.176Z] url: https://codecov.io [2021-05-20T16:36:26.176Z] query: branch=PR-96&commit=25abfe57947f788d4293243a21694654233679a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-96%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=96&job=&cmd_args= [2021-05-20T16:36:26.176Z] -> Pinging Codecov [2021-05-20T16:36:26.176Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-96&commit=25abfe57947f788d4293243a21694654233679a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-96%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=96&job=&cmd_args= [2021-05-20T16:36:26.440Z] -> Uploading to [2021-05-20T16:36:26.440Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/6C56EA5C29638FB4528AC87E60AF5AE0/25abfe57947f788d4293243a21694654233679a1/cfecf991-0eb5-4b89-a439-6d24d77896f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T163626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d412fefaa06e3798fcb32965eccbc4e26f64c8bc30592d45b24780fbd9b93fd [2021-05-20T16:36:26.440Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T16:36:26.440Z] Dload Upload Total Spent Left Speed [2021-05-20T16:36:26.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3222 --:--:-- --:--:-- --:--:-- 3219 [2021-05-20T16:36:26.976Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/25abfe57947f788d4293243a21694654233679a1 [Pipeline] } [2021-05-20T16:36:27.010Z] 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:36:29.269Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:36:29.885Z] ---> package-listing.sh [2021-05-20T16:36:29.885Z] ++ facter osfamily [2021-05-20T16:36:29.885Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T16:36:30.148Z] + OS_FAMILY=redhat [2021-05-20T16:36:30.148Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-96 [2021-05-20T16:36:30.148Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T16:36:30.148Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T16:36:30.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T16:36:30.148Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T16:36:30.148Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-96 ']' [2021-05-20T16:36:30.148Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T16:36:30.148Z] + case "${OS_FAMILY}" in [2021-05-20T16:36:30.148Z] + rpm -qa [2021-05-20T16:36:30.148Z] + sort [2021-05-20T16:36:30.726Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T16:36:30.726Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T16:36:30.726Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T16:36:30.726Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-96 ']' [2021-05-20T16:36:30.726Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-96/archives/ [2021-05-20T16:36:30.726Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-96/archives/ [Pipeline] echo [2021-05-20T16:36:30.783Z] 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-96/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:36:31.138Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:36:31.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T16:36:31.786Z] [2021-05-20T16:36:31.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T16:36:32.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T16:36:32.425Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T16:36:32.425Z] df20fa9351a1: Pulling fs layer [2021-05-20T16:36:32.425Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T16:36:32.425Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T16:36:32.425Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T16:36:32.425Z] 93b61091891f: Pulling fs layer [2021-05-20T16:36:32.425Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T16:36:32.425Z] 5e14af77c1be: Pulling fs layer [2021-05-20T16:36:32.425Z] 01666e4c0597: Pulling fs layer [2021-05-20T16:36:32.425Z] aa168da1d23b: Pulling fs layer [2021-05-20T16:36:32.425Z] 93b9cdb0e59b: Waiting [2021-05-20T16:36:32.425Z] 5e14af77c1be: Waiting [2021-05-20T16:36:32.425Z] 01666e4c0597: Waiting [2021-05-20T16:36:32.425Z] aa168da1d23b: Waiting [2021-05-20T16:36:32.425Z] 46f8f816bc3b: Waiting [2021-05-20T16:36:32.425Z] 93b61091891f: Waiting [2021-05-20T16:36:32.425Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T16:36:32.425Z] 36b3adc4ff6f: Download complete [2021-05-20T16:36:32.425Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T16:36:32.425Z] 46f8f816bc3b: Download complete [2021-05-20T16:36:32.425Z] df20fa9351a1: Verifying Checksum [2021-05-20T16:36:32.425Z] df20fa9351a1: Download complete [2021-05-20T16:36:32.425Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T16:36:32.425Z] 93b9cdb0e59b: Download complete [2021-05-20T16:36:32.425Z] 93b61091891f: Verifying Checksum [2021-05-20T16:36:32.425Z] 93b61091891f: Download complete [2021-05-20T16:36:32.425Z] 01666e4c0597: Verifying Checksum [2021-05-20T16:36:32.425Z] 01666e4c0597: Download complete [2021-05-20T16:36:32.425Z] 5e14af77c1be: Verifying Checksum [2021-05-20T16:36:32.425Z] 5e14af77c1be: Download complete [2021-05-20T16:36:32.688Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T16:36:32.688Z] 8ad3a11d3b57: Download complete [2021-05-20T16:36:32.688Z] df20fa9351a1: Pull complete [2021-05-20T16:36:33.265Z] 36b3adc4ff6f: Pull complete [2021-05-20T16:36:33.836Z] 8ad3a11d3b57: Pull complete [2021-05-20T16:36:34.098Z] 46f8f816bc3b: Pull complete [2021-05-20T16:36:34.358Z] aa168da1d23b: Verifying Checksum [2021-05-20T16:36:34.358Z] aa168da1d23b: Download complete [2021-05-20T16:36:34.620Z] 93b61091891f: Pull complete [2021-05-20T16:36:34.882Z] 93b9cdb0e59b: Pull complete [2021-05-20T16:36:35.143Z] 5e14af77c1be: Pull complete [2021-05-20T16:36:35.143Z] 01666e4c0597: Pull complete [2021-05-20T16:36:40.453Z] aa168da1d23b: Pull complete [2021-05-20T16:36:40.453Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T16:36:40.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T16:36:40.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T16:36:40.565Z] prd-centos7-docker-4c-2g-15335 does not seem to be running inside a container [2021-05-20T16:36:40.621Z] $ 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-96/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-96 -v /w/workspace/dgexfoundry_device-snmp-go_PR-96:/w/workspace/dgexfoundry_device-snmp-go_PR-96:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-96@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:36:52.232Z] $ docker top bc5325c519781863b4caea4c76f499154c2ab4625a32a3e47b04fbfba087e1a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T16:36:52.665Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T16:36:52.995Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T16:36:53.323Z] + ls /var/log/sa-host [2021-05-20T16:36:53.323Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T16:36:53.323Z] file_magic: OK [2021-05-20T16:36:53.323Z] HZ: Using current value: 100 [2021-05-20T16:36:53.323Z] file_header: OK [2021-05-20T16:36:53.323Z] 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:36:53.323Z] Statistics: [2021-05-20T16:36:53.323Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T16:36:53.323Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T16:36:53.323Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T16:36:53.323Z] file_magic: OK [2021-05-20T16:36:53.323Z] HZ: Using current value: 100 [2021-05-20T16:36:53.323Z] file_header: OK [2021-05-20T16:36:53.323Z] 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:36:53.323Z] Statistics: [2021-05-20T16:36:53.323Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T16:36:53.323Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T16:36:53.616Z] provisioning config files... [2021-05-20T16:36:53.627Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-96@tmp/config8304277996429884080tmp [Pipeline] { [Pipeline] echo [2021-05-20T16:36:53.684Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:36:54.020Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T16:36:54.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T16:36:54.124Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:36:54.527Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T16:36:54.561Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:36:55.113Z] ---> sudo-logs.sh [2021-05-20T16:36:55.113Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T16:36:55.220Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:36:55.566Z] ---> job-cost.sh [2021-05-20T16:36:55.566Z] lf-activate-venv: SKIPPING [2021-05-20T16:36:55.566Z] DEBUG: total: 0.18000000715255737 [2021-05-20T16:36:55.566Z] INFO: Retrieving Stack Cost... [2021-05-20T16:36:56.509Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T16:36:57.081Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T16:36:57.126Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T16:36:57.463Z] ---> logs-deploy.sh [2021-05-20T16:36:57.463Z] lf-activate-venv: SKIPPING [2021-05-20T16:36:57.463Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-96/1 [2021-05-20T16:36:57.463Z] INFO: archiving workspace using pattern(s): [2021-05-20T16:36:58.411Z] Archives upload complete. [2021-05-20T16:36:58.411Z] INFO: archiving logs to Nexus