Pull request #111 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from dbb48137720fbdb754a996821617a7a87d11ec02+bdf6c703ff7e4dc9654b1e05af75b33f1f140285 (12cfdd8b15dbfcaca44bf801eb542f616684d67b) 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-ssh6983502578098576073.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4143297798301123257.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-111/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-111/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5701410790450482241.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-111/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4348550746055942542.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh541342047716622864.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-111/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-111/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7243617544115102541.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1387 in /w/workspace/gexfoundry_device-snmp-go_PR-111 [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-111 # 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-111@tmp/jenkins-gitclient-ssh4942931403643675430.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-111@tmp/jenkins-gitclient-ssh2901244440450541810.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bdf6c703ff7e4dc9654b1e05af75b33f1f140285 into PR head commit dbb48137720fbdb754a996821617a7a87d11ec02 Merge succeeded, producing dbb48137720fbdb754a996821617a7a87d11ec02 Checking out Revision dbb48137720fbdb754a996821617a7a87d11ec02 (PR-111) > git config core.sparsecheckout # timeout=10 > git checkout -f dbb48137720fbdb754a996821617a7a87d11ec02 # 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-111@tmp/jenkins-gitclient-ssh3808134619923933977.key > git merge bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbb48137720fbdb754a996821617a7a87d11ec02 # timeout=10 Commit message: "refactor: bump dependency version and update import path" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-15T02:15:57.478Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-15T02:15:57.678Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-15T02:15:57.798Z] ========================================================= [2021-06-15T02:15:57.798Z] EdgeX Global Pipelines Version Info [2021-06-15T02:15:57.798Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:15:59.264Z] ------------------- [2021-06-15T02:15:59.264Z] stable info: [2021-06-15T02:15:59.264Z] ------------------- [2021-06-15T02:15:59.264Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-15T02:15:59.264Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-15T02:15:59.264Z] Message: update stable to v1.0.194 [2021-06-15T02:15:59.839Z] ------------------- [2021-06-15T02:15:59.839Z] experimental info: [2021-06-15T02:15:59.839Z] ------------------- [2021-06-15T02:15:59.839Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-15T02:15:59.839Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-15T02:15:59.839Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-15T02:16:00.108Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-15T02:16:00.165Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-15T02:16:00.225Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-15T02:16:00.283Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-15T02:16:00.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-15T02:16:00.425Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-15T02:16:00.484Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-15T02:16:00.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-15T02:16:00.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-15T02:16:00.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-15T02:16:00.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-15T02:16:00.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-15T02:16:00.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-15T02:16:00.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-15T02:16:01.048Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-15T02:16:01.123Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-15T02:16:01.192Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T02:16:01.253Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T02:16:01.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-15T02:16:01.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-15T02:16:01.452Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-15T02:16:01.512Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-15T02:16:01.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-15T02:16:01.637Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-15T02:16:01.698Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-15T02:16:01.780Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-15T02:16:01.843Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-111 [Pipeline] echo [2021-06-15T02:16:01.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-111 [Pipeline] echo [2021-06-15T02:16:01.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-111 [Pipeline] echo [2021-06-15T02:16:02.025Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbb48137720fbdb754a996821617a7a87d11ec02 [Pipeline] echo [2021-06-15T02:16:02.080Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbb4813 [Pipeline] echo [2021-06-15T02:16:02.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T02:16:02.330Z] provisioning config files... [2021-06-15T02:16:02.347Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-111@tmp/config8473239302336421639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:16:02.731Z] ---> docker-login.sh [2021-06-15T02:16:02.731Z] nexus3.edgexfoundry.org:10001 [2021-06-15T02:16:03.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:16:03.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:16:03.306Z] Configure a credential helper to remove this warning. See [2021-06-15T02:16:03.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:16:03.306Z] [2021-06-15T02:16:03.306Z] Login Succeeded [2021-06-15T02:16:03.306Z] nexus3.edgexfoundry.org:10002 [2021-06-15T02:16:03.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:16:03.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:16:03.574Z] Configure a credential helper to remove this warning. See [2021-06-15T02:16:03.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:16:03.574Z] [2021-06-15T02:16:03.574Z] Login Succeeded [2021-06-15T02:16:03.574Z] nexus3.edgexfoundry.org:10003 [2021-06-15T02:16:03.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:16:03.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:16:03.851Z] Configure a credential helper to remove this warning. See [2021-06-15T02:16:03.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:16:03.851Z] [2021-06-15T02:16:03.851Z] Login Succeeded [2021-06-15T02:16:03.851Z] nexus3.edgexfoundry.org:10004 [2021-06-15T02:16:03.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:16:03.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:16:03.851Z] Configure a credential helper to remove this warning. See [2021-06-15T02:16:03.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:16:03.851Z] [2021-06-15T02:16:03.851Z] Login Succeeded [2021-06-15T02:16:03.851Z] docker.io [2021-06-15T02:16:04.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:16:04.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:16:04.378Z] Configure a credential helper to remove this warning. See [2021-06-15T02:16:04.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:16:04.378Z] [2021-06-15T02:16:04.378Z] Login Succeeded [2021-06-15T02:16:04.378Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T02:16:04.428Z] 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-15T02:16:05.202Z] + git log --format=format:%s -1 dbb48137720fbdb754a996821617a7a87d11ec02 [Pipeline] echo [2021-06-15T02:16:05.269Z] GIT_COMMIT: dbb48137720fbdb754a996821617a7a87d11ec02, Commit Message: refactor: bump dependency version and update import path [Pipeline] echo [2021-06-15T02:16:05.308Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:16:06.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T02:16:06.400Z] [2021-06-15T02:16:06.400Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:16:06.761Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T02:16:07.024Z] latest: Pulling from edgex-devops/git-semver [2021-06-15T02:16:07.024Z] 31603596830f: Pulling fs layer [2021-06-15T02:16:07.024Z] 54011a49482f: Pulling fs layer [2021-06-15T02:16:07.024Z] a6820b24f6d8: Pulling fs layer [2021-06-15T02:16:07.024Z] f581987b2513: Pulling fs layer [2021-06-15T02:16:07.024Z] f581987b2513: Waiting [2021-06-15T02:16:07.024Z] 54011a49482f: Verifying Checksum [2021-06-15T02:16:07.024Z] 54011a49482f: Download complete [2021-06-15T02:16:07.288Z] 31603596830f: Verifying Checksum [2021-06-15T02:16:07.288Z] 31603596830f: Download complete [2021-06-15T02:16:07.288Z] a6820b24f6d8: Verifying Checksum [2021-06-15T02:16:07.288Z] a6820b24f6d8: Download complete [2021-06-15T02:16:07.288Z] f581987b2513: Verifying Checksum [2021-06-15T02:16:07.288Z] f581987b2513: Download complete [2021-06-15T02:16:07.554Z] 31603596830f: Pull complete [2021-06-15T02:16:07.554Z] 54011a49482f: Pull complete [2021-06-15T02:16:08.531Z] a6820b24f6d8: Pull complete [2021-06-15T02:16:08.531Z] f581987b2513: Pull complete [2021-06-15T02:16:08.531Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-15T02:16:08.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T02:16:08.531Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-15T02:16:08.643Z] prd-centos7-docker-4c-2g-1387 does not seem to be running inside a container [2021-06-15T02:16:08.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-111 -v /w/workspace/gexfoundry_device-snmp-go_PR-111:/w/workspace/gexfoundry_device-snmp-go_PR-111:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-111@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-15T02:16:10.508Z] $ docker top 310c3afeff9f1b21ce4528329f0fb7d9d0291804a6c24b98ad1e9e4edfe6b0e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-15T02:16:10.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T02:16:10.752Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T02:16:10.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T02:16:10.873Z] $ docker exec 310c3afeff9f1b21ce4528329f0fb7d9d0291804a6c24b98ad1e9e4edfe6b0e0 ssh-agent [2021-06-15T02:16:11.005Z] SSH_AUTH_SOCK=/tmp/ssh-ZL0Dn2Ib1eSR/agent.13 [2021-06-15T02:16:11.005Z] SSH_AGENT_PID=19 [2021-06-15T02:16:11.014Z] Running ssh-add (command line suppressed) [2021-06-15T02:16:11.114Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-111@tmp/private_key_7834203515864146564.key (/w/workspace/gexfoundry_device-snmp-go_PR-111@tmp/private_key_7834203515864146564.key) [2021-06-15T02:16:11.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T02:16:11.497Z] + git tag --points-at HEAD [Pipeline] } [2021-06-15T02:16:11.516Z] $ docker exec --env ******** --env ******** 310c3afeff9f1b21ce4528329f0fb7d9d0291804a6c24b98ad1e9e4edfe6b0e0 ssh-agent -k [2021-06-15T02:16:11.627Z] unset SSH_AUTH_SOCK; [2021-06-15T02:16:11.628Z] unset SSH_AGENT_PID; [2021-06-15T02:16:11.628Z] echo Agent pid 19 killed; [2021-06-15T02:16:11.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-15T02:16:11.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T02:16:11.731Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T02:16:11.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T02:16:11.868Z] $ docker exec 310c3afeff9f1b21ce4528329f0fb7d9d0291804a6c24b98ad1e9e4edfe6b0e0 ssh-agent [2021-06-15T02:16:12.004Z] SSH_AUTH_SOCK=/tmp/ssh-xluGziRU92aa/agent.55 [2021-06-15T02:16:12.004Z] SSH_AGENT_PID=62 [2021-06-15T02:16:12.011Z] Running ssh-add (command line suppressed) [2021-06-15T02:16:12.116Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-111@tmp/private_key_1084131660207649878.key (/w/workspace/gexfoundry_device-snmp-go_PR-111@tmp/private_key_1084131660207649878.key) [2021-06-15T02:16:12.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T02:16:12.484Z] + git semver init [2021-06-15T02:16:12.484Z] # -> Open(): unable to determine branch for HEAD [2021-06-15T02:16:12.484Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-111/.git [2021-06-15T02:16:12.484Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-111 [2021-06-15T02:16:12.484Z] # $SEMVER_REMOTE_NAME = origin [2021-06-15T02:16:12.484Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-15T02:16:12.484Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-15T02:16:12.484Z] # $SEMVER_BRANCH = PR-111 [2021-06-15T02:16:12.484Z] # $SEMVER_TEMP = /tmp/semver-784073312 [2021-06-15T02:16:12.484Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-15T02:16:13.062Z] # '/tmp/semver-784073312' -> '/w/workspace/gexfoundry_device-snmp-go_PR-111/.semver' [2021-06-15T02:16:13.062Z] # -> Force: false [2021-06-15T02:16:13.062Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-111/.semver [Pipeline] } [2021-06-15T02:16:13.078Z] $ docker exec --env ******** --env ******** 310c3afeff9f1b21ce4528329f0fb7d9d0291804a6c24b98ad1e9e4edfe6b0e0 ssh-agent -k [2021-06-15T02:16:13.183Z] unset SSH_AUTH_SOCK; [2021-06-15T02:16:13.184Z] unset SSH_AGENT_PID; [2021-06-15T02:16:13.184Z] echo Agent pid 62 killed; [2021-06-15T02:16:13.199Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-15T02:16:13.659Z] + git semver [Pipeline] } [2021-06-15T02:16:13.684Z] $ docker stop --time=1 310c3afeff9f1b21ce4528329f0fb7d9d0291804a6c24b98ad1e9e4edfe6b0e0 [2021-06-15T02:16:15.259Z] $ docker rm -f 310c3afeff9f1b21ce4528329f0fb7d9d0291804a6c24b98ad1e9e4edfe6b0e0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T02:16:15.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-15T02:16:16.068Z] Stashed 1 file(s) [Pipeline] echo [2021-06-15T02:16:16.089Z] [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-15T02:16:31.616Z] Still waiting to schedule task [2021-06-15T02:16:31.616Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-15T02:16:31.644Z] Still waiting to schedule task [2021-06-15T02:16:31.644Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-15T02:19:31.941Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1390 in /w/workspace/gexfoundry_device-snmp-go_PR-111 [Pipeline] { [Pipeline] ws [2021-06-15T02:19:32.034Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-15T02:19:32.308Z] Selected Git installation does not exist. Using Default [2021-06-15T02:19:32.308Z] The recommended git tool is: NONE [2021-06-15T02:19:37.589Z] using credential edgex-jenkins-ssh [2021-06-15T02:19:37.607Z] Cloning the remote Git repository [2021-06-15T02:19:37.643Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-15T02:19:37.765Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-15T02:19:37.863Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-15T02:19:37.864Z] > git --version # timeout=10 [2021-06-15T02:19:37.889Z] > git --version # 'git version 2.17.1' [2021-06-15T02:19:37.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T02:19:37.950Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T02:19:38.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-15T02:19:39.329Z] Merging remotes/origin/master commit bdf6c703ff7e4dc9654b1e05af75b33f1f140285 into PR head commit dbb48137720fbdb754a996821617a7a87d11ec02 [2021-06-15T02:19:39.560Z] Merge succeeded, producing dbb48137720fbdb754a996821617a7a87d11ec02 [2021-06-15T02:19:39.560Z] Checking out Revision dbb48137720fbdb754a996821617a7a87d11ec02 (PR-111) [2021-06-15T02:19:38.675Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T02:19:38.699Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-15T02:19:38.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-15T02:19:38.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T02:19:38.744Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-15T02:19:39.343Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T02:19:39.358Z] > git checkout -f dbb48137720fbdb754a996821617a7a87d11ec02 # timeout=10 [2021-06-15T02:19:39.462Z] > git remote # timeout=10 [2021-06-15T02:19:39.482Z] > git config --get remote.origin.url # timeout=10 [2021-06-15T02:19:39.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T02:19:39.511Z] > git merge bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 [2021-06-15T02:19:39.536Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-15T02:19:39.560Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T02:19:39.578Z] > git checkout -f dbb48137720fbdb754a996821617a7a87d11ec02 # timeout=10 [2021-06-15T02:19:44.004Z] Commit message: "refactor: bump dependency version and update import path" [2021-06-15T02:19:44.058Z] > git --version # timeout=10 [2021-06-15T02:19:44.067Z] > git --version # 'git version 2.17.1' [2021-06-15T02:19:44.081Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T02:19:45.758Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-15T02:19:46.591Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-15T02:19:46.981Z] + sudo service docker restart [2021-06-15T02:19:46.981Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T02:20:05.518Z] provisioning config files... [2021-06-15T02:20:05.549Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1103209956210202773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:20:06.213Z] ---> docker-login.sh [2021-06-15T02:20:06.213Z] nexus3.edgexfoundry.org:10001 [2021-06-15T02:20:06.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:07.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:07.449Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:07.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:07.449Z] [2021-06-15T02:20:07.449Z] Login Succeeded [2021-06-15T02:20:07.449Z] nexus3.edgexfoundry.org:10002 [2021-06-15T02:20:07.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:08.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:08.071Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:08.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:08.071Z] [2021-06-15T02:20:08.071Z] Login Succeeded [2021-06-15T02:20:08.071Z] nexus3.edgexfoundry.org:10003 [2021-06-15T02:20:08.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:08.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:08.632Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:08.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:08.632Z] [2021-06-15T02:20:08.632Z] Login Succeeded [2021-06-15T02:20:08.632Z] nexus3.edgexfoundry.org:10004 [2021-06-15T02:20:09.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:09.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:09.238Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:09.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:09.238Z] [2021-06-15T02:20:09.238Z] Login Succeeded [2021-06-15T02:20:09.238Z] docker.io [2021-06-15T02:20:09.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:10.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:10.127Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:10.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:10.127Z] [2021-06-15T02:20:10.127Z] Login Succeeded [2021-06-15T02:20:10.127Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T02:20:10.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-15T02:20:10.897Z] ========================================================= [2021-06-15T02:20:10.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-15T02:20:10.897Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:20:11.369Z] + 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-15T02:20:11.655Z] Sending build context to Docker daemon 386kB [2021-06-15T02:20:11.936Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T02:20:11.936Z] Step 2/10 : FROM ${BASE} [2021-06-15T02:20:12.216Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-15T02:20:12.216Z] 595b0fe564bb: Pulling fs layer [2021-06-15T02:20:12.216Z] 3088b5b3c5c0: Pulling fs layer [2021-06-15T02:20:12.216Z] 5b7225fbf94c: Pulling fs layer [2021-06-15T02:20:12.216Z] ba82ee9f976e: Pulling fs layer [2021-06-15T02:20:12.216Z] 506bd15cee9f: Pulling fs layer [2021-06-15T02:20:12.216Z] 75a0a4a0db45: Pulling fs layer [2021-06-15T02:20:12.216Z] 618dc40b7e24: Pulling fs layer [2021-06-15T02:20:12.216Z] 75a0a4a0db45: Waiting [2021-06-15T02:20:12.216Z] ba82ee9f976e: Waiting [2021-06-15T02:20:12.216Z] 506bd15cee9f: Waiting [2021-06-15T02:20:12.216Z] 618dc40b7e24: Waiting [2021-06-15T02:20:12.216Z] 5b7225fbf94c: Verifying Checksum [2021-06-15T02:20:12.216Z] 5b7225fbf94c: Download complete [2021-06-15T02:20:12.216Z] 3088b5b3c5c0: Verifying Checksum [2021-06-15T02:20:12.216Z] 3088b5b3c5c0: Download complete [2021-06-15T02:20:12.216Z] 506bd15cee9f: Verifying Checksum [2021-06-15T02:20:12.216Z] 506bd15cee9f: Download complete [2021-06-15T02:20:12.216Z] 75a0a4a0db45: Verifying Checksum [2021-06-15T02:20:12.216Z] 75a0a4a0db45: Download complete [2021-06-15T02:20:12.216Z] 595b0fe564bb: Verifying Checksum [2021-06-15T02:20:12.216Z] 595b0fe564bb: Download complete [2021-06-15T02:20:13.266Z] 595b0fe564bb: Pull complete [2021-06-15T02:20:13.873Z] 3088b5b3c5c0: Pull complete [2021-06-15T02:20:14.156Z] 5b7225fbf94c: Pull complete [2021-06-15T02:20:15.169Z] 618dc40b7e24: Download complete [2021-06-15T02:20:16.190Z] ba82ee9f976e: Verifying Checksum [2021-06-15T02:20:16.190Z] ba82ee9f976e: Download complete [2021-06-15T02:20:21.525Z] Running on prd-centos7-docker-4c-2g-1391 in /w/workspace/gexfoundry_device-snmp-go_PR-111 [Pipeline] { [Pipeline] ws [2021-06-15T02:20:21.600Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-15T02:20:21.864Z] Selected Git installation does not exist. Using Default [2021-06-15T02:20:21.864Z] The recommended git tool is: NONE [2021-06-15T02:20:25.946Z] using credential edgex-jenkins-ssh [2021-06-15T02:20:25.960Z] Cloning the remote Git repository [2021-06-15T02:20:25.982Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-15T02:20:26.056Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-15T02:20:26.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-15T02:20:26.100Z] > git --version # timeout=10 [2021-06-15T02:20:26.109Z] > git --version # 'git version 2.24.4' [2021-06-15T02:20:26.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T02:20:26.153Z] [INFO] Currently running in a labeled security context [2021-06-15T02:20:26.154Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T02:20:26.154Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh7274505287193191089.key [2021-06-15T02:20:26.177Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T02:20:26.846Z] ba82ee9f976e: Pull complete [2021-06-15T02:20:27.126Z] 506bd15cee9f: Pull complete [2021-06-15T02:20:27.307Z] Merging remotes/origin/master commit bdf6c703ff7e4dc9654b1e05af75b33f1f140285 into PR head commit dbb48137720fbdb754a996821617a7a87d11ec02 [2021-06-15T02:20:27.407Z] Merge succeeded, producing dbb48137720fbdb754a996821617a7a87d11ec02 [2021-06-15T02:20:27.408Z] Checking out Revision dbb48137720fbdb754a996821617a7a87d11ec02 (PR-111) [2021-06-15T02:20:27.416Z] 75a0a4a0db45: Pull complete [2021-06-15T02:20:26.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-15T02:20:26.867Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T02:20:26.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-15T02:20:26.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-15T02:20:26.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T02:20:26.893Z] [INFO] Currently running in a labeled security context [2021-06-15T02:20:26.893Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T02:20:26.893Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh8547914653255329479.key [2021-06-15T02:20:26.898Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-15T02:20:27.323Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T02:20:27.330Z] > git checkout -f dbb48137720fbdb754a996821617a7a87d11ec02 # timeout=10 [2021-06-15T02:20:27.372Z] > git remote # timeout=10 [2021-06-15T02:20:27.376Z] > git config --get remote.origin.url # timeout=10 [2021-06-15T02:20:27.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T02:20:27.384Z] [INFO] Currently running in a labeled security context [2021-06-15T02:20:27.384Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T02:20:27.384Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh216530193372151878.key [2021-06-15T02:20:27.388Z] > git merge bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 [2021-06-15T02:20:27.396Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-15T02:20:27.413Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T02:20:27.418Z] > git checkout -f dbb48137720fbdb754a996821617a7a87d11ec02 # timeout=10 [2021-06-15T02:20:31.257Z] Commit message: "refactor: bump dependency version and update import path" [2021-06-15T02:20:31.288Z] > git --version # timeout=10 [2021-06-15T02:20:31.294Z] > git --version # 'git version 2.24.4' [2021-06-15T02:20:31.299Z] fatal: bad object f4a1163c6b2b14014f487cca778b157dcbc6cc6b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T02:20:32.622Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-15T02:20:32.890Z] 618dc40b7e24: Pull complete [2021-06-15T02:20:32.890Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-15T02:20:32.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-15T02:20:32.890Z] ---> a36622ca3599 [2021-06-15T02:20:32.890Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-15T02:20:33.001Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-15T02:20:33.176Z] ---> Running in ef6dd92e58f1 [2021-06-15T02:20:33.342Z] + sudo service docker restart [2021-06-15T02:20:33.342Z] + true [2021-06-15T02:20:33.342Z] Redirecting to /bin/systemctl restart docker.service [2021-06-15T02:20:33.455Z] Removing intermediate container ef6dd92e58f1 [2021-06-15T02:20:33.455Z] ---> ec7ef2520e9b [2021-06-15T02:20:33.455Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-15T02:20:33.735Z] ---> Running in 7bdc3c9bea7a [2021-06-15T02:20:34.014Z] Removing intermediate container 7bdc3c9bea7a [2021-06-15T02:20:34.014Z] ---> 8e0fe6d92d00 [2021-06-15T02:20:34.014Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-15T02:20:34.295Z] ---> Running in 98d1575a1d3c [2021-06-15T02:20:34.584Z] Removing intermediate container 98d1575a1d3c [2021-06-15T02:20:34.584Z] ---> eefcd584e056 [2021-06-15T02:20:34.584Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T02:20:34.857Z] ---> Running in f26caf1e4fe7 [2021-06-15T02:20:37.494Z] Removing intermediate container f26caf1e4fe7 [2021-06-15T02:20:37.494Z] ---> 59795bd43351 [2021-06-15T02:20:37.494Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-15T02:20:37.494Z] ---> Running in 56ad72bed061 [2021-06-15T02:20:38.492Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-15T02:20:39.525Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-15T02:20:40.521Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-15T02:20:40.521Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-15T02:20:40.521Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-15T02:20:40.797Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-15T02:20:40.797Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-15T02:20:40.797Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-15T02:20:41.074Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-15T02:20:41.348Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-15T02:20:41.348Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-15T02:20:41.633Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-15T02:20:41.634Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-15T02:20:41.634Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-15T02:20:41.911Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-15T02:20:41.911Z] Executing busybox-1.32.1-r6.trigger [2021-06-15T02:20:41.911Z] OK: 145 MiB in 53 packages [2021-06-15T02:20:43.371Z] Removing intermediate container 56ad72bed061 [2021-06-15T02:20:43.371Z] ---> ac05a8fce3c0 [2021-06-15T02:20:43.371Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-15T02:20:43.371Z] ---> Running in 092b61508138 [2021-06-15T02:20:43.987Z] Removing intermediate container 092b61508138 [2021-06-15T02:20:43.987Z] ---> 6bb249c28d5c [2021-06-15T02:20:43.987Z] Step 9/10 : COPY . . [2021-06-15T02:20:45.005Z] ---> be230d23154f [2021-06-15T02:20:45.005Z] Step 10/10 : RUN go mod download [2021-06-15T02:20:45.005Z] ---> Running in 4a80fe1b2834 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T02:20:51.724Z] provisioning config files... [2021-06-15T02:20:51.743Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2640197917624282597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:20:52.146Z] ---> docker-login.sh [2021-06-15T02:20:52.146Z] nexus3.edgexfoundry.org:10001 [2021-06-15T02:20:52.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:52.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:52.739Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:52.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:52.739Z] [2021-06-15T02:20:52.739Z] Login Succeeded [2021-06-15T02:20:52.739Z] nexus3.edgexfoundry.org:10002 [2021-06-15T02:20:52.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:52.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:52.739Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:52.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:52.739Z] [2021-06-15T02:20:52.739Z] Login Succeeded [2021-06-15T02:20:52.739Z] nexus3.edgexfoundry.org:10003 [2021-06-15T02:20:52.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:53.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:53.044Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:53.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:53.044Z] [2021-06-15T02:20:53.044Z] Login Succeeded [2021-06-15T02:20:53.044Z] nexus3.edgexfoundry.org:10004 [2021-06-15T02:20:53.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:53.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:53.044Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:53.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:53.044Z] [2021-06-15T02:20:53.044Z] Login Succeeded [2021-06-15T02:20:53.044Z] docker.io [2021-06-15T02:20:53.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-15T02:20:53.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-15T02:20:53.316Z] Configure a credential helper to remove this warning. See [2021-06-15T02:20:53.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-15T02:20:53.316Z] [2021-06-15T02:20:53.316Z] Login Succeeded [2021-06-15T02:20:53.330Z] ---> docker-login.sh ends [Pipeline] } [2021-06-15T02:20:53.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-15T02:20:53.763Z] ========================================================= [2021-06-15T02:20:53.763Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-15T02:20:53.763Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:20:54.300Z] + 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-15T02:20:54.300Z] Sending build context to Docker daemon 387.1kB [2021-06-15T02:20:54.300Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T02:20:54.300Z] Step 2/10 : FROM ${BASE} [2021-06-15T02:20:54.574Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-15T02:20:54.574Z] 540db60ca938: Pulling fs layer [2021-06-15T02:20:54.574Z] adcc1eea9eea: Pulling fs layer [2021-06-15T02:20:54.574Z] 4c4ab2625f07: Pulling fs layer [2021-06-15T02:20:54.574Z] 0510c868ecb4: Pulling fs layer [2021-06-15T02:20:54.574Z] afea3b2eda06: Pulling fs layer [2021-06-15T02:20:54.574Z] 7809a108b3ef: Pulling fs layer [2021-06-15T02:20:54.574Z] f706445af74f: Pulling fs layer [2021-06-15T02:20:54.574Z] 0510c868ecb4: Waiting [2021-06-15T02:20:54.574Z] afea3b2eda06: Waiting [2021-06-15T02:20:54.574Z] 7809a108b3ef: Waiting [2021-06-15T02:20:54.574Z] f706445af74f: Waiting [2021-06-15T02:20:54.574Z] 4c4ab2625f07: Verifying Checksum [2021-06-15T02:20:54.574Z] 4c4ab2625f07: Download complete [2021-06-15T02:20:54.574Z] adcc1eea9eea: Verifying Checksum [2021-06-15T02:20:54.574Z] adcc1eea9eea: Download complete [2021-06-15T02:20:54.574Z] afea3b2eda06: Verifying Checksum [2021-06-15T02:20:54.574Z] afea3b2eda06: Download complete [2021-06-15T02:20:54.574Z] 7809a108b3ef: Verifying Checksum [2021-06-15T02:20:54.574Z] 7809a108b3ef: Download complete [2021-06-15T02:20:54.574Z] 540db60ca938: Verifying Checksum [2021-06-15T02:20:54.574Z] 540db60ca938: Download complete [2021-06-15T02:20:54.855Z] 540db60ca938: Pull complete [2021-06-15T02:20:55.133Z] adcc1eea9eea: Pull complete [2021-06-15T02:20:55.134Z] 4c4ab2625f07: Pull complete [2021-06-15T02:20:57.826Z] f706445af74f: Verifying Checksum [2021-06-15T02:20:57.826Z] f706445af74f: Download complete [2021-06-15T02:20:58.147Z] 0510c868ecb4: Verifying Checksum [2021-06-15T02:20:58.147Z] 0510c868ecb4: Download complete [2021-06-15T02:21:01.690Z] 0510c868ecb4: Pull complete [2021-06-15T02:21:01.970Z] afea3b2eda06: Pull complete [2021-06-15T02:21:01.970Z] 7809a108b3ef: Pull complete [2021-06-15T02:21:03.386Z] f706445af74f: Pull complete [2021-06-15T02:21:03.386Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-15T02:21:03.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-15T02:21:03.386Z] ---> b068be0155e3 [2021-06-15T02:21:03.386Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-15T02:21:12.012Z] Removing intermediate container 4a80fe1b2834 [2021-06-15T02:21:12.012Z] ---> 4a59d6615cac [2021-06-15T02:21:12.012Z] Successfully built 4a59d6615cac [2021-06-15T02:21:12.012Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:21:12.414Z] + docker inspect -f . ci-base-image-arm64 [2021-06-15T02:21:12.414Z] . [Pipeline] withDockerContainer [2021-06-15T02:21:12.736Z] prd-ubuntu18.04-docker-arm64-4c-16g-1390 does not seem to be running inside a container [2021-06-15T02:21:12.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-15T02:21:14.515Z] $ docker top cc059141aa14f9b99ce12f45416e95850f80709e75c4f15106b7e09bef87bed4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T02:21:15.589Z] + go version [2021-06-15T02:21:15.589Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-15T02:21:15.640Z] $ docker stop --time=1 cc059141aa14f9b99ce12f45416e95850f80709e75c4f15106b7e09bef87bed4 [2021-06-15T02:21:15.843Z] ---> Running in 8abcfd4470ba [2021-06-15T02:21:15.843Z] Removing intermediate container 8abcfd4470ba [2021-06-15T02:21:15.843Z] ---> 2c78d4a864b4 [2021-06-15T02:21:15.843Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-15T02:21:15.843Z] ---> Running in fe9c55609cd3 [2021-06-15T02:21:15.843Z] Removing intermediate container fe9c55609cd3 [2021-06-15T02:21:15.843Z] ---> 54609bce4622 [2021-06-15T02:21:15.843Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-15T02:21:15.843Z] ---> Running in 20eabf436ea1 [2021-06-15T02:21:16.115Z] Removing intermediate container 20eabf436ea1 [2021-06-15T02:21:16.115Z] ---> 77531a5977e3 [2021-06-15T02:21:16.115Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T02:21:16.115Z] ---> Running in 4c061d304da4 [2021-06-15T02:21:17.088Z] Removing intermediate container 4c061d304da4 [2021-06-15T02:21:17.088Z] ---> 1157c880cc55 [2021-06-15T02:21:17.088Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-15T02:21:17.363Z] ---> Running in 7ac63ddd43b0 [2021-06-15T02:21:17.451Z] $ docker rm -f cc059141aa14f9b99ce12f45416e95850f80709e75c4f15106b7e09bef87bed4 [2021-06-15T02:21:17.626Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:21:18.550Z] + docker inspect -f . ci-base-image-arm64 [2021-06-15T02:21:18.551Z] . [2021-06-15T02:21:18.578Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] withDockerContainer [2021-06-15T02:21:18.805Z] prd-ubuntu18.04-docker-arm64-4c-16g-1390 does not seem to be running inside a container [2021-06-15T02:21:18.846Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-15T02:21:18.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-15T02:21:19.112Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-15T02:21:19.113Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-15T02:21:19.113Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-15T02:21:19.113Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-15T02:21:19.380Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-15T02:21:19.380Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-15T02:21:19.650Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-15T02:21:19.650Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-15T02:21:19.914Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-15T02:21:20.183Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-15T02:21:20.183Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-15T02:21:20.183Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-15T02:21:20.378Z] $ docker top 711c0fe057048aeb26de31d050020d1f0f1f97cbc5b81d51bf8484540eabd768 -eo pid,comm [2021-06-15T02:21:20.453Z] Executing busybox-1.32.1-r6.trigger [2021-06-15T02:21:20.453Z] OK: 156 MiB in 53 packages [Pipeline] { [Pipeline] sh [2021-06-15T02:21:21.027Z] Removing intermediate container 7ac63ddd43b0 [2021-06-15T02:21:21.027Z] ---> bf4c377efaca [2021-06-15T02:21:21.027Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-15T02:21:21.027Z] ---> Running in 9301608424ef [2021-06-15T02:21:21.292Z] Removing intermediate container 9301608424ef [2021-06-15T02:21:21.292Z] ---> ed25cb60371c [2021-06-15T02:21:21.292Z] Step 9/10 : COPY . . [2021-06-15T02:21:21.434Z] + go mod tidy [2021-06-15T02:21:21.558Z] ---> 90d1429a0d48 [2021-06-15T02:21:21.558Z] Step 10/10 : RUN go mod download [2021-06-15T02:21:21.558Z] ---> Running in 9d61df6a0142 [Pipeline] sh [2021-06-15T02:21:22.737Z] + make test [2021-06-15T02:21:22.737Z] go mod tidy [2021-06-15T02:21:23.343Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-15T02:21:24.785Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-15T02:21:43.857Z] Removing intermediate container 9d61df6a0142 [2021-06-15T02:21:43.857Z] ---> b9a2c4c84e19 [2021-06-15T02:21:43.857Z] Successfully built b9a2c4c84e19 [2021-06-15T02:21:43.857Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:21:44.243Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-15T02:21:44.243Z] . [Pipeline] withDockerContainer [2021-06-15T02:21:44.374Z] prd-centos7-docker-4c-2g-1391 does not seem to be running inside a container [2021-06-15T02:21:44.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-15T02:21:45.056Z] $ docker top 34fccba75807fd840c02094f3a505b32a52b5722289c107ed415a3e87e6d0611 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T02:21:45.516Z] + go version [2021-06-15T02:21:45.516Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-15T02:21:45.571Z] $ docker stop --time=1 34fccba75807fd840c02094f3a505b32a52b5722289c107ed415a3e87e6d0611 [2021-06-15T02:21:46.926Z] $ docker rm -f 34fccba75807fd840c02094f3a505b32a52b5722289c107ed415a3e87e6d0611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:21:47.848Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-15T02:21:47.848Z] . [Pipeline] withDockerContainer [2021-06-15T02:21:47.993Z] prd-centos7-docker-4c-2g-1391 does not seem to be running inside a container [2021-06-15T02:21:48.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-15T02:21:48.661Z] $ docker top eec9b5810cdddf5666d77476a56355ec346d837bc25d6f2948f30ac27613e107 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T02:21:49.135Z] + go mod tidy [Pipeline] sh [2021-06-15T02:21:49.728Z] + make test [2021-06-15T02:21:49.728Z] go mod tidy [2021-06-15T02:21:49.728Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-15T02:21:50.312Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-15T02:22:08.575Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-15T02:22:08.575Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-06-15T02:22:08.575Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-15T02:22:12.150Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-15T02:22:12.150Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.037s coverage: 0.0% of statements [2021-06-15T02:22:12.430Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-15T02:22:12.896Z] gofmt -l . [2021-06-15T02:22:12.896Z] [ "`gofmt -l .`" = "" ] [2021-06-15T02:22:12.896Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-15T02:22:13.533Z] $ docker stop --time=1 eec9b5810cdddf5666d77476a56355ec346d837bc25d6f2948f30ac27613e107 [2021-06-15T02:22:15.153Z] $ docker rm -f eec9b5810cdddf5666d77476a56355ec346d837bc25d6f2948f30ac27613e107 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T02:22:15.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-15T02:22:15.895Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-15T02:22:17.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-15T02:22:17.567Z] + ls -al . [2021-06-15T02:22:17.567Z] total 104 [2021-06-15T02:22:17.567Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 15 02:22 . [2021-06-15T02:22:17.567Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 02:20 .. [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 15 02:20 Attribution.txt [2021-06-15T02:22:17.567Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 15 02:20 bin [2021-06-15T02:22:17.567Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 02:20 cmd [2021-06-15T02:22:17.567Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 15 02:22 coverage.out [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 15 02:20 Dockerfile [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 15 02:20 Dockerfile.build [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 15 02:20 .dockerignore [2021-06-15T02:22:17.567Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 15 02:20 .git [2021-06-15T02:22:17.567Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 15 02:20 .github [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 15 02:20 .gitignore [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 223 Jun 15 02:20 go.mod [2021-06-15T02:22:17.567Z] -rw-r--r--. 1 jenkins jenkins 21038 Jun 15 02:21 go.sum [2021-06-15T02:22:17.567Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 15 02:20 internal [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 15 02:20 Jenkinsfile [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 02:20 LICENSE [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 15 02:20 Makefile [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 15 02:20 README.md [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 02:16 VERSION [2021-06-15T02:22:17.567Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 15 02:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:22:17.915Z] + 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=dbb48137720fbdb754a996821617a7a87d11ec02 --label arch=amd64 --label version=0.0.0 . [2021-06-15T02:22:17.915Z] Sending build context to Docker daemon 395.3kB [2021-06-15T02:22:17.915Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T02:22:17.915Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-15T02:22:17.915Z] ---> b9a2c4c84e19 [2021-06-15T02:22:17.915Z] Step 3/24 : ARG MAKE='make build' [2021-06-15T02:22:17.915Z] ---> Running in b4686166fb03 [2021-06-15T02:22:18.178Z] Removing intermediate container b4686166fb03 [2021-06-15T02:22:18.178Z] ---> ac31a01634a6 [2021-06-15T02:22:18.178Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-15T02:22:18.178Z] ---> Running in 73dd236a4719 [2021-06-15T02:22:18.446Z] Removing intermediate container 73dd236a4719 [2021-06-15T02:22:18.446Z] ---> b7deae568069 [2021-06-15T02:22:18.446Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-15T02:22:18.446Z] ---> Running in 3d650574d0ad [2021-06-15T02:22:18.712Z] Removing intermediate container 3d650574d0ad [2021-06-15T02:22:18.712Z] ---> 541e7694e711 [2021-06-15T02:22:18.712Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T02:22:18.712Z] ---> Running in 0cbc1d68919e [2021-06-15T02:22:19.659Z] Removing intermediate container 0cbc1d68919e [2021-06-15T02:22:19.659Z] ---> db628465bd97 [2021-06-15T02:22:19.659Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-15T02:22:19.659Z] ---> Running in 5d344ca3c3ee [2021-06-15T02:22:20.234Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-15T02:22:21.207Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-15T02:22:21.470Z] OK: 156 MiB in 53 packages [2021-06-15T02:22:21.731Z] Removing intermediate container 5d344ca3c3ee [2021-06-15T02:22:21.731Z] ---> 4f9046ff16a6 [2021-06-15T02:22:21.731Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-15T02:22:21.731Z] ---> Running in 9f21967877fe [2021-06-15T02:22:21.998Z] Removing intermediate container 9f21967877fe [2021-06-15T02:22:21.998Z] ---> 82a6d90b9b69 [2021-06-15T02:22:21.998Z] Step 9/24 : COPY . . [2021-06-15T02:22:21.998Z] ---> d653ea2aee1d [2021-06-15T02:22:21.998Z] Step 10/24 : RUN go mod tidy [2021-06-15T02:22:22.259Z] ---> Running in a07ae51f3d99 [2021-06-15T02:22:22.832Z] Removing intermediate container a07ae51f3d99 [2021-06-15T02:22:22.832Z] ---> 52fbe027d367 [2021-06-15T02:22:22.832Z] Step 11/24 : RUN make update [2021-06-15T02:22:22.832Z] ---> Running in 56d46c0f9d62 [2021-06-15T02:22:23.096Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-15T02:22:23.680Z] Removing intermediate container 56d46c0f9d62 [2021-06-15T02:22:23.680Z] ---> a952653ecf9e [2021-06-15T02:22:23.680Z] Step 12/24 : RUN ${MAKE} [2021-06-15T02:22:23.680Z] ---> Running in 714586cd0b34 [2021-06-15T02:22:23.973Z] go mod tidy [2021-06-15T02:22:24.239Z] 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-15T02:22:36.587Z] Removing intermediate container 714586cd0b34 [2021-06-15T02:22:36.587Z] ---> 5be1642db5a9 [2021-06-15T02:22:36.587Z] Step 13/24 : FROM alpine:3.12 [2021-06-15T02:22:36.852Z] 3.12: Pulling from library/alpine [2021-06-15T02:22:36.852Z] 339de151aab4: Pulling fs layer [2021-06-15T02:22:37.115Z] 339de151aab4: Verifying Checksum [2021-06-15T02:22:37.115Z] 339de151aab4: Download complete [2021-06-15T02:22:37.406Z] 339de151aab4: Pull complete [2021-06-15T02:22:37.406Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-15T02:22:37.406Z] Status: Downloaded newer image for alpine:3.12 [2021-06-15T02:22:37.406Z] ---> 13621d1b12d4 [2021-06-15T02:22:37.406Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-15T02:22:37.406Z] ---> Running in cd5f6d48f6bc [2021-06-15T02:22:37.675Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-15T02:22:37.955Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-15T02:22:37.955Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-15T02:22:37.955Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-15T02:22:37.955Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-15T02:22:37.955Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-15T02:22:37.955Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-15T02:22:38.226Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-15T02:22:38.226Z] Executing busybox-1.31.1-r20.trigger [2021-06-15T02:22:38.226Z] OK: 8 MiB in 20 packages [2021-06-15T02:22:38.502Z] Removing intermediate container cd5f6d48f6bc [2021-06-15T02:22:38.502Z] ---> 8212c92a502a [2021-06-15T02:22:38.502Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-15T02:22:39.091Z] ---> ac80a5c58e43 [2021-06-15T02:22:39.091Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-15T02:22:39.091Z] ---> 266bad8dd926 [2021-06-15T02:22:39.091Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-15T02:22:39.345Z] gofmt -l . [2021-06-15T02:22:39.345Z] [ "`gofmt -l .`" = "" ] [2021-06-15T02:22:39.345Z] ./bin/test-attribution-txt.sh [2021-06-15T02:22:39.366Z] ---> b126a8fd437e [2021-06-15T02:22:39.366Z] Step 18/24 : EXPOSE 59993 [2021-06-15T02:22:39.366Z] ---> Running in c3207154f1f1 [2021-06-15T02:22:39.366Z] Removing intermediate container c3207154f1f1 [2021-06-15T02:22:39.366Z] ---> 317e2f6cc88d [2021-06-15T02:22:39.366Z] Step 19/24 : EXPOSE 161 [2021-06-15T02:22:39.366Z] ---> Running in fab8691003c6 [Pipeline] } [2021-06-15T02:22:39.459Z] $ docker stop --time=1 711c0fe057048aeb26de31d050020d1f0f1f97cbc5b81d51bf8484540eabd768 [2021-06-15T02:22:39.680Z] Removing intermediate container fab8691003c6 [2021-06-15T02:22:39.680Z] ---> 16a918f31ad9 [2021-06-15T02:22:39.680Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-15T02:22:39.680Z] ---> Running in 0ecef876f150 [2021-06-15T02:22:39.680Z] Removing intermediate container 0ecef876f150 [2021-06-15T02:22:39.680Z] ---> 7fb8c51c0898 [2021-06-15T02:22:39.680Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-15T02:22:39.680Z] ---> Running in f235293d9159 [2021-06-15T02:22:39.680Z] Removing intermediate container f235293d9159 [2021-06-15T02:22:39.680Z] ---> 4bb7a0ce3b0e [2021-06-15T02:22:39.680Z] Step 22/24 : LABEL arch=amd64 [2021-06-15T02:22:39.680Z] ---> Running in 13b28787ad8f [2021-06-15T02:22:39.941Z] Removing intermediate container 13b28787ad8f [2021-06-15T02:22:39.941Z] ---> 154797a5d6d5 [2021-06-15T02:22:39.941Z] Step 23/24 : LABEL git_sha=dbb48137720fbdb754a996821617a7a87d11ec02 [2021-06-15T02:22:39.941Z] ---> Running in 0b6d707531d2 [2021-06-15T02:22:39.941Z] Removing intermediate container 0b6d707531d2 [2021-06-15T02:22:39.941Z] ---> 5be38b370eb9 [2021-06-15T02:22:39.941Z] Step 24/24 : LABEL version=0.0.0 [2021-06-15T02:22:39.941Z] ---> Running in b9880ee094cd [2021-06-15T02:22:39.941Z] Removing intermediate container b9880ee094cd [2021-06-15T02:22:39.941Z] ---> c2476d4650eb [2021-06-15T02:22:39.941Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-15T02:22:39.941Z] Successfully built c2476d4650eb [2021-06-15T02:22:39.941Z] Successfully tagged device-snmp:latest [2021-06-15T02:22:41.517Z] $ docker rm -f 711c0fe057048aeb26de31d050020d1f0f1f97cbc5b81d51bf8484540eabd768 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-06-15T02:22:42.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-15T02:22:42.523Z] Warning: overwriting stash ‘coverage-report’ 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-15T02:22:43.097Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [2021-06-15T02:22:43.345Z] ---> job-cost.sh [2021-06-15T02:22:43.345Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YabG [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T02:22:43.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-15T02:22:44.257Z] + ls -al . [2021-06-15T02:22:44.257Z] total 128 [2021-06-15T02:22:44.257Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 15 02:22 . [2021-06-15T02:22:44.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 02:19 .. [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 15 02:19 .dockerignore [2021-06-15T02:22:44.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 02:19 .git [2021-06-15T02:22:44.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 02:19 .github [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 15 02:19 .gitignore [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 15 02:19 Attribution.txt [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 15 02:19 Dockerfile [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 15 02:19 Dockerfile.build [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 15 02:19 Jenkinsfile [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 02:19 LICENSE [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 15 02:19 Makefile [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 15 02:19 README.md [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 02:16 VERSION [2021-06-15T02:22:44.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 02:19 bin [2021-06-15T02:22:44.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 02:19 cmd [2021-06-15T02:22:44.257Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 15 02:22 coverage.out [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 223 Jun 15 02:19 go.mod [2021-06-15T02:22:44.257Z] -rw-r--r-- 1 jenkins jenkins 21038 Jun 15 02:21 go.sum [2021-06-15T02:22:44.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 02:19 internal [2021-06-15T02:22:44.257Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 15 02:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:22:44.815Z] + 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=dbb48137720fbdb754a996821617a7a87d11ec02 --label arch=arm64 --label version=0.0.0 . [2021-06-15T02:22:45.116Z] Sending build context to Docker daemon 394.2kB [2021-06-15T02:22:45.116Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T02:22:45.116Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-15T02:22:45.116Z] ---> 4a59d6615cac [2021-06-15T02:22:45.116Z] Step 3/24 : ARG MAKE='make build' [2021-06-15T02:22:45.395Z] ---> Running in b439955beacd [2021-06-15T02:22:46.043Z] Removing intermediate container b439955beacd [2021-06-15T02:22:46.043Z] ---> 78fc1631f160 [2021-06-15T02:22:46.043Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-15T02:22:46.043Z] ---> Running in c7c7102ea5c6 [2021-06-15T02:22:46.656Z] Removing intermediate container c7c7102ea5c6 [2021-06-15T02:22:46.656Z] ---> e61f0d7ab418 [2021-06-15T02:22:46.656Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-15T02:22:46.934Z] ---> Running in 2af8be62695c [2021-06-15T02:22:47.209Z] Removing intermediate container 2af8be62695c [2021-06-15T02:22:47.209Z] ---> a20e45ee1355 [2021-06-15T02:22:47.209Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-15T02:22:47.483Z] ---> Running in 855c9ce4dbae [2021-06-15T02:22:50.123Z] Removing intermediate container 855c9ce4dbae [2021-06-15T02:22:50.123Z] ---> 3e50d2af43ad [2021-06-15T02:22:50.123Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-15T02:22:50.123Z] ---> Running in 3bb3c6b853f7 [2021-06-15T02:22:51.112Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-15T02:22:52.101Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-15T02:22:53.114Z] OK: 145 MiB in 53 packages [2021-06-15T02:22:54.130Z] Removing intermediate container 3bb3c6b853f7 [2021-06-15T02:22:54.130Z] ---> 9e20d1286bad [2021-06-15T02:22:54.130Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-15T02:22:54.130Z] ---> Running in 6ce2f8d8006a [2021-06-15T02:22:54.742Z] Removing intermediate container 6ce2f8d8006a [2021-06-15T02:22:54.742Z] ---> 6eec0d436203 [2021-06-15T02:22:54.742Z] Step 9/24 : COPY . . [2021-06-15T02:22:55.653Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-15T02:22:56.179Z] ---> fe9935886a86 [2021-06-15T02:22:56.179Z] Step 10/24 : RUN go mod tidy [2021-06-15T02:22:56.179Z] ---> Running in 420d9e829f0e [2021-06-15T02:22:59.579Z] Removing intermediate container 420d9e829f0e [2021-06-15T02:22:59.579Z] ---> 35455dd0f67f [2021-06-15T02:22:59.579Z] Step 11/24 : RUN make update [2021-06-15T02:22:59.852Z] ---> Running in 2bfab78aefae [2021-06-15T02:23:00.900Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-15T02:23:02.351Z] Removing intermediate container 2bfab78aefae [2021-06-15T02:23:02.351Z] ---> c5a687ecec30 [2021-06-15T02:23:02.351Z] Step 12/24 : RUN ${MAKE} [2021-06-15T02:23:02.351Z] ---> Running in 18953801f58a [2021-06-15T02:23:03.354Z] go mod tidy [2021-06-15T02:23:03.952Z] 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-15T02:23:10.658Z] lf-activate-venv(): INFO: Adding /tmp/venv-YabG/bin to PATH [2021-06-15T02:23:10.658Z] INFO: No Stack... [2021-06-15T02:23:10.658Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-15T02:23:10.658Z] INFO: Archiving Costs [Pipeline] sh [2021-06-15T02:23:11.161Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-06-15T02:23:11.161Z] + cut -d, -f6 [Pipeline] lock [2021-06-15T02:23:11.244Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-111-1-stack-cost] [2021-06-15T02:23:11.251Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-111-1-stack-cost] did not exist. Created. [2021-06-15T02:23:11.252Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-15T02:23:11.740Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-15T02:23:11.844Z] Stashed 1 file(s) [Pipeline] } [2021-06-15T02:23:11.865Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-111-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-15T02:23:43.386Z] Removing intermediate container 18953801f58a [2021-06-15T02:23:43.386Z] ---> 8c1b0b9238a8 [2021-06-15T02:23:43.386Z] Step 13/24 : FROM alpine:3.12 [2021-06-15T02:23:43.386Z] 3.12: Pulling from library/alpine [2021-06-15T02:23:43.386Z] d2f70382dc9a: Pulling fs layer [2021-06-15T02:23:43.386Z] d2f70382dc9a: Verifying Checksum [2021-06-15T02:23:43.386Z] d2f70382dc9a: Download complete [2021-06-15T02:23:43.386Z] d2f70382dc9a: Pull complete [2021-06-15T02:23:43.386Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-15T02:23:43.386Z] Status: Downloaded newer image for alpine:3.12 [2021-06-15T02:23:43.386Z] ---> 9852663dfa18 [2021-06-15T02:23:43.386Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-15T02:23:43.386Z] ---> Running in 6e7dba83ef33 [2021-06-15T02:23:43.386Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-15T02:23:43.386Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-15T02:23:43.386Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-15T02:23:43.386Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-15T02:23:43.386Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-15T02:23:43.386Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-15T02:23:43.386Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-15T02:23:43.386Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-15T02:23:43.386Z] Executing busybox-1.31.1-r20.trigger [2021-06-15T02:23:43.386Z] OK: 8 MiB in 20 packages [2021-06-15T02:23:44.851Z] Removing intermediate container 6e7dba83ef33 [2021-06-15T02:23:44.851Z] ---> a83c9f29104d [2021-06-15T02:23:44.851Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-15T02:23:45.849Z] ---> 92f9168a1e86 [2021-06-15T02:23:45.849Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-15T02:23:46.831Z] ---> 2452b1e3adb9 [2021-06-15T02:23:46.831Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-15T02:23:47.811Z] ---> 3a43096461d8 [2021-06-15T02:23:47.811Z] Step 18/24 : EXPOSE 59993 [2021-06-15T02:23:47.811Z] ---> Running in 486260f243ba [2021-06-15T02:23:48.410Z] Removing intermediate container 486260f243ba [2021-06-15T02:23:48.410Z] ---> d9642b8e27e4 [2021-06-15T02:23:48.410Z] Step 19/24 : EXPOSE 161 [2021-06-15T02:23:48.686Z] ---> Running in 9fe39782374a [2021-06-15T02:23:48.961Z] Removing intermediate container 9fe39782374a [2021-06-15T02:23:48.962Z] ---> 19174c94aac9 [2021-06-15T02:23:48.962Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-15T02:23:49.238Z] ---> Running in 609f7457b9ab [2021-06-15T02:23:49.864Z] Removing intermediate container 609f7457b9ab [2021-06-15T02:23:49.864Z] ---> ed28f221cd10 [2021-06-15T02:23:49.864Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-15T02:23:49.864Z] ---> Running in 164d4c9a378e [2021-06-15T02:23:50.460Z] Removing intermediate container 164d4c9a378e [2021-06-15T02:23:50.460Z] ---> d71226f4827c [2021-06-15T02:23:50.460Z] Step 22/24 : LABEL arch=arm64 [2021-06-15T02:23:50.733Z] ---> Running in 9f95e19489be [2021-06-15T02:23:51.010Z] Removing intermediate container 9f95e19489be [2021-06-15T02:23:51.010Z] ---> d7b5eda30819 [2021-06-15T02:23:51.010Z] Step 23/24 : LABEL git_sha=dbb48137720fbdb754a996821617a7a87d11ec02 [2021-06-15T02:23:51.291Z] ---> Running in e4c5916e7ee5 [2021-06-15T02:23:51.890Z] Removing intermediate container e4c5916e7ee5 [2021-06-15T02:23:51.890Z] ---> c71373289e3e [2021-06-15T02:23:51.890Z] Step 24/24 : LABEL version=0.0.0 [2021-06-15T02:23:51.890Z] ---> Running in 9bbb02490354 [2021-06-15T02:23:52.486Z] Removing intermediate container 9bbb02490354 [2021-06-15T02:23:52.486Z] ---> 22b43554de43 [2021-06-15T02:23:52.486Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-15T02:23:52.486Z] Successfully built 22b43554de43 [2021-06-15T02:23:52.486Z] 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-15T02:23:53.440Z] ---> job-cost.sh [2021-06-15T02:23:53.440Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GZs3 [2021-06-15T02:24:40.412Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-15T02:26:17.240Z] lf-activate-venv(): INFO: Adding /tmp/venv-GZs3/bin to PATH [2021-06-15T02:26:17.240Z] INFO: No Stack... [2021-06-15T02:26:17.240Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-15T02:26:17.240Z] INFO: Archiving Costs [Pipeline] sh [2021-06-15T02:26:17.610Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-06-15T02:26:17.610Z] + cut -d, -f6 [Pipeline] lock [2021-06-15T02:26:17.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-111-1-stack-cost] [2021-06-15T02:26:17.707Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-111-1-stack-cost] did not exist. Created. [2021-06-15T02:26:17.707Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-15T02:26:18.165Z] /w/workspace/device-snmp-go/1@tmp/durable-22195b8c/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-22195b8c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-15T02:26:18.565Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-15T02:26:18.605Z] Warning: overwriting stash ‘stack-cost’ [2021-06-15T02:26:18.756Z] Stashed 1 file(s) [Pipeline] } [2021-06-15T02:26:18.781Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-111-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-15T02:26:20.095Z] provisioning config files... [2021-06-15T02:26:20.104Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-111@tmp/config8464352927496521077tmp [Pipeline] { [Pipeline] sh [2021-06-15T02:26:20.500Z] + set +x [2021-06-15T02:26:20.500Z] + curl -s https://codecov.io/bash [2021-06-15T02:26:20.500Z] + bash -s -- [2021-06-15T02:26:20.500Z] [2021-06-15T02:26:20.500Z] _____ _ [2021-06-15T02:26:20.500Z] / ____| | | [2021-06-15T02:26:20.500Z] | | ___ __| | ___ ___ _____ __ [2021-06-15T02:26:20.500Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-15T02:26:20.500Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-15T02:26:20.500Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-15T02:26:20.500Z] Bash-1.0.3 [2021-06-15T02:26:20.500Z] [2021-06-15T02:26:20.500Z] [2021-06-15T02:26:20.500Z] ==> git version 2.24.4 found [2021-06-15T02:26:20.500Z] ==> 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-15T02:26:20.500Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-15T02:26:20.500Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-15T02:26:20.500Z] ==> Jenkins CI detected. [2021-06-15T02:26:20.500Z] project root: . [2021-06-15T02:26:20.500Z] --> token set from env [2021-06-15T02:26:20.765Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-15T02:26:20.765Z] ==> Running gcov in . (disable via -X gcov) [2021-06-15T02:26:20.765Z] ==> Python coveragepy not found [2021-06-15T02:26:20.765Z] ==> Searching for coverage reports in: [2021-06-15T02:26:20.765Z] + . [2021-06-15T02:26:20.765Z] -> Found 1 reports [2021-06-15T02:26:20.765Z] ==> Detecting git/mercurial file structure [2021-06-15T02:26:20.765Z] ==> Reading reports [2021-06-15T02:26:20.765Z] + ./coverage.out bytes=7631 [2021-06-15T02:26:20.765Z] ==> Appending adjustments [2021-06-15T02:26:20.765Z] https://docs.codecov.io/docs/fixing-reports [2021-06-15T02:26:20.765Z] + Found adjustments [2021-06-15T02:26:20.765Z] ==> Gzipping contents [2021-06-15T02:26:20.765Z] 4.0K /tmp/codecov.uTxTp7.gz [2021-06-15T02:26:20.765Z] ==> Uploading reports [2021-06-15T02:26:20.765Z] url: https://codecov.io [2021-06-15T02:26:20.765Z] query: branch=PR-111&commit=dbb48137720fbdb754a996821617a7a87d11ec02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=111&job=&cmd_args= [2021-06-15T02:26:20.765Z] -> Pinging Codecov [2021-06-15T02:26:20.765Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-111&commit=dbb48137720fbdb754a996821617a7a87d11ec02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=111&job=&cmd_args= [2021-06-15T02:26:21.341Z] -> Uploading to [2021-06-15T02:26:21.341Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-15/6C56EA5C29638FB4528AC87E60AF5AE0/dbb48137720fbdb754a996821617a7a87d11ec02/0b40ddb0-f4bf-4546-becf-87f665f334fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210615%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210615T022621Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de87864b5be71b932c46f2b43b05f787b157b4878d026a4f66a06a57f9a416cb [2021-06-15T02:26:21.341Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-15T02:26:21.341Z] Dload Upload Total Spent Left Speed [2021-06-15T02:26:21.605Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3958 --:--:-- --:--:-- --:--:-- 3959 [2021-06-15T02:26:21.605Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/dbb48137720fbdb754a996821617a7a87d11ec02 [Pipeline] } [2021-06-15T02:26:21.638Z] 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-15T02:26:24.381Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:26:25.004Z] ---> package-listing.sh [2021-06-15T02:26:25.004Z] ++ facter osfamily [2021-06-15T02:26:25.004Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-15T02:26:25.275Z] + OS_FAMILY=redhat [2021-06-15T02:26:25.275Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-111 [2021-06-15T02:26:25.275Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-15T02:26:25.275Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-15T02:26:25.275Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-15T02:26:25.275Z] + PACKAGES=/tmp/packages_start.txt [2021-06-15T02:26:25.275Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-111 ']' [2021-06-15T02:26:25.275Z] + PACKAGES=/tmp/packages_end.txt [2021-06-15T02:26:25.275Z] + case "${OS_FAMILY}" in [2021-06-15T02:26:25.275Z] + sort [2021-06-15T02:26:25.275Z] + rpm -qa [2021-06-15T02:26:25.891Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-15T02:26:25.891Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-15T02:26:25.891Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-15T02:26:25.891Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-111 ']' [2021-06-15T02:26:25.891Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-111/archives/ [2021-06-15T02:26:25.891Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-111/archives/ [Pipeline] echo [2021-06-15T02:26:25.924Z] 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-111/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-15T02:26:26.257Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:26:26.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T02:26:26.885Z] [2021-06-15T02:26:26.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-15T02:26:27.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T02:26:27.563Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-15T02:26:27.563Z] df20fa9351a1: Pulling fs layer [2021-06-15T02:26:27.563Z] 36b3adc4ff6f: Pulling fs layer [2021-06-15T02:26:27.563Z] 8ad3a11d3b57: Pulling fs layer [2021-06-15T02:26:27.563Z] 46f8f816bc3b: Pulling fs layer [2021-06-15T02:26:27.563Z] 93b61091891f: Pulling fs layer [2021-06-15T02:26:27.563Z] 93b9cdb0e59b: Pulling fs layer [2021-06-15T02:26:27.563Z] 5e14af77c1be: Pulling fs layer [2021-06-15T02:26:27.563Z] 01666e4c0597: Pulling fs layer [2021-06-15T02:26:27.563Z] aa168da1d23b: Pulling fs layer [2021-06-15T02:26:27.563Z] 93b9cdb0e59b: Waiting [2021-06-15T02:26:27.563Z] 5e14af77c1be: Waiting [2021-06-15T02:26:27.563Z] 01666e4c0597: Waiting [2021-06-15T02:26:27.563Z] aa168da1d23b: Waiting [2021-06-15T02:26:27.563Z] 46f8f816bc3b: Waiting [2021-06-15T02:26:27.563Z] 93b61091891f: Waiting [2021-06-15T02:26:27.563Z] 36b3adc4ff6f: Verifying Checksum [2021-06-15T02:26:27.563Z] 36b3adc4ff6f: Download complete [2021-06-15T02:26:27.563Z] 46f8f816bc3b: Verifying Checksum [2021-06-15T02:26:27.563Z] 46f8f816bc3b: Download complete [2021-06-15T02:26:27.563Z] df20fa9351a1: Verifying Checksum [2021-06-15T02:26:27.563Z] df20fa9351a1: Download complete [2021-06-15T02:26:27.828Z] 93b9cdb0e59b: Verifying Checksum [2021-06-15T02:26:27.828Z] 93b9cdb0e59b: Download complete [2021-06-15T02:26:27.828Z] 5e14af77c1be: Verifying Checksum [2021-06-15T02:26:27.828Z] 5e14af77c1be: Download complete [2021-06-15T02:26:27.828Z] 93b61091891f: Download complete [2021-06-15T02:26:27.828Z] 01666e4c0597: Verifying Checksum [2021-06-15T02:26:27.828Z] 01666e4c0597: Download complete [2021-06-15T02:26:27.828Z] df20fa9351a1: Pull complete [2021-06-15T02:26:28.124Z] 8ad3a11d3b57: Verifying Checksum [2021-06-15T02:26:28.124Z] 8ad3a11d3b57: Download complete [2021-06-15T02:26:29.223Z] 36b3adc4ff6f: Pull complete [2021-06-15T02:26:29.811Z] 8ad3a11d3b57: Pull complete [2021-06-15T02:26:30.082Z] 46f8f816bc3b: Pull complete [2021-06-15T02:26:30.665Z] aa168da1d23b: Verifying Checksum [2021-06-15T02:26:30.665Z] aa168da1d23b: Download complete [2021-06-15T02:26:30.665Z] 93b61091891f: Pull complete [2021-06-15T02:26:31.248Z] 93b9cdb0e59b: Pull complete [2021-06-15T02:26:31.248Z] 5e14af77c1be: Pull complete [2021-06-15T02:26:31.513Z] 01666e4c0597: Pull complete [2021-06-15T02:26:38.147Z] aa168da1d23b: Pull complete [2021-06-15T02:26:38.148Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-15T02:26:38.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T02:26:38.148Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-15T02:26:38.274Z] prd-centos7-docker-4c-2g-1387 does not seem to be running inside a container [2021-06-15T02:26:38.317Z] $ 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-111/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-111 -v /w/workspace/gexfoundry_device-snmp-go_PR-111:/w/workspace/gexfoundry_device-snmp-go_PR-111:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-111@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-15T02:26:56.752Z] $ docker top 70c1d5248f3eb1ed6151aea9cb703b827b5fe53f5a2e792c6d28ae8256e65cdc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T02:26:57.210Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-15T02:26:57.551Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-15T02:26:57.890Z] + ls /var/log/sa-host [2021-06-15T02:26:57.890Z] + sadf -c /var/log/sa-host/sa05 [2021-06-15T02:26:57.890Z] file_magic: OK [2021-06-15T02:26:57.890Z] HZ: Using current value: 100 [2021-06-15T02:26:57.890Z] file_header: OK [2021-06-15T02:26:57.890Z] 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-15T02:26:57.890Z] Statistics: [2021-06-15T02:26:57.890Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-15T02:26:57.890Z] File successfully converted to sysstat format version 12.2.1 [2021-06-15T02:26:57.890Z] + sadf -c /var/log/sa-host/sa15 [2021-06-15T02:26:57.890Z] file_magic: OK [2021-06-15T02:26:57.890Z] HZ: Using current value: 100 [2021-06-15T02:26:57.890Z] file_header: OK [2021-06-15T02:26:57.890Z] 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-15T02:26:57.890Z] Statistics: [2021-06-15T02:26:57.890Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-15T02:26:57.890Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T02:26:58.167Z] provisioning config files... [2021-06-15T02:26:59.549Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-111@tmp/config3867573354113192557tmp [Pipeline] { [Pipeline] echo [2021-06-15T02:26:59.612Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:26:59.988Z] ---> create-netrc.sh [Pipeline] } [2021-06-15T02:27:00.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:27:00.514Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-15T02:27:04.545Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:27:04.924Z] ---> sudo-logs.sh [2021-06-15T02:27:04.924Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-15T02:27:05.038Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:27:05.403Z] ---> job-cost.sh [2021-06-15T02:27:05.403Z] lf-activate-venv: SKIPPING [2021-06-15T02:27:05.403Z] DEBUG: total: 0.18000000715255737 [2021-06-15T02:27:05.403Z] INFO: Retrieving Stack Cost... [2021-06-15T02:27:06.361Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-15T02:27:06.639Z] INFO: Archiving Costs [Pipeline] echo [2021-06-15T02:27:06.724Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T02:27:07.143Z] ---> logs-deploy.sh [2021-06-15T02:27:07.143Z] lf-activate-venv: SKIPPING [2021-06-15T02:27:07.143Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-111/1 [2021-06-15T02:27:07.143Z] INFO: archiving workspace using pattern(s): [2021-06-15T02:27:08.104Z] Archives upload complete. [2021-06-15T02:27:08.104Z] INFO: archiving logs to Nexus