Pull request #114 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8a33c642f29299a5f317dfea40a57097f5e7e2d9+828c04b1f0eb937037ce2076f410b90c0d25fe4c (dd5122714ec9ca15f7e189aed5f0ae3d3cd2f4ae) 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-ssh1132713893977646117.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh2514729895401467758.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 6a41506d72e8e131afc862d141935157bee59f41 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-114/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-114/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4556172321273987769.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-114/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2881026200361765762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh7450179954582893140.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-114/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-114/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9082600536678834560.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1825’ is offline Running on prd-centos7-docker-4c-2g-474 in /w/workspace/gexfoundry_device-snmp-go_PR-114 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-114 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/jenkins-gitclient-ssh1416715847480503883.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 8a33c642f29299a5f317dfea40a57097f5e7e2d9 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/jenkins-gitclient-ssh6370604589943222112.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/jenkins-gitclient-ssh5751672518968005231.key > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 Merge succeeded, producing 8a33c642f29299a5f317dfea40a57097f5e7e2d9 Checking out Revision 8a33c642f29299a5f317dfea40a57097f5e7e2d9 (PR-114) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # 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 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-21T05:05:39.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-21T05:05:39.787Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-21T05:05:39.920Z] ========================================================= [2021-06-21T05:05:39.920Z] EdgeX Global Pipelines Version Info [2021-06-21T05:05:39.920Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:05:41.492Z] ------------------- [2021-06-21T05:05:41.492Z] stable info: [2021-06-21T05:05:41.492Z] ------------------- [2021-06-21T05:05:41.492Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-21T05:05:41.492Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T05:05:41.492Z] Message: update stable to v1.0.195 [2021-06-21T05:05:42.082Z] ------------------- [2021-06-21T05:05:42.082Z] experimental info: [2021-06-21T05:05:42.082Z] ------------------- [2021-06-21T05:05:42.082Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-21T05:05:42.082Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T05:05:42.082Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-21T05:05:42.332Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-21T05:05:42.391Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-21T05:05:42.453Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-21T05:05:42.512Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-21T05:05:42.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-21T05:05:42.647Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-21T05:05:42.716Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-21T05:05:42.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-21T05:05:42.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-21T05:05:42.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-21T05:05:42.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-21T05:05:43.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-21T05:05:43.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-21T05:05:43.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-21T05:05:43.286Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-21T05:05:43.405Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-21T05:05:43.462Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-21T05:05:43.518Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-21T05:05:43.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-21T05:05:43.643Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-21T05:05:43.711Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-21T05:05:43.782Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-21T05:05:43.869Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-21T05:05:43.934Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-21T05:05:43.999Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-21T05:05:44.063Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-21T05:05:44.136Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-114 [Pipeline] echo [2021-06-21T05:05:44.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-114 [Pipeline] echo [2021-06-21T05:05:44.270Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-114 [Pipeline] echo [2021-06-21T05:05:44.352Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a33c642f29299a5f317dfea40a57097f5e7e2d9 [Pipeline] echo [2021-06-21T05:05:44.412Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a33c64 [Pipeline] echo [2021-06-21T05:05:44.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T05:05:44.674Z] provisioning config files... [2021-06-21T05:05:44.696Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/config3768768891239118140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:05:45.115Z] ---> docker-login.sh [2021-06-21T05:05:45.115Z] nexus3.edgexfoundry.org:10001 [2021-06-21T05:05:45.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:05:45.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:05:45.379Z] Configure a credential helper to remove this warning. See [2021-06-21T05:05:45.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:05:45.379Z] [2021-06-21T05:05:45.379Z] Login Succeeded [2021-06-21T05:05:45.379Z] nexus3.edgexfoundry.org:10002 [2021-06-21T05:05:45.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:05:45.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:05:45.379Z] Configure a credential helper to remove this warning. See [2021-06-21T05:05:45.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:05:45.379Z] [2021-06-21T05:05:45.379Z] Login Succeeded [2021-06-21T05:05:45.379Z] nexus3.edgexfoundry.org:10003 [2021-06-21T05:05:45.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:05:45.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:05:45.642Z] Configure a credential helper to remove this warning. See [2021-06-21T05:05:45.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:05:45.642Z] [2021-06-21T05:05:45.642Z] Login Succeeded [2021-06-21T05:05:45.642Z] nexus3.edgexfoundry.org:10004 [2021-06-21T05:05:45.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:05:45.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:05:45.642Z] Configure a credential helper to remove this warning. See [2021-06-21T05:05:45.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:05:45.642Z] [2021-06-21T05:05:45.642Z] Login Succeeded [2021-06-21T05:05:45.642Z] docker.io [2021-06-21T05:05:45.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:05:45.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:05:45.920Z] Configure a credential helper to remove this warning. See [2021-06-21T05:05:45.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:05:45.920Z] [2021-06-21T05:05:45.920Z] Login Succeeded [2021-06-21T05:05:45.920Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T05:05:45.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T05:05:46.808Z] + git log --format=format:%s -1 8a33c642f29299a5f317dfea40a57097f5e7e2d9 [Pipeline] echo [2021-06-21T05:05:46.871Z] GIT_COMMIT: 8a33c642f29299a5f317dfea40a57097f5e7e2d9, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-06-21T05:05:46.910Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:05:47.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T05:05:47.542Z] [2021-06-21T05:05:47.542Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:05:47.898Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T05:05:47.898Z] latest: Pulling from edgex-devops/git-semver [2021-06-21T05:05:47.898Z] 31603596830f: Pulling fs layer [2021-06-21T05:05:47.898Z] 54011a49482f: Pulling fs layer [2021-06-21T05:05:47.898Z] a6820b24f6d8: Pulling fs layer [2021-06-21T05:05:47.898Z] f581987b2513: Pulling fs layer [2021-06-21T05:05:47.898Z] f581987b2513: Waiting [2021-06-21T05:05:47.898Z] 54011a49482f: Verifying Checksum [2021-06-21T05:05:47.898Z] 54011a49482f: Download complete [2021-06-21T05:05:48.166Z] 31603596830f: Verifying Checksum [2021-06-21T05:05:48.167Z] 31603596830f: Download complete [2021-06-21T05:05:48.167Z] f581987b2513: Verifying Checksum [2021-06-21T05:05:48.167Z] f581987b2513: Download complete [2021-06-21T05:05:48.167Z] a6820b24f6d8: Verifying Checksum [2021-06-21T05:05:48.167Z] a6820b24f6d8: Download complete [2021-06-21T05:05:48.167Z] 31603596830f: Pull complete [2021-06-21T05:05:48.435Z] 54011a49482f: Pull complete [2021-06-21T05:05:49.010Z] a6820b24f6d8: Pull complete [2021-06-21T05:05:49.010Z] f581987b2513: Pull complete [2021-06-21T05:05:49.010Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-21T05:05:49.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T05:05:49.010Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-21T05:05:49.116Z] prd-centos7-docker-4c-2g-474 does not seem to be running inside a container [2021-06-21T05:05:49.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-114 -v /w/workspace/gexfoundry_device-snmp-go_PR-114:/w/workspace/gexfoundry_device-snmp-go_PR-114:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-21T05:05:50.062Z] $ docker top 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-21T05:05:50.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-21T05:05:50.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-21T05:05:50.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-21T05:05:50.532Z] $ docker exec 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 ssh-agent [2021-06-21T05:05:50.643Z] SSH_AUTH_SOCK=/tmp/ssh-34QBgl31qCTb/agent.14 [2021-06-21T05:05:50.643Z] SSH_AGENT_PID=20 [2021-06-21T05:05:50.653Z] Running ssh-add (command line suppressed) [2021-06-21T05:05:50.745Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/private_key_7470746843999555415.key (/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/private_key_7470746843999555415.key) [2021-06-21T05:05:50.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-21T05:05:51.201Z] + git tag --points-at HEAD [Pipeline] } [2021-06-21T05:05:51.227Z] $ docker exec --env ******** --env ******** 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 ssh-agent -k [2021-06-21T05:05:51.327Z] unset SSH_AUTH_SOCK; [2021-06-21T05:05:51.327Z] unset SSH_AGENT_PID; [2021-06-21T05:05:51.327Z] echo Agent pid 20 killed; [2021-06-21T05:05:51.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-21T05:05:51.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-21T05:05:51.544Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-21T05:05:51.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-21T05:05:51.645Z] $ docker exec 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 ssh-agent [2021-06-21T05:05:51.748Z] SSH_AUTH_SOCK=/tmp/ssh-t5kJej6FnCDV/agent.53 [2021-06-21T05:05:51.748Z] SSH_AGENT_PID=59 [2021-06-21T05:05:51.753Z] Running ssh-add (command line suppressed) [2021-06-21T05:05:51.835Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/private_key_3585654844166022696.key (/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/private_key_3585654844166022696.key) [2021-06-21T05:05:51.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-21T05:05:52.211Z] + git semver init [2021-06-21T05:05:52.211Z] # -> Open(): unable to determine branch for HEAD [2021-06-21T05:05:52.211Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-114/.git [2021-06-21T05:05:52.211Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-114 [2021-06-21T05:05:52.211Z] # $SEMVER_REMOTE_NAME = origin [2021-06-21T05:05:52.211Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-21T05:05:52.211Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-21T05:05:52.211Z] # $SEMVER_BRANCH = PR-114 [2021-06-21T05:05:52.211Z] # $SEMVER_TEMP = /tmp/semver-514323764 [2021-06-21T05:05:52.211Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-21T05:05:52.792Z] # '/tmp/semver-514323764' -> '/w/workspace/gexfoundry_device-snmp-go_PR-114/.semver' [2021-06-21T05:05:52.792Z] # -> Force: false [2021-06-21T05:05:52.792Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-114/.semver [Pipeline] } [2021-06-21T05:05:52.809Z] $ docker exec --env ******** --env ******** 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 ssh-agent -k [2021-06-21T05:05:52.904Z] unset SSH_AUTH_SOCK; [2021-06-21T05:05:52.905Z] unset SSH_AGENT_PID; [2021-06-21T05:05:52.905Z] echo Agent pid 59 killed; [2021-06-21T05:05:52.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-21T05:05:53.499Z] + git semver [Pipeline] } [2021-06-21T05:05:53.549Z] $ docker stop --time=1 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 [2021-06-21T05:05:54.775Z] $ docker rm -f 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-21T05:05:55.345Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-21T05:05:55.744Z] Stashed 1 file(s) [Pipeline] echo [2021-06-21T05:05:55.814Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-21T05:06:12.004Z] Still waiting to schedule task [2021-06-21T05:06:12.005Z] ‘prd-centos7-blackbox-4c-2g-315’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-21T05:06:12.005Z] ‘prd-centos7-docker-4c-2g-1825’ is offline [2021-06-21T05:06:12.005Z] ‘prd-centos7-docker-4c-2g-476’ is offline [2021-06-21T05:06:12.005Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-473’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-21T05:06:12.098Z] Still waiting to schedule task [2021-06-21T05:06:12.098Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-473’ is offline [2021-06-21T05:07:02.341Z] Running on prd-centos7-docker-4c-2g-477 in /w/workspace/gexfoundry_device-snmp-go_PR-114 [Pipeline] { [Pipeline] ws [2021-06-21T05:07:02.429Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-21T05:07:02.591Z] Selected Git installation does not exist. Using Default [2021-06-21T05:07:02.591Z] The recommended git tool is: NONE [2021-06-21T05:07:05.083Z] using credential edgex-jenkins-ssh [2021-06-21T05:07:05.123Z] Cloning the remote Git repository [2021-06-21T05:07:05.137Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-21T05:07:05.223Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-21T05:07:05.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-21T05:07:05.273Z] > git --version # timeout=10 [2021-06-21T05:07:05.283Z] > git --version # 'git version 2.24.4' [2021-06-21T05:07:05.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T05:07:05.312Z] [INFO] Currently running in a labeled security context [2021-06-21T05:07:05.312Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T05:07:05.313Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh8690778098570223318.key [2021-06-21T05:07:05.345Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T05:07:05.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-21T05:07:05.834Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T05:07:05.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-21T05:07:05.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-21T05:07:05.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T05:07:05.862Z] [INFO] Currently running in a labeled security context [2021-06-21T05:07:05.864Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T05:07:05.864Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh8610073182571575656.key [2021-06-21T05:07:05.871Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-21T05:07:06.241Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 8a33c642f29299a5f317dfea40a57097f5e7e2d9 [2021-06-21T05:07:06.363Z] Merge succeeded, producing 8a33c642f29299a5f317dfea40a57097f5e7e2d9 [2021-06-21T05:07:06.363Z] Checking out Revision 8a33c642f29299a5f317dfea40a57097f5e7e2d9 (PR-114) [2021-06-21T05:07:06.245Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T05:07:06.262Z] > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 [2021-06-21T05:07:06.306Z] > git remote # timeout=10 [2021-06-21T05:07:06.315Z] > git config --get remote.origin.url # timeout=10 [2021-06-21T05:07:06.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T05:07:06.324Z] [INFO] Currently running in a labeled security context [2021-06-21T05:07:06.324Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T05:07:06.324Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh4493013946503232455.key [2021-06-21T05:07:06.332Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-21T05:07:06.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-21T05:07:06.362Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T05:07:06.372Z] > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 [2021-06-21T05:07:10.035Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2021-06-21T05:07:10.057Z] > git --version # timeout=10 [2021-06-21T05:07:10.063Z] > git --version # 'git version 2.24.4' [2021-06-21T05:07:10.072Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T05:07:11.281Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-21T05:07:11.630Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-21T05:07:11.954Z] + sudo service docker restart [2021-06-21T05:07:11.954Z] + true [2021-06-21T05:07:11.954Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T05:07:30.240Z] provisioning config files... [2021-06-21T05:07:30.257Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6339484494163652676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:07:30.631Z] ---> docker-login.sh [2021-06-21T05:07:30.631Z] nexus3.edgexfoundry.org:10001 [2021-06-21T05:07:30.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:07:31.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:07:31.174Z] Configure a credential helper to remove this warning. See [2021-06-21T05:07:31.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:07:31.174Z] [2021-06-21T05:07:31.174Z] Login Succeeded [2021-06-21T05:07:31.174Z] nexus3.edgexfoundry.org:10002 [2021-06-21T05:07:31.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:07:31.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:07:31.174Z] Configure a credential helper to remove this warning. See [2021-06-21T05:07:31.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:07:31.174Z] [2021-06-21T05:07:31.174Z] Login Succeeded [2021-06-21T05:07:31.174Z] nexus3.edgexfoundry.org:10003 [2021-06-21T05:07:31.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:07:31.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:07:31.437Z] Configure a credential helper to remove this warning. See [2021-06-21T05:07:31.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:07:31.437Z] [2021-06-21T05:07:31.437Z] Login Succeeded [2021-06-21T05:07:31.437Z] nexus3.edgexfoundry.org:10004 [2021-06-21T05:07:31.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:07:31.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:07:31.701Z] Configure a credential helper to remove this warning. See [2021-06-21T05:07:31.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:07:31.701Z] [2021-06-21T05:07:31.701Z] Login Succeeded [2021-06-21T05:07:31.701Z] docker.io [2021-06-21T05:07:31.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:07:31.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:07:31.964Z] Configure a credential helper to remove this warning. See [2021-06-21T05:07:31.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:07:31.964Z] [2021-06-21T05:07:31.964Z] Login Succeeded [2021-06-21T05:07:31.964Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T05:07:31.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-21T05:07:32.267Z] ========================================================= [2021-06-21T05:07:32.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-21T05:07:32.267Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:07:32.618Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-21T05:07:32.618Z] Sending build context to Docker daemon 372.2kB [2021-06-21T05:07:32.618Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-21T05:07:32.618Z] Step 2/10 : FROM ${BASE} [2021-06-21T05:07:32.888Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-21T05:07:32.888Z] 540db60ca938: Pulling fs layer [2021-06-21T05:07:32.888Z] adcc1eea9eea: Pulling fs layer [2021-06-21T05:07:32.888Z] 4c4ab2625f07: Pulling fs layer [2021-06-21T05:07:32.888Z] 0510c868ecb4: Pulling fs layer [2021-06-21T05:07:32.888Z] afea3b2eda06: Pulling fs layer [2021-06-21T05:07:32.888Z] 7809a108b3ef: Pulling fs layer [2021-06-21T05:07:32.888Z] f706445af74f: Pulling fs layer [2021-06-21T05:07:32.888Z] 0510c868ecb4: Waiting [2021-06-21T05:07:32.888Z] afea3b2eda06: Waiting [2021-06-21T05:07:32.888Z] 7809a108b3ef: Waiting [2021-06-21T05:07:32.888Z] f706445af74f: Waiting [2021-06-21T05:07:32.888Z] 4c4ab2625f07: Verifying Checksum [2021-06-21T05:07:32.888Z] 4c4ab2625f07: Download complete [2021-06-21T05:07:32.888Z] adcc1eea9eea: Verifying Checksum [2021-06-21T05:07:32.888Z] adcc1eea9eea: Download complete [2021-06-21T05:07:32.888Z] afea3b2eda06: Verifying Checksum [2021-06-21T05:07:32.888Z] afea3b2eda06: Download complete [2021-06-21T05:07:32.888Z] 540db60ca938: Verifying Checksum [2021-06-21T05:07:32.888Z] 540db60ca938: Download complete [2021-06-21T05:07:32.888Z] 7809a108b3ef: Verifying Checksum [2021-06-21T05:07:32.888Z] 7809a108b3ef: Download complete [2021-06-21T05:07:33.150Z] 540db60ca938: Pull complete [2021-06-21T05:07:33.413Z] adcc1eea9eea: Pull complete [2021-06-21T05:07:33.679Z] 4c4ab2625f07: Pull complete [2021-06-21T05:07:34.626Z] f706445af74f: Verifying Checksum [2021-06-21T05:07:34.626Z] f706445af74f: Download complete [2021-06-21T05:07:35.203Z] 0510c868ecb4: Verifying Checksum [2021-06-21T05:07:35.203Z] 0510c868ecb4: Download complete [2021-06-21T05:07:39.482Z] 0510c868ecb4: Pull complete [2021-06-21T05:07:39.482Z] afea3b2eda06: Pull complete [2021-06-21T05:07:39.482Z] 7809a108b3ef: Pull complete [2021-06-21T05:07:40.447Z] f706445af74f: Pull complete [2021-06-21T05:07:40.447Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-21T05:07:40.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-21T05:07:40.447Z] ---> b068be0155e3 [2021-06-21T05:07:40.447Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-21T05:07:45.778Z] ---> Running in 5c1414911e0f [2021-06-21T05:07:45.778Z] Removing intermediate container 5c1414911e0f [2021-06-21T05:07:45.778Z] ---> 8ad4ed8f109a [2021-06-21T05:07:45.778Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-21T05:07:45.778Z] ---> Running in a16cce1e4aba [2021-06-21T05:07:45.778Z] Removing intermediate container a16cce1e4aba [2021-06-21T05:07:45.778Z] ---> cab1623a8278 [2021-06-21T05:07:45.778Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-21T05:07:45.778Z] ---> Running in a33c5e7a9b98 [2021-06-21T05:07:45.778Z] Removing intermediate container a33c5e7a9b98 [2021-06-21T05:07:45.778Z] ---> e20caa4fe805 [2021-06-21T05:07:45.778Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T05:07:45.778Z] ---> Running in 27064bcba77c [2021-06-21T05:07:46.741Z] Removing intermediate container 27064bcba77c [2021-06-21T05:07:46.741Z] ---> d03432b9e7c4 [2021-06-21T05:07:46.741Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-21T05:07:46.741Z] ---> Running in fbdcc535d68f [2021-06-21T05:07:47.009Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-21T05:07:47.955Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-21T05:07:48.533Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-21T05:07:48.534Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-21T05:07:48.534Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-21T05:07:48.796Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-21T05:07:48.796Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-21T05:07:48.796Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-21T05:07:49.066Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-21T05:07:49.332Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-21T05:07:49.595Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-21T05:07:49.595Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-21T05:07:49.857Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-21T05:07:49.857Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-21T05:07:50.123Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-21T05:07:50.123Z] Executing busybox-1.32.1-r6.trigger [2021-06-21T05:07:50.123Z] OK: 156 MiB in 53 packages [2021-06-21T05:07:50.711Z] Removing intermediate container fbdcc535d68f [2021-06-21T05:07:50.711Z] ---> 48ec5b5af485 [2021-06-21T05:07:50.711Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-21T05:07:50.711Z] ---> Running in d43b88692b46 [2021-06-21T05:07:50.979Z] Removing intermediate container d43b88692b46 [2021-06-21T05:07:50.980Z] ---> 5a719fa5093f [2021-06-21T05:07:50.980Z] Step 9/10 : COPY . . [2021-06-21T05:07:51.249Z] ---> 5caf4803e2b4 [2021-06-21T05:07:51.249Z] Step 10/10 : RUN go mod download [2021-06-21T05:07:51.249Z] ---> Running in d777834abc4c [2021-06-21T05:08:17.884Z] Removing intermediate container d777834abc4c [2021-06-21T05:08:17.884Z] ---> 53ccc4052f4c [2021-06-21T05:08:17.884Z] Successfully built 53ccc4052f4c [2021-06-21T05:08:17.884Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:08:18.236Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-21T05:08:18.236Z] . [Pipeline] withDockerContainer [2021-06-21T05:08:18.346Z] prd-centos7-docker-4c-2g-477 does not seem to be running inside a container [2021-06-21T05:08:18.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-21T05:08:18.829Z] $ docker top 940aca282ba6533d47d8e9173d6eeec7b7cd6c865a7c75c49fc354f655e5a48d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T05:08:19.288Z] + go version [2021-06-21T05:08:19.288Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-21T05:08:19.311Z] $ docker stop --time=1 940aca282ba6533d47d8e9173d6eeec7b7cd6c865a7c75c49fc354f655e5a48d [2021-06-21T05:08:20.588Z] $ docker rm -f 940aca282ba6533d47d8e9173d6eeec7b7cd6c865a7c75c49fc354f655e5a48d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:08:21.400Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-21T05:08:21.400Z] . [Pipeline] withDockerContainer [2021-06-21T05:08:21.508Z] prd-centos7-docker-4c-2g-477 does not seem to be running inside a container [2021-06-21T05:08:21.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-21T05:08:22.029Z] $ docker top be6417e1f17f006a9c91681d8b1ecf61f718fed4a79efac9895731d57b806271 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T05:08:22.514Z] + go mod tidy [Pipeline] sh [2021-06-21T05:08:23.110Z] + make test [2021-06-21T05:08:23.110Z] go mod tidy [2021-06-21T05:08:23.381Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-21T05:08:23.648Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-21T05:08:41.959Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-21T05:08:41.959Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2021-06-21T05:08:41.959Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-21T05:08:46.214Z] gofmt -l . [2021-06-21T05:08:46.214Z] [ "`gofmt -l .`" = "" ] [2021-06-21T05:08:46.214Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-21T05:08:46.499Z] $ docker stop --time=1 be6417e1f17f006a9c91681d8b1ecf61f718fed4a79efac9895731d57b806271 [2021-06-21T05:08:47.898Z] $ docker rm -f be6417e1f17f006a9c91681d8b1ecf61f718fed4a79efac9895731d57b806271 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-21T05:08:48.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-21T05:08:48.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-21T05:08:50.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-21T05:08:50.342Z] + ls -al . [2021-06-21T05:08:50.342Z] total 104 [2021-06-21T05:08:50.342Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 21 05:08 . [2021-06-21T05:08:50.342Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 21 05:07 .. [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 21 05:07 Attribution.txt [2021-06-21T05:08:50.342Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 21 05:07 bin [2021-06-21T05:08:50.342Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 21 05:07 cmd [2021-06-21T05:08:50.342Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 21 05:08 coverage.out [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 21 05:07 Dockerfile [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 21 05:07 Dockerfile.build [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 21 05:07 .dockerignore [2021-06-21T05:08:50.342Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 21 05:07 .git [2021-06-21T05:08:50.342Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 21 05:07 .github [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 21 05:07 .gitignore [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 223 Jun 21 05:07 go.mod [2021-06-21T05:08:50.342Z] -rw-r--r--. 1 jenkins jenkins 20929 Jun 21 05:08 go.sum [2021-06-21T05:08:50.342Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 21 05:07 internal [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 21 05:07 Jenkinsfile [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 21 05:07 LICENSE [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 21 05:07 Makefile [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 21 05:07 README.md [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 21 05:05 VERSION [2021-06-21T05:08:50.342Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 21 05:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:08:50.682Z] + 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=8a33c642f29299a5f317dfea40a57097f5e7e2d9 --label arch=amd64 --label version=0.0.0 . [2021-06-21T05:08:50.682Z] Sending build context to Docker daemon 380.4kB [2021-06-21T05:08:50.682Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-21T05:08:50.682Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-21T05:08:50.682Z] ---> 53ccc4052f4c [2021-06-21T05:08:50.682Z] Step 3/24 : ARG MAKE='make build' [2021-06-21T05:08:50.682Z] ---> Running in 0b90a0005774 [2021-06-21T05:08:50.682Z] Removing intermediate container 0b90a0005774 [2021-06-21T05:08:50.682Z] ---> dcabacb638ff [2021-06-21T05:08:50.682Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-21T05:08:50.955Z] ---> Running in 02e3a8369888 [2021-06-21T05:08:50.955Z] Removing intermediate container 02e3a8369888 [2021-06-21T05:08:50.955Z] ---> a371c17d0691 [2021-06-21T05:08:50.956Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-21T05:08:50.956Z] ---> Running in 6a78ed82c045 [2021-06-21T05:08:50.956Z] Removing intermediate container 6a78ed82c045 [2021-06-21T05:08:50.956Z] ---> e1a502505fd8 [2021-06-21T05:08:50.956Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T05:08:50.956Z] ---> Running in ace6171a8727 [2021-06-21T05:08:51.532Z] Removing intermediate container ace6171a8727 [2021-06-21T05:08:51.532Z] ---> 1e3bffb4698a [2021-06-21T05:08:51.532Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-21T05:08:51.532Z] ---> Running in 6b9c47b54fe7 [2021-06-21T05:08:51.798Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-21T05:08:52.746Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-21T05:08:53.008Z] OK: 156 MiB in 53 packages [2021-06-21T05:08:53.278Z] Removing intermediate container 6b9c47b54fe7 [2021-06-21T05:08:53.278Z] ---> b3e733b4adc1 [2021-06-21T05:08:53.278Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-21T05:08:53.278Z] ---> Running in 2d798f5e13b1 [2021-06-21T05:08:53.545Z] Removing intermediate container 2d798f5e13b1 [2021-06-21T05:08:53.545Z] ---> a8a25fc67ab7 [2021-06-21T05:08:53.545Z] Step 9/24 : COPY . . [2021-06-21T05:08:53.545Z] ---> 19034849b1e3 [2021-06-21T05:08:53.545Z] Step 10/24 : RUN go mod tidy [2021-06-21T05:08:53.808Z] ---> Running in 37d5e477f7d3 [2021-06-21T05:08:54.388Z] Removing intermediate container 37d5e477f7d3 [2021-06-21T05:08:54.388Z] ---> 46ca049ee9d2 [2021-06-21T05:08:54.388Z] Step 11/24 : RUN make update [2021-06-21T05:08:54.388Z] ---> Running in 48c9ae6f610a [2021-06-21T05:08:54.658Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-21T05:08:54.926Z] Removing intermediate container 48c9ae6f610a [2021-06-21T05:08:54.926Z] ---> f1d36a8584ba [2021-06-21T05:08:54.926Z] Step 12/24 : RUN ${MAKE} [2021-06-21T05:08:54.926Z] ---> Running in 752e11f0719e [2021-06-21T05:08:55.194Z] go mod tidy [2021-06-21T05:08:55.461Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-21T05:09:07.781Z] Removing intermediate container 752e11f0719e [2021-06-21T05:09:07.781Z] ---> e00c9f95c7c7 [2021-06-21T05:09:07.781Z] Step 13/24 : FROM alpine:3.12 [2021-06-21T05:09:08.042Z] 3.12: Pulling from library/alpine [2021-06-21T05:09:08.042Z] 339de151aab4: Pulling fs layer [2021-06-21T05:09:08.305Z] 339de151aab4: Download complete [2021-06-21T05:09:08.305Z] 339de151aab4: Pull complete [2021-06-21T05:09:08.305Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-21T05:09:08.305Z] Status: Downloaded newer image for alpine:3.12 [2021-06-21T05:09:08.305Z] ---> 13621d1b12d4 [2021-06-21T05:09:08.305Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-21T05:09:08.570Z] ---> Running in d492154d801e [2021-06-21T05:09:08.838Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-21T05:09:08.838Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-21T05:09:08.838Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-21T05:09:08.838Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-21T05:09:08.838Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-21T05:09:08.838Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-21T05:09:08.838Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-21T05:09:08.838Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-21T05:09:08.838Z] Executing busybox-1.31.1-r20.trigger [2021-06-21T05:09:08.838Z] OK: 8 MiB in 20 packages [2021-06-21T05:09:09.103Z] Removing intermediate container d492154d801e [2021-06-21T05:09:09.103Z] ---> e2945ced73ff [2021-06-21T05:09:09.103Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-21T05:09:09.681Z] ---> 824cf8544300 [2021-06-21T05:09:09.681Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-21T05:09:09.681Z] ---> 19d84538c391 [2021-06-21T05:09:09.681Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-21T05:09:09.947Z] ---> a50568447523 [2021-06-21T05:09:09.947Z] Step 18/24 : EXPOSE 59993 [2021-06-21T05:09:09.947Z] ---> Running in 00368c2f29e6 [2021-06-21T05:09:09.947Z] Removing intermediate container 00368c2f29e6 [2021-06-21T05:09:09.947Z] ---> 5222b656c766 [2021-06-21T05:09:09.947Z] Step 19/24 : EXPOSE 161 [2021-06-21T05:09:09.947Z] ---> Running in e59ef2a0e3a4 [2021-06-21T05:09:10.215Z] Removing intermediate container e59ef2a0e3a4 [2021-06-21T05:09:10.215Z] ---> 849e001fc396 [2021-06-21T05:09:10.216Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-21T05:09:10.216Z] ---> Running in 278a13c060d4 [2021-06-21T05:09:10.216Z] Removing intermediate container 278a13c060d4 [2021-06-21T05:09:10.216Z] ---> 9597e12e44ca [2021-06-21T05:09:10.216Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-21T05:09:10.216Z] ---> Running in 5b01cc27d26c [2021-06-21T05:09:10.216Z] Removing intermediate container 5b01cc27d26c [2021-06-21T05:09:10.216Z] ---> 026562e6c49b [2021-06-21T05:09:10.216Z] Step 22/24 : LABEL arch=amd64 [2021-06-21T05:09:10.216Z] ---> Running in 4ac5e12b19f1 [2021-06-21T05:09:10.485Z] Removing intermediate container 4ac5e12b19f1 [2021-06-21T05:09:10.485Z] ---> 74d074c1fad1 [2021-06-21T05:09:10.485Z] Step 23/24 : LABEL git_sha=8a33c642f29299a5f317dfea40a57097f5e7e2d9 [2021-06-21T05:09:10.485Z] ---> Running in 8b25280f4ca3 [2021-06-21T05:09:10.485Z] Removing intermediate container 8b25280f4ca3 [2021-06-21T05:09:10.485Z] ---> 6636b595efb1 [2021-06-21T05:09:10.485Z] Step 24/24 : LABEL version=0.0.0 [2021-06-21T05:09:10.485Z] ---> Running in d2727b4c65f1 [2021-06-21T05:09:10.749Z] Removing intermediate container d2727b4c65f1 [2021-06-21T05:09:10.749Z] ---> c6fcbff99963 [2021-06-21T05:09:10.749Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-21T05:09:10.749Z] Successfully built c6fcbff99963 [2021-06-21T05:09:10.749Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:09:11.906Z] ---> job-cost.sh [2021-06-21T05:09:11.906Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bIzK [2021-06-21T05:09:21.952Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-21T05:09:23.209Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-479 in /w/workspace/gexfoundry_device-snmp-go_PR-114 [Pipeline] { [Pipeline] ws [2021-06-21T05:09:23.272Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-21T05:09:23.524Z] Selected Git installation does not exist. Using Default [2021-06-21T05:09:23.524Z] The recommended git tool is: NONE [2021-06-21T05:09:28.584Z] using credential edgex-jenkins-ssh [2021-06-21T05:09:28.605Z] Cloning the remote Git repository [2021-06-21T05:09:28.656Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-21T05:09:28.769Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-21T05:09:28.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-21T05:09:28.866Z] > git --version # timeout=10 [2021-06-21T05:09:28.893Z] > git --version # 'git version 2.17.1' [2021-06-21T05:09:28.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T05:09:28.961Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T05:09:30.416Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 8a33c642f29299a5f317dfea40a57097f5e7e2d9 [2021-06-21T05:09:30.587Z] Merge succeeded, producing 8a33c642f29299a5f317dfea40a57097f5e7e2d9 [2021-06-21T05:09:30.588Z] Checking out Revision 8a33c642f29299a5f317dfea40a57097f5e7e2d9 (PR-114) [2021-06-21T05:09:29.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-21T05:09:29.844Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T05:09:29.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-21T05:09:29.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-21T05:09:29.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T05:09:29.921Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-21T05:09:30.426Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T05:09:30.445Z] > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 [2021-06-21T05:09:30.512Z] > git remote # timeout=10 [2021-06-21T05:09:30.528Z] > git config --get remote.origin.url # timeout=10 [2021-06-21T05:09:30.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T05:09:30.548Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-21T05:09:30.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-21T05:09:30.588Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T05:09:30.597Z] > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 [2021-06-21T05:09:34.784Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2021-06-21T05:09:34.839Z] > git --version # timeout=10 [2021-06-21T05:09:34.854Z] > git --version # 'git version 2.17.1' [2021-06-21T05:09:34.865Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T05:09:35.176Z] [2021-06-21T05:09:35.176Z] GitHub has been notified of this commit’s build result [2021-06-21T05:09:35.176Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T05:09:36.518Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-21T05:09:36.946Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-21T05:09:36.983Z] lf-activate-venv(): INFO: Adding /tmp/venv-bIzK/bin to PATH [2021-06-21T05:09:36.983Z] INFO: No Stack... [2021-06-21T05:09:36.983Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-21T05:09:36.983Z] INFO: Archiving Costs [Pipeline] sh [2021-06-21T05:09:37.313Z] + + true [2021-06-21T05:09:37.313Z] sudo service docker restart [2021-06-21T05:09:37.396Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-06-21T05:09:37.396Z] + cut -d, -f6 [Pipeline] lock [2021-06-21T05:09:37.474Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] [2021-06-21T05:09:37.481Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] did not exist. Created. [2021-06-21T05:09:37.481Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-21T05:09:37.940Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-21T05:09:38.036Z] Stashed 1 file(s) [Pipeline] } [2021-06-21T05:09:38.057Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-114-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-06-21T05:09:55.751Z] provisioning config files... [2021-06-21T05:09:55.821Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8203021362835027601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:09:56.259Z] ---> docker-login.sh [2021-06-21T05:09:56.259Z] nexus3.edgexfoundry.org:10001 [2021-06-21T05:09:56.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:09:57.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:09:57.484Z] Configure a credential helper to remove this warning. See [2021-06-21T05:09:57.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:09:57.484Z] [2021-06-21T05:09:57.484Z] Login Succeeded [2021-06-21T05:09:57.484Z] nexus3.edgexfoundry.org:10002 [2021-06-21T05:09:57.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:09:58.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:09:58.042Z] Configure a credential helper to remove this warning. See [2021-06-21T05:09:58.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:09:58.042Z] [2021-06-21T05:09:58.042Z] Login Succeeded [2021-06-21T05:09:58.042Z] nexus3.edgexfoundry.org:10003 [2021-06-21T05:09:58.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:09:58.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:09:58.601Z] Configure a credential helper to remove this warning. See [2021-06-21T05:09:58.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:09:58.601Z] [2021-06-21T05:09:58.601Z] Login Succeeded [2021-06-21T05:09:58.601Z] nexus3.edgexfoundry.org:10004 [2021-06-21T05:09:58.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:09:59.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:09:59.155Z] Configure a credential helper to remove this warning. See [2021-06-21T05:09:59.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:09:59.155Z] [2021-06-21T05:09:59.155Z] Login Succeeded [2021-06-21T05:09:59.155Z] docker.io [2021-06-21T05:09:59.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T05:10:00.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T05:10:00.035Z] Configure a credential helper to remove this warning. See [2021-06-21T05:10:00.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T05:10:00.035Z] [2021-06-21T05:10:00.035Z] Login Succeeded [2021-06-21T05:10:00.035Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T05:10:00.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-21T05:10:00.670Z] ========================================================= [2021-06-21T05:10:00.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-21T05:10:00.670Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:10:01.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-06-21T05:10:01.388Z] Sending build context to Docker daemon 371.2kB [2021-06-21T05:10:01.388Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-21T05:10:01.388Z] Step 2/10 : FROM ${BASE} [2021-06-21T05:10:01.662Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-21T05:10:01.662Z] 595b0fe564bb: Pulling fs layer [2021-06-21T05:10:01.662Z] 3088b5b3c5c0: Pulling fs layer [2021-06-21T05:10:01.662Z] 5b7225fbf94c: Pulling fs layer [2021-06-21T05:10:01.662Z] ba82ee9f976e: Pulling fs layer [2021-06-21T05:10:01.662Z] 506bd15cee9f: Pulling fs layer [2021-06-21T05:10:01.662Z] 75a0a4a0db45: Pulling fs layer [2021-06-21T05:10:01.662Z] 618dc40b7e24: Pulling fs layer [2021-06-21T05:10:01.662Z] ba82ee9f976e: Waiting [2021-06-21T05:10:01.662Z] 506bd15cee9f: Waiting [2021-06-21T05:10:01.662Z] 618dc40b7e24: Waiting [2021-06-21T05:10:01.662Z] 75a0a4a0db45: Waiting [2021-06-21T05:10:01.662Z] 5b7225fbf94c: Verifying Checksum [2021-06-21T05:10:01.662Z] 5b7225fbf94c: Download complete [2021-06-21T05:10:01.662Z] 3088b5b3c5c0: Download complete [2021-06-21T05:10:01.662Z] 506bd15cee9f: Verifying Checksum [2021-06-21T05:10:01.662Z] 506bd15cee9f: Download complete [2021-06-21T05:10:01.936Z] 595b0fe564bb: Download complete [2021-06-21T05:10:01.936Z] 75a0a4a0db45: Verifying Checksum [2021-06-21T05:10:01.936Z] 75a0a4a0db45: Download complete [2021-06-21T05:10:02.551Z] 595b0fe564bb: Pull complete [2021-06-21T05:10:03.152Z] 3088b5b3c5c0: Pull complete [2021-06-21T05:10:03.427Z] 5b7225fbf94c: Pull complete [2021-06-21T05:10:04.023Z] 618dc40b7e24: Download complete [2021-06-21T05:10:05.007Z] ba82ee9f976e: Verifying Checksum [2021-06-21T05:10:05.007Z] ba82ee9f976e: Download complete [2021-06-21T05:10:15.176Z] ba82ee9f976e: Pull complete [2021-06-21T05:10:15.452Z] 506bd15cee9f: Pull complete [2021-06-21T05:10:15.736Z] 75a0a4a0db45: Pull complete [2021-06-21T05:10:19.234Z] 618dc40b7e24: Pull complete [2021-06-21T05:10:19.234Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-21T05:10:19.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-21T05:10:19.234Z] ---> a36622ca3599 [2021-06-21T05:10:19.234Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-21T05:10:21.873Z] ---> Running in ea9ac777833f [2021-06-21T05:10:21.873Z] Removing intermediate container ea9ac777833f [2021-06-21T05:10:21.873Z] ---> afdda227d3ff [2021-06-21T05:10:21.873Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-21T05:10:22.152Z] ---> Running in 2b0834b25d06 [2021-06-21T05:10:22.427Z] Removing intermediate container 2b0834b25d06 [2021-06-21T05:10:22.427Z] ---> 8e73abb26bbf [2021-06-21T05:10:22.427Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-21T05:10:22.703Z] ---> Running in 2a4128929166 [2021-06-21T05:10:23.304Z] Removing intermediate container 2a4128929166 [2021-06-21T05:10:23.304Z] ---> 48fa9622ea01 [2021-06-21T05:10:23.304Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T05:10:23.304Z] ---> Running in edd6523bc051 [2021-06-21T05:10:25.950Z] Removing intermediate container edd6523bc051 [2021-06-21T05:10:25.950Z] ---> bcbfaf2bfd3a [2021-06-21T05:10:25.950Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-21T05:10:25.950Z] ---> Running in f4e1d6fdeee8 [2021-06-21T05:10:27.405Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-21T05:10:28.000Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-21T05:10:28.978Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-21T05:10:28.978Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-21T05:10:28.978Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-21T05:10:29.250Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-21T05:10:29.250Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-21T05:10:29.523Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-21T05:10:29.523Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-21T05:10:29.795Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-21T05:10:30.066Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-21T05:10:30.066Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-21T05:10:30.066Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-21T05:10:30.659Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-21T05:10:30.659Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-21T05:10:30.933Z] Executing busybox-1.32.1-r6.trigger [2021-06-21T05:10:30.933Z] OK: 145 MiB in 53 packages [2021-06-21T05:10:32.365Z] Removing intermediate container f4e1d6fdeee8 [2021-06-21T05:10:32.365Z] ---> 3d29c1978ffe [2021-06-21T05:10:32.365Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-21T05:10:32.365Z] ---> Running in b6108345862a [2021-06-21T05:10:32.962Z] Removing intermediate container b6108345862a [2021-06-21T05:10:32.962Z] ---> 76f2f295dfb6 [2021-06-21T05:10:32.962Z] Step 9/10 : COPY . . [2021-06-21T05:10:33.946Z] ---> 4a2ce0521baa [2021-06-21T05:10:33.946Z] Step 10/10 : RUN go mod download [2021-06-21T05:10:33.946Z] ---> Running in 6e90dbe234cd [2021-06-21T05:11:00.786Z] Removing intermediate container 6e90dbe234cd [2021-06-21T05:11:00.786Z] ---> 8a057bbd1027 [2021-06-21T05:11:00.786Z] Successfully built 8a057bbd1027 [2021-06-21T05:11:00.786Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:11:01.184Z] + docker inspect -f . ci-base-image-arm64 [2021-06-21T05:11:01.184Z] . [Pipeline] withDockerContainer [2021-06-21T05:11:01.464Z] prd-ubuntu18.04-docker-arm64-4c-16g-479 does not seem to be running inside a container [2021-06-21T05:11:01.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-21T05:11:03.086Z] $ docker top 28da0091684511afaa3e0cbd763d724f04389f1510a88d8ce4b9c013755024df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T05:11:04.058Z] + go version [2021-06-21T05:11:04.058Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-21T05:11:04.104Z] $ docker stop --time=1 28da0091684511afaa3e0cbd763d724f04389f1510a88d8ce4b9c013755024df [2021-06-21T05:11:05.907Z] $ docker rm -f 28da0091684511afaa3e0cbd763d724f04389f1510a88d8ce4b9c013755024df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:11:06.944Z] + docker inspect -f . ci-base-image-arm64 [2021-06-21T05:11:06.944Z] . [Pipeline] withDockerContainer [2021-06-21T05:11:07.197Z] prd-ubuntu18.04-docker-arm64-4c-16g-479 does not seem to be running inside a container [2021-06-21T05:11:07.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-21T05:11:08.896Z] $ docker top ac796d57dc47768ca94719388abf5718b04cbf81893878878b3b27058b9281eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T05:11:09.908Z] + go mod tidy [Pipeline] sh [2021-06-21T05:11:11.593Z] + make test [2021-06-21T05:11:11.593Z] go mod tidy [2021-06-21T05:11:11.870Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-21T05:11:12.858Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-21T05:11:59.910Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-21T05:12:00.182Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.031s coverage: 0.0% of statements [2021-06-21T05:12:00.458Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-21T05:12:27.347Z] gofmt -l . [2021-06-21T05:12:27.347Z] [ "`gofmt -l .`" = "" ] [2021-06-21T05:12:27.347Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-21T05:12:27.985Z] $ docker stop --time=1 ac796d57dc47768ca94719388abf5718b04cbf81893878878b3b27058b9281eb [2021-06-21T05:12:29.945Z] $ docker rm -f ac796d57dc47768ca94719388abf5718b04cbf81893878878b3b27058b9281eb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-21T05:12:30.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-21T05:12:30.862Z] Warning: overwriting stash ‘coverage-report’ [2021-06-21T05:12:31.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T05:12:32.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-21T05:12:32.514Z] + ls -al . [2021-06-21T05:12:32.514Z] total 128 [2021-06-21T05:12:32.514Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 21 05:12 . [2021-06-21T05:12:32.514Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 05:09 .. [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 21 05:09 .dockerignore [2021-06-21T05:12:32.514Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 05:09 .git [2021-06-21T05:12:32.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 05:09 .github [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 21 05:09 .gitignore [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 21 05:09 Attribution.txt [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 21 05:09 Dockerfile [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 21 05:09 Dockerfile.build [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 21 05:09 Jenkinsfile [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 21 05:09 LICENSE [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 21 05:09 Makefile [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 21 05:09 README.md [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 05:05 VERSION [2021-06-21T05:12:32.514Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 05:09 bin [2021-06-21T05:12:32.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 05:09 cmd [2021-06-21T05:12:32.514Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 21 05:11 coverage.out [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 223 Jun 21 05:09 go.mod [2021-06-21T05:12:32.514Z] -rw-r--r-- 1 jenkins jenkins 20929 Jun 21 05:11 go.sum [2021-06-21T05:12:32.514Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 05:09 internal [2021-06-21T05:12:32.514Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 21 05:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:12:32.934Z] + 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=8a33c642f29299a5f317dfea40a57097f5e7e2d9 --label arch=arm64 --label version=0.0.0 . [2021-06-21T05:12:33.212Z] Sending build context to Docker daemon 379.4kB [2021-06-21T05:12:33.212Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-21T05:12:33.212Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-21T05:12:33.212Z] ---> 8a057bbd1027 [2021-06-21T05:12:33.212Z] Step 3/24 : ARG MAKE='make build' [2021-06-21T05:12:33.485Z] ---> Running in ca478676df25 [2021-06-21T05:12:34.082Z] Removing intermediate container ca478676df25 [2021-06-21T05:12:34.082Z] ---> e12238c26b26 [2021-06-21T05:12:34.082Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-21T05:12:34.357Z] ---> Running in ed8b40d145dd [2021-06-21T05:12:34.633Z] Removing intermediate container ed8b40d145dd [2021-06-21T05:12:34.633Z] ---> 6c2560c7d497 [2021-06-21T05:12:34.633Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-21T05:12:34.918Z] ---> Running in c9a72fd4c00b [2021-06-21T05:12:35.193Z] Removing intermediate container c9a72fd4c00b [2021-06-21T05:12:35.193Z] ---> 83c734413580 [2021-06-21T05:12:35.193Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-21T05:12:35.474Z] ---> Running in d5e620d83b7d [2021-06-21T05:12:37.457Z] Removing intermediate container d5e620d83b7d [2021-06-21T05:12:37.457Z] ---> a00428856efc [2021-06-21T05:12:37.457Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-21T05:12:37.731Z] ---> Running in 82e6b00f156d [2021-06-21T05:12:38.706Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-21T05:12:39.677Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-21T05:12:40.673Z] OK: 145 MiB in 53 packages [2021-06-21T05:12:41.650Z] Removing intermediate container 82e6b00f156d [2021-06-21T05:12:41.651Z] ---> 8ab270fb3eea [2021-06-21T05:12:41.651Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-21T05:12:41.651Z] ---> Running in 32635a663c22 [2021-06-21T05:12:42.249Z] Removing intermediate container 32635a663c22 [2021-06-21T05:12:42.249Z] ---> 31f1826d1b75 [2021-06-21T05:12:42.249Z] Step 9/24 : COPY . . [2021-06-21T05:12:43.234Z] ---> 3e4a655cc5b3 [2021-06-21T05:12:43.234Z] Step 10/24 : RUN go mod tidy [2021-06-21T05:12:43.511Z] ---> Running in 00ee1788d7ed [2021-06-21T05:12:46.134Z] Removing intermediate container 00ee1788d7ed [2021-06-21T05:12:46.134Z] ---> 71d30f1c4c1a [2021-06-21T05:12:46.134Z] Step 11/24 : RUN make update [2021-06-21T05:12:46.410Z] ---> Running in ccf3152e6d54 [2021-06-21T05:12:47.393Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-21T05:12:48.829Z] Removing intermediate container ccf3152e6d54 [2021-06-21T05:12:48.829Z] ---> 19b0fe6f24b1 [2021-06-21T05:12:48.829Z] Step 12/24 : RUN ${MAKE} [2021-06-21T05:12:48.829Z] ---> Running in 1cb4d750c6d5 [2021-06-21T05:12:49.815Z] go mod tidy [2021-06-21T05:12:50.419Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-21T05:13:29.503Z] Removing intermediate container 1cb4d750c6d5 [2021-06-21T05:13:29.503Z] ---> 347af34d8d49 [2021-06-21T05:13:29.503Z] Step 13/24 : FROM alpine:3.12 [2021-06-21T05:13:29.503Z] 3.12: Pulling from library/alpine [2021-06-21T05:13:29.503Z] d2f70382dc9a: Pulling fs layer [2021-06-21T05:13:29.503Z] d2f70382dc9a: Verifying Checksum [2021-06-21T05:13:29.503Z] d2f70382dc9a: Download complete [2021-06-21T05:13:29.503Z] d2f70382dc9a: Pull complete [2021-06-21T05:13:29.503Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-21T05:13:29.503Z] Status: Downloaded newer image for alpine:3.12 [2021-06-21T05:13:29.503Z] ---> c4fd0aeabfcf [2021-06-21T05:13:29.503Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-21T05:13:29.503Z] ---> Running in 4ec85cfb16d3 [2021-06-21T05:13:29.503Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-21T05:13:29.503Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-21T05:13:29.503Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-21T05:13:29.503Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-21T05:13:29.503Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-21T05:13:29.503Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-21T05:13:29.503Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-21T05:13:29.503Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-21T05:13:29.503Z] Executing busybox-1.31.1-r20.trigger [2021-06-21T05:13:29.503Z] OK: 8 MiB in 20 packages [2021-06-21T05:13:29.785Z] Removing intermediate container 4ec85cfb16d3 [2021-06-21T05:13:29.785Z] ---> 5741fe0c8b3f [2021-06-21T05:13:29.785Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-21T05:13:31.221Z] ---> d442cba1df5f [2021-06-21T05:13:31.221Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-21T05:13:31.822Z] ---> 24b4d194f2b6 [2021-06-21T05:13:31.822Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-21T05:13:32.822Z] ---> 00248ba4b73d [2021-06-21T05:13:32.822Z] Step 18/24 : EXPOSE 59993 [2021-06-21T05:13:32.822Z] ---> Running in 55915dd66ee2 [2021-06-21T05:13:33.420Z] Removing intermediate container 55915dd66ee2 [2021-06-21T05:13:33.420Z] ---> 72e36d662f1f [2021-06-21T05:13:33.420Z] Step 19/24 : EXPOSE 161 [2021-06-21T05:13:33.420Z] ---> Running in af8cfa344d09 [2021-06-21T05:13:34.019Z] Removing intermediate container af8cfa344d09 [2021-06-21T05:13:34.019Z] ---> 1e34178bdc5d [2021-06-21T05:13:34.019Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-21T05:13:34.019Z] ---> Running in 34e3827712ad [2021-06-21T05:13:34.620Z] Removing intermediate container 34e3827712ad [2021-06-21T05:13:34.620Z] ---> 43d6dd7a3641 [2021-06-21T05:13:34.620Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-21T05:13:34.620Z] ---> Running in 8185f2fd74f2 [2021-06-21T05:13:35.216Z] Removing intermediate container 8185f2fd74f2 [2021-06-21T05:13:35.216Z] ---> 8b78383d043d [2021-06-21T05:13:35.216Z] Step 22/24 : LABEL arch=arm64 [2021-06-21T05:13:35.216Z] ---> Running in 53fd61d42337 [2021-06-21T05:13:35.813Z] Removing intermediate container 53fd61d42337 [2021-06-21T05:13:35.813Z] ---> 1f27ab4e7a68 [2021-06-21T05:13:35.813Z] Step 23/24 : LABEL git_sha=8a33c642f29299a5f317dfea40a57097f5e7e2d9 [2021-06-21T05:13:35.813Z] ---> Running in b25189d18a0b [2021-06-21T05:13:36.417Z] Removing intermediate container b25189d18a0b [2021-06-21T05:13:36.417Z] ---> a4fc6493edce [2021-06-21T05:13:36.417Z] Step 24/24 : LABEL version=0.0.0 [2021-06-21T05:13:36.417Z] ---> Running in 9a5ffc3f5467 [2021-06-21T05:13:37.026Z] Removing intermediate container 9a5ffc3f5467 [2021-06-21T05:13:37.026Z] ---> a38fa4a42cf2 [2021-06-21T05:13:37.026Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-21T05:13:37.026Z] Successfully built a38fa4a42cf2 [2021-06-21T05:13:37.026Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:13:37.967Z] ---> job-cost.sh [2021-06-21T05:13:37.967Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5f3s [2021-06-21T05:14:16.975Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-21T05:15:38.747Z] lf-activate-venv(): INFO: Adding /tmp/venv-5f3s/bin to PATH [2021-06-21T05:15:38.747Z] INFO: No Stack... [2021-06-21T05:15:38.747Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-21T05:15:38.747Z] INFO: Archiving Costs [Pipeline] sh [2021-06-21T05:15:39.123Z] + cut+ -d, -f6 [2021-06-21T05:15:39.123Z] cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-06-21T05:15:39.221Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] [2021-06-21T05:15:39.229Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] did not exist. Created. [2021-06-21T05:15:39.229Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-21T05:15:39.689Z] /w/workspace/device-snmp-go/1@tmp/durable-e24f66a9/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-e24f66a9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-21T05:15:40.071Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-21T05:15:40.115Z] Warning: overwriting stash ‘stack-cost’ [2021-06-21T05:15:40.265Z] Stashed 1 file(s) [Pipeline] } [2021-06-21T05:15:40.290Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-21T05:15:41.576Z] provisioning config files... [2021-06-21T05:15:41.586Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/config121449219429745372tmp [Pipeline] { [Pipeline] sh [2021-06-21T05:15:41.985Z] + set +x [2021-06-21T05:15:41.985Z] + curl -s https://codecov.io/bash [2021-06-21T05:15:41.985Z] + bash -s -- [2021-06-21T05:15:41.985Z] [2021-06-21T05:15:41.985Z] _____ _ [2021-06-21T05:15:41.985Z] / ____| | | [2021-06-21T05:15:41.985Z] | | ___ __| | ___ ___ _____ __ [2021-06-21T05:15:41.985Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-21T05:15:41.985Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-21T05:15:41.985Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-21T05:15:41.985Z] Bash-1.0.3 [2021-06-21T05:15:41.985Z] [2021-06-21T05:15:41.985Z] [2021-06-21T05:15:41.985Z] ==> git version 2.24.4 found [2021-06-21T05:15:41.985Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-21T05:15:41.985Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-21T05:15:41.985Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-21T05:15:41.985Z] ==> Jenkins CI detected. [2021-06-21T05:15:41.985Z] project root: . [2021-06-21T05:15:41.985Z] --> token set from env [2021-06-21T05:15:41.985Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-21T05:15:41.985Z] ==> Running gcov in . (disable via -X gcov) [2021-06-21T05:15:41.985Z] ==> Python coveragepy not found [2021-06-21T05:15:41.985Z] ==> Searching for coverage reports in: [2021-06-21T05:15:41.985Z] + . [2021-06-21T05:15:41.985Z] -> Found 1 reports [2021-06-21T05:15:41.985Z] ==> Detecting git/mercurial file structure [2021-06-21T05:15:41.985Z] ==> Reading reports [2021-06-21T05:15:41.985Z] + ./coverage.out bytes=7631 [2021-06-21T05:15:41.985Z] ==> Appending adjustments [2021-06-21T05:15:41.985Z] https://docs.codecov.io/docs/fixing-reports [2021-06-21T05:15:42.255Z] + Found adjustments [2021-06-21T05:15:42.255Z] ==> Gzipping contents [2021-06-21T05:15:42.255Z] 4.0K /tmp/codecov.UpeGvf.gz [2021-06-21T05:15:42.255Z] ==> Uploading reports [2021-06-21T05:15:42.255Z] url: https://codecov.io [2021-06-21T05:15:42.255Z] query: branch=PR-114&commit=8a33c642f29299a5f317dfea40a57097f5e7e2d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=114&job=&cmd_args= [2021-06-21T05:15:42.255Z] -> Pinging Codecov [2021-06-21T05:15:42.255Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-114&commit=8a33c642f29299a5f317dfea40a57097f5e7e2d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=114&job=&cmd_args= [2021-06-21T05:15:42.519Z] -> Uploading to [2021-06-21T05:15:42.520Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-21/6C56EA5C29638FB4528AC87E60AF5AE0/8a33c642f29299a5f317dfea40a57097f5e7e2d9/80f40bb9-789d-42e6-9cfa-e8701a140761.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210621T051542Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52634666ecdb4e0cce05c223a504aa809b5b37aaf3c8744adb3aa3a00978531b [2021-06-21T05:15:42.520Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-21T05:15:42.520Z] Dload Upload Total Spent Left Speed [2021-06-21T05:15:43.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3863 --:--:-- --:--:-- --:--:-- 3870 [2021-06-21T05:15:43.094Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/8a33c642f29299a5f317dfea40a57097f5e7e2d9 [Pipeline] } [2021-06-21T05:15:43.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:15:45.839Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:15:46.467Z] ---> package-listing.sh [2021-06-21T05:15:46.467Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-21T05:15:46.467Z] ++ facter osfamily [2021-06-21T05:15:46.733Z] + OS_FAMILY=redhat [2021-06-21T05:15:46.733Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-114 [2021-06-21T05:15:46.733Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-21T05:15:46.733Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-21T05:15:46.733Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-21T05:15:46.733Z] + PACKAGES=/tmp/packages_start.txt [2021-06-21T05:15:46.733Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-114 ']' [2021-06-21T05:15:46.733Z] + PACKAGES=/tmp/packages_end.txt [2021-06-21T05:15:46.733Z] + case "${OS_FAMILY}" in [2021-06-21T05:15:46.733Z] + rpm -qa [2021-06-21T05:15:46.733Z] + sort [2021-06-21T05:15:47.311Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-21T05:15:47.311Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-21T05:15:47.311Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-21T05:15:47.311Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-114 ']' [2021-06-21T05:15:47.311Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-114/archives/ [2021-06-21T05:15:47.311Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-114/archives/ [Pipeline] echo [2021-06-21T05:15:47.345Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-21T05:15:47.662Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:15:48.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T05:15:48.272Z] [2021-06-21T05:15:48.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-21T05:15:48.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T05:15:48.628Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-21T05:15:48.628Z] df20fa9351a1: Pulling fs layer [2021-06-21T05:15:48.628Z] 36b3adc4ff6f: Pulling fs layer [2021-06-21T05:15:48.628Z] 8ad3a11d3b57: Pulling fs layer [2021-06-21T05:15:48.628Z] 46f8f816bc3b: Pulling fs layer [2021-06-21T05:15:48.628Z] 93b61091891f: Pulling fs layer [2021-06-21T05:15:48.628Z] 93b9cdb0e59b: Pulling fs layer [2021-06-21T05:15:48.628Z] 5e14af77c1be: Pulling fs layer [2021-06-21T05:15:48.628Z] 01666e4c0597: Pulling fs layer [2021-06-21T05:15:48.628Z] aa168da1d23b: Pulling fs layer [2021-06-21T05:15:48.628Z] 93b9cdb0e59b: Waiting [2021-06-21T05:15:48.628Z] 46f8f816bc3b: Waiting [2021-06-21T05:15:48.628Z] 93b61091891f: Waiting [2021-06-21T05:15:48.628Z] 5e14af77c1be: Waiting [2021-06-21T05:15:48.628Z] 01666e4c0597: Waiting [2021-06-21T05:15:48.628Z] aa168da1d23b: Waiting [2021-06-21T05:15:48.628Z] 36b3adc4ff6f: Verifying Checksum [2021-06-21T05:15:48.628Z] 36b3adc4ff6f: Download complete [2021-06-21T05:15:48.628Z] 46f8f816bc3b: Verifying Checksum [2021-06-21T05:15:48.628Z] 46f8f816bc3b: Download complete [2021-06-21T05:15:48.628Z] df20fa9351a1: Verifying Checksum [2021-06-21T05:15:48.628Z] df20fa9351a1: Download complete [2021-06-21T05:15:48.898Z] 93b9cdb0e59b: Verifying Checksum [2021-06-21T05:15:48.898Z] 93b9cdb0e59b: Download complete [2021-06-21T05:15:48.898Z] 5e14af77c1be: Verifying Checksum [2021-06-21T05:15:48.898Z] 5e14af77c1be: Download complete [2021-06-21T05:15:48.898Z] 93b61091891f: Verifying Checksum [2021-06-21T05:15:48.898Z] 93b61091891f: Download complete [2021-06-21T05:15:48.898Z] 01666e4c0597: Verifying Checksum [2021-06-21T05:15:48.898Z] 01666e4c0597: Download complete [2021-06-21T05:15:48.898Z] 8ad3a11d3b57: Verifying Checksum [2021-06-21T05:15:48.898Z] 8ad3a11d3b57: Download complete [2021-06-21T05:15:48.898Z] df20fa9351a1: Pull complete [2021-06-21T05:15:49.168Z] 36b3adc4ff6f: Pull complete [2021-06-21T05:15:49.746Z] 8ad3a11d3b57: Pull complete [2021-06-21T05:15:49.746Z] 46f8f816bc3b: Pull complete [2021-06-21T05:15:50.012Z] 93b61091891f: Pull complete [2021-06-21T05:15:50.012Z] 93b9cdb0e59b: Pull complete [2021-06-21T05:15:50.012Z] 5e14af77c1be: Pull complete [2021-06-21T05:15:50.279Z] 01666e4c0597: Pull complete [2021-06-21T05:15:50.851Z] aa168da1d23b: Verifying Checksum [2021-06-21T05:15:50.851Z] aa168da1d23b: Download complete [2021-06-21T05:15:55.108Z] aa168da1d23b: Pull complete [2021-06-21T05:15:55.108Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-21T05:15:55.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T05:15:55.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-21T05:15:55.217Z] prd-centos7-docker-4c-2g-474 does not seem to be running inside a container [2021-06-21T05:15:55.258Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-114 -v /w/workspace/gexfoundry_device-snmp-go_PR-114:/w/workspace/gexfoundry_device-snmp-go_PR-114:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-21T05:15:57.241Z] $ docker top 426eca404a8b86a26fb29db9845943dc438b568f5357b607de5e6a500cd24069 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T05:15:57.732Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-21T05:15:58.053Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-21T05:15:58.373Z] + ls /var/log/sa-host [2021-06-21T05:15:58.373Z] + sadf -c /var/log/sa-host/sa05 [2021-06-21T05:15:58.373Z] file_magic: OK [2021-06-21T05:15:58.373Z] HZ: Using current value: 100 [2021-06-21T05:15:58.373Z] file_header: OK [2021-06-21T05:15:58.373Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-21T05:15:58.373Z] Statistics: [2021-06-21T05:15:58.373Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-21T05:15:58.373Z] File successfully converted to sysstat format version 12.2.1 [2021-06-21T05:15:58.373Z] + sadf -c /var/log/sa-host/sa21 [2021-06-21T05:15:58.373Z] file_magic: OK [2021-06-21T05:15:58.373Z] HZ: Using current value: 100 [2021-06-21T05:15:58.373Z] file_header: OK [2021-06-21T05:15:58.373Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-21T05:15:58.373Z] Statistics: [2021-06-21T05:15:58.373Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-21T05:15:58.373Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T05:15:58.653Z] provisioning config files... [2021-06-21T05:15:58.677Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/config8428900631376391147tmp [Pipeline] { [Pipeline] echo [2021-06-21T05:15:58.741Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:15:59.087Z] ---> create-netrc.sh [Pipeline] } [2021-06-21T05:15:59.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:15:59.581Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-21T05:15:59.613Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:15:59.963Z] ---> sudo-logs.sh [2021-06-21T05:15:59.963Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-21T05:16:00.074Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:16:00.413Z] ---> job-cost.sh [2021-06-21T05:16:00.413Z] lf-activate-venv: SKIPPING [2021-06-21T05:16:00.413Z] DEBUG: total: 0.18000000715255737 [2021-06-21T05:16:00.413Z] INFO: Retrieving Stack Cost... [2021-06-21T05:16:01.361Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-21T05:16:01.944Z] INFO: Archiving Costs [Pipeline] echo [2021-06-21T05:16:02.014Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T05:16:02.405Z] ---> logs-deploy.sh [2021-06-21T05:16:02.405Z] lf-activate-venv: SKIPPING [2021-06-21T05:16:02.405Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-114/1 [2021-06-21T05:16:02.405Z] INFO: archiving workspace using pattern(s): [2021-06-21T05:16:03.355Z] Archives upload complete. [2021-06-21T05:16:03.355Z] INFO: archiving logs to Nexus