Pull request #102 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 47d5e2d26e014165e18a75bf5178bb24648b6bd7+9351a662b217a128018db5c2b0fd8a407906271b (d9ccaaaa1c8dc80d24c4d9e64a3ea95f828442e5) 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-ssh302244013915886130.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7396157761680197630.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-102/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-102/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2776780267740396544.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-102/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6807009293765334691.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6601078160037547170.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-102/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-102/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2283206779528351351.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-285 in /w/workspace/gexfoundry_device-snmp-go_PR-102 [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-102 # 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-102@tmp/jenkins-gitclient-ssh6493929660366259945.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-102@tmp/jenkins-gitclient-ssh7532583684556290059.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9351a662b217a128018db5c2b0fd8a407906271b into PR head commit 47d5e2d26e014165e18a75bf5178bb24648b6bd7 Merge succeeded, producing 47d5e2d26e014165e18a75bf5178bb24648b6bd7 Checking out Revision 47d5e2d26e014165e18a75bf5178bb24648b6bd7 (PR-102) > git config core.sparsecheckout # timeout=10 > git checkout -f 47d5e2d26e014165e18a75bf5178bb24648b6bd7 # 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-102@tmp/jenkins-gitclient-ssh1807295284175548827.key > git merge 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47d5e2d26e014165e18a75bf5178bb24648b6bd7 # timeout=10 Commit message: "refactor: Update configuration for change to common ServiceInfo struct" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-25T21:52:18.221Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-25T21:52:18.421Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-25T21:52:18.541Z] ========================================================= [2021-05-25T21:52:18.541Z] EdgeX Global Pipelines Version Info [2021-05-25T21:52:18.541Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-25T21:52:20.033Z] ------------------- [2021-05-25T21:52:20.033Z] stable info: [2021-05-25T21:52:20.033Z] ------------------- [2021-05-25T21:52:20.033Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-25T21:52:20.033Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T21:52:20.033Z] Message: update stable to v1.0.192 [2021-05-25T21:52:20.606Z] ------------------- [2021-05-25T21:52:20.606Z] experimental info: [2021-05-25T21:52:20.606Z] ------------------- [2021-05-25T21:52:20.606Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-25T21:52:20.606Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T21:52:20.606Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-25T21:52:20.826Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-25T21:52:20.888Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-25T21:52:20.949Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-25T21:52:21.010Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-25T21:52:21.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-25T21:52:21.120Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-25T21:52:21.197Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-25T21:52:21.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-25T21:52:21.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-25T21:52:21.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-25T21:52:21.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-25T21:52:21.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-25T21:52:21.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-25T21:52:21.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-25T21:52:21.677Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T21:52:21.730Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T21:52:21.784Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T21:52:21.839Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T21:52:21.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-25T21:52:21.955Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-25T21:52:22.009Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-25T21:52:22.068Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-25T21:52:22.127Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-25T21:52:22.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-25T21:52:22.243Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-25T21:52:22.298Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-25T21:52:22.351Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-102 [Pipeline] echo [2021-05-25T21:52:22.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-102 [Pipeline] echo [2021-05-25T21:52:22.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-102 [Pipeline] echo [2021-05-25T21:52:22.531Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47d5e2d26e014165e18a75bf5178bb24648b6bd7 [Pipeline] echo [2021-05-25T21:52:22.584Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47d5e2d [Pipeline] echo [2021-05-25T21:52:22.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T21:52:22.785Z] provisioning config files... [2021-05-25T21:52:22.799Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-102@tmp/config6740383831571225919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T21:52:23.171Z] ---> docker-login.sh [2021-05-25T21:52:23.171Z] nexus3.edgexfoundry.org:10001 [2021-05-25T21:52:23.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:52:23.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:52:23.431Z] Configure a credential helper to remove this warning. See [2021-05-25T21:52:23.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:52:23.431Z] [2021-05-25T21:52:23.431Z] Login Succeeded [2021-05-25T21:52:23.431Z] nexus3.edgexfoundry.org:10002 [2021-05-25T21:52:23.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:52:23.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:52:23.691Z] Configure a credential helper to remove this warning. See [2021-05-25T21:52:23.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:52:23.691Z] [2021-05-25T21:52:23.691Z] Login Succeeded [2021-05-25T21:52:23.691Z] nexus3.edgexfoundry.org:10003 [2021-05-25T21:52:23.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:52:23.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:52:23.691Z] Configure a credential helper to remove this warning. See [2021-05-25T21:52:23.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:52:23.691Z] [2021-05-25T21:52:23.691Z] Login Succeeded [2021-05-25T21:52:23.691Z] nexus3.edgexfoundry.org:10004 [2021-05-25T21:52:23.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:52:23.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:52:23.953Z] Configure a credential helper to remove this warning. See [2021-05-25T21:52:23.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:52:23.953Z] [2021-05-25T21:52:23.953Z] Login Succeeded [2021-05-25T21:52:23.953Z] docker.io [2021-05-25T21:52:23.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:52:24.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:52:24.217Z] Configure a credential helper to remove this warning. See [2021-05-25T21:52:24.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:52:24.217Z] [2021-05-25T21:52:24.217Z] Login Succeeded [2021-05-25T21:52:24.217Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T21:52:24.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T21:52:24.973Z] + git log --format=format:%s -1 47d5e2d26e014165e18a75bf5178bb24648b6bd7 [Pipeline] echo [2021-05-25T21:52:25.029Z] GIT_COMMIT: 47d5e2d26e014165e18a75bf5178bb24648b6bd7, Commit Message: refactor: Update configuration for change to common ServiceInfo struct [Pipeline] echo [2021-05-25T21:52:25.067Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:52:26.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T21:52:26.058Z] [2021-05-25T21:52:26.058Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:52:26.411Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T21:52:26.411Z] latest: Pulling from edgex-devops/git-semver [2021-05-25T21:52:26.411Z] 31603596830f: Pulling fs layer [2021-05-25T21:52:26.411Z] 54011a49482f: Pulling fs layer [2021-05-25T21:52:26.411Z] a6820b24f6d8: Pulling fs layer [2021-05-25T21:52:26.411Z] f581987b2513: Pulling fs layer [2021-05-25T21:52:26.411Z] f581987b2513: Waiting [2021-05-25T21:52:26.411Z] 54011a49482f: Verifying Checksum [2021-05-25T21:52:26.411Z] 54011a49482f: Download complete [2021-05-25T21:52:26.672Z] 31603596830f: Verifying Checksum [2021-05-25T21:52:26.672Z] 31603596830f: Download complete [2021-05-25T21:52:26.673Z] a6820b24f6d8: Verifying Checksum [2021-05-25T21:52:26.673Z] a6820b24f6d8: Download complete [2021-05-25T21:52:26.673Z] f581987b2513: Verifying Checksum [2021-05-25T21:52:26.673Z] f581987b2513: Download complete [2021-05-25T21:52:26.673Z] 31603596830f: Pull complete [2021-05-25T21:52:26.933Z] 54011a49482f: Pull complete [2021-05-25T21:52:27.511Z] a6820b24f6d8: Pull complete [2021-05-25T21:52:27.511Z] f581987b2513: Pull complete [2021-05-25T21:52:27.511Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-25T21:52:27.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T21:52:27.511Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-25T21:52:27.610Z] prd-centos7-docker-4c-2g-285 does not seem to be running inside a container [2021-05-25T21:52:27.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-102 -v /w/workspace/gexfoundry_device-snmp-go_PR-102:/w/workspace/gexfoundry_device-snmp-go_PR-102:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-102@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-102@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-05-25T21:52:28.663Z] $ docker top d57983bee76688f9f014f29c2538eaa946c048f7e6ac9b761031ebf43f88a76d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T21:52:28.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T21:52:28.875Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T21:52:28.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T21:52:28.987Z] $ docker exec d57983bee76688f9f014f29c2538eaa946c048f7e6ac9b761031ebf43f88a76d ssh-agent [2021-05-25T21:52:29.102Z] SSH_AUTH_SOCK=/tmp/ssh-ZrdyeLyFjUI2/agent.13 [2021-05-25T21:52:29.102Z] SSH_AGENT_PID=20 [2021-05-25T21:52:29.113Z] Running ssh-add (command line suppressed) [2021-05-25T21:52:29.211Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-102@tmp/private_key_8194603326090373573.key (/w/workspace/gexfoundry_device-snmp-go_PR-102@tmp/private_key_8194603326090373573.key) [2021-05-25T21:52:29.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T21:52:29.571Z] + git tag --points-at HEAD [Pipeline] } [2021-05-25T21:52:29.589Z] $ docker exec --env ******** --env ******** d57983bee76688f9f014f29c2538eaa946c048f7e6ac9b761031ebf43f88a76d ssh-agent -k [2021-05-25T21:52:29.681Z] unset SSH_AUTH_SOCK; [2021-05-25T21:52:29.681Z] unset SSH_AGENT_PID; [2021-05-25T21:52:29.681Z] echo Agent pid 20 killed; [2021-05-25T21:52:29.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-25T21:52:29.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T21:52:29.797Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T21:52:29.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T21:52:29.909Z] $ docker exec d57983bee76688f9f014f29c2538eaa946c048f7e6ac9b761031ebf43f88a76d ssh-agent [2021-05-25T21:52:30.014Z] SSH_AUTH_SOCK=/tmp/ssh-C6OyNHi0Tdvf/agent.54 [2021-05-25T21:52:30.014Z] SSH_AGENT_PID=60 [2021-05-25T21:52:30.019Z] Running ssh-add (command line suppressed) [2021-05-25T21:52:30.115Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-102@tmp/private_key_4110631761788852128.key (/w/workspace/gexfoundry_device-snmp-go_PR-102@tmp/private_key_4110631761788852128.key) [2021-05-25T21:52:30.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T21:52:30.485Z] + git semver init [2021-05-25T21:52:30.485Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T21:52:30.485Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-102/.git [2021-05-25T21:52:30.485Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-102 [2021-05-25T21:52:30.485Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T21:52:30.485Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T21:52:30.485Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T21:52:30.485Z] # $SEMVER_BRANCH = PR-102 [2021-05-25T21:52:30.485Z] # $SEMVER_TEMP = /tmp/semver-962623396 [2021-05-25T21:52:30.485Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-25T21:52:30.750Z] # '/tmp/semver-962623396' -> '/w/workspace/gexfoundry_device-snmp-go_PR-102/.semver' [2021-05-25T21:52:30.750Z] # -> Force: false [2021-05-25T21:52:30.750Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-102/.semver [Pipeline] } [2021-05-25T21:52:30.766Z] $ docker exec --env ******** --env ******** d57983bee76688f9f014f29c2538eaa946c048f7e6ac9b761031ebf43f88a76d ssh-agent -k [2021-05-25T21:52:30.860Z] unset SSH_AUTH_SOCK; [2021-05-25T21:52:30.860Z] unset SSH_AGENT_PID; [2021-05-25T21:52:30.860Z] echo Agent pid 60 killed; [2021-05-25T21:52:30.877Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T21:52:31.312Z] + git semver [Pipeline] } [2021-05-25T21:52:31.337Z] $ docker stop --time=1 d57983bee76688f9f014f29c2538eaa946c048f7e6ac9b761031ebf43f88a76d [2021-05-25T21:52:32.617Z] $ docker rm -f d57983bee76688f9f014f29c2538eaa946c048f7e6ac9b761031ebf43f88a76d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T21:52:33.051Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-25T21:52:33.381Z] Stashed 1 file(s) [Pipeline] echo [2021-05-25T21:52:33.405Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-25T21:52:48.914Z] Still waiting to schedule task [2021-05-25T21:52:48.915Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-25T21:52:48.941Z] Still waiting to schedule task [2021-05-25T21:52:48.942Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-283’ is offline [2021-05-25T21:55:39.683Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-288 in /w/workspace/gexfoundry_device-snmp-go_PR-102 [Pipeline] { [Pipeline] ws [2021-05-25T21:55:39.752Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-25T21:55:40.017Z] Selected Git installation does not exist. Using Default [2021-05-25T21:55:40.017Z] The recommended git tool is: NONE [2021-05-25T21:55:45.312Z] using credential edgex-jenkins-ssh [2021-05-25T21:55:45.329Z] Cloning the remote Git repository [2021-05-25T21:55:45.386Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-25T21:55:45.490Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-25T21:55:45.566Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-25T21:55:45.567Z] > git --version # timeout=10 [2021-05-25T21:55:45.586Z] > git --version # 'git version 2.17.1' [2021-05-25T21:55:45.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T21:55:45.668Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T21:55:46.963Z] Merging remotes/origin/master commit 9351a662b217a128018db5c2b0fd8a407906271b into PR head commit 47d5e2d26e014165e18a75bf5178bb24648b6bd7 [2021-05-25T21:55:47.141Z] Merge succeeded, producing 47d5e2d26e014165e18a75bf5178bb24648b6bd7 [2021-05-25T21:55:47.142Z] Checking out Revision 47d5e2d26e014165e18a75bf5178bb24648b6bd7 (PR-102) [2021-05-25T21:55:46.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-25T21:55:46.361Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T21:55:46.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-25T21:55:46.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-25T21:55:46.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T21:55:46.423Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T21:55:46.978Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T21:55:46.991Z] > git checkout -f 47d5e2d26e014165e18a75bf5178bb24648b6bd7 # timeout=10 [2021-05-25T21:55:47.063Z] > git remote # timeout=10 [2021-05-25T21:55:47.076Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T21:55:47.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T21:55:47.105Z] > git merge 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 [2021-05-25T21:55:47.126Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T21:55:47.146Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T21:55:47.156Z] > git checkout -f 47d5e2d26e014165e18a75bf5178bb24648b6bd7 # timeout=10 [2021-05-25T21:55:51.270Z] Commit message: "refactor: Update configuration for change to common ServiceInfo struct" [2021-05-25T21:55:51.324Z] > git --version # timeout=10 [2021-05-25T21:55:51.342Z] > git --version # 'git version 2.17.1' [2021-05-25T21:55:51.363Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T21:55:52.972Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-25T21:55:53.412Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T21:55:53.791Z] + sudo service docker restart [2021-05-25T21:55:53.791Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T21:56:12.194Z] provisioning config files... [2021-05-25T21:56:12.222Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2036054071944881188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T21:56:12.640Z] ---> docker-login.sh [2021-05-25T21:56:12.641Z] nexus3.edgexfoundry.org:10001 [2021-05-25T21:56:13.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:13.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:13.895Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:13.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:13.895Z] [2021-05-25T21:56:13.895Z] Login Succeeded [2021-05-25T21:56:13.895Z] nexus3.edgexfoundry.org:10002 [2021-05-25T21:56:14.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:14.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:14.496Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:14.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:14.496Z] [2021-05-25T21:56:14.496Z] Login Succeeded [2021-05-25T21:56:14.496Z] nexus3.edgexfoundry.org:10003 [2021-05-25T21:56:14.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:15.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:15.058Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:15.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:15.058Z] [2021-05-25T21:56:15.058Z] Login Succeeded [2021-05-25T21:56:15.058Z] nexus3.edgexfoundry.org:10004 [2021-05-25T21:56:15.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:15.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:15.610Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:15.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:15.610Z] [2021-05-25T21:56:15.610Z] Login Succeeded [2021-05-25T21:56:15.610Z] docker.io [2021-05-25T21:56:15.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:16.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:16.480Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:16.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:16.480Z] [2021-05-25T21:56:16.480Z] Login Succeeded [2021-05-25T21:56:16.480Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T21:56:16.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T21:56:17.113Z] ========================================================= [2021-05-25T21:56:17.113Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-25T21:56:17.114Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:56:17.559Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-25T21:56:17.836Z] Sending build context to Docker daemon 368.1kB [2021-05-25T21:56:17.836Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T21:56:17.836Z] Step 2/10 : FROM ${BASE} [2021-05-25T21:56:18.120Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-25T21:56:18.120Z] 595b0fe564bb: Pulling fs layer [2021-05-25T21:56:18.120Z] 7186ed65a4f7: Pulling fs layer [2021-05-25T21:56:18.120Z] 316046926c0a: Pulling fs layer [2021-05-25T21:56:18.120Z] 4ebd0625c992: Pulling fs layer [2021-05-25T21:56:18.120Z] 207e8628e3a3: Pulling fs layer [2021-05-25T21:56:18.120Z] c791037a9be2: Pulling fs layer [2021-05-25T21:56:18.120Z] ffd874e62e21: Pulling fs layer [2021-05-25T21:56:18.120Z] 4ebd0625c992: Waiting [2021-05-25T21:56:18.120Z] 207e8628e3a3: Waiting [2021-05-25T21:56:18.120Z] c791037a9be2: Waiting [2021-05-25T21:56:18.120Z] ffd874e62e21: Waiting [2021-05-25T21:56:18.120Z] 316046926c0a: Verifying Checksum [2021-05-25T21:56:18.120Z] 316046926c0a: Download complete [2021-05-25T21:56:18.120Z] 7186ed65a4f7: Verifying Checksum [2021-05-25T21:56:18.120Z] 7186ed65a4f7: Download complete [2021-05-25T21:56:18.120Z] 207e8628e3a3: Verifying Checksum [2021-05-25T21:56:18.120Z] 207e8628e3a3: Download complete [2021-05-25T21:56:18.120Z] c791037a9be2: Verifying Checksum [2021-05-25T21:56:18.120Z] c791037a9be2: Download complete [2021-05-25T21:56:18.399Z] 595b0fe564bb: Verifying Checksum [2021-05-25T21:56:18.399Z] 595b0fe564bb: Download complete [2021-05-25T21:56:18.997Z] 595b0fe564bb: Pull complete [2021-05-25T21:56:19.604Z] 7186ed65a4f7: Pull complete [2021-05-25T21:56:19.883Z] 316046926c0a: Pull complete [2021-05-25T21:56:20.862Z] ffd874e62e21: Verifying Checksum [2021-05-25T21:56:20.862Z] ffd874e62e21: Download complete [2021-05-25T21:56:21.842Z] 4ebd0625c992: Verifying Checksum [2021-05-25T21:56:21.842Z] 4ebd0625c992: Download complete [2021-05-25T21:56:23.693Z] Running on prd-centos7-docker-4c-2g-289 in /w/workspace/gexfoundry_device-snmp-go_PR-102 [Pipeline] { [Pipeline] ws [2021-05-25T21:56:23.751Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-05-25T21:56:23.920Z] Selected Git installation does not exist. Using Default [2021-05-25T21:56:23.920Z] The recommended git tool is: NONE [2021-05-25T21:56:26.223Z] using credential edgex-jenkins-ssh [2021-05-25T21:56:26.236Z] Cloning the remote Git repository [2021-05-25T21:56:25.937Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-25T21:56:26.005Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-05-25T21:56:26.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-25T21:56:26.037Z] > git --version # timeout=10 [2021-05-25T21:56:26.043Z] > git --version # 'git version 2.24.4' [2021-05-25T21:56:26.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T21:56:26.071Z] [INFO] Currently running in a labeled security context [2021-05-25T21:56:26.071Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T21:56:26.071Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh8897230412863797125.key [2021-05-25T21:56:26.093Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T21:56:26.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-25T21:56:26.620Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T21:56:26.645Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-25T21:56:26.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-25T21:56:26.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T21:56:26.664Z] [INFO] Currently running in a labeled security context [2021-05-25T21:56:26.664Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T21:56:26.664Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh5370949053257320973.key [2021-05-25T21:56:26.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T21:56:27.320Z] Merging remotes/origin/master commit 9351a662b217a128018db5c2b0fd8a407906271b into PR head commit 47d5e2d26e014165e18a75bf5178bb24648b6bd7 [2021-05-25T21:56:27.420Z] Merge succeeded, producing 47d5e2d26e014165e18a75bf5178bb24648b6bd7 [2021-05-25T21:56:27.421Z] Checking out Revision 47d5e2d26e014165e18a75bf5178bb24648b6bd7 (PR-102) [2021-05-25T21:56:27.095Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T21:56:27.109Z] > git checkout -f 47d5e2d26e014165e18a75bf5178bb24648b6bd7 # timeout=10 [2021-05-25T21:56:27.145Z] > git remote # timeout=10 [2021-05-25T21:56:27.153Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T21:56:27.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T21:56:27.162Z] [INFO] Currently running in a labeled security context [2021-05-25T21:56:27.162Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T21:56:27.162Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh7966334779801401062.key [2021-05-25T21:56:27.167Z] > git merge 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 [2021-05-25T21:56:27.180Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T21:56:27.196Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T21:56:27.204Z] > git checkout -f 47d5e2d26e014165e18a75bf5178bb24648b6bd7 # timeout=10 [2021-05-25T21:56:30.741Z] Commit message: "refactor: Update configuration for change to common ServiceInfo struct" [2021-05-25T21:56:30.765Z] > git --version # timeout=10 [2021-05-25T21:56:30.774Z] > git --version # 'git version 2.24.4' [2021-05-25T21:56:30.781Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T21:56:32.036Z] 4ebd0625c992: Pull complete [2021-05-25T21:56:32.036Z] 207e8628e3a3: Pull complete [2021-05-25T21:56:32.099Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-25T21:56:32.446Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T21:56:32.631Z] c791037a9be2: Pull complete [2021-05-25T21:56:32.777Z] + sudo service docker restart [2021-05-25T21:56:32.777Z] + true [2021-05-25T21:56:32.777Z] Redirecting to /bin/systemctl restart docker.service [2021-05-25T21:56:36.948Z] ffd874e62e21: Pull complete [2021-05-25T21:56:36.948Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-25T21:56:36.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-25T21:56:36.948Z] ---> cfc18b08335c [2021-05-25T21:56:36.948Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T21:56:38.396Z] ---> Running in cdc79d03062e [2021-05-25T21:56:38.993Z] Removing intermediate container cdc79d03062e [2021-05-25T21:56:38.993Z] ---> f69eb2a1b717 [2021-05-25T21:56:38.993Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T21:56:38.993Z] ---> Running in 43649377e08d [2021-05-25T21:56:39.589Z] Removing intermediate container 43649377e08d [2021-05-25T21:56:39.589Z] ---> 21e48a92044f [2021-05-25T21:56:39.589Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-25T21:56:39.589Z] ---> Running in 1d404ffeddfa [2021-05-25T21:56:40.186Z] Removing intermediate container 1d404ffeddfa [2021-05-25T21:56:40.186Z] ---> 206c75f26cda [2021-05-25T21:56:40.186Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T21:56:40.186Z] ---> Running in 7b6e71eeff2f [2021-05-25T21:56:42.807Z] Removing intermediate container 7b6e71eeff2f [2021-05-25T21:56:42.807Z] ---> cf6dd4aed424 [2021-05-25T21:56:42.807Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T21:56:42.807Z] ---> Running in b194b912a7f9 [2021-05-25T21:56:44.240Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T21:56:44.836Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T21:56:45.825Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-25T21:56:45.825Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-25T21:56:45.826Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-25T21:56:45.826Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-25T21:56:46.097Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-25T21:56:46.097Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-25T21:56:46.370Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-25T21:56:46.641Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-25T21:56:46.641Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-25T21:56:46.641Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-25T21:56:46.914Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-25T21:56:46.914Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-25T21:56:47.187Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-25T21:56:47.187Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T21:56:47.188Z] OK: 145 MiB in 53 packages [2021-05-25T21:56:48.631Z] Removing intermediate container b194b912a7f9 [2021-05-25T21:56:48.632Z] ---> 3ac14d505d54 [2021-05-25T21:56:48.632Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-25T21:56:48.632Z] ---> Running in 553941ca102f [2021-05-25T21:56:49.229Z] Removing intermediate container 553941ca102f [2021-05-25T21:56:49.229Z] ---> 3805518cfaf4 [2021-05-25T21:56:49.229Z] Step 9/10 : COPY . . [2021-05-25T21:56:50.222Z] ---> b22a7a252e54 [2021-05-25T21:56:50.222Z] Step 10/10 : RUN go mod download [2021-05-25T21:56:50.222Z] ---> Running in 913a8a6a6aff [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T21:56:51.018Z] provisioning config files... [2021-05-25T21:56:51.032Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6923786434713770890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T21:56:51.434Z] ---> docker-login.sh [2021-05-25T21:56:51.434Z] nexus3.edgexfoundry.org:10001 [2021-05-25T21:56:51.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:51.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:51.695Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:51.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:51.695Z] [2021-05-25T21:56:51.695Z] Login Succeeded [2021-05-25T21:56:51.695Z] nexus3.edgexfoundry.org:10002 [2021-05-25T21:56:51.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:51.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:51.695Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:51.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:51.695Z] [2021-05-25T21:56:51.695Z] Login Succeeded [2021-05-25T21:56:51.695Z] nexus3.edgexfoundry.org:10003 [2021-05-25T21:56:51.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:51.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:51.962Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:51.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:51.962Z] [2021-05-25T21:56:51.962Z] Login Succeeded [2021-05-25T21:56:51.962Z] nexus3.edgexfoundry.org:10004 [2021-05-25T21:56:51.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:51.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:51.962Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:51.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:51.962Z] [2021-05-25T21:56:51.962Z] Login Succeeded [2021-05-25T21:56:51.962Z] docker.io [2021-05-25T21:56:52.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T21:56:52.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T21:56:52.487Z] Configure a credential helper to remove this warning. See [2021-05-25T21:56:52.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T21:56:52.487Z] [2021-05-25T21:56:52.487Z] Login Succeeded [2021-05-25T21:56:52.487Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T21:56:52.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T21:56:52.800Z] ========================================================= [2021-05-25T21:56:52.800Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-25T21:56:52.800Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:56:53.152Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-25T21:56:53.152Z] Sending build context to Docker daemon 369.2kB [2021-05-25T21:56:53.152Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T21:56:53.152Z] Step 2/10 : FROM ${BASE} [2021-05-25T21:56:53.152Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-25T21:56:53.152Z] 540db60ca938: Pulling fs layer [2021-05-25T21:56:53.152Z] adcc1eea9eea: Pulling fs layer [2021-05-25T21:56:53.152Z] 4c4ab2625f07: Pulling fs layer [2021-05-25T21:56:53.152Z] 0510c868ecb4: Pulling fs layer [2021-05-25T21:56:53.152Z] afea3b2eda06: Pulling fs layer [2021-05-25T21:56:53.152Z] 7809a108b3ef: Pulling fs layer [2021-05-25T21:56:53.152Z] f706445af74f: Pulling fs layer [2021-05-25T21:56:53.152Z] 7809a108b3ef: Waiting [2021-05-25T21:56:53.152Z] afea3b2eda06: Waiting [2021-05-25T21:56:53.152Z] f706445af74f: Waiting [2021-05-25T21:56:53.152Z] 0510c868ecb4: Waiting [2021-05-25T21:56:53.413Z] 4c4ab2625f07: Verifying Checksum [2021-05-25T21:56:53.413Z] 4c4ab2625f07: Download complete [2021-05-25T21:56:53.413Z] adcc1eea9eea: Download complete [2021-05-25T21:56:53.413Z] afea3b2eda06: Verifying Checksum [2021-05-25T21:56:53.413Z] afea3b2eda06: Download complete [2021-05-25T21:56:53.413Z] 7809a108b3ef: Verifying Checksum [2021-05-25T21:56:53.413Z] 7809a108b3ef: Download complete [2021-05-25T21:56:53.413Z] 540db60ca938: Verifying Checksum [2021-05-25T21:56:53.413Z] 540db60ca938: Download complete [2021-05-25T21:56:53.677Z] 540db60ca938: Pull complete [2021-05-25T21:56:53.677Z] adcc1eea9eea: Pull complete [2021-05-25T21:56:53.952Z] 4c4ab2625f07: Pull complete [2021-05-25T21:56:54.901Z] f706445af74f: Verifying Checksum [2021-05-25T21:56:54.901Z] f706445af74f: Download complete [2021-05-25T21:56:55.481Z] 0510c868ecb4: Verifying Checksum [2021-05-25T21:56:55.481Z] 0510c868ecb4: Download complete [2021-05-25T21:56:58.832Z] 0510c868ecb4: Pull complete [2021-05-25T21:56:59.102Z] afea3b2eda06: Pull complete [2021-05-25T21:56:59.102Z] 7809a108b3ef: Pull complete [2021-05-25T21:57:00.505Z] f706445af74f: Pull complete [2021-05-25T21:57:00.505Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-25T21:57:00.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-25T21:57:00.505Z] ---> b068be0155e3 [2021-05-25T21:57:00.505Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T21:57:04.732Z] ---> Running in a018b994ac28 [2021-05-25T21:57:04.732Z] Removing intermediate container a018b994ac28 [2021-05-25T21:57:04.732Z] ---> 6ff73a03dd03 [2021-05-25T21:57:04.732Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T21:57:04.732Z] ---> Running in 940cc9681260 [2021-05-25T21:57:04.732Z] Removing intermediate container 940cc9681260 [2021-05-25T21:57:04.732Z] ---> 474dcce081e3 [2021-05-25T21:57:04.732Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-25T21:57:04.732Z] ---> Running in 739153ae0368 [2021-05-25T21:57:04.732Z] Removing intermediate container 739153ae0368 [2021-05-25T21:57:04.732Z] ---> b274b0a036b5 [2021-05-25T21:57:04.732Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T21:57:04.732Z] ---> Running in 77e6418be3da [2021-05-25T21:57:05.309Z] Removing intermediate container 77e6418be3da [2021-05-25T21:57:05.309Z] ---> 756faf4ec390 [2021-05-25T21:57:05.309Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T21:57:05.309Z] ---> Running in e8b6a2515b0b [2021-05-25T21:57:05.570Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T21:57:06.509Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T21:57:07.084Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-25T21:57:07.084Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-25T21:57:07.084Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-25T21:57:07.343Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-25T21:57:07.343Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-25T21:57:07.343Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-25T21:57:07.605Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-25T21:57:07.869Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-25T21:57:07.869Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-25T21:57:07.869Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-25T21:57:08.130Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-25T21:57:08.130Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-25T21:57:08.397Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-25T21:57:08.397Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T21:57:08.397Z] OK: 156 MiB in 53 packages [2021-05-25T21:57:08.976Z] Removing intermediate container e8b6a2515b0b [2021-05-25T21:57:08.976Z] ---> 13b0c4275364 [2021-05-25T21:57:08.976Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-25T21:57:08.976Z] ---> Running in ad6acc282cfd [2021-05-25T21:57:08.976Z] Removing intermediate container ad6acc282cfd [2021-05-25T21:57:08.976Z] ---> 742358c6246f [2021-05-25T21:57:08.976Z] Step 9/10 : COPY . . [2021-05-25T21:57:09.240Z] ---> e4576c35ef50 [2021-05-25T21:57:09.240Z] Step 10/10 : RUN go mod download [2021-05-25T21:57:09.240Z] ---> Running in b62cace15e50 [2021-05-25T21:57:17.057Z] Removing intermediate container 913a8a6a6aff [2021-05-25T21:57:17.057Z] ---> b66d81a40bf7 [2021-05-25T21:57:17.057Z] Successfully built b66d81a40bf7 [2021-05-25T21:57:17.057Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:57:17.444Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T21:57:17.444Z] . [Pipeline] withDockerContainer [2021-05-25T21:57:17.742Z] prd-ubuntu18.04-docker-arm64-4c-16g-288 does not seem to be running inside a container [2021-05-25T21:57:17.837Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-25T21:57:19.499Z] $ docker top baf3f285bb00497b566de198e626231106bc4f23ef1154a476a06b5ba6e4b6a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T21:57:20.536Z] + go version [2021-05-25T21:57:20.536Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-25T21:57:20.577Z] $ docker stop --time=1 baf3f285bb00497b566de198e626231106bc4f23ef1154a476a06b5ba6e4b6a7 [2021-05-25T21:57:22.446Z] $ docker rm -f baf3f285bb00497b566de198e626231106bc4f23ef1154a476a06b5ba6e4b6a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:57:23.389Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T21:57:23.389Z] . [Pipeline] withDockerContainer [2021-05-25T21:57:23.665Z] prd-ubuntu18.04-docker-arm64-4c-16g-288 does not seem to be running inside a container [2021-05-25T21:57:23.754Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-25T21:57:24.165Z] Removing intermediate container b62cace15e50 [2021-05-25T21:57:24.165Z] ---> 702bcf961282 [2021-05-25T21:57:24.165Z] Successfully built 702bcf961282 [2021-05-25T21:57:24.165Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-25T21:57:25.381Z] $ docker top 48070bae56e48a779325db1f4eb9f831b0187f57ea8a993a45dc9430e6f55f68 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:57:26.178Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T21:57:26.178Z] . [Pipeline] withDockerContainer [2021-05-25T21:57:26.288Z] prd-centos7-docker-4c-2g-289 does not seem to be running inside a container [2021-05-25T21:57:26.324Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-25T21:57:26.418Z] + go mod tidy [2021-05-25T21:57:26.794Z] $ docker top 777c5bec36241e0eb1cb71d56084a1e119bb323f62d91fd565179a901717d38c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-25T21:57:27.280Z] + go version [2021-05-25T21:57:27.280Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-25T21:57:27.312Z] $ docker stop --time=1 777c5bec36241e0eb1cb71d56084a1e119bb323f62d91fd565179a901717d38c [2021-05-25T21:57:27.762Z] + make test [2021-05-25T21:57:27.762Z] go mod tidy [2021-05-25T21:57:28.038Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-25T21:57:28.544Z] $ docker rm -f 777c5bec36241e0eb1cb71d56084a1e119bb323f62d91fd565179a901717d38c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:57:29.349Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T21:57:29.350Z] . [Pipeline] withDockerContainer [2021-05-25T21:57:29.455Z] prd-centos7-docker-4c-2g-289 does not seem to be running inside a container [2021-05-25T21:57:29.473Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-25T21:57:29.496Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-25T21:57:29.902Z] $ docker top ee4fe63d289c92e481ab0bf2330388b6f1a8b705c93db5943ea2bc4510956e96 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T21:57:30.387Z] + go mod tidy [Pipeline] sh [2021-05-25T21:57:30.995Z] + make test [2021-05-25T21:57:30.995Z] go mod tidy [2021-05-25T21:57:31.261Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-25T21:57:31.522Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-25T21:57:49.790Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-25T21:57:49.790Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-05-25T21:57:49.790Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-25T21:57:55.149Z] gofmt -l . [2021-05-25T21:57:55.149Z] [ "`gofmt -l .`" = "" ] [2021-05-25T21:57:55.149Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-25T21:57:55.742Z] $ docker stop --time=1 ee4fe63d289c92e481ab0bf2330388b6f1a8b705c93db5943ea2bc4510956e96 [2021-05-25T21:57:57.210Z] $ docker rm -f ee4fe63d289c92e481ab0bf2330388b6f1a8b705c93db5943ea2bc4510956e96 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T21:57:57.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T21:57:57.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-25T21:58:01.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T21:58:01.612Z] + ls -al . [2021-05-25T21:58:01.612Z] total 104 [2021-05-25T21:58:01.612Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 25 21:57 . [2021-05-25T21:58:01.612Z] drwxrwxr-x. 4 jenkins jenkins 28 May 25 21:56 .. [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 25 21:56 Attribution.txt [2021-05-25T21:58:01.612Z] drwxrwxr-x. 2 jenkins jenkins 60 May 25 21:56 bin [2021-05-25T21:58:01.612Z] drwxrwxr-x. 3 jenkins jenkins 32 May 25 21:56 cmd [2021-05-25T21:58:01.612Z] -rw-r--r--. 1 jenkins jenkins 7631 May 25 21:57 coverage.out [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 25 21:56 Dockerfile [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 25 21:56 Dockerfile.build [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 6 May 25 21:56 .dockerignore [2021-05-25T21:58:01.612Z] drwxrwxr-x. 8 jenkins jenkins 179 May 25 21:56 .git [2021-05-25T21:58:01.612Z] drwxrwxr-x. 2 jenkins jenkins 103 May 25 21:56 .github [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 269 May 25 21:56 .gitignore [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 222 May 25 21:56 go.mod [2021-05-25T21:58:01.612Z] -rw-r--r--. 1 jenkins jenkins 21438 May 25 21:57 go.sum [2021-05-25T21:58:01.612Z] drwxrwxr-x. 3 jenkins jenkins 20 May 25 21:56 internal [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 656 May 25 21:56 Jenkinsfile [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 25 21:56 LICENSE [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 936 May 25 21:56 Makefile [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 25 21:56 README.md [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 5 May 25 21:52 VERSION [2021-05-25T21:58:01.612Z] -rw-rw-r--. 1 jenkins jenkins 209 May 25 21:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:58:01.952Z] + 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=47d5e2d26e014165e18a75bf5178bb24648b6bd7 --label arch=amd64 --label version=0.0.0 . [2021-05-25T21:58:01.952Z] Sending build context to Docker daemon 377.3kB [2021-05-25T21:58:01.952Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T21:58:01.952Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-25T21:58:01.952Z] ---> 702bcf961282 [2021-05-25T21:58:01.952Z] Step 3/24 : ARG MAKE='make build' [2021-05-25T21:58:02.217Z] ---> Running in 246ccf8161a7 [2021-05-25T21:58:02.217Z] Removing intermediate container 246ccf8161a7 [2021-05-25T21:58:02.217Z] ---> a4ae47f59761 [2021-05-25T21:58:02.217Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T21:58:02.217Z] ---> Running in 3da839ba5bd1 [2021-05-25T21:58:02.487Z] Removing intermediate container 3da839ba5bd1 [2021-05-25T21:58:02.487Z] ---> 2116749c2ad1 [2021-05-25T21:58:02.487Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T21:58:02.487Z] ---> Running in 0d16da98fbec [2021-05-25T21:58:02.753Z] Removing intermediate container 0d16da98fbec [2021-05-25T21:58:02.753Z] ---> fa08dc5a7251 [2021-05-25T21:58:02.753Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T21:58:02.753Z] ---> Running in 3ea27027d39a [2021-05-25T21:58:03.701Z] Removing intermediate container 3ea27027d39a [2021-05-25T21:58:03.701Z] ---> 19e9a6ef0d5a [2021-05-25T21:58:03.701Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T21:58:03.701Z] ---> Running in 8fc67df50371 [2021-05-25T21:58:03.962Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T21:58:04.536Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T21:58:05.113Z] OK: 156 MiB in 53 packages [2021-05-25T21:58:05.375Z] Removing intermediate container 8fc67df50371 [2021-05-25T21:58:05.375Z] ---> 8dc65ea7bd02 [2021-05-25T21:58:05.375Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-25T21:58:05.375Z] ---> Running in e0f52a3f893c [2021-05-25T21:58:05.375Z] Removing intermediate container e0f52a3f893c [2021-05-25T21:58:05.375Z] ---> 84a8885dce51 [2021-05-25T21:58:05.375Z] Step 9/24 : COPY . . [2021-05-25T21:58:05.636Z] ---> 803936284e8e [2021-05-25T21:58:05.636Z] Step 10/24 : RUN go mod tidy [2021-05-25T21:58:05.899Z] ---> Running in c6c7cf75fa04 [2021-05-25T21:58:06.480Z] Removing intermediate container c6c7cf75fa04 [2021-05-25T21:58:06.480Z] ---> f5ccb0395043 [2021-05-25T21:58:06.480Z] Step 11/24 : RUN make update [2021-05-25T21:58:06.750Z] ---> Running in 9900bfa887ac [2021-05-25T21:58:07.012Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-25T21:58:07.277Z] Removing intermediate container 9900bfa887ac [2021-05-25T21:58:07.277Z] ---> ac20f0ae1d0e [2021-05-25T21:58:07.277Z] Step 12/24 : RUN ${MAKE} [2021-05-25T21:58:07.277Z] ---> Running in 8ea0710f21fe [2021-05-25T21:58:07.867Z] go mod tidy [2021-05-25T21:58:07.867Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-05-25T21:58:22.865Z] Removing intermediate container 8ea0710f21fe [2021-05-25T21:58:22.865Z] ---> 201bb1549ed0 [2021-05-25T21:58:22.865Z] Step 13/24 : FROM alpine:3.12 [2021-05-25T21:58:22.865Z] 3.12: Pulling from library/alpine [2021-05-25T21:58:22.865Z] 339de151aab4: Pulling fs layer [2021-05-25T21:58:22.865Z] 339de151aab4: Verifying Checksum [2021-05-25T21:58:22.865Z] 339de151aab4: Download complete [2021-05-25T21:58:22.865Z] 339de151aab4: Pull complete [2021-05-25T21:58:22.865Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T21:58:22.865Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T21:58:22.865Z] ---> 13621d1b12d4 [2021-05-25T21:58:22.865Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-25T21:58:22.865Z] ---> Running in 6ad2f72fcffa [2021-05-25T21:58:22.865Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-25T21:58:22.865Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-25T21:58:22.865Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-25T21:58:22.865Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-25T21:58:22.865Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-25T21:58:22.865Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-25T21:58:22.865Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-25T21:58:22.865Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-25T21:58:22.865Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T21:58:22.865Z] OK: 8 MiB in 20 packages [2021-05-25T21:58:22.865Z] Removing intermediate container 6ad2f72fcffa [2021-05-25T21:58:22.865Z] ---> 4a763236012a [2021-05-25T21:58:22.865Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-25T21:58:23.127Z] ---> 87cc98a8e2a7 [2021-05-25T21:58:23.127Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-25T21:58:23.390Z] ---> 14a73bce7861 [2021-05-25T21:58:23.390Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-25T21:58:23.390Z] ---> 519f62dd6f88 [2021-05-25T21:58:23.390Z] Step 18/24 : EXPOSE 59993 [2021-05-25T21:58:23.390Z] ---> Running in c81849d51bba [2021-05-25T21:58:23.656Z] Removing intermediate container c81849d51bba [2021-05-25T21:58:23.656Z] ---> 33714f92349e [2021-05-25T21:58:23.656Z] Step 19/24 : EXPOSE 161 [2021-05-25T21:58:23.656Z] ---> Running in 9074036fafe6 [2021-05-25T21:58:23.656Z] Removing intermediate container 9074036fafe6 [2021-05-25T21:58:23.656Z] ---> e9d8fd2e4c96 [2021-05-25T21:58:23.656Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-25T21:58:23.656Z] ---> Running in 1dec0098a6b9 [2021-05-25T21:58:23.917Z] Removing intermediate container 1dec0098a6b9 [2021-05-25T21:58:23.917Z] ---> 485b0c57f62b [2021-05-25T21:58:23.917Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-25T21:58:23.917Z] ---> Running in ec8203a66c7d [2021-05-25T21:58:24.179Z] Removing intermediate container ec8203a66c7d [2021-05-25T21:58:24.179Z] ---> df00a77682b9 [2021-05-25T21:58:24.179Z] Step 22/24 : LABEL arch=amd64 [2021-05-25T21:58:24.179Z] ---> Running in 75e5c6cec0c6 [2021-05-25T21:58:24.443Z] Removing intermediate container 75e5c6cec0c6 [2021-05-25T21:58:24.443Z] ---> 0700d8b70010 [2021-05-25T21:58:24.443Z] Step 23/24 : LABEL git_sha=47d5e2d26e014165e18a75bf5178bb24648b6bd7 [2021-05-25T21:58:24.443Z] ---> Running in 35ab779fa257 [2021-05-25T21:58:24.443Z] Removing intermediate container 35ab779fa257 [2021-05-25T21:58:24.443Z] ---> f1bcce7ebd6d [2021-05-25T21:58:24.443Z] Step 24/24 : LABEL version=0.0.0 [2021-05-25T21:58:24.443Z] ---> Running in 9e13938002bc [2021-05-25T21:58:24.443Z] Removing intermediate container 9e13938002bc [2021-05-25T21:58:24.443Z] ---> c09f4af77766 [2021-05-25T21:58:24.443Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-25T21:58:24.704Z] Successfully built c09f4af77766 [2021-05-25T21:58:24.704Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-25T21:58:25.558Z] ---> job-cost.sh [2021-05-25T21:58:25.558Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cQLw [2021-05-25T21:58:26.078Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-25T21:58:26.078Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements [2021-05-25T21:58:26.078Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-25T21:58:35.587Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T21:58:44.422Z] gofmt -l . [2021-05-25T21:58:44.422Z] [ "`gofmt -l .`" = "" ] [2021-05-25T21:58:44.422Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-25T21:58:45.454Z] $ docker stop --time=1 48070bae56e48a779325db1f4eb9f831b0187f57ea8a993a45dc9430e6f55f68 [2021-05-25T21:58:47.401Z] $ docker rm -f 48070bae56e48a779325db1f4eb9f831b0187f57ea8a993a45dc9430e6f55f68 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T21:58:48.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T21:58:48.335Z] Warning: overwriting stash ‘coverage-report’ [2021-05-25T21:58:48.806Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T21:58:49.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T21:58:49.818Z] + ls -al . [2021-05-25T21:58:49.818Z] total 128 [2021-05-25T21:58:49.818Z] drwxrwxr-x 7 jenkins jenkins 4096 May 25 21:58 . [2021-05-25T21:58:49.818Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:55 .. [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 6 May 25 21:55 .dockerignore [2021-05-25T21:58:49.818Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 21:55 .git [2021-05-25T21:58:49.818Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 21:55 .github [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 269 May 25 21:55 .gitignore [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 25 21:55 Attribution.txt [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 25 21:55 Dockerfile [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 25 21:55 Dockerfile.build [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 656 May 25 21:55 Jenkinsfile [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 21:55 LICENSE [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 936 May 25 21:55 Makefile [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 25 21:55 README.md [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 21:52 VERSION [2021-05-25T21:58:49.818Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 21:55 bin [2021-05-25T21:58:49.818Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:55 cmd [2021-05-25T21:58:49.818Z] -rw-r--r-- 1 jenkins jenkins 7631 May 25 21:58 coverage.out [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 222 May 25 21:55 go.mod [2021-05-25T21:58:49.818Z] -rw-r--r-- 1 jenkins jenkins 21438 May 25 21:57 go.sum [2021-05-25T21:58:49.818Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:55 internal [2021-05-25T21:58:49.818Z] -rw-rw-r-- 1 jenkins jenkins 209 May 25 21:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T21:58:50.194Z] + 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=47d5e2d26e014165e18a75bf5178bb24648b6bd7 --label arch=arm64 --label version=0.0.0 . [2021-05-25T21:58:50.465Z] Sending build context to Docker daemon 376.3kB [2021-05-25T21:58:50.465Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T21:58:50.465Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-25T21:58:50.465Z] ---> b66d81a40bf7 [2021-05-25T21:58:50.465Z] Step 3/24 : ARG MAKE='make build' [2021-05-25T21:58:50.556Z] lf-activate-venv(): INFO: Adding /tmp/venv-cQLw/bin to PATH [2021-05-25T21:58:50.556Z] INFO: No Stack... [2021-05-25T21:58:50.556Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T21:58:50.556Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T21:58:50.737Z] ---> Running in 313583bfca6b [2021-05-25T21:58:50.885Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-25T21:58:50.885Z] + cut -d, -f6 [Pipeline] lock [2021-05-25T21:58:50.939Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-102-1-stack-cost] [2021-05-25T21:58:50.947Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-102-1-stack-cost] did not exist. Created. [2021-05-25T21:58:50.947Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T21:58:51.342Z] Removing intermediate container 313583bfca6b [2021-05-25T21:58:51.343Z] ---> a2bb12bbf750 [2021-05-25T21:58:51.343Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T21:58:51.343Z] ---> Running in 3fab71f190b1 [2021-05-25T21:58:51.405Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-25T21:58:51.491Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T21:58:51.518Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-102-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-05-25T21:58:51.937Z] Removing intermediate container 3fab71f190b1 [2021-05-25T21:58:51.937Z] ---> 82fca5dad80f [2021-05-25T21:58:51.937Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T21:58:51.937Z] ---> Running in 4e890f6e132d [Pipeline] } [2021-05-25T21:58:52.551Z] Removing intermediate container 4e890f6e132d [2021-05-25T21:58:52.551Z] ---> 1149be9d39fb [2021-05-25T21:58:52.551Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T21:58:52.551Z] ---> Running in de7f1e8d3c43 [2021-05-25T21:58:55.173Z] Removing intermediate container de7f1e8d3c43 [2021-05-25T21:58:55.173Z] ---> 51f2aae7229a [2021-05-25T21:58:55.173Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T21:58:55.173Z] ---> Running in 8509bf1e4e2f [2021-05-25T21:58:56.149Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T21:58:57.122Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T21:58:57.721Z] OK: 145 MiB in 53 packages [2021-05-25T21:58:58.706Z] Removing intermediate container 8509bf1e4e2f [2021-05-25T21:58:58.706Z] ---> 437f87084642 [2021-05-25T21:58:58.706Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-25T21:58:58.979Z] ---> Running in 2f7da8638034 [2021-05-25T21:58:59.578Z] Removing intermediate container 2f7da8638034 [2021-05-25T21:58:59.578Z] ---> d234db418394 [2021-05-25T21:58:59.578Z] Step 9/24 : COPY . . [2021-05-25T21:59:00.557Z] ---> 2f892cdbf451 [2021-05-25T21:59:00.557Z] Step 10/24 : RUN go mod tidy [2021-05-25T21:59:00.557Z] ---> Running in 92af2c8284d6 [2021-05-25T21:59:03.201Z] Removing intermediate container 92af2c8284d6 [2021-05-25T21:59:03.201Z] ---> 0c889cf26eae [2021-05-25T21:59:03.201Z] Step 11/24 : RUN make update [2021-05-25T21:59:03.475Z] ---> Running in 21f52e1b96aa [2021-05-25T21:59:04.916Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-25T21:59:05.894Z] Removing intermediate container 21f52e1b96aa [2021-05-25T21:59:05.894Z] ---> ca75a9399478 [2021-05-25T21:59:05.894Z] Step 12/24 : RUN ${MAKE} [2021-05-25T21:59:05.894Z] ---> Running in 7fcda8333c34 [2021-05-25T21:59:07.340Z] go mod tidy [2021-05-25T21:59:07.617Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-05-25T21:59:46.667Z] Removing intermediate container 7fcda8333c34 [2021-05-25T21:59:46.667Z] ---> abc9509c90ab [2021-05-25T21:59:46.667Z] Step 13/24 : FROM alpine:3.12 [2021-05-25T21:59:46.667Z] 3.12: Pulling from library/alpine [2021-05-25T21:59:46.667Z] d2f70382dc9a: Pulling fs layer [2021-05-25T21:59:46.667Z] d2f70382dc9a: Verifying Checksum [2021-05-25T21:59:46.667Z] d2f70382dc9a: Download complete [2021-05-25T21:59:46.667Z] d2f70382dc9a: Pull complete [2021-05-25T21:59:46.667Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T21:59:46.667Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T21:59:46.667Z] ---> 9852663dfa18 [2021-05-25T21:59:46.667Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-25T21:59:46.667Z] ---> Running in d3841207840b [2021-05-25T21:59:46.667Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-25T21:59:46.667Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-25T21:59:46.950Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-25T21:59:46.950Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-25T21:59:46.950Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-25T21:59:46.950Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-25T21:59:46.950Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-25T21:59:46.950Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-25T21:59:46.950Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T21:59:46.950Z] OK: 8 MiB in 20 packages [2021-05-25T21:59:48.402Z] Removing intermediate container d3841207840b [2021-05-25T21:59:48.402Z] ---> e4ff4052d125 [2021-05-25T21:59:48.402Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-25T21:59:49.388Z] ---> 8c562a6ebddd [2021-05-25T21:59:49.388Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-25T21:59:50.376Z] ---> 7e9dc20d52d1 [2021-05-25T21:59:50.376Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-25T21:59:50.972Z] ---> 1e7d110cc226 [2021-05-25T21:59:50.972Z] Step 18/24 : EXPOSE 59993 [2021-05-25T21:59:51.248Z] ---> Running in 3ee469f777ae [2021-05-25T21:59:51.521Z] Removing intermediate container 3ee469f777ae [2021-05-25T21:59:51.522Z] ---> 3ca987a2f6ff [2021-05-25T21:59:51.522Z] Step 19/24 : EXPOSE 161 [2021-05-25T21:59:51.797Z] ---> Running in f099bc8e7ad7 [2021-05-25T21:59:52.073Z] Removing intermediate container f099bc8e7ad7 [2021-05-25T21:59:52.073Z] ---> de98aea16f9c [2021-05-25T21:59:52.073Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-25T21:59:52.348Z] ---> Running in 55bf04b1c1e5 [2021-05-25T21:59:52.944Z] Removing intermediate container 55bf04b1c1e5 [2021-05-25T21:59:52.944Z] ---> cf8219aaa387 [2021-05-25T21:59:52.944Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-25T21:59:52.944Z] ---> Running in 1f1b155aa956 [2021-05-25T21:59:53.543Z] Removing intermediate container 1f1b155aa956 [2021-05-25T21:59:53.543Z] ---> feb41dea17f0 [2021-05-25T21:59:53.543Z] Step 22/24 : LABEL arch=arm64 [2021-05-25T21:59:53.543Z] ---> Running in 9a0f0fd6a661 [2021-05-25T21:59:54.145Z] Removing intermediate container 9a0f0fd6a661 [2021-05-25T21:59:54.145Z] ---> c02c0c5154e1 [2021-05-25T21:59:54.145Z] Step 23/24 : LABEL git_sha=47d5e2d26e014165e18a75bf5178bb24648b6bd7 [2021-05-25T21:59:54.145Z] ---> Running in 584176f27467 [2021-05-25T21:59:54.749Z] Removing intermediate container 584176f27467 [2021-05-25T21:59:54.749Z] ---> 30f6d18bed06 [2021-05-25T21:59:54.749Z] Step 24/24 : LABEL version=0.0.0 [2021-05-25T21:59:54.749Z] ---> Running in f9e3f46c24e0 [2021-05-25T21:59:55.347Z] Removing intermediate container f9e3f46c24e0 [2021-05-25T21:59:55.347Z] ---> 031465cd7148 [2021-05-25T21:59:55.347Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-25T21:59:55.347Z] Successfully built 031465cd7148 [2021-05-25T21:59:55.347Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-25T21:59:56.076Z] ---> job-cost.sh [2021-05-25T21:59:56.076Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-D0Cb [2021-05-25T22:00:35.049Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T22:01:56.796Z] lf-activate-venv(): INFO: Adding /tmp/venv-D0Cb/bin to PATH [2021-05-25T22:01:56.796Z] INFO: No Stack... [2021-05-25T22:01:57.769Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-25T22:01:58.041Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T22:01:58.399Z] + + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-05-25T22:01:58.399Z] cut -d, -f6 [Pipeline] lock [2021-05-25T22:01:58.493Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-102-1-stack-cost] [2021-05-25T22:01:58.500Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-102-1-stack-cost] did not exist. Created. [2021-05-25T22:01:58.500Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T22:01:58.944Z] /w/workspace/device-snmp-go/1@tmp/durable-e3b19a29/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-e3b19a29/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-25T22:01:59.314Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-25T22:01:59.353Z] Warning: overwriting stash ‘stack-cost’ [2021-05-25T22:01:59.501Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T22:01:59.523Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-102-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-25T22:02:00.426Z] provisioning config files... [2021-05-25T22:02:00.436Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-102@tmp/config8272740158403580409tmp [Pipeline] { [Pipeline] sh [2021-05-25T22:02:00.816Z] + set +x [2021-05-25T22:02:00.816Z] + bash -s -- [2021-05-25T22:02:00.816Z] + curl -s https://codecov.io/bash [2021-05-25T22:02:00.816Z] [2021-05-25T22:02:00.816Z] _____ _ [2021-05-25T22:02:00.816Z] / ____| | | [2021-05-25T22:02:00.816Z] | | ___ __| | ___ ___ _____ __ [2021-05-25T22:02:00.816Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-25T22:02:00.816Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-25T22:02:00.816Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-25T22:02:00.816Z] Bash-1.0.3 [2021-05-25T22:02:00.816Z] [2021-05-25T22:02:00.816Z] [2021-05-25T22:02:00.816Z] ==> git version 2.24.4 found [2021-05-25T22:02:00.816Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-25T22:02:00.816Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-25T22:02:00.816Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-25T22:02:00.816Z] ==> Jenkins CI detected. [2021-05-25T22:02:00.816Z] project root: . [2021-05-25T22:02:00.816Z] --> token set from env [2021-05-25T22:02:00.816Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-25T22:02:00.816Z] ==> Running gcov in . (disable via -X gcov) [2021-05-25T22:02:00.816Z] ==> Python coveragepy not found [2021-05-25T22:02:00.816Z] ==> Searching for coverage reports in: [2021-05-25T22:02:00.816Z] + . [2021-05-25T22:02:00.816Z] -> Found 1 reports [2021-05-25T22:02:00.816Z] ==> Detecting git/mercurial file structure [2021-05-25T22:02:00.816Z] ==> Reading reports [2021-05-25T22:02:00.816Z] + ./coverage.out bytes=7631 [2021-05-25T22:02:00.816Z] ==> Appending adjustments [2021-05-25T22:02:00.816Z] https://docs.codecov.io/docs/fixing-reports [2021-05-25T22:02:01.079Z] + Found adjustments [2021-05-25T22:02:01.079Z] ==> Gzipping contents [2021-05-25T22:02:01.079Z] 4.0K /tmp/codecov.Pzp7vR.gz [2021-05-25T22:02:01.079Z] ==> Uploading reports [2021-05-25T22:02:01.079Z] url: https://codecov.io [2021-05-25T22:02:01.079Z] query: branch=PR-102&commit=47d5e2d26e014165e18a75bf5178bb24648b6bd7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=102&job=&cmd_args= [2021-05-25T22:02:01.079Z] -> Pinging Codecov [2021-05-25T22:02:01.079Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-102&commit=47d5e2d26e014165e18a75bf5178bb24648b6bd7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=102&job=&cmd_args= [2021-05-25T22:02:01.771Z] -> Uploading to [2021-05-25T22:02:01.771Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-25/6C56EA5C29638FB4528AC87E60AF5AE0/47d5e2d26e014165e18a75bf5178bb24648b6bd7/369cb2c3-0f16-4c70-9f67-9810cc3b2782.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210525T220201Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e38adfa3ccc760de651cccdcacf8b237f3d6c28d2244c1d76514d343aa1d1467 [2021-05-25T22:02:01.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-25T22:02:01.771Z] Dload Upload Total Spent Left Speed [2021-05-25T22:02:01.771Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3654 --:--:-- --:--:-- --:--:-- 3645 [2021-05-25T22:02:01.771Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/47d5e2d26e014165e18a75bf5178bb24648b6bd7 [Pipeline] } [2021-05-25T22:02:01.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-25T22:02:03.951Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T22:02:04.292Z] ---> package-listing.sh [2021-05-25T22:02:04.292Z] ++ facter osfamily [2021-05-25T22:02:04.292Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-25T22:02:04.560Z] + OS_FAMILY=redhat [2021-05-25T22:02:04.560Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-102 [2021-05-25T22:02:04.560Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-25T22:02:04.560Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-25T22:02:04.560Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-25T22:02:04.560Z] + PACKAGES=/tmp/packages_start.txt [2021-05-25T22:02:04.560Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-102 ']' [2021-05-25T22:02:04.560Z] + PACKAGES=/tmp/packages_end.txt [2021-05-25T22:02:04.560Z] + case "${OS_FAMILY}" in [2021-05-25T22:02:04.560Z] + rpm -qa [2021-05-25T22:02:04.560Z] + sort [2021-05-25T22:02:05.130Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-25T22:02:05.130Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-25T22:02:05.130Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-25T22:02:05.130Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-102 ']' [2021-05-25T22:02:05.130Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-102/archives/ [2021-05-25T22:02:05.130Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-102/archives/ [Pipeline] echo [2021-05-25T22:02:05.165Z] 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-102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-25T22:02:05.479Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-25T22:02:06.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T22:02:06.083Z] [2021-05-25T22:02:06.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-25T22:02:06.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T22:02:06.433Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-25T22:02:06.433Z] df20fa9351a1: Pulling fs layer [2021-05-25T22:02:06.433Z] 36b3adc4ff6f: Pulling fs layer [2021-05-25T22:02:06.433Z] 8ad3a11d3b57: Pulling fs layer [2021-05-25T22:02:06.433Z] 46f8f816bc3b: Pulling fs layer [2021-05-25T22:02:06.433Z] 93b61091891f: Pulling fs layer [2021-05-25T22:02:06.433Z] 93b9cdb0e59b: Pulling fs layer [2021-05-25T22:02:06.433Z] 5e14af77c1be: Pulling fs layer [2021-05-25T22:02:06.433Z] 01666e4c0597: Pulling fs layer [2021-05-25T22:02:06.433Z] aa168da1d23b: Pulling fs layer [2021-05-25T22:02:06.433Z] 93b9cdb0e59b: Waiting [2021-05-25T22:02:06.433Z] 5e14af77c1be: Waiting [2021-05-25T22:02:06.433Z] 01666e4c0597: Waiting [2021-05-25T22:02:06.434Z] aa168da1d23b: Waiting [2021-05-25T22:02:06.434Z] 46f8f816bc3b: Waiting [2021-05-25T22:02:06.434Z] 93b61091891f: Waiting [2021-05-25T22:02:06.434Z] 36b3adc4ff6f: Verifying Checksum [2021-05-25T22:02:06.434Z] 36b3adc4ff6f: Download complete [2021-05-25T22:02:06.434Z] 46f8f816bc3b: Verifying Checksum [2021-05-25T22:02:06.434Z] 46f8f816bc3b: Download complete [2021-05-25T22:02:06.694Z] 93b61091891f: Verifying Checksum [2021-05-25T22:02:06.694Z] 93b61091891f: Download complete [2021-05-25T22:02:06.694Z] 93b9cdb0e59b: Verifying Checksum [2021-05-25T22:02:06.694Z] 93b9cdb0e59b: Download complete [2021-05-25T22:02:06.694Z] 8ad3a11d3b57: Verifying Checksum [2021-05-25T22:02:06.694Z] 8ad3a11d3b57: Download complete [2021-05-25T22:02:06.694Z] 5e14af77c1be: Verifying Checksum [2021-05-25T22:02:06.694Z] 5e14af77c1be: Download complete [2021-05-25T22:02:06.694Z] 01666e4c0597: Verifying Checksum [2021-05-25T22:02:06.694Z] 01666e4c0597: Download complete [2021-05-25T22:02:06.694Z] df20fa9351a1: Verifying Checksum [2021-05-25T22:02:06.694Z] df20fa9351a1: Download complete [2021-05-25T22:02:06.954Z] df20fa9351a1: Pull complete [2021-05-25T22:02:07.214Z] 36b3adc4ff6f: Pull complete [2021-05-25T22:02:07.791Z] 8ad3a11d3b57: Pull complete [2021-05-25T22:02:07.791Z] 46f8f816bc3b: Pull complete [2021-05-25T22:02:08.363Z] 93b61091891f: Pull complete [2021-05-25T22:02:08.363Z] 93b9cdb0e59b: Pull complete [2021-05-25T22:02:08.363Z] 5e14af77c1be: Pull complete [2021-05-25T22:02:08.623Z] 01666e4c0597: Pull complete [2021-05-25T22:02:08.886Z] aa168da1d23b: Verifying Checksum [2021-05-25T22:02:08.886Z] aa168da1d23b: Download complete [2021-05-25T22:02:13.108Z] aa168da1d23b: Pull complete [2021-05-25T22:02:13.108Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-25T22:02:13.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T22:02:13.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-25T22:02:13.212Z] prd-centos7-docker-4c-2g-285 does not seem to be running inside a container [2021-05-25T22:02:13.249Z] $ 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-102/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-102 -v /w/workspace/gexfoundry_device-snmp-go_PR-102:/w/workspace/gexfoundry_device-snmp-go_PR-102:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-102@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-102@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-05-25T22:02:16.665Z] $ docker top 7d4135200eb013859ee94f2188d35167f9ef28e86c54963663be9d7695e94c39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T22:02:17.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-25T22:02:17.407Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-25T22:02:17.739Z] + ls /var/log/sa-host [2021-05-25T22:02:17.740Z] + sadf -c /var/log/sa-host/sa05 [2021-05-25T22:02:17.740Z] file_magic: OK [2021-05-25T22:02:17.740Z] HZ: Using current value: 100 [2021-05-25T22:02:17.740Z] file_header: OK [2021-05-25T22:02:17.740Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-25T22:02:17.740Z] Statistics: [2021-05-25T22:02:17.740Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T22:02:17.740Z] File successfully converted to sysstat format version 12.2.1 [2021-05-25T22:02:17.740Z] + sadf -c /var/log/sa-host/sa25 [2021-05-25T22:02:17.740Z] file_magic: OK [2021-05-25T22:02:17.740Z] HZ: Using current value: 100 [2021-05-25T22:02:17.740Z] file_header: OK [2021-05-25T22:02:17.740Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-25T22:02:17.740Z] Statistics: [2021-05-25T22:02:17.740Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T22:02:17.740Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T22:02:17.993Z] provisioning config files... [2021-05-25T22:02:18.007Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-102@tmp/config8922215752721370995tmp [Pipeline] { [Pipeline] echo [2021-05-25T22:02:18.066Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T22:02:18.411Z] ---> create-netrc.sh [Pipeline] } [2021-05-25T22:02:18.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-25T22:02:18.513Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T22:02:18.845Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-25T22:02:18.878Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T22:02:19.212Z] ---> sudo-logs.sh [2021-05-25T22:02:19.212Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-25T22:02:19.294Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T22:02:19.627Z] ---> job-cost.sh [2021-05-25T22:02:19.627Z] lf-activate-venv: SKIPPING [2021-05-25T22:02:19.627Z] DEBUG: total: 0.18000000715255737 [2021-05-25T22:02:19.627Z] INFO: Retrieving Stack Cost... [2021-05-25T22:02:21.012Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T22:02:21.586Z] INFO: Archiving Costs [Pipeline] echo [2021-05-25T22:02:21.625Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T22:02:21.958Z] ---> logs-deploy.sh [2021-05-25T22:02:21.958Z] lf-activate-venv: SKIPPING [2021-05-25T22:02:21.958Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-102/1 [2021-05-25T22:02:21.958Z] INFO: archiving workspace using pattern(s): [2021-05-25T22:02:22.902Z] Archives upload complete. [2021-05-25T22:02:22.902Z] INFO: archiving logs to Nexus