Pull request #77 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e07934cc6eee0fb56487b2efe7cb7d1e956043e1+dfea19939c3e5952b7f8a352ed4dd87bf2177730 (e1c4ee9b68e9013d146ad6b0dd10dd4d4d2f6343) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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-77/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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-77/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go 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 SECURITY_NOTIFY_LIST: security-issues@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-15851 in /w/workspace/dgexfoundry_device-snmp-go_PR-77 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-77 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit dfea19939c3e5952b7f8a352ed4dd87bf2177730 into PR head commit e07934cc6eee0fb56487b2efe7cb7d1e956043e1 Merge succeeded, producing e07934cc6eee0fb56487b2efe7cb7d1e956043e1 Checking out Revision e07934cc6eee0fb56487b2efe7cb7d1e956043e1 (PR-77) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e07934cc6eee0fb56487b2efe7cb7d1e956043e1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e07934cc6eee0fb56487b2efe7cb7d1e956043e1 # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-14T06:30:32.863Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-14T06:30:33.277Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-14T06:30:33.455Z] ========================================================= [2020-12-14T06:30:33.455Z] EdgeX Global Pipelines Version Info [2020-12-14T06:30:33.455Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:30:35.044Z] ------------------- [2020-12-14T06:30:35.045Z] stable info: [2020-12-14T06:30:35.045Z] ------------------- [2020-12-14T06:30:35.045Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T06:30:35.045Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T06:30:35.045Z] Message: update stable to v1.0.172 [2020-12-14T06:30:35.996Z] ------------------- [2020-12-14T06:30:35.996Z] experimental info: [2020-12-14T06:30:35.996Z] ------------------- [2020-12-14T06:30:35.996Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-14T06:30:35.996Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-14T06:30:35.996Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-14T06:30:36.373Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2020-12-14T06:30:36.501Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2020-12-14T06:30:36.710Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-14T06:30:36.857Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-14T06:30:36.997Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-14T06:30:37.132Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-14T06:30:37.319Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-14T06:30:37.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-14T06:30:37.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-14T06:30:37.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-14T06:30:37.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-14T06:30:37.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2020-12-14T06:30:38.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-14T06:30:38.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-14T06:30:38.554Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-14T06:30:38.721Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-14T06:30:38.882Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:30:39.066Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-14T06:30:39.409Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-14T06:30:39.622Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-14T06:30:39.758Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-14T06:30:39.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-14T06:30:40.063Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-14T06:30:40.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-14T06:30:40.578Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-14T06:30:40.704Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-14T06:30:40.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo [2020-12-14T06:30:40.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo [2020-12-14T06:30:41.126Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo [2020-12-14T06:30:41.303Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e07934cc6eee0fb56487b2efe7cb7d1e956043e1 [Pipeline] echo [2020-12-14T06:30:41.436Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e07934c [Pipeline] echo [2020-12-14T06:30:41.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:30:41.864Z] provisioning config files... [2020-12-14T06:30:41.926Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp/config7892746868159301038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:30:42.443Z] ---> docker-login.sh [2020-12-14T06:30:42.443Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:30:42.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:30:42.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:30:42.715Z] Configure a credential helper to remove this warning. See [2020-12-14T06:30:42.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:30:42.715Z] [2020-12-14T06:30:42.715Z] Login Succeeded [2020-12-14T06:30:42.979Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:30:42.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:30:42.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:30:42.979Z] Configure a credential helper to remove this warning. See [2020-12-14T06:30:42.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:30:42.979Z] [2020-12-14T06:30:42.979Z] Login Succeeded [2020-12-14T06:30:42.979Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:30:43.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:30:43.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:30:43.243Z] Configure a credential helper to remove this warning. See [2020-12-14T06:30:43.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:30:43.243Z] [2020-12-14T06:30:43.243Z] Login Succeeded [2020-12-14T06:30:43.243Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:30:43.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:30:43.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:30:43.506Z] Configure a credential helper to remove this warning. See [2020-12-14T06:30:43.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:30:43.506Z] [2020-12-14T06:30:43.506Z] Login Succeeded [2020-12-14T06:30:43.506Z] docker.io [2020-12-14T06:30:43.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:30:43.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:30:43.770Z] Configure a credential helper to remove this warning. See [2020-12-14T06:30:43.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:30:43.770Z] [2020-12-14T06:30:43.770Z] Login Succeeded [2020-12-14T06:30:43.771Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T06:30:43.828Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:30:45.162Z] + git log --format=format:%s -1 e07934cc6eee0fb56487b2efe7cb7d1e956043e1 [Pipeline] echo [2020-12-14T06:30:45.269Z] GIT_COMMIT: e07934cc6eee0fb56487b2efe7cb7d1e956043e1, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-14T06:30:45.385Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:30:46.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:30:46.174Z] [2020-12-14T06:30:46.174Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:30:46.673Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:30:46.673Z] latest: Pulling from edgex-devops/git-semver [2020-12-14T06:30:46.673Z] 31603596830f: Pulling fs layer [2020-12-14T06:30:46.673Z] 2a8b12db71e7: Pulling fs layer [2020-12-14T06:30:46.673Z] 6ca5941a6612: Pulling fs layer [2020-12-14T06:30:46.673Z] ecc8261a40a4: Pulling fs layer [2020-12-14T06:30:46.673Z] ecc8261a40a4: Waiting [2020-12-14T06:30:46.673Z] 2a8b12db71e7: Verifying Checksum [2020-12-14T06:30:46.673Z] 2a8b12db71e7: Download complete [2020-12-14T06:30:46.942Z] 31603596830f: Verifying Checksum [2020-12-14T06:30:46.942Z] 31603596830f: Download complete [2020-12-14T06:30:46.942Z] ecc8261a40a4: Verifying Checksum [2020-12-14T06:30:46.942Z] ecc8261a40a4: Download complete [2020-12-14T06:30:46.942Z] 6ca5941a6612: Verifying Checksum [2020-12-14T06:30:46.942Z] 6ca5941a6612: Download complete [2020-12-14T06:30:47.285Z] 31603596830f: Pull complete [2020-12-14T06:30:47.285Z] 2a8b12db71e7: Pull complete [2020-12-14T06:30:48.260Z] 6ca5941a6612: Pull complete [2020-12-14T06:30:48.537Z] ecc8261a40a4: Pull complete [2020-12-14T06:30:48.537Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-14T06:30:48.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-14T06:30:48.537Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-14T06:30:48.702Z] prd-centos7-docker-4c-2g-15851 does not seem to be running inside a container [2020-12-14T06:30:48.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-77 -v /w/workspace/dgexfoundry_device-snmp-go_PR-77:/w/workspace/dgexfoundry_device-snmp-go_PR-77:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-77@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-14T06:30:50.941Z] $ docker top 32c34f8d4d1b0657bddb2bf6be77e108c40f8620555ac696d5547117ef3cfeed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-14T06:30:51.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T06:30:51.558Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T06:30:51.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T06:30:51.837Z] $ docker exec 32c34f8d4d1b0657bddb2bf6be77e108c40f8620555ac696d5547117ef3cfeed ssh-agent [2020-12-14T06:30:52.022Z] SSH_AUTH_SOCK=/tmp/ssh-JiqJfHsKYc8G/agent.12 [2020-12-14T06:30:52.022Z] SSH_AGENT_PID=17 [2020-12-14T06:30:52.034Z] Running ssh-add (command line suppressed) [2020-12-14T06:30:52.167Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp/private_key_7256116964363746251.key (/w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp/private_key_7256116964363746251.key) [2020-12-14T06:30:52.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T06:30:52.725Z] + git tag --points-at HEAD [Pipeline] } [2020-12-14T06:30:52.761Z] $ docker exec --env ******** --env ******** 32c34f8d4d1b0657bddb2bf6be77e108c40f8620555ac696d5547117ef3cfeed ssh-agent -k [2020-12-14T06:30:52.900Z] unset SSH_AUTH_SOCK; [2020-12-14T06:30:52.901Z] unset SSH_AGENT_PID; [2020-12-14T06:30:52.901Z] echo Agent pid 17 killed; [2020-12-14T06:30:52.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-14T06:30:53.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-14T06:30:53.179Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-14T06:30:53.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-14T06:30:53.384Z] $ docker exec 32c34f8d4d1b0657bddb2bf6be77e108c40f8620555ac696d5547117ef3cfeed ssh-agent [2020-12-14T06:30:53.556Z] SSH_AUTH_SOCK=/tmp/ssh-GBagbD17d1Vr/agent.46 [2020-12-14T06:30:53.556Z] SSH_AGENT_PID=51 [2020-12-14T06:30:53.568Z] Running ssh-add (command line suppressed) [2020-12-14T06:30:53.699Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp/private_key_6931439331070080836.key (/w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp/private_key_6931439331070080836.key) [2020-12-14T06:30:53.752Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-14T06:30:54.183Z] + git semver init [2020-12-14T06:30:54.183Z] # -> Open(): unable to determine branch for HEAD [2020-12-14T06:30:54.183Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-77/.git [2020-12-14T06:30:54.183Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-77 [2020-12-14T06:30:54.183Z] # $SEMVER_REMOTE_NAME = origin [2020-12-14T06:30:54.183Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-14T06:30:54.183Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-14T06:30:54.183Z] # $SEMVER_BRANCH = PR-77 [2020-12-14T06:30:54.183Z] # $SEMVER_TEMP = /tmp/semver-516024062 [2020-12-14T06:30:54.183Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2020-12-14T06:30:54.763Z] # '/tmp/semver-516024062' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-77/.semver' [2020-12-14T06:30:54.763Z] # -> Force: false [2020-12-14T06:30:54.763Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-77/.semver [Pipeline] } [2020-12-14T06:30:54.791Z] $ docker exec --env ******** --env ******** 32c34f8d4d1b0657bddb2bf6be77e108c40f8620555ac696d5547117ef3cfeed ssh-agent -k [2020-12-14T06:30:54.932Z] unset SSH_AUTH_SOCK; [2020-12-14T06:30:54.932Z] unset SSH_AGENT_PID; [2020-12-14T06:30:54.932Z] echo Agent pid 51 killed; [2020-12-14T06:30:54.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-14T06:30:55.798Z] + git semver [Pipeline] } [2020-12-14T06:30:55.849Z] $ docker stop --time=1 32c34f8d4d1b0657bddb2bf6be77e108c40f8620555ac696d5547117ef3cfeed [2020-12-14T06:30:57.311Z] $ docker rm -f 32c34f8d4d1b0657bddb2bf6be77e108c40f8620555ac696d5547117ef3cfeed [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-14T06:30:57.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-14T06:30:58.350Z] Stashed 1 file(s) [Pipeline] echo [2020-12-14T06:30:58.372Z] [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 [2020-12-14T06:31:14.265Z] Still waiting to schedule task [2020-12-14T06:31:14.265Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-15834’ is offline; ‘prd-centos7-docker-4c-2g-15835’ is offline; ‘prd-centos7-docker-4c-2g-15836’ is offline; ‘prd-centos7-docker-4c-2g-15837’ is offline; ‘prd-centos7-docker-4c-2g-15838’ is offline; ‘prd-centos7-docker-4c-2g-15839’ is offline; ‘prd-centos7-docker-4c-2g-15841’ is offline; ‘prd-centos7-docker-4c-2g-15842’ is offline; ‘prd-centos7-docker-4c-2g-15858’ is offline; ‘prd-centos7-docker-4c-2g-15859’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15843’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15852’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-14T06:31:14.320Z] Still waiting to schedule task [2020-12-14T06:31:14.320Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-14T06:32:30.670Z] Running on prd-centos7-docker-4c-2g-15868 in /w/workspace/dgexfoundry_device-snmp-go_PR-77 [Pipeline] { [Pipeline] ws [2020-12-14T06:32:30.795Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-12-14T06:32:33.504Z] using credential edgex-jenkins-ssh [2020-12-14T06:32:33.557Z] Cloning the remote Git repository [2020-12-14T06:32:33.248Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-12-14T06:32:33.329Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-12-14T06:32:33.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-12-14T06:32:33.393Z] > git --version # timeout=10 [2020-12-14T06:32:33.403Z] > git --version # 'git version 2.24.3' [2020-12-14T06:32:33.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:32:33.446Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:32:34.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-12-14T06:32:34.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:32:34.732Z] Merging remotes/origin/master commit dfea19939c3e5952b7f8a352ed4dd87bf2177730 into PR head commit e07934cc6eee0fb56487b2efe7cb7d1e956043e1 [2020-12-14T06:32:34.806Z] Merge succeeded, producing e07934cc6eee0fb56487b2efe7cb7d1e956043e1 [2020-12-14T06:32:34.806Z] Checking out Revision e07934cc6eee0fb56487b2efe7cb7d1e956043e1 (PR-77) [2020-12-14T06:32:34.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-12-14T06:32:34.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-12-14T06:32:34.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:32:34.049Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T06:32:34.498Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:32:34.503Z] > git checkout -f e07934cc6eee0fb56487b2efe7cb7d1e956043e1 # timeout=10 [2020-12-14T06:32:34.536Z] > git remote # timeout=10 [2020-12-14T06:32:34.543Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T06:32:34.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:32:34.552Z] > git merge dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [2020-12-14T06:32:34.563Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T06:32:34.573Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:32:34.580Z] > git checkout -f e07934cc6eee0fb56487b2efe7cb7d1e956043e1 # timeout=10 [2020-12-14T06:32:38.287Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-14T06:32:38.318Z] > git --version # timeout=10 [2020-12-14T06:32:38.322Z] > git --version # 'git version 2.24.3' [2020-12-14T06:32:38.328Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:32:39.990Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:32:40.342Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:32:40.663Z] + sudo service docker restart [2020-12-14T06:32:40.663Z] + true [2020-12-14T06:32:40.663Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:32:42.237Z] provisioning config files... [2020-12-14T06:32:42.275Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8280907257519585964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:32:42.765Z] ---> docker-login.sh [2020-12-14T06:32:42.765Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:32:43.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:32:43.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:32:43.308Z] Configure a credential helper to remove this warning. See [2020-12-14T06:32:43.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:32:43.308Z] [2020-12-14T06:32:43.308Z] Login Succeeded [2020-12-14T06:32:43.308Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:32:43.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:32:43.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:32:43.575Z] Configure a credential helper to remove this warning. See [2020-12-14T06:32:43.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:32:43.575Z] [2020-12-14T06:32:43.575Z] Login Succeeded [2020-12-14T06:32:43.575Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:32:43.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:32:43.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:32:43.846Z] Configure a credential helper to remove this warning. See [2020-12-14T06:32:43.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:32:43.846Z] [2020-12-14T06:32:43.846Z] Login Succeeded [2020-12-14T06:32:43.846Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:32:43.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:32:44.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:32:44.110Z] Configure a credential helper to remove this warning. See [2020-12-14T06:32:44.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:32:44.110Z] [2020-12-14T06:32:44.110Z] Login Succeeded [2020-12-14T06:32:44.110Z] docker.io [2020-12-14T06:32:44.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:32:44.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:32:44.373Z] Configure a credential helper to remove this warning. See [2020-12-14T06:32:44.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:32:44.373Z] [2020-12-14T06:32:44.373Z] Login Succeeded [2020-12-14T06:32:44.373Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T06:32:44.397Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-14T06:32:44.972Z] ========================================================= [2020-12-14T06:32:44.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-14T06:32:44.972Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:32:45.373Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-14T06:32:45.373Z] Sending build context to Docker daemon 315.4kB [2020-12-14T06:32:45.373Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-14T06:32:45.373Z] Step 2/10 : FROM ${BASE} [2020-12-14T06:32:45.638Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-14T06:32:45.638Z] 188c0c94c7c5: Pulling fs layer [2020-12-14T06:32:45.638Z] 0ef7d3d256c8: Pulling fs layer [2020-12-14T06:32:45.638Z] de9db76c5a1d: Pulling fs layer [2020-12-14T06:32:45.638Z] bca2f99d35d6: Pulling fs layer [2020-12-14T06:32:45.638Z] 93359f2a8cfa: Pulling fs layer [2020-12-14T06:32:45.638Z] 7c6f9722023f: Pulling fs layer [2020-12-14T06:32:45.638Z] a35cf1a2eb13: Pulling fs layer [2020-12-14T06:32:45.638Z] 93359f2a8cfa: Waiting [2020-12-14T06:32:45.638Z] 7c6f9722023f: Waiting [2020-12-14T06:32:45.638Z] a35cf1a2eb13: Waiting [2020-12-14T06:32:45.638Z] bca2f99d35d6: Waiting [2020-12-14T06:32:45.638Z] de9db76c5a1d: Verifying Checksum [2020-12-14T06:32:45.638Z] de9db76c5a1d: Download complete [2020-12-14T06:32:45.638Z] 0ef7d3d256c8: Verifying Checksum [2020-12-14T06:32:45.638Z] 0ef7d3d256c8: Download complete [2020-12-14T06:32:45.638Z] 93359f2a8cfa: Verifying Checksum [2020-12-14T06:32:45.638Z] 93359f2a8cfa: Download complete [2020-12-14T06:32:45.638Z] 7c6f9722023f: Verifying Checksum [2020-12-14T06:32:45.638Z] 7c6f9722023f: Download complete [2020-12-14T06:32:45.638Z] 188c0c94c7c5: Verifying Checksum [2020-12-14T06:32:45.638Z] 188c0c94c7c5: Download complete [2020-12-14T06:32:45.909Z] 188c0c94c7c5: Pull complete [2020-12-14T06:32:46.188Z] 0ef7d3d256c8: Pull complete [2020-12-14T06:32:46.188Z] de9db76c5a1d: Pull complete [2020-12-14T06:32:47.617Z] a35cf1a2eb13: Verifying Checksum [2020-12-14T06:32:47.617Z] a35cf1a2eb13: Download complete [2020-12-14T06:32:47.881Z] bca2f99d35d6: Verifying Checksum [2020-12-14T06:32:47.881Z] bca2f99d35d6: Download complete [2020-12-14T06:32:53.252Z] bca2f99d35d6: Pull complete [2020-12-14T06:32:53.252Z] 93359f2a8cfa: Pull complete [2020-12-14T06:32:53.252Z] 7c6f9722023f: Pull complete [2020-12-14T06:32:58.603Z] a35cf1a2eb13: Pull complete [2020-12-14T06:32:58.603Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-14T06:32:58.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-14T06:32:58.603Z] ---> a62c8e92a672 [2020-12-14T06:32:58.603Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-14T06:32:58.603Z] ---> Running in 222fb345dc69 [2020-12-14T06:32:58.603Z] Removing intermediate container 222fb345dc69 [2020-12-14T06:32:58.603Z] ---> 2c651a259e73 [2020-12-14T06:32:58.603Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-14T06:32:58.603Z] ---> Running in 28f802af7ae9 [2020-12-14T06:32:58.603Z] Removing intermediate container 28f802af7ae9 [2020-12-14T06:32:58.603Z] ---> 45259dbbe571 [2020-12-14T06:32:58.603Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-12-14T06:32:58.878Z] ---> Running in 9c6295215bef [2020-12-14T06:32:58.878Z] Removing intermediate container 9c6295215bef [2020-12-14T06:32:58.878Z] ---> be03e4b232be [2020-12-14T06:32:58.878Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T06:32:58.878Z] ---> Running in 331813d1d584 [2020-12-14T06:32:59.847Z] Removing intermediate container 331813d1d584 [2020-12-14T06:32:59.847Z] ---> 01cd04b8b107 [2020-12-14T06:32:59.847Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-14T06:33:00.112Z] ---> Running in 2cc92606df1a [2020-12-14T06:33:01.062Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-14T06:33:03.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-14T06:33:04.422Z] OK: 166 MiB in 39 packages [2020-12-14T06:33:05.000Z] Removing intermediate container 2cc92606df1a [2020-12-14T06:33:05.000Z] ---> 3dafcb42bad2 [2020-12-14T06:33:05.000Z] Step 8/10 : WORKDIR /device-snmp-go [2020-12-14T06:33:05.000Z] ---> Running in dd7ce41418a7 [2020-12-14T06:33:05.000Z] Removing intermediate container dd7ce41418a7 [2020-12-14T06:33:05.000Z] ---> 22923385ce40 [2020-12-14T06:33:05.000Z] Step 9/10 : COPY . . [2020-12-14T06:33:05.964Z] ---> 076b00dce0d1 [2020-12-14T06:33:05.964Z] Step 10/10 : RUN go mod download [2020-12-14T06:33:05.964Z] ---> Running in e3631ea5bff3 [2020-12-14T06:33:28.036Z] Removing intermediate container e3631ea5bff3 [2020-12-14T06:33:28.036Z] ---> dc821e6bbe5a [2020-12-14T06:33:28.036Z] Successfully built dc821e6bbe5a [2020-12-14T06:33:28.036Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:33:29.619Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T06:33:29.619Z] . [Pipeline] withDockerContainer [2020-12-14T06:33:29.789Z] prd-centos7-docker-4c-2g-15868 does not seem to be running inside a container [2020-12-14T06:33:29.855Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-14T06:33:30.650Z] $ docker top 1c98c16cc6ba089aba41760d89c4b50d3f41ccb48c666af94c68c33f7037455b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:33:31.261Z] + go version [2020-12-14T06:33:31.261Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-14T06:33:31.295Z] $ docker stop --time=1 1c98c16cc6ba089aba41760d89c4b50d3f41ccb48c666af94c68c33f7037455b [2020-12-14T06:33:32.655Z] $ docker rm -f 1c98c16cc6ba089aba41760d89c4b50d3f41ccb48c666af94c68c33f7037455b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:33:33.817Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-14T06:33:33.817Z] . [Pipeline] withDockerContainer [2020-12-14T06:33:33.956Z] prd-centos7-docker-4c-2g-15868 does not seem to be running inside a container [2020-12-14T06:33:34.009Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-14T06:33:34.728Z] $ docker top 8669a64f197e3ab79135b45fb7f84f1adb583af70eefa1c931dd9278f22bd61d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:33:35.289Z] + make test [2020-12-14T06:33:35.289Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-14T06:33:36.256Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-12-14T06:33:44.550Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-14T06:33:44.550Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-14T06:33:44.550Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-14T06:33:47.134Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2020-12-14T06:33:47.134Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2020-12-14T06:33:47.186Z] $ docker stop --time=1 8669a64f197e3ab79135b45fb7f84f1adb583af70eefa1c931dd9278f22bd61d [2020-12-14T06:33:49.546Z] $ docker rm -f 8669a64f197e3ab79135b45fb7f84f1adb583af70eefa1c931dd9278f22bd61d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:33:52.131Z] Failed in branch amd64 [2020-12-14T06:35:40.413Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15879 in /w/workspace/dgexfoundry_device-snmp-go_PR-77 [Pipeline] { [Pipeline] ws [2020-12-14T06:35:40.562Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-12-14T06:35:45.713Z] using credential edgex-jenkins-ssh [2020-12-14T06:35:45.771Z] Cloning the remote Git repository [2020-12-14T06:35:45.828Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-12-14T06:35:45.940Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-12-14T06:35:46.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-12-14T06:35:46.013Z] > git --version # timeout=10 [2020-12-14T06:35:46.034Z] > git --version # 'git version 2.17.1' [2020-12-14T06:35:46.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:35:46.112Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:35:46.831Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-12-14T06:35:46.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-14T06:35:46.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-12-14T06:35:47.404Z] Merging remotes/origin/master commit dfea19939c3e5952b7f8a352ed4dd87bf2177730 into PR head commit e07934cc6eee0fb56487b2efe7cb7d1e956043e1 [2020-12-14T06:35:47.587Z] Merge succeeded, producing e07934cc6eee0fb56487b2efe7cb7d1e956043e1 [2020-12-14T06:35:47.587Z] Checking out Revision e07934cc6eee0fb56487b2efe7cb7d1e956043e1 (PR-77) [2020-12-14T06:35:46.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-12-14T06:35:46.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:35:46.947Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-14T06:35:47.425Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:35:47.438Z] > git checkout -f e07934cc6eee0fb56487b2efe7cb7d1e956043e1 # timeout=10 [2020-12-14T06:35:47.513Z] > git remote # timeout=10 [2020-12-14T06:35:47.531Z] > git config --get remote.origin.url # timeout=10 [2020-12-14T06:35:47.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-14T06:35:47.554Z] > git merge dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [2020-12-14T06:35:47.576Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-14T06:35:47.596Z] > git config core.sparsecheckout # timeout=10 [2020-12-14T06:35:47.615Z] > git checkout -f e07934cc6eee0fb56487b2efe7cb7d1e956043e1 # timeout=10 [2020-12-14T06:35:52.344Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-14T06:35:52.401Z] > git --version # timeout=10 [2020-12-14T06:35:52.410Z] > git --version # 'git version 2.17.1' [2020-12-14T06:35:52.427Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-14T06:35:54.157Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:35:54.678Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-14T06:35:55.064Z] + sudo service docker restart [2020-12-14T06:35:55.064Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-14T06:35:57.936Z] provisioning config files... [2020-12-14T06:35:57.990Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5332790050575116155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:35:58.468Z] ---> docker-login.sh [2020-12-14T06:35:58.468Z] nexus3.edgexfoundry.org:10001 [2020-12-14T06:35:59.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:35:59.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:35:59.733Z] Configure a credential helper to remove this warning. See [2020-12-14T06:35:59.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:35:59.733Z] [2020-12-14T06:35:59.733Z] Login Succeeded [2020-12-14T06:35:59.733Z] nexus3.edgexfoundry.org:10002 [2020-12-14T06:36:00.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:36:00.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:36:00.623Z] Configure a credential helper to remove this warning. See [2020-12-14T06:36:00.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:36:00.623Z] [2020-12-14T06:36:00.623Z] Login Succeeded [2020-12-14T06:36:00.623Z] nexus3.edgexfoundry.org:10003 [2020-12-14T06:36:01.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:36:01.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:36:01.233Z] Configure a credential helper to remove this warning. See [2020-12-14T06:36:01.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:36:01.233Z] [2020-12-14T06:36:01.233Z] Login Succeeded [2020-12-14T06:36:01.233Z] nexus3.edgexfoundry.org:10004 [2020-12-14T06:36:01.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:36:01.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:36:01.836Z] Configure a credential helper to remove this warning. See [2020-12-14T06:36:01.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:36:01.836Z] [2020-12-14T06:36:01.836Z] Login Succeeded [2020-12-14T06:36:01.836Z] docker.io [2020-12-14T06:36:02.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-14T06:36:02.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-14T06:36:02.723Z] Configure a credential helper to remove this warning. See [2020-12-14T06:36:02.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-14T06:36:02.723Z] [2020-12-14T06:36:02.723Z] Login Succeeded [2020-12-14T06:36:02.723Z] ---> docker-login.sh ends [Pipeline] } [2020-12-14T06:36:02.754Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-14T06:36:03.356Z] ========================================================= [2020-12-14T06:36:03.356Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-14T06:36:03.356Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:36:03.818Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-14T06:36:04.106Z] Sending build context to Docker daemon 314.4kB [2020-12-14T06:36:04.106Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-14T06:36:04.106Z] Step 2/10 : FROM ${BASE} [2020-12-14T06:36:04.106Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-14T06:36:04.106Z] 5f621e34cdf4: Pulling fs layer [2020-12-14T06:36:04.106Z] a4357932f1b6: Pulling fs layer [2020-12-14T06:36:04.106Z] 18c013af1878: Pulling fs layer [2020-12-14T06:36:04.106Z] 00ac8860ef70: Pulling fs layer [2020-12-14T06:36:04.106Z] 63d7cb157983: Pulling fs layer [2020-12-14T06:36:04.106Z] b116817d02f9: Pulling fs layer [2020-12-14T06:36:04.106Z] 745a02a5169b: Pulling fs layer [2020-12-14T06:36:04.106Z] 63d7cb157983: Waiting [2020-12-14T06:36:04.106Z] b116817d02f9: Waiting [2020-12-14T06:36:04.106Z] 745a02a5169b: Waiting [2020-12-14T06:36:04.106Z] 00ac8860ef70: Waiting [2020-12-14T06:36:04.399Z] 18c013af1878: Verifying Checksum [2020-12-14T06:36:04.399Z] 18c013af1878: Download complete [2020-12-14T06:36:04.399Z] a4357932f1b6: Verifying Checksum [2020-12-14T06:36:04.399Z] a4357932f1b6: Download complete [2020-12-14T06:36:04.399Z] 63d7cb157983: Verifying Checksum [2020-12-14T06:36:04.399Z] 63d7cb157983: Download complete [2020-12-14T06:36:04.399Z] 5f621e34cdf4: Verifying Checksum [2020-12-14T06:36:04.399Z] b116817d02f9: Verifying Checksum [2020-12-14T06:36:04.399Z] b116817d02f9: Download complete [2020-12-14T06:36:05.015Z] 5f621e34cdf4: Pull complete [2020-12-14T06:36:05.620Z] a4357932f1b6: Pull complete [2020-12-14T06:36:05.900Z] 18c013af1878: Pull complete [2020-12-14T06:36:06.509Z] 745a02a5169b: Verifying Checksum [2020-12-14T06:36:06.509Z] 745a02a5169b: Download complete [2020-12-14T06:36:08.523Z] 00ac8860ef70: Verifying Checksum [2020-12-14T06:36:08.523Z] 00ac8860ef70: Download complete [2020-12-14T06:36:18.726Z] 00ac8860ef70: Pull complete [2020-12-14T06:36:18.726Z] 63d7cb157983: Pull complete [2020-12-14T06:36:19.000Z] b116817d02f9: Pull complete [2020-12-14T06:36:23.321Z] 745a02a5169b: Pull complete [2020-12-14T06:36:23.321Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-14T06:36:23.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-14T06:36:23.321Z] ---> b7e6874047d6 [2020-12-14T06:36:23.321Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-14T06:36:25.311Z] ---> Running in 6ac500ce9737 [2020-12-14T06:36:25.913Z] Removing intermediate container 6ac500ce9737 [2020-12-14T06:36:25.913Z] ---> a62f757dd063 [2020-12-14T06:36:25.913Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-14T06:36:25.913Z] ---> Running in 1c349de20268 [2020-12-14T06:36:26.513Z] Removing intermediate container 1c349de20268 [2020-12-14T06:36:26.513Z] ---> bede4ceb083c [2020-12-14T06:36:26.513Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-12-14T06:36:26.513Z] ---> Running in ef686fa87f6a [2020-12-14T06:36:27.111Z] Removing intermediate container ef686fa87f6a [2020-12-14T06:36:27.111Z] ---> 7e4531275be1 [2020-12-14T06:36:27.111Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-14T06:36:27.111Z] ---> Running in 3f558abea596 [2020-12-14T06:36:29.754Z] Removing intermediate container 3f558abea596 [2020-12-14T06:36:29.755Z] ---> 738504230794 [2020-12-14T06:36:29.755Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-14T06:36:29.755Z] ---> Running in 5bd944337b24 [2020-12-14T06:36:30.733Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-14T06:36:31.705Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-14T06:36:33.132Z] OK: 142 MiB in 39 packages [2020-12-14T06:36:34.130Z] Removing intermediate container 5bd944337b24 [2020-12-14T06:36:34.130Z] ---> b5f131bab573 [2020-12-14T06:36:34.130Z] Step 8/10 : WORKDIR /device-snmp-go [2020-12-14T06:36:34.130Z] ---> Running in 017db48745a1 [2020-12-14T06:36:34.729Z] Removing intermediate container 017db48745a1 [2020-12-14T06:36:34.729Z] ---> 177c70665bca [2020-12-14T06:36:34.729Z] Step 9/10 : COPY . . [2020-12-14T06:36:35.326Z] ---> f08d300f081b [2020-12-14T06:36:35.326Z] Step 10/10 : RUN go mod download [2020-12-14T06:36:35.599Z] ---> Running in b8b8127db5b8 [2020-12-14T06:36:57.829Z] Removing intermediate container b8b8127db5b8 [2020-12-14T06:36:57.829Z] ---> 11a728a5649d [2020-12-14T06:36:57.829Z] Successfully built 11a728a5649d [2020-12-14T06:36:57.829Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:36:58.211Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T06:36:58.211Z] . [Pipeline] withDockerContainer [2020-12-14T06:36:58.496Z] prd-ubuntu18.04-docker-arm64-4c-16g-15879 does not seem to be running inside a container [2020-12-14T06:36:58.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-14T06:37:00.083Z] $ docker top 4bf360791633ee9b1d7a013b4012c5fd766335fccff2f35a299cd1b1bba8317b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:37:01.187Z] + go version [2020-12-14T06:37:01.187Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-14T06:37:01.236Z] $ docker stop --time=1 4bf360791633ee9b1d7a013b4012c5fd766335fccff2f35a299cd1b1bba8317b [2020-12-14T06:37:03.150Z] $ docker rm -f 4bf360791633ee9b1d7a013b4012c5fd766335fccff2f35a299cd1b1bba8317b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:37:04.431Z] + docker inspect -f . ci-base-image-arm64 [2020-12-14T06:37:04.431Z] . [Pipeline] withDockerContainer [2020-12-14T06:37:04.714Z] prd-ubuntu18.04-docker-arm64-4c-16g-15879 does not seem to be running inside a container [2020-12-14T06:37:04.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-14T06:37:06.288Z] $ docker top 3cf0092a5ab900428cdcb54a60de43ce1bcb31170b1c3c64e868aa15a3a27491 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:37:07.354Z] + make test [2020-12-14T06:37:07.354Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-14T06:37:08.352Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-12-14T06:37:35.196Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-14T06:37:35.196Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading [2020-12-14T06:37:35.196Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.3.0/internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) [2020-12-14T06:37:38.600Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.031s coverage: 0.0% of statements [2020-12-14T06:37:38.875Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2020-12-14T06:37:38.949Z] $ docker stop --time=1 3cf0092a5ab900428cdcb54a60de43ce1bcb31170b1c3c64e868aa15a3a27491 [2020-12-14T06:37:41.139Z] $ docker rm -f 3cf0092a5ab900428cdcb54a60de43ce1bcb31170b1c3c64e868aa15a3a27491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-14T06:37:43.770Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:37:48.354Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:37:48.979Z] ---> package-listing.sh [2020-12-14T06:37:48.979Z] ++ facter osfamily [2020-12-14T06:37:48.979Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-14T06:37:48.979Z] + OS_FAMILY=redhat [2020-12-14T06:37:48.979Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-77 [2020-12-14T06:37:48.979Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-14T06:37:48.979Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-14T06:37:48.979Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-14T06:37:48.979Z] + PACKAGES=/tmp/packages_start.txt [2020-12-14T06:37:48.979Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-77 ']' [2020-12-14T06:37:48.979Z] + PACKAGES=/tmp/packages_end.txt [2020-12-14T06:37:48.979Z] + case "${OS_FAMILY}" in [2020-12-14T06:37:48.979Z] + rpm -qa [2020-12-14T06:37:48.979Z] + sort [2020-12-14T06:37:54.332Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-14T06:37:54.332Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-14T06:37:54.332Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-14T06:37:54.332Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-77 ']' [2020-12-14T06:37:54.332Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-77/archives/ [2020-12-14T06:37:54.332Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-77/archives/ [Pipeline] echo [2020-12-14T06:37:54.382Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-14T06:37:54.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:37:55.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:37:55.068Z] [2020-12-14T06:37:55.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-14T06:37:55.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:37:55.468Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-14T06:37:55.468Z] df20fa9351a1: Pulling fs layer [2020-12-14T06:37:55.468Z] 36b3adc4ff6f: Pulling fs layer [2020-12-14T06:37:55.468Z] 8ad3a11d3b57: Pulling fs layer [2020-12-14T06:37:55.468Z] 46f8f816bc3b: Pulling fs layer [2020-12-14T06:37:55.468Z] 93b61091891f: Pulling fs layer [2020-12-14T06:37:55.468Z] 93b9cdb0e59b: Pulling fs layer [2020-12-14T06:37:55.468Z] 5e14af77c1be: Pulling fs layer [2020-12-14T06:37:55.468Z] 01666e4c0597: Pulling fs layer [2020-12-14T06:37:55.468Z] aa168da1d23b: Pulling fs layer [2020-12-14T06:37:55.468Z] 46f8f816bc3b: Waiting [2020-12-14T06:37:55.468Z] 5e14af77c1be: Waiting [2020-12-14T06:37:55.468Z] 93b61091891f: Waiting [2020-12-14T06:37:55.468Z] 93b9cdb0e59b: Waiting [2020-12-14T06:37:55.468Z] 01666e4c0597: Waiting [2020-12-14T06:37:55.468Z] aa168da1d23b: Waiting [2020-12-14T06:37:55.468Z] 36b3adc4ff6f: Verifying Checksum [2020-12-14T06:37:55.468Z] 36b3adc4ff6f: Download complete [2020-12-14T06:37:55.735Z] 46f8f816bc3b: Download complete [2020-12-14T06:37:55.735Z] df20fa9351a1: Download complete [2020-12-14T06:37:55.735Z] 93b9cdb0e59b: Verifying Checksum [2020-12-14T06:37:55.735Z] 93b9cdb0e59b: Download complete [2020-12-14T06:37:55.735Z] 5e14af77c1be: Verifying Checksum [2020-12-14T06:37:55.735Z] 5e14af77c1be: Download complete [2020-12-14T06:37:55.735Z] 01666e4c0597: Verifying Checksum [2020-12-14T06:37:55.735Z] 01666e4c0597: Download complete [2020-12-14T06:37:55.735Z] 93b61091891f: Verifying Checksum [2020-12-14T06:37:55.735Z] 93b61091891f: Download complete [2020-12-14T06:37:56.000Z] df20fa9351a1: Pull complete [2020-12-14T06:37:56.266Z] 8ad3a11d3b57: Verifying Checksum [2020-12-14T06:37:56.266Z] 8ad3a11d3b57: Download complete [2020-12-14T06:37:56.266Z] 36b3adc4ff6f: Pull complete [2020-12-14T06:37:57.248Z] 8ad3a11d3b57: Pull complete [2020-12-14T06:37:57.249Z] 46f8f816bc3b: Pull complete [2020-12-14T06:37:57.844Z] 93b61091891f: Pull complete [2020-12-14T06:37:58.107Z] aa168da1d23b: Verifying Checksum [2020-12-14T06:37:58.107Z] aa168da1d23b: Download complete [2020-12-14T06:37:58.377Z] 93b9cdb0e59b: Pull complete [2020-12-14T06:37:58.377Z] 5e14af77c1be: Pull complete [2020-12-14T06:37:58.647Z] 01666e4c0597: Pull complete [2020-12-14T06:38:06.904Z] aa168da1d23b: Pull complete [2020-12-14T06:38:06.904Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-14T06:38:06.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-14T06:38:06.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-14T06:38:07.152Z] prd-centos7-docker-4c-2g-15851 does not seem to be running inside a container [2020-12-14T06:38:07.213Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-77 -v /w/workspace/dgexfoundry_device-snmp-go_PR-77:/w/workspace/dgexfoundry_device-snmp-go_PR-77:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-14T06:38:10.875Z] $ docker top 44aa6b463848bba584fbe384e7481ecc3d1ace88fce9dd4805c8293b36203677 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-14T06:38:11.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-14T06:38:11.879Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-14T06:38:12.233Z] + ls /var/log/sa-host [2020-12-14T06:38:12.233Z] + sadf -c /var/log/sa-host/sa14 [2020-12-14T06:38:12.233Z] file_magic: OK [2020-12-14T06:38:12.233Z] HZ: Using current value: 100 [2020-12-14T06:38:12.233Z] file_header: OK [2020-12-14T06:38:12.233Z] 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 [2020-12-14T06:38:12.233Z] Statistics: [2020-12-14T06:38:12.233Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-14T06:38:12.233Z] File successfully converted to sysstat format version 12.2.1 [2020-12-14T06:38:12.233Z] + sadf -c /var/log/sa-host/sa23 [2020-12-14T06:38:12.233Z] file_magic: OK [2020-12-14T06:38:12.233Z] HZ: Using current value: 100 [2020-12-14T06:38:12.233Z] file_header: OK [2020-12-14T06:38:12.233Z] 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 [2020-12-14T06:38:12.233Z] Statistics: [2020-12-14T06:38:12.233Z] Hnuu...uuuununununu... [2020-12-14T06:38:12.233Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-14T06:38:12.543Z] provisioning config files... [2020-12-14T06:38:12.563Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-77@tmp/config2680961577421155955tmp [Pipeline] { [Pipeline] echo [2020-12-14T06:38:12.690Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:13.086Z] ---> create-netrc.sh [Pipeline] } [2020-12-14T06:38:13.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-14T06:38:13.278Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:13.630Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-14T06:38:13.683Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:14.048Z] ---> sudo-logs.sh [2020-12-14T06:38:14.048Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-14T06:38:14.394Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:14.751Z] ---> job-cost.sh [2020-12-14T06:38:14.751Z] lf-activate-venv: SKIPPING [2020-12-14T06:38:14.751Z] INFO: No Stack... [2020-12-14T06:38:15.699Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-14T06:38:15.964Z] INFO: Archiving Costs [Pipeline] echo [2020-12-14T06:38:15.999Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-14T06:38:16.350Z] ---> logs-deploy.sh [2020-12-14T06:38:16.350Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-77/1 [2020-12-14T06:38:16.350Z] INFO: archiving workspace using pattern(s): [2020-12-14T06:38:18.286Z] Archives upload complete. [2020-12-14T06:38:18.286Z] INFO: archiving logs to Nexus