Pull request #74 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ca4ec056f23b2c516b09fa75e08a047bab1f32a9+dfea19939c3e5952b7f8a352ed4dd87bf2177730 (9deb895909fe2e30381d3b3d70e8ddc0dda0938d) 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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-74/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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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-74/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 a5c854593eac886f27ddeefb8920871132e8ed78 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-14802 in /w/workspace/dgexfoundry_device-snmp-go_PR-74 [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-74 # 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 ca4ec056f23b2c516b09fa75e08a047bab1f32a9 > 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/74/head:refs/remotes/origin/PR-74 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca4ec056f23b2c516b09fa75e08a047bab1f32a9 # timeout=10 Merge succeeded, producing ca4ec056f23b2c516b09fa75e08a047bab1f32a9 Checking out Revision ca4ec056f23b2c516b09fa75e08a047bab1f32a9 (PR-74) > 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 ca4ec056f23b2c516b09fa75e08a047bab1f32a9 # 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 a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T06:35:09.164Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T06:35:09.496Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T06:35:09.667Z] ========================================================= [2020-12-07T06:35:09.667Z] EdgeX Global Pipelines Version Info [2020-12-07T06:35:09.667Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:35:12.601Z] ------------------- [2020-12-07T06:35:12.601Z] stable info: [2020-12-07T06:35:12.601Z] ------------------- [2020-12-07T06:35:12.601Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T06:35:12.601Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-07T06:35:12.601Z] Message: update stable to v1.0.169 [2020-12-07T06:35:14.059Z] ------------------- [2020-12-07T06:35:14.059Z] experimental info: [2020-12-07T06:35:14.059Z] ------------------- [2020-12-07T06:35:14.059Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T06:35:14.059Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T06:35:14.059Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T06:35:14.492Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2020-12-07T06:35:14.614Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2020-12-07T06:35:14.760Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T06:35:14.882Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T06:35:15.003Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T06:35:15.132Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T06:35:15.257Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T06:35:15.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T06:35:15.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-07T06:35:15.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T06:35:15.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T06:35:15.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2020-12-07T06:35:16.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T06:35:16.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T06:35:16.261Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T06:35:16.390Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T06:35:16.507Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T06:35:16.630Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T06:35:16.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T06:35:16.937Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-07T06:35:17.083Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-07T06:35:17.215Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-07T06:35:17.401Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T06:35:17.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T06:35:17.649Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T06:35:17.804Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T06:35:17.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-74 [Pipeline] echo [2020-12-07T06:35:18.051Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-74 [Pipeline] echo [2020-12-07T06:35:18.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-74 [Pipeline] echo [2020-12-07T06:35:18.302Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca4ec056f23b2c516b09fa75e08a047bab1f32a9 [Pipeline] echo [2020-12-07T06:35:18.424Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca4ec05 [Pipeline] echo [2020-12-07T06:35:18.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:35:18.811Z] provisioning config files... [2020-12-07T06:35:18.856Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp/config8741043422671531199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:35:19.312Z] ---> docker-login.sh [2020-12-07T06:35:19.312Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:35:19.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:19.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:19.859Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:19.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:19.859Z] [2020-12-07T06:35:19.859Z] Login Succeeded [2020-12-07T06:35:19.859Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:35:20.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:20.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:20.133Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:20.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:20.133Z] [2020-12-07T06:35:20.133Z] Login Succeeded [2020-12-07T06:35:20.133Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:35:20.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:20.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:20.433Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:20.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:20.433Z] [2020-12-07T06:35:20.433Z] Login Succeeded [2020-12-07T06:35:20.433Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:35:20.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:20.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:20.710Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:20.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:20.710Z] [2020-12-07T06:35:20.710Z] Login Succeeded [2020-12-07T06:35:20.710Z] docker.io [2020-12-07T06:35:21.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:35:21.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:35:21.740Z] Configure a credential helper to remove this warning. See [2020-12-07T06:35:21.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:35:21.740Z] [2020-12-07T06:35:21.740Z] Login Succeeded [2020-12-07T06:35:21.740Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:35:21.783Z] 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-07T06:35:22.969Z] + git log --format=format:%s -1 ca4ec056f23b2c516b09fa75e08a047bab1f32a9 [Pipeline] echo [2020-12-07T06:35:23.147Z] GIT_COMMIT: ca4ec056f23b2c516b09fa75e08a047bab1f32a9, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-12-07T06:35:23.227Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:35:23.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:35:23.966Z] [2020-12-07T06:35:23.966Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:35:24.424Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:35:24.740Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T06:35:24.740Z] 31603596830f: Pulling fs layer [2020-12-07T06:35:24.740Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T06:35:24.740Z] 6ca5941a6612: Pulling fs layer [2020-12-07T06:35:24.740Z] ecc8261a40a4: Pulling fs layer [2020-12-07T06:35:24.740Z] ecc8261a40a4: Waiting [2020-12-07T06:35:24.740Z] 2a8b12db71e7: Verifying Checksum [2020-12-07T06:35:24.740Z] 2a8b12db71e7: Download complete [2020-12-07T06:35:25.128Z] 31603596830f: Verifying Checksum [2020-12-07T06:35:25.128Z] 31603596830f: Download complete [2020-12-07T06:35:25.518Z] ecc8261a40a4: Verifying Checksum [2020-12-07T06:35:25.518Z] ecc8261a40a4: Download complete [2020-12-07T06:35:25.832Z] 6ca5941a6612: Verifying Checksum [2020-12-07T06:35:25.832Z] 6ca5941a6612: Download complete [2020-12-07T06:35:26.482Z] 31603596830f: Pull complete [2020-12-07T06:35:26.794Z] 2a8b12db71e7: Pull complete [2020-12-07T06:35:29.745Z] 6ca5941a6612: Pull complete [2020-12-07T06:35:30.044Z] ecc8261a40a4: Pull complete [2020-12-07T06:35:30.044Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T06:35:30.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T06:35:30.044Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T06:35:30.281Z] prd-centos7-docker-4c-2g-14802 does not seem to be running inside a container [2020-12-07T06:35:30.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-74 -v /w/workspace/dgexfoundry_device-snmp-go_PR-74:/w/workspace/dgexfoundry_device-snmp-go_PR-74:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T06:35:33.345Z] $ docker top 308051be8a3f56fefca004e6bdac016cc77172aa99a9d81893cc7c5da53e66ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T06:35:33.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T06:35:33.807Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T06:35:34.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T06:35:34.784Z] $ docker exec 308051be8a3f56fefca004e6bdac016cc77172aa99a9d81893cc7c5da53e66ca ssh-agent [2020-12-07T06:35:35.061Z] SSH_AUTH_SOCK=/tmp/ssh-T5OWQ08ma3il/agent.11 [2020-12-07T06:35:35.061Z] SSH_AGENT_PID=16 [2020-12-07T06:35:35.074Z] Running ssh-add (command line suppressed) [2020-12-07T06:35:35.244Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp/private_key_8777989067346208332.key (/w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp/private_key_8777989067346208332.key) [2020-12-07T06:35:35.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T06:35:35.740Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T06:35:35.797Z] $ docker exec --env ******** --env ******** 308051be8a3f56fefca004e6bdac016cc77172aa99a9d81893cc7c5da53e66ca ssh-agent -k [2020-12-07T06:35:36.109Z] unset SSH_AUTH_SOCK; [2020-12-07T06:35:36.113Z] unset SSH_AGENT_PID; [2020-12-07T06:35:36.113Z] echo Agent pid 16 killed; [2020-12-07T06:35:36.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T06:35:36.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T06:35:36.402Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T06:35:36.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T06:35:36.630Z] $ docker exec 308051be8a3f56fefca004e6bdac016cc77172aa99a9d81893cc7c5da53e66ca ssh-agent [2020-12-07T06:35:36.845Z] SSH_AUTH_SOCK=/tmp/ssh-15aCKje99KoQ/agent.44 [2020-12-07T06:35:36.845Z] SSH_AGENT_PID=49 [2020-12-07T06:35:36.855Z] Running ssh-add (command line suppressed) [2020-12-07T06:35:37.019Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp/private_key_2140643643355280445.key (/w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp/private_key_2140643643355280445.key) [2020-12-07T06:35:37.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T06:35:37.531Z] + git semver init [2020-12-07T06:35:37.531Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T06:35:37.531Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-74/.git [2020-12-07T06:35:37.531Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-74 [2020-12-07T06:35:37.531Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T06:35:37.531Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T06:35:37.531Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T06:35:37.531Z] # $SEMVER_BRANCH = PR-74 [2020-12-07T06:35:37.531Z] # $SEMVER_TEMP = /tmp/semver-866634402 [2020-12-07T06:35:37.531Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2020-12-07T06:35:38.116Z] # '/tmp/semver-866634402' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-74/.semver' [2020-12-07T06:35:38.116Z] # -> Force: false [2020-12-07T06:35:38.116Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-74/.semver [Pipeline] } [2020-12-07T06:35:38.138Z] $ docker exec --env ******** --env ******** 308051be8a3f56fefca004e6bdac016cc77172aa99a9d81893cc7c5da53e66ca ssh-agent -k [2020-12-07T06:35:38.335Z] unset SSH_AUTH_SOCK; [2020-12-07T06:35:38.336Z] unset SSH_AGENT_PID; [2020-12-07T06:35:38.336Z] echo Agent pid 49 killed; [2020-12-07T06:35:38.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T06:35:38.985Z] + git semver [Pipeline] } [2020-12-07T06:35:39.041Z] $ docker stop --time=1 308051be8a3f56fefca004e6bdac016cc77172aa99a9d81893cc7c5da53e66ca [2020-12-07T06:35:40.583Z] $ docker rm -f 308051be8a3f56fefca004e6bdac016cc77172aa99a9d81893cc7c5da53e66ca [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T06:35:41.310Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T06:35:42.458Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T06:35:42.481Z] [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-07T06:35:58.404Z] Still waiting to schedule task [2020-12-07T06:35:58.404Z] ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14798’ is offline; ‘prd-centos7-docker-4c-2g-14800’ is offline; ‘prd-centos7-docker-4c-2g-14801’ is offline; ‘prd-centos7-docker-4c-2g-14806’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14799’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-07T06:35:58.431Z] Still waiting to schedule task [2020-12-07T06:35:58.432Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-07T06:37:31.870Z] Running on prd-centos7-docker-4c-2g-14810 in /w/workspace/dgexfoundry_device-snmp-go_PR-74 [Pipeline] { [Pipeline] ws [2020-12-07T06:37:31.964Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-12-07T06:37:34.332Z] using credential edgex-jenkins-ssh [2020-12-07T06:37:34.395Z] Cloning the remote Git repository [2020-12-07T06:37:34.075Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-12-07T06:37:34.144Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-12-07T06:37:34.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-12-07T06:37:34.204Z] > git --version # timeout=10 [2020-12-07T06:37:34.211Z] > git --version # 'git version 2.24.3' [2020-12-07T06:37:34.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:37:34.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:37:34.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-12-07T06:37:34.781Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:37:34.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-12-07T06:37:34.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-12-07T06:37:34.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:37:34.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T06:37:35.484Z] Merging remotes/origin/master commit dfea19939c3e5952b7f8a352ed4dd87bf2177730 into PR head commit ca4ec056f23b2c516b09fa75e08a047bab1f32a9 [2020-12-07T06:37:35.567Z] Merge succeeded, producing ca4ec056f23b2c516b09fa75e08a047bab1f32a9 [2020-12-07T06:37:35.567Z] Checking out Revision ca4ec056f23b2c516b09fa75e08a047bab1f32a9 (PR-74) [2020-12-07T06:37:35.240Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:37:35.245Z] > git checkout -f ca4ec056f23b2c516b09fa75e08a047bab1f32a9 # timeout=10 [2020-12-07T06:37:35.282Z] > git remote # timeout=10 [2020-12-07T06:37:35.289Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T06:37:35.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:37:35.303Z] > git merge dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [2020-12-07T06:37:35.314Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T06:37:35.324Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:37:35.328Z] > git checkout -f ca4ec056f23b2c516b09fa75e08a047bab1f32a9 # timeout=10 [2020-12-07T06:37:39.126Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-07T06:37:39.153Z] > git --version # timeout=10 [2020-12-07T06:37:39.158Z] > git --version # 'git version 2.24.3' [2020-12-07T06:37:39.163Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T06:37:40.412Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:37:40.760Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:37:41.076Z] + sudo service docker restart [2020-12-07T06:37:41.076Z] + true [2020-12-07T06:37:41.076Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:37:41.787Z] provisioning config files... [2020-12-07T06:37:41.825Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5554472990185699275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:37:42.257Z] ---> docker-login.sh [2020-12-07T06:37:42.257Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:37:42.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:37:42.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:37:42.520Z] Configure a credential helper to remove this warning. See [2020-12-07T06:37:42.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:37:42.520Z] [2020-12-07T06:37:42.520Z] Login Succeeded [2020-12-07T06:37:42.520Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:37:42.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:37:42.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:37:42.783Z] Configure a credential helper to remove this warning. See [2020-12-07T06:37:42.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:37:42.783Z] [2020-12-07T06:37:42.783Z] Login Succeeded [2020-12-07T06:37:42.783Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:37:42.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:37:42.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:37:42.783Z] Configure a credential helper to remove this warning. See [2020-12-07T06:37:42.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:37:42.783Z] [2020-12-07T06:37:42.783Z] Login Succeeded [2020-12-07T06:37:42.783Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:37:43.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:37:43.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:37:43.046Z] Configure a credential helper to remove this warning. See [2020-12-07T06:37:43.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:37:43.046Z] [2020-12-07T06:37:43.046Z] Login Succeeded [2020-12-07T06:37:43.046Z] docker.io [2020-12-07T06:37:43.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:37:43.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:37:43.312Z] Configure a credential helper to remove this warning. See [2020-12-07T06:37:43.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:37:43.312Z] [2020-12-07T06:37:43.312Z] Login Succeeded [2020-12-07T06:37:43.312Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:37:43.336Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T06:37:43.842Z] ========================================================= [2020-12-07T06:37:43.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T06:37:43.842Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:37:44.235Z] + 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-07T06:37:44.235Z] Sending build context to Docker daemon 315.4kB [2020-12-07T06:37:44.235Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T06:37:44.235Z] Step 2/10 : FROM ${BASE} [2020-12-07T06:37:44.235Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T06:37:44.235Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T06:37:44.235Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T06:37:44.235Z] de9db76c5a1d: Pulling fs layer [2020-12-07T06:37:44.235Z] bca2f99d35d6: Pulling fs layer [2020-12-07T06:37:44.235Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T06:37:44.235Z] 7c6f9722023f: Pulling fs layer [2020-12-07T06:37:44.235Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T06:37:44.235Z] bca2f99d35d6: Waiting [2020-12-07T06:37:44.235Z] 93359f2a8cfa: Waiting [2020-12-07T06:37:44.235Z] 7c6f9722023f: Waiting [2020-12-07T06:37:44.235Z] a35cf1a2eb13: Waiting [2020-12-07T06:37:44.235Z] de9db76c5a1d: Verifying Checksum [2020-12-07T06:37:44.235Z] de9db76c5a1d: Download complete [2020-12-07T06:37:44.235Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T06:37:44.235Z] 0ef7d3d256c8: Download complete [2020-12-07T06:37:44.497Z] 93359f2a8cfa: Verifying Checksum [2020-12-07T06:37:44.497Z] 93359f2a8cfa: Download complete [2020-12-07T06:37:44.497Z] 7c6f9722023f: Verifying Checksum [2020-12-07T06:37:44.497Z] 7c6f9722023f: Download complete [2020-12-07T06:37:44.497Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T06:37:44.497Z] 188c0c94c7c5: Download complete [2020-12-07T06:37:44.760Z] 188c0c94c7c5: Pull complete [2020-12-07T06:37:44.760Z] 0ef7d3d256c8: Pull complete [2020-12-07T06:37:45.025Z] de9db76c5a1d: Pull complete [2020-12-07T06:37:45.979Z] a35cf1a2eb13: Verifying Checksum [2020-12-07T06:37:45.979Z] a35cf1a2eb13: Download complete [2020-12-07T06:37:46.568Z] bca2f99d35d6: Verifying Checksum [2020-12-07T06:37:46.568Z] bca2f99d35d6: Download complete [2020-12-07T06:37:51.901Z] bca2f99d35d6: Pull complete [2020-12-07T06:37:51.901Z] 93359f2a8cfa: Pull complete [2020-12-07T06:37:51.901Z] 7c6f9722023f: Pull complete [2020-12-07T06:37:56.120Z] a35cf1a2eb13: Pull complete [2020-12-07T06:37:56.120Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T06:37:56.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T06:37:56.382Z] ---> a62c8e92a672 [2020-12-07T06:37:56.382Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T06:37:56.648Z] ---> Running in 231786ca54dc [2020-12-07T06:37:56.934Z] Removing intermediate container 231786ca54dc [2020-12-07T06:37:56.934Z] ---> cc80c504346e [2020-12-07T06:37:56.934Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T06:37:56.934Z] ---> Running in f5460f49eac3 [2020-12-07T06:37:57.218Z] Removing intermediate container f5460f49eac3 [2020-12-07T06:37:57.218Z] ---> d4902dbe5e59 [2020-12-07T06:37:57.218Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-12-07T06:37:57.218Z] ---> Running in fee096f6e209 [2020-12-07T06:37:57.483Z] Removing intermediate container fee096f6e209 [2020-12-07T06:37:57.483Z] ---> 50940eb7fc78 [2020-12-07T06:37:57.483Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T06:37:57.483Z] ---> Running in 953fee5e7ed4 [2020-12-07T06:37:58.453Z] Removing intermediate container 953fee5e7ed4 [2020-12-07T06:37:58.453Z] ---> 709c8cbc0ce1 [2020-12-07T06:37:58.453Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T06:37:58.453Z] ---> Running in b186d218884b [2020-12-07T06:37:59.029Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T06:37:59.984Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T06:38:01.382Z] OK: 166 MiB in 39 packages [2020-12-07T06:38:01.653Z] Removing intermediate container b186d218884b [2020-12-07T06:38:01.653Z] ---> 2f17b1c62141 [2020-12-07T06:38:01.653Z] Step 8/10 : WORKDIR /device-snmp-go [2020-12-07T06:38:01.653Z] ---> Running in 6c6fcc3a76a8 [2020-12-07T06:38:01.918Z] Removing intermediate container 6c6fcc3a76a8 [2020-12-07T06:38:01.918Z] ---> 9be26b006c42 [2020-12-07T06:38:01.918Z] Step 9/10 : COPY . . [2020-12-07T06:38:02.872Z] ---> 0b8e58907fdc [2020-12-07T06:38:02.872Z] Step 10/10 : RUN go mod download [2020-12-07T06:38:02.872Z] ---> Running in 4000a2f1ae14 [2020-12-07T06:38:09.511Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14809 in /w/workspace/dgexfoundry_device-snmp-go_PR-74 [Pipeline] { [Pipeline] ws [2020-12-07T06:38:09.629Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-12-07T06:38:15.243Z] using credential edgex-jenkins-ssh [2020-12-07T06:38:15.307Z] Cloning the remote Git repository [2020-12-07T06:38:15.364Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-12-07T06:38:15.485Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-12-07T06:38:15.574Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-12-07T06:38:15.575Z] > git --version # timeout=10 [2020-12-07T06:38:15.592Z] > git --version # 'git version 2.17.1' [2020-12-07T06:38:15.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:38:15.646Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:38:16.995Z] Merging remotes/origin/master commit dfea19939c3e5952b7f8a352ed4dd87bf2177730 into PR head commit ca4ec056f23b2c516b09fa75e08a047bab1f32a9 [2020-12-07T06:38:16.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-12-07T06:38:16.425Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T06:38:16.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-12-07T06:38:16.519Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-12-07T06:38:16.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:38:16.535Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T06:38:17.020Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:38:17.042Z] > git checkout -f ca4ec056f23b2c516b09fa75e08a047bab1f32a9 # timeout=10 [2020-12-07T06:38:17.131Z] > git remote # timeout=10 [2020-12-07T06:38:17.147Z] > git config --get remote.origin.url # timeout=10 [2020-12-07T06:38:17.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T06:38:17.240Z] > git merge dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 [2020-12-07T06:38:17.285Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-07T06:38:17.353Z] Merge succeeded, producing ca4ec056f23b2c516b09fa75e08a047bab1f32a9 [2020-12-07T06:38:17.353Z] Checking out Revision ca4ec056f23b2c516b09fa75e08a047bab1f32a9 (PR-74) [2020-12-07T06:38:17.363Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T06:38:17.388Z] > git checkout -f ca4ec056f23b2c516b09fa75e08a047bab1f32a9 # timeout=10 [2020-12-07T06:38:21.039Z] Removing intermediate container 4000a2f1ae14 [2020-12-07T06:38:21.039Z] ---> 0fe97d5accdc [2020-12-07T06:38:21.039Z] Successfully built 0fe97d5accdc [2020-12-07T06:38:21.039Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:38:21.406Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T06:38:21.406Z] . [Pipeline] withDockerContainer [2020-12-07T06:38:21.546Z] prd-centos7-docker-4c-2g-14810 does not seem to be running inside a container [2020-12-07T06:38:21.601Z] $ 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-07T06:38:21.805Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-12-07T06:38:21.869Z] > git --version # timeout=10 [2020-12-07T06:38:21.885Z] > git --version # 'git version 2.17.1' [2020-12-07T06:38:21.901Z] fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-07T06:38:22.344Z] $ docker top 58ba8db06b8b407aa0db2ef43c887e8d9497af1cc41f2a672bc50be0485f5c20 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-12-07T06:38:22.931Z] + go version [2020-12-07T06:38:22.931Z] go version go1.15.5 linux/amd64 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } [2020-12-07T06:38:23.062Z] $ docker stop --time=1 58ba8db06b8b407aa0db2ef43c887e8d9497af1cc41f2a672bc50be0485f5c20 [2020-12-07T06:38:24.384Z] $ docker rm -f 58ba8db06b8b407aa0db2ef43c887e8d9497af1cc41f2a672bc50be0485f5c20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:38:25.896Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T06:38:26.098Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T06:38:26.098Z] . [Pipeline] withDockerContainer [2020-12-07T06:38:26.267Z] prd-centos7-docker-4c-2g-14810 does not seem to be running inside a container [2020-12-07T06:38:26.321Z] $ 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-07T06:38:26.325Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2020-12-07T06:38:27.568Z] $ docker top a7c8f30774e9edef83ee3200a2111fb49c786118cb8017be6a03e804f21f4d4f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-12-07T06:38:28.154Z] + true [2020-12-07T06:38:28.154Z] + sudo service docker restart [2020-12-07T06:38:28.263Z] + make test [2020-12-07T06:38:28.263Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-07T06:38:28.844Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T06:38:30.939Z] provisioning config files... [2020-12-07T06:38:30.988Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config794603595253710440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:38:31.457Z] ---> docker-login.sh [2020-12-07T06:38:31.457Z] nexus3.edgexfoundry.org:10001 [2020-12-07T06:38:32.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:38:32.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:38:32.670Z] Configure a credential helper to remove this warning. See [2020-12-07T06:38:32.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:38:32.670Z] [2020-12-07T06:38:32.670Z] Login Succeeded [2020-12-07T06:38:32.670Z] nexus3.edgexfoundry.org:10002 [2020-12-07T06:38:32.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:38:32.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:38:32.946Z] Configure a credential helper to remove this warning. See [2020-12-07T06:38:32.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:38:32.946Z] [2020-12-07T06:38:32.946Z] Login Succeeded [2020-12-07T06:38:32.946Z] nexus3.edgexfoundry.org:10003 [2020-12-07T06:38:33.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:38:33.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:38:33.541Z] Configure a credential helper to remove this warning. See [2020-12-07T06:38:33.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:38:33.541Z] [2020-12-07T06:38:33.541Z] Login Succeeded [2020-12-07T06:38:33.541Z] nexus3.edgexfoundry.org:10004 [2020-12-07T06:38:33.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:38:34.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:38:34.087Z] Configure a credential helper to remove this warning. See [2020-12-07T06:38:34.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:38:34.087Z] [2020-12-07T06:38:34.087Z] Login Succeeded [2020-12-07T06:38:34.087Z] docker.io [2020-12-07T06:38:34.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T06:38:34.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T06:38:34.630Z] Configure a credential helper to remove this warning. See [2020-12-07T06:38:34.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T06:38:34.630Z] [2020-12-07T06:38:34.630Z] Login Succeeded [2020-12-07T06:38:34.630Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T06:38:34.684Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T06:38:35.283Z] ========================================================= [2020-12-07T06:38:35.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T06:38:35.283Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:38:35.708Z] + 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-07T06:38:35.988Z] Sending build context to Docker daemon 314.4kB [2020-12-07T06:38:35.988Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-12-07T06:38:35.988Z] Step 2/10 : FROM ${BASE} [2020-12-07T06:38:35.988Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T06:38:35.988Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T06:38:35.988Z] a4357932f1b6: Pulling fs layer [2020-12-07T06:38:35.988Z] 18c013af1878: Pulling fs layer [2020-12-07T06:38:35.988Z] 00ac8860ef70: Pulling fs layer [2020-12-07T06:38:35.988Z] 63d7cb157983: Pulling fs layer [2020-12-07T06:38:35.988Z] b116817d02f9: Pulling fs layer [2020-12-07T06:38:35.988Z] 745a02a5169b: Pulling fs layer [2020-12-07T06:38:35.988Z] 00ac8860ef70: Waiting [2020-12-07T06:38:35.988Z] 63d7cb157983: Waiting [2020-12-07T06:38:35.988Z] b116817d02f9: Waiting [2020-12-07T06:38:35.988Z] 745a02a5169b: Waiting [2020-12-07T06:38:35.988Z] 18c013af1878: Verifying Checksum [2020-12-07T06:38:35.988Z] 18c013af1878: Download complete [2020-12-07T06:38:35.988Z] a4357932f1b6: Verifying Checksum [2020-12-07T06:38:35.988Z] a4357932f1b6: Download complete [2020-12-07T06:38:36.265Z] 63d7cb157983: Verifying Checksum [2020-12-07T06:38:36.265Z] 63d7cb157983: Download complete [2020-12-07T06:38:36.265Z] b116817d02f9: Download complete [2020-12-07T06:38:36.265Z] 5f621e34cdf4: Verifying Checksum [2020-12-07T06:38:36.265Z] 5f621e34cdf4: Download complete [2020-12-07T06:38:36.876Z] 5f621e34cdf4: Pull complete [2020-12-07T06:38:37.075Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T06:38:37.075Z] /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-07T06:38:37.075Z] /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-07T06:38:37.479Z] a4357932f1b6: Pull complete [2020-12-07T06:38:37.753Z] 18c013af1878: Pull complete [2020-12-07T06:38:38.028Z] 745a02a5169b: Verifying Checksum [2020-12-07T06:38:38.028Z] 745a02a5169b: Download complete [2020-12-07T06:38:39.030Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.004s coverage: 0.0% of statements [2020-12-07T06:38:39.030Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2020-12-07T06:38:39.072Z] $ docker stop --time=1 a7c8f30774e9edef83ee3200a2111fb49c786118cb8017be6a03e804f21f4d4f [2020-12-07T06:38:39.455Z] 00ac8860ef70: Verifying Checksum [2020-12-07T06:38:39.455Z] 00ac8860ef70: Download complete [2020-12-07T06:38:41.402Z] $ docker rm -f a7c8f30774e9edef83ee3200a2111fb49c786118cb8017be6a03e804f21f4d4f [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-07T06:38:44.054Z] Failed in branch amd64 [2020-12-07T06:38:49.640Z] 00ac8860ef70: Pull complete [2020-12-07T06:38:49.640Z] 63d7cb157983: Pull complete [2020-12-07T06:38:49.640Z] b116817d02f9: Pull complete [2020-12-07T06:38:53.023Z] 745a02a5169b: Pull complete [2020-12-07T06:38:53.023Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T06:38:53.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T06:38:53.023Z] ---> b7e6874047d6 [2020-12-07T06:38:53.023Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-12-07T06:38:56.412Z] ---> Running in f5f04b257b15 [2020-12-07T06:38:56.412Z] Removing intermediate container f5f04b257b15 [2020-12-07T06:38:56.412Z] ---> 41e57d40f320 [2020-12-07T06:38:56.412Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T06:38:56.412Z] ---> Running in 002ed0417bdc [2020-12-07T06:38:57.005Z] Removing intermediate container 002ed0417bdc [2020-12-07T06:38:57.005Z] ---> a9a3b858437b [2020-12-07T06:38:57.005Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-12-07T06:38:57.005Z] ---> Running in 9826e76d2cda [2020-12-07T06:38:57.598Z] Removing intermediate container 9826e76d2cda [2020-12-07T06:38:57.598Z] ---> 8fe61c8aebcd [2020-12-07T06:38:57.598Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T06:38:57.598Z] ---> Running in a6143d85f7e3 [2020-12-07T06:39:00.229Z] Removing intermediate container a6143d85f7e3 [2020-12-07T06:39:00.229Z] ---> e078a80b345d [2020-12-07T06:39:00.229Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T06:39:00.229Z] ---> Running in 30cd62987cf6 [2020-12-07T06:39:00.826Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T06:39:01.812Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T06:39:02.406Z] OK: 142 MiB in 39 packages [2020-12-07T06:39:03.838Z] Removing intermediate container 30cd62987cf6 [2020-12-07T06:39:03.838Z] ---> 02c026e5c9e0 [2020-12-07T06:39:03.838Z] Step 8/10 : WORKDIR /device-snmp-go [2020-12-07T06:39:03.838Z] ---> Running in ea0e639f2ecd [2020-12-07T06:39:04.436Z] Removing intermediate container ea0e639f2ecd [2020-12-07T06:39:04.436Z] ---> 12ef82450ac3 [2020-12-07T06:39:04.436Z] Step 9/10 : COPY . . [2020-12-07T06:39:05.416Z] ---> 91e73a2a8a3c [2020-12-07T06:39:05.416Z] Step 10/10 : RUN go mod download [2020-12-07T06:39:05.416Z] ---> Running in c38587327ac2 [2020-12-07T06:39:27.589Z] Removing intermediate container c38587327ac2 [2020-12-07T06:39:27.589Z] ---> 0d099d22e4dd [2020-12-07T06:39:27.589Z] Successfully built 0d099d22e4dd [2020-12-07T06:39:27.589Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:39:27.964Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T06:39:27.964Z] . [Pipeline] withDockerContainer [2020-12-07T06:39:28.218Z] prd-ubuntu18.04-docker-arm64-4c-16g-14809 does not seem to be running inside a container [2020-12-07T06:39:28.319Z] $ 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-07T06:39:29.694Z] $ docker top 5bb6153f1801922dbf0abb7619235220db7f78642cba3fd9be00acf95470dcbe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:39:30.868Z] + go version [2020-12-07T06:39:30.869Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-07T06:39:30.914Z] $ docker stop --time=1 5bb6153f1801922dbf0abb7619235220db7f78642cba3fd9be00acf95470dcbe [2020-12-07T06:39:32.808Z] $ docker rm -f 5bb6153f1801922dbf0abb7619235220db7f78642cba3fd9be00acf95470dcbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:39:34.141Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T06:39:34.141Z] . [Pipeline] withDockerContainer [2020-12-07T06:39:34.429Z] prd-ubuntu18.04-docker-arm64-4c-16g-14809 does not seem to be running inside a container [2020-12-07T06:39:34.535Z] $ 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-07T06:39:36.081Z] $ docker top 22c26030408db228963f9ccb378adacc311940865c006287c4852a1fa265b73a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:39:37.192Z] + make test [2020-12-07T06:39:37.192Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-07T06:39:38.650Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-12-07T06:40:05.541Z] # github.com/edgexfoundry/device-sdk-go/internal/v2/application [2020-12-07T06:40:05.541Z] /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-07T06:40:05.541Z] /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-07T06:40:10.951Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2020-12-07T06:40:10.951Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2020-12-07T06:40:11.017Z] $ docker stop --time=1 22c26030408db228963f9ccb378adacc311940865c006287c4852a1fa265b73a [2020-12-07T06:40:13.165Z] $ docker rm -f 22c26030408db228963f9ccb378adacc311940865c006287c4852a1fa265b73a [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-07T06:40:15.539Z] 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-07T06:40:22.180Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:40:22.811Z] ---> package-listing.sh [2020-12-07T06:40:22.811Z] ++ facter osfamily [2020-12-07T06:40:22.811Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T06:40:22.811Z] + OS_FAMILY=redhat [2020-12-07T06:40:22.811Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-74 [2020-12-07T06:40:22.811Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T06:40:22.811Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T06:40:22.811Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T06:40:22.811Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T06:40:22.811Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-74 ']' [2020-12-07T06:40:22.811Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T06:40:22.811Z] + case "${OS_FAMILY}" in [2020-12-07T06:40:22.811Z] + rpm -qa [2020-12-07T06:40:22.811Z] + sort [2020-12-07T06:40:29.628Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T06:40:29.628Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T06:40:29.628Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T06:40:29.628Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-74 ']' [2020-12-07T06:40:29.628Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-74/archives/ [2020-12-07T06:40:29.628Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-74/archives/ [Pipeline] echo [2020-12-07T06:40:29.684Z] 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-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-07T06:40:30.219Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:40:30.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:40:30.950Z] [2020-12-07T06:40:30.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T06:40:31.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:40:31.830Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T06:40:31.830Z] df20fa9351a1: Pulling fs layer [2020-12-07T06:40:31.830Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T06:40:31.830Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T06:40:31.830Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T06:40:31.830Z] 93b61091891f: Pulling fs layer [2020-12-07T06:40:31.830Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T06:40:31.830Z] 5e14af77c1be: Pulling fs layer [2020-12-07T06:40:31.830Z] 01666e4c0597: Pulling fs layer [2020-12-07T06:40:31.830Z] aa168da1d23b: Pulling fs layer [2020-12-07T06:40:31.830Z] 93b9cdb0e59b: Waiting [2020-12-07T06:40:31.830Z] 5e14af77c1be: Waiting [2020-12-07T06:40:31.830Z] 01666e4c0597: Waiting [2020-12-07T06:40:31.830Z] 46f8f816bc3b: Waiting [2020-12-07T06:40:31.830Z] 93b61091891f: Waiting [2020-12-07T06:40:31.830Z] 36b3adc4ff6f: Verifying Checksum [2020-12-07T06:40:31.830Z] 36b3adc4ff6f: Download complete [2020-12-07T06:40:31.830Z] 46f8f816bc3b: Verifying Checksum [2020-12-07T06:40:31.830Z] 46f8f816bc3b: Download complete [2020-12-07T06:40:31.830Z] df20fa9351a1: Verifying Checksum [2020-12-07T06:40:31.830Z] df20fa9351a1: Download complete [2020-12-07T06:40:31.830Z] 93b9cdb0e59b: Verifying Checksum [2020-12-07T06:40:31.830Z] 93b9cdb0e59b: Download complete [2020-12-07T06:40:31.830Z] 5e14af77c1be: Verifying Checksum [2020-12-07T06:40:31.830Z] 5e14af77c1be: Download complete [2020-12-07T06:40:31.830Z] 93b61091891f: Verifying Checksum [2020-12-07T06:40:31.830Z] 93b61091891f: Download complete [2020-12-07T06:40:31.830Z] 01666e4c0597: Verifying Checksum [2020-12-07T06:40:31.830Z] 01666e4c0597: Download complete [2020-12-07T06:40:32.415Z] df20fa9351a1: Pull complete [2020-12-07T06:40:32.415Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T06:40:32.415Z] 8ad3a11d3b57: Download complete [2020-12-07T06:40:33.027Z] 36b3adc4ff6f: Pull complete [2020-12-07T06:40:35.140Z] 8ad3a11d3b57: Pull complete [2020-12-07T06:40:35.140Z] 46f8f816bc3b: Pull complete [2020-12-07T06:40:35.770Z] 93b61091891f: Pull complete [2020-12-07T06:40:35.770Z] 93b9cdb0e59b: Pull complete [2020-12-07T06:40:36.794Z] 5e14af77c1be: Pull complete [2020-12-07T06:40:36.794Z] 01666e4c0597: Pull complete [2020-12-07T06:40:39.129Z] aa168da1d23b: Verifying Checksum [2020-12-07T06:40:39.129Z] aa168da1d23b: Download complete [2020-12-07T06:40:51.590Z] aa168da1d23b: Pull complete [2020-12-07T06:40:51.590Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T06:40:51.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T06:40:51.590Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T06:40:51.890Z] prd-centos7-docker-4c-2g-14802 does not seem to be running inside a container [2020-12-07T06:40:52.022Z] $ 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-74/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-74 -v /w/workspace/dgexfoundry_device-snmp-go_PR-74:/w/workspace/dgexfoundry_device-snmp-go_PR-74:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-07T06:40:56.561Z] $ docker top 9f4dd84bb6f0aacc1085c26109e2ad1e00e1b42084b3548caf9682533621be21 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T06:40:57.322Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T06:40:57.702Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T06:40:58.523Z] + ls /var/log/sa-host [2020-12-07T06:40:58.523Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T06:40:58.523Z] file_magic: OK [2020-12-07T06:40:58.523Z] HZ: Using current value: 100 [2020-12-07T06:40:58.523Z] file_header: OK [2020-12-07T06:40:58.523Z] 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-07T06:40:58.523Z] Statistics: [2020-12-07T06:40:58.523Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T06:40:58.523Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T06:40:58.523Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T06:40:58.523Z] file_magic: OK [2020-12-07T06:40:58.523Z] HZ: Using current value: 100 [2020-12-07T06:40:58.523Z] file_header: OK [2020-12-07T06:40:58.523Z] 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-07T06:40:58.523Z] Statistics: [2020-12-07T06:40:58.523Z] Hnuu...uuuununununu... [2020-12-07T06:40:58.523Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T06:40:58.829Z] provisioning config files... [2020-12-07T06:40:58.851Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-74@tmp/config805992222386809870tmp [Pipeline] { [Pipeline] echo [2020-12-07T06:40:58.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:40:59.420Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T06:40:59.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T06:40:59.617Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:41:00.080Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T06:41:00.118Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:41:00.514Z] ---> sudo-logs.sh [2020-12-07T06:41:00.514Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T06:41:00.936Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:41:01.773Z] ---> job-cost.sh [2020-12-07T06:41:01.773Z] lf-activate-venv: SKIPPING [2020-12-07T06:41:01.773Z] INFO: No Stack... [2020-12-07T06:41:02.742Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T06:41:03.017Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T06:41:03.053Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T06:41:03.429Z] ---> logs-deploy.sh [2020-12-07T06:41:03.429Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-74/1 [2020-12-07T06:41:03.429Z] INFO: archiving workspace using pattern(s): [2020-12-07T06:41:06.060Z] Archives upload complete. [2020-12-07T06:41:06.060Z] INFO: archiving logs to Nexus