Pull request #88 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a9eebe4fd4790070a3a05245b7555f7b1337e585+561c5a452436cba8707a8b2c6132209bc86d4f3d (d908f78efa556bd0cb6c81429258d25aa6bf88e6) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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-88/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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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-88/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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Executor slot already in use; ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20899’ is offline; ‘prd-centos7-docker-4c-2g-20903’ is offline; ‘prd-centos7-docker-4c-2g-20914’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20928 in /w/workspace/dgexfoundry_device-snmp-go_PR-88 [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-88 # 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 > 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/88/head:refs/remotes/origin/PR-88 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 561c5a452436cba8707a8b2c6132209bc86d4f3d into PR head commit a9eebe4fd4790070a3a05245b7555f7b1337e585 Merge succeeded, producing a9eebe4fd4790070a3a05245b7555f7b1337e585 Checking out Revision a9eebe4fd4790070a3a05245b7555f7b1337e585 (PR-88) > git config core.sparsecheckout # timeout=10 > git checkout -f a9eebe4fd4790070a3a05245b7555f7b1337e585 # 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 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 Commit message: "build(deps): 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 f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-18T06:16:35.288Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-18T06:16:35.727Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-18T06:16:35.905Z] ========================================================= [2021-01-18T06:16:35.905Z] EdgeX Global Pipelines Version Info [2021-01-18T06:16:35.905Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:16:38.007Z] ------------------- [2021-01-18T06:16:38.007Z] stable info: [2021-01-18T06:16:38.007Z] ------------------- [2021-01-18T06:16:38.007Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-18T06:16:38.007Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-18T06:16:38.007Z] Message: update stable to v1.0.177 [2021-01-18T06:16:38.601Z] ------------------- [2021-01-18T06:16:38.601Z] experimental info: [2021-01-18T06:16:38.601Z] ------------------- [2021-01-18T06:16:38.601Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-18T06:16:38.601Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-18T06:16:38.602Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-18T06:16:39.093Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-01-18T06:16:39.293Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-01-18T06:16:39.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-18T06:16:39.795Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-18T06:16:40.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-18T06:16:40.264Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-18T06:16:40.488Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-18T06:16:40.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-18T06:16:40.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-18T06:16:41.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-18T06:16:41.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-18T06:16:41.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-01-18T06:16:41.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-18T06:16:41.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-18T06:16:42.071Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T06:16:42.321Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T06:16:42.532Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T06:16:42.814Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T06:16:43.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-18T06:16:43.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-18T06:16:43.717Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-18T06:16:43.977Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-18T06:16:44.143Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-18T06:16:44.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-18T06:16:44.602Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-18T06:16:44.790Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-18T06:16:45.038Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-18T06:16:45.275Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-88 [Pipeline] echo [2021-01-18T06:16:45.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-88 [Pipeline] echo [2021-01-18T06:16:45.586Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-88 [Pipeline] echo [2021-01-18T06:16:45.740Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9eebe4fd4790070a3a05245b7555f7b1337e585 [Pipeline] echo [2021-01-18T06:16:45.897Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9eebe4 [Pipeline] echo [2021-01-18T06:16:46.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T06:16:46.366Z] provisioning config files... [2021-01-18T06:16:46.410Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/config397559884311518940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:16:46.990Z] ---> docker-login.sh [2021-01-18T06:16:46.991Z] nexus3.edgexfoundry.org:10001 [2021-01-18T06:16:47.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:16:47.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:16:47.548Z] Configure a credential helper to remove this warning. See [2021-01-18T06:16:47.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:16:47.548Z] [2021-01-18T06:16:47.549Z] Login Succeeded [2021-01-18T06:16:47.549Z] nexus3.edgexfoundry.org:10002 [2021-01-18T06:16:47.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:16:47.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:16:47.816Z] Configure a credential helper to remove this warning. See [2021-01-18T06:16:47.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:16:47.816Z] [2021-01-18T06:16:47.816Z] Login Succeeded [2021-01-18T06:16:47.816Z] nexus3.edgexfoundry.org:10003 [2021-01-18T06:16:47.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:16:48.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:16:48.079Z] Configure a credential helper to remove this warning. See [2021-01-18T06:16:48.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:16:48.079Z] [2021-01-18T06:16:48.079Z] Login Succeeded [2021-01-18T06:16:48.079Z] nexus3.edgexfoundry.org:10004 [2021-01-18T06:16:48.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:16:48.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:16:48.404Z] Configure a credential helper to remove this warning. See [2021-01-18T06:16:48.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:16:48.404Z] [2021-01-18T06:16:48.404Z] Login Succeeded [2021-01-18T06:16:48.404Z] docker.io [2021-01-18T06:16:48.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:16:48.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:16:48.983Z] Configure a credential helper to remove this warning. See [2021-01-18T06:16:48.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:16:48.983Z] [2021-01-18T06:16:48.983Z] Login Succeeded [2021-01-18T06:16:48.983Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T06:16:49.009Z] 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 [2021-01-18T06:16:50.364Z] + git log --format=format:%s -1 a9eebe4fd4790070a3a05245b7555f7b1337e585 [Pipeline] echo [2021-01-18T06:16:50.479Z] GIT_COMMIT: a9eebe4fd4790070a3a05245b7555f7b1337e585, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-18T06:16:50.616Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:16:51.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T06:16:51.817Z] [2021-01-18T06:16:51.817Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:16:52.336Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T06:16:52.336Z] latest: Pulling from edgex-devops/git-semver [2021-01-18T06:16:52.336Z] 31603596830f: Pulling fs layer [2021-01-18T06:16:52.336Z] 2a8b12db71e7: Pulling fs layer [2021-01-18T06:16:52.336Z] 6ca5941a6612: Pulling fs layer [2021-01-18T06:16:52.336Z] ecc8261a40a4: Pulling fs layer [2021-01-18T06:16:52.336Z] ecc8261a40a4: Waiting [2021-01-18T06:16:52.336Z] 2a8b12db71e7: Verifying Checksum [2021-01-18T06:16:52.613Z] 31603596830f: Verifying Checksum [2021-01-18T06:16:52.613Z] 31603596830f: Download complete [2021-01-18T06:16:52.613Z] ecc8261a40a4: Verifying Checksum [2021-01-18T06:16:52.613Z] ecc8261a40a4: Download complete [2021-01-18T06:16:52.879Z] 6ca5941a6612: Verifying Checksum [2021-01-18T06:16:52.879Z] 6ca5941a6612: Download complete [2021-01-18T06:16:52.879Z] 31603596830f: Pull complete [2021-01-18T06:16:53.165Z] 2a8b12db71e7: Pull complete [2021-01-18T06:16:54.150Z] 6ca5941a6612: Pull complete [2021-01-18T06:16:54.150Z] ecc8261a40a4: Pull complete [2021-01-18T06:16:54.150Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-18T06:16:54.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T06:16:54.546Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-18T06:16:54.720Z] prd-centos7-docker-4c-2g-20928 does not seem to be running inside a container [2021-01-18T06:16:54.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-88 -v /w/workspace/dgexfoundry_device-snmp-go_PR-88:/w/workspace/dgexfoundry_device-snmp-go_PR-88:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-88@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:10004/edgex-devops/git-semver:latest cat [2021-01-18T06:16:57.250Z] $ docker top 6795ae4614308473907ed834c0b4a1f9e33e22d7e779578769eb33173cd319e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T06:16:57.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T06:16:57.908Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T06:16:58.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T06:16:58.197Z] $ docker exec 6795ae4614308473907ed834c0b4a1f9e33e22d7e779578769eb33173cd319e5 ssh-agent [2021-01-18T06:16:58.399Z] SSH_AUTH_SOCK=/tmp/ssh-kkqG4aqwNxJx/agent.12 [2021-01-18T06:16:58.399Z] SSH_AGENT_PID=17 [2021-01-18T06:16:58.423Z] Running ssh-add (command line suppressed) [2021-01-18T06:16:58.552Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/private_key_4660891732567237454.key (/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/private_key_4660891732567237454.key) [2021-01-18T06:16:58.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T06:16:59.044Z] + git tag --points-at HEAD [Pipeline] } [2021-01-18T06:16:59.095Z] $ docker exec --env ******** --env ******** 6795ae4614308473907ed834c0b4a1f9e33e22d7e779578769eb33173cd319e5 ssh-agent -k [2021-01-18T06:16:59.215Z] unset SSH_AUTH_SOCK; [2021-01-18T06:16:59.215Z] unset SSH_AGENT_PID; [2021-01-18T06:16:59.215Z] echo Agent pid 17 killed; [2021-01-18T06:16:59.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-18T06:16:59.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T06:16:59.510Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T06:16:59.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T06:16:59.692Z] $ docker exec 6795ae4614308473907ed834c0b4a1f9e33e22d7e779578769eb33173cd319e5 ssh-agent [2021-01-18T06:16:59.859Z] SSH_AUTH_SOCK=/tmp/ssh-VvkbcgZmvJmC/agent.48 [2021-01-18T06:16:59.859Z] SSH_AGENT_PID=53 [2021-01-18T06:16:59.867Z] Running ssh-add (command line suppressed) [2021-01-18T06:16:59.991Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/private_key_1392630474179105738.key (/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/private_key_1392630474179105738.key) [2021-01-18T06:17:00.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T06:17:00.450Z] + git semver init [2021-01-18T06:17:00.450Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T06:17:00.450Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-88/.git [2021-01-18T06:17:00.450Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-88 [2021-01-18T06:17:00.450Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T06:17:00.450Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T06:17:00.450Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T06:17:00.450Z] # $SEMVER_BRANCH = PR-88 [2021-01-18T06:17:00.450Z] # $SEMVER_TEMP = /tmp/semver-535626950 [2021-01-18T06:17:00.450Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-01-18T06:17:01.034Z] # '/tmp/semver-535626950' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-88/.semver' [2021-01-18T06:17:01.034Z] # -> Force: false [2021-01-18T06:17:01.034Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-88/.semver [Pipeline] } [2021-01-18T06:17:01.059Z] $ docker exec --env ******** --env ******** 6795ae4614308473907ed834c0b4a1f9e33e22d7e779578769eb33173cd319e5 ssh-agent -k [2021-01-18T06:17:01.194Z] unset SSH_AUTH_SOCK; [2021-01-18T06:17:01.195Z] unset SSH_AGENT_PID; [2021-01-18T06:17:01.195Z] echo Agent pid 53 killed; [2021-01-18T06:17:01.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T06:17:01.869Z] + git semver [Pipeline] } [2021-01-18T06:17:01.911Z] $ docker stop --time=1 6795ae4614308473907ed834c0b4a1f9e33e22d7e779578769eb33173cd319e5 [2021-01-18T06:17:03.406Z] $ docker rm -f 6795ae4614308473907ed834c0b4a1f9e33e22d7e779578769eb33173cd319e5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T06:17:03.968Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-18T06:17:04.527Z] Stashed 1 file(s) [Pipeline] echo [2021-01-18T06:17:04.551Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-18T06:17:20.527Z] Still waiting to schedule task [2021-01-18T06:17:20.527Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-18T06:17:20.558Z] Still waiting to schedule task [2021-01-18T06:17:20.558Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20899’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20900’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-20903’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20904’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20929’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20938’ is offline [2021-01-18T06:25:05.116Z] Running on prd-centos7-docker-4c-2g-20940 in /w/workspace/dgexfoundry_device-snmp-go_PR-88 [Pipeline] { [Pipeline] ws [2021-01-18T06:25:05.203Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-01-18T06:25:13.101Z] using credential edgex-jenkins-ssh [2021-01-18T06:25:13.151Z] Cloning the remote Git repository [2021-01-18T06:25:13.237Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-18T06:25:13.344Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-01-18T06:25:13.469Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-18T06:25:13.470Z] > git --version # timeout=10 [2021-01-18T06:25:13.500Z] > git --version # 'git version 2.24.3' [2021-01-18T06:25:13.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:25:13.576Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T06:25:15.475Z] Merging remotes/origin/master commit 561c5a452436cba8707a8b2c6132209bc86d4f3d into PR head commit a9eebe4fd4790070a3a05245b7555f7b1337e585 [2021-01-18T06:25:15.716Z] Merge succeeded, producing a9eebe4fd4790070a3a05245b7555f7b1337e585 [2021-01-18T06:25:15.716Z] Checking out Revision a9eebe4fd4790070a3a05245b7555f7b1337e585 (PR-88) [2021-01-18T06:25:14.850Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-18T06:25:14.890Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T06:25:14.941Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-18T06:25:15.041Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-18T06:25:15.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:25:15.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/88/head:refs/remotes/origin/PR-88 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T06:25:15.494Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T06:25:15.518Z] > git checkout -f a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [2021-01-18T06:25:15.587Z] > git remote # timeout=10 [2021-01-18T06:25:15.622Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T06:25:15.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:25:15.654Z] > git merge 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 [2021-01-18T06:25:15.690Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T06:25:15.721Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T06:25:15.739Z] > git checkout -f a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [2021-01-18T06:25:20.230Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-18T06:25:20.292Z] > git --version # timeout=10 [2021-01-18T06:25:20.307Z] > git --version # 'git version 2.24.3' [2021-01-18T06:25:20.346Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T06:25:21.995Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-18T06:25:22.570Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T06:25:22.940Z] + true [2021-01-18T06:25:22.940Z] + sudo service docker restart [2021-01-18T06:25:22.940Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T06:25:24.626Z] provisioning config files... [2021-01-18T06:25:24.671Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8840490779922726303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:25:25.187Z] ---> docker-login.sh [2021-01-18T06:25:25.187Z] nexus3.edgexfoundry.org:10001 [2021-01-18T06:25:25.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:25:26.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:25:26.099Z] Configure a credential helper to remove this warning. See [2021-01-18T06:25:26.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:25:26.099Z] [2021-01-18T06:25:26.099Z] Login Succeeded [2021-01-18T06:25:26.099Z] nexus3.edgexfoundry.org:10002 [2021-01-18T06:25:26.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:25:26.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:25:26.636Z] Configure a credential helper to remove this warning. See [2021-01-18T06:25:26.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:25:26.636Z] [2021-01-18T06:25:26.636Z] Login Succeeded [2021-01-18T06:25:26.636Z] nexus3.edgexfoundry.org:10003 [2021-01-18T06:25:26.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:25:26.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:25:26.912Z] Configure a credential helper to remove this warning. See [2021-01-18T06:25:26.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:25:26.912Z] [2021-01-18T06:25:26.912Z] Login Succeeded [2021-01-18T06:25:26.912Z] nexus3.edgexfoundry.org:10004 [2021-01-18T06:25:27.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:25:27.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:25:27.205Z] Configure a credential helper to remove this warning. See [2021-01-18T06:25:27.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:25:27.205Z] [2021-01-18T06:25:27.205Z] Login Succeeded [2021-01-18T06:25:27.205Z] docker.io [2021-01-18T06:25:27.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:25:27.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:25:27.761Z] Configure a credential helper to remove this warning. See [2021-01-18T06:25:27.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:25:27.761Z] [2021-01-18T06:25:27.761Z] Login Succeeded [2021-01-18T06:25:27.761Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T06:25:27.820Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T06:25:28.837Z] ========================================================= [2021-01-18T06:25:28.837Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-18T06:25:28.837Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:25:29.304Z] + 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 . [2021-01-18T06:25:29.613Z] Sending build context to Docker daemon 329.2kB [2021-01-18T06:25:29.613Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T06:25:29.613Z] Step 2/10 : FROM ${BASE} [2021-01-18T06:25:29.613Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-18T06:25:29.613Z] 188c0c94c7c5: Pulling fs layer [2021-01-18T06:25:29.613Z] 0ef7d3d256c8: Pulling fs layer [2021-01-18T06:25:29.613Z] de9db76c5a1d: Pulling fs layer [2021-01-18T06:25:29.613Z] bca2f99d35d6: Pulling fs layer [2021-01-18T06:25:29.613Z] 93359f2a8cfa: Pulling fs layer [2021-01-18T06:25:29.613Z] 7c6f9722023f: Pulling fs layer [2021-01-18T06:25:29.613Z] a35cf1a2eb13: Pulling fs layer [2021-01-18T06:25:29.613Z] 93359f2a8cfa: Waiting [2021-01-18T06:25:29.613Z] 7c6f9722023f: Waiting [2021-01-18T06:25:29.613Z] bca2f99d35d6: Waiting [2021-01-18T06:25:29.613Z] a35cf1a2eb13: Waiting [2021-01-18T06:25:29.613Z] de9db76c5a1d: Verifying Checksum [2021-01-18T06:25:29.613Z] de9db76c5a1d: Download complete [2021-01-18T06:25:29.613Z] 0ef7d3d256c8: Verifying Checksum [2021-01-18T06:25:29.613Z] 0ef7d3d256c8: Download complete [2021-01-18T06:25:29.927Z] 93359f2a8cfa: Verifying Checksum [2021-01-18T06:25:29.927Z] 93359f2a8cfa: Download complete [2021-01-18T06:25:29.927Z] 7c6f9722023f: Verifying Checksum [2021-01-18T06:25:29.927Z] 7c6f9722023f: Download complete [2021-01-18T06:25:29.927Z] 188c0c94c7c5: Verifying Checksum [2021-01-18T06:25:29.927Z] 188c0c94c7c5: Download complete [2021-01-18T06:25:30.223Z] 188c0c94c7c5: Pull complete [2021-01-18T06:25:30.826Z] 0ef7d3d256c8: Pull complete [2021-01-18T06:25:30.826Z] de9db76c5a1d: Pull complete [2021-01-18T06:25:33.588Z] a35cf1a2eb13: Verifying Checksum [2021-01-18T06:25:33.588Z] a35cf1a2eb13: Download complete [2021-01-18T06:25:35.101Z] bca2f99d35d6: Download complete [2021-01-18T06:25:45.356Z] bca2f99d35d6: Pull complete [2021-01-18T06:25:45.356Z] 93359f2a8cfa: Pull complete [2021-01-18T06:25:45.356Z] 7c6f9722023f: Pull complete [2021-01-18T06:25:50.795Z] a35cf1a2eb13: Pull complete [2021-01-18T06:25:50.795Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-18T06:25:50.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-18T06:25:50.795Z] ---> a62c8e92a672 [2021-01-18T06:25:50.795Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-18T06:25:50.795Z] ---> Running in 507d10243f31 [2021-01-18T06:25:50.795Z] Removing intermediate container 507d10243f31 [2021-01-18T06:25:50.795Z] ---> b78a8e3e116a [2021-01-18T06:25:50.795Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-18T06:25:50.795Z] ---> Running in afb41d6673ba [2021-01-18T06:25:51.106Z] Removing intermediate container afb41d6673ba [2021-01-18T06:25:51.106Z] ---> 34a4527bca8f [2021-01-18T06:25:51.107Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-18T06:25:51.107Z] ---> Running in 310db60bcb12 [2021-01-18T06:25:51.404Z] Removing intermediate container 310db60bcb12 [2021-01-18T06:25:51.404Z] ---> e6b714f89ef6 [2021-01-18T06:25:51.404Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T06:25:51.404Z] ---> Running in ff2699aae4bd [2021-01-18T06:25:53.483Z] Removing intermediate container ff2699aae4bd [2021-01-18T06:25:53.483Z] ---> e29f89f8c853 [2021-01-18T06:25:53.483Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-18T06:25:53.816Z] ---> Running in e1acf62c4ef2 [2021-01-18T06:25:55.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T06:25:56.000Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T06:25:57.027Z] OK: 166 MiB in 39 packages [2021-01-18T06:25:57.676Z] Removing intermediate container e1acf62c4ef2 [2021-01-18T06:25:57.676Z] ---> 827f35342cbc [2021-01-18T06:25:57.676Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-18T06:25:57.676Z] ---> Running in 4f1edadc42b3 [2021-01-18T06:25:57.955Z] Removing intermediate container 4f1edadc42b3 [2021-01-18T06:25:57.955Z] ---> a03fbb6dcde4 [2021-01-18T06:25:57.955Z] Step 9/10 : COPY . . [2021-01-18T06:25:58.984Z] ---> d1f6d9fd77f8 [2021-01-18T06:25:58.984Z] Step 10/10 : RUN go mod download [2021-01-18T06:25:58.984Z] ---> Running in c3e7882eeac0 [2021-01-18T06:26:01.320Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20948 in /w/workspace/dgexfoundry_device-snmp-go_PR-88 [Pipeline] { [Pipeline] ws [2021-01-18T06:26:01.503Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-01-18T06:26:07.925Z] using credential edgex-jenkins-ssh [2021-01-18T06:26:08.004Z] Cloning the remote Git repository [2021-01-18T06:26:08.110Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-18T06:26:08.280Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-01-18T06:26:08.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-18T06:26:08.409Z] > git --version # timeout=10 [2021-01-18T06:26:08.433Z] > git --version # 'git version 2.17.1' [2021-01-18T06:26:08.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:26:08.525Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T06:26:09.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-18T06:26:09.360Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T06:26:09.999Z] Merging remotes/origin/master commit 561c5a452436cba8707a8b2c6132209bc86d4f3d into PR head commit a9eebe4fd4790070a3a05245b7555f7b1337e585 [2021-01-18T06:26:10.341Z] Merge succeeded, producing a9eebe4fd4790070a3a05245b7555f7b1337e585 [2021-01-18T06:26:10.342Z] Checking out Revision a9eebe4fd4790070a3a05245b7555f7b1337e585 (PR-88) [2021-01-18T06:26:09.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-18T06:26:09.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-18T06:26:09.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:26:09.474Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/88/head:refs/remotes/origin/PR-88 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T06:26:10.031Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T06:26:10.062Z] > git checkout -f a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [2021-01-18T06:26:10.175Z] > git remote # timeout=10 [2021-01-18T06:26:10.207Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T06:26:10.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T06:26:10.242Z] > git merge 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 [2021-01-18T06:26:10.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T06:26:10.352Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T06:26:10.383Z] > git checkout -f a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [2021-01-18T06:26:15.064Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-18T06:26:15.139Z] > git --version # timeout=10 [2021-01-18T06:26:15.150Z] > git --version # 'git version 2.17.1' [2021-01-18T06:26:15.164Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T06:26:16.923Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-18T06:26:17.426Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T06:26:17.807Z] + sudo service docker restart [2021-01-18T06:26:17.807Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T06:26:20.600Z] provisioning config files... [2021-01-18T06:26:20.650Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1903455148300847884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:26:21.110Z] ---> docker-login.sh [2021-01-18T06:26:21.110Z] nexus3.edgexfoundry.org:10001 [2021-01-18T06:26:21.336Z] Removing intermediate container c3e7882eeac0 [2021-01-18T06:26:21.336Z] ---> 8a0da84652e9 [2021-01-18T06:26:21.336Z] Successfully built 8a0da84652e9 [2021-01-18T06:26:21.336Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:26:21.777Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T06:26:22.058Z] . [2021-01-18T06:26:22.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withDockerContainer [2021-01-18T06:26:22.517Z] prd-centos7-docker-4c-2g-20940 does not seem to be running inside a container [2021-01-18T06:26:22.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T06:26:23.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:26:23.540Z] Configure a credential helper to remove this warning. See [2021-01-18T06:26:23.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:26:23.541Z] [2021-01-18T06:26:23.541Z] Login Succeeded [2021-01-18T06:26:23.541Z] nexus3.edgexfoundry.org:10002 [2021-01-18T06:26:23.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:26:23.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:26:23.817Z] Configure a credential helper to remove this warning. See [2021-01-18T06:26:23.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:26:23.817Z] [2021-01-18T06:26:23.817Z] Login Succeeded [2021-01-18T06:26:23.817Z] nexus3.edgexfoundry.org:10003 [2021-01-18T06:26:24.310Z] $ docker top 9887394aa805850ecd987f51455cff706744e9c54aafdac438bcdf4b0232846e -eo pid,comm [2021-01-18T06:26:24.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh [2021-01-18T06:26:25.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:26:25.085Z] Configure a credential helper to remove this warning. See [2021-01-18T06:26:25.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:26:25.085Z] [2021-01-18T06:26:25.085Z] Login Succeeded [2021-01-18T06:26:25.085Z] nexus3.edgexfoundry.org:10004 [2021-01-18T06:26:25.622Z] + go version [2021-01-18T06:26:25.622Z] go version go1.15.5 linux/amd64 [2021-01-18T06:26:25.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:26:25.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:26:25.680Z] Configure a credential helper to remove this warning. See [2021-01-18T06:26:25.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:26:25.680Z] [2021-01-18T06:26:25.680Z] Login Succeeded [2021-01-18T06:26:25.680Z] docker.io [Pipeline] } [2021-01-18T06:26:25.811Z] $ docker stop --time=1 9887394aa805850ecd987f51455cff706744e9c54aafdac438bcdf4b0232846e [2021-01-18T06:26:26.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T06:26:26.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T06:26:26.556Z] Configure a credential helper to remove this warning. See [2021-01-18T06:26:26.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T06:26:26.556Z] [2021-01-18T06:26:26.556Z] Login Succeeded [2021-01-18T06:26:26.556Z] ---> docker-login.sh ends [2021-01-18T06:26:27.369Z] $ docker rm -f 9887394aa805850ecd987f51455cff706744e9c54aafdac438bcdf4b0232846e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-01-18T06:26:27.654Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-01-18T06:26:28.515Z] ========================================================= [2021-01-18T06:26:28.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-18T06:26:28.515Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:26:28.694Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T06:26:28.694Z] . [Pipeline] withDockerContainer [2021-01-18T06:26:28.924Z] + 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 . [2021-01-18T06:26:29.002Z] prd-centos7-docker-4c-2g-20940 does not seem to be running inside a container [2021-01-18T06:26:29.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T06:26:29.207Z] Sending build context to Docker daemon 328.2kB [2021-01-18T06:26:29.207Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T06:26:29.207Z] Step 2/10 : FROM ${BASE} [2021-01-18T06:26:29.207Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-18T06:26:29.207Z] 5f621e34cdf4: Pulling fs layer [2021-01-18T06:26:29.207Z] a4357932f1b6: Pulling fs layer [2021-01-18T06:26:29.207Z] 18c013af1878: Pulling fs layer [2021-01-18T06:26:29.207Z] 00ac8860ef70: Pulling fs layer [2021-01-18T06:26:29.207Z] 63d7cb157983: Pulling fs layer [2021-01-18T06:26:29.207Z] b116817d02f9: Pulling fs layer [2021-01-18T06:26:29.207Z] 745a02a5169b: Pulling fs layer [2021-01-18T06:26:29.207Z] 00ac8860ef70: Waiting [2021-01-18T06:26:29.207Z] 63d7cb157983: Waiting [2021-01-18T06:26:29.207Z] b116817d02f9: Waiting [2021-01-18T06:26:29.484Z] 18c013af1878: Download complete [2021-01-18T06:26:29.484Z] a4357932f1b6: Download complete [2021-01-18T06:26:29.484Z] 63d7cb157983: Verifying Checksum [2021-01-18T06:26:29.484Z] 63d7cb157983: Download complete [2021-01-18T06:26:29.484Z] b116817d02f9: Verifying Checksum [2021-01-18T06:26:29.484Z] b116817d02f9: Download complete [2021-01-18T06:26:29.484Z] 5f621e34cdf4: Download complete [2021-01-18T06:26:30.075Z] $ docker top a1e3414dfc85d0023aa55ccf252ad379531786e46dc9ebb2dd2b2f235ab86501 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T06:26:30.470Z] 5f621e34cdf4: Pull complete [2021-01-18T06:26:30.745Z] a4357932f1b6: Pull complete [2021-01-18T06:26:30.914Z] + make test [2021-01-18T06:26:30.914Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-18T06:26:31.353Z] 18c013af1878: Pull complete [2021-01-18T06:26:32.438Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-18T06:26:32.813Z] 745a02a5169b: Verifying Checksum [2021-01-18T06:26:32.814Z] 745a02a5169b: Download complete [2021-01-18T06:26:33.413Z] 00ac8860ef70: Verifying Checksum [2021-01-18T06:26:33.413Z] 00ac8860ef70: Download complete [2021-01-18T06:26:42.784Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-18T06:26:42.784Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-18T06:26:42.784Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-18T06:26:42.784Z] have (string, bool, string, string) [2021-01-18T06:26:42.784Z] want (string, string) [2021-01-18T06:26:43.596Z] 00ac8860ef70: Pull complete [2021-01-18T06:26:43.596Z] 63d7cb157983: Pull complete [2021-01-18T06:26:44.201Z] b116817d02f9: Pull complete [2021-01-18T06:26:48.564Z] 745a02a5169b: Pull complete [2021-01-18T06:26:48.564Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-18T06:26:48.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-18T06:26:48.564Z] ---> b7e6874047d6 [2021-01-18T06:26:48.564Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-18T06:26:51.226Z] ---> Running in f20331c4399c [2021-01-18T06:26:51.226Z] Removing intermediate container f20331c4399c [2021-01-18T06:26:51.226Z] ---> 463a867fb696 [2021-01-18T06:26:51.226Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-18T06:26:51.281Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-01-18T06:26:51.281Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-18T06:26:51.347Z] $ docker stop --time=1 a1e3414dfc85d0023aa55ccf252ad379531786e46dc9ebb2dd2b2f235ab86501 [2021-01-18T06:26:51.501Z] ---> Running in 661a4210939b [2021-01-18T06:26:52.099Z] Removing intermediate container 661a4210939b [2021-01-18T06:26:52.099Z] ---> 418114b48dd7 [2021-01-18T06:26:52.099Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-18T06:26:52.100Z] ---> Running in a8e8d5197f4d [2021-01-18T06:26:52.709Z] Removing intermediate container a8e8d5197f4d [2021-01-18T06:26:52.709Z] ---> 29faca066bc1 [2021-01-18T06:26:52.709Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T06:26:52.709Z] ---> Running in 05e75da84a35 [2021-01-18T06:26:54.318Z] $ docker rm -f a1e3414dfc85d0023aa55ccf252ad379531786e46dc9ebb2dd2b2f235ab86501 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [2021-01-18T06:26:55.341Z] Removing intermediate container 05e75da84a35 [2021-01-18T06:26:55.342Z] ---> aa1da082bdd3 [2021-01-18T06:26:55.342Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-18T06:26:55.342Z] ---> Running in 6c07ee091938 [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 [2021-01-18T06:26:56.330Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-18T06:26:57.071Z] Failed in branch amd64 [2021-01-18T06:26:57.317Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T06:26:58.301Z] OK: 142 MiB in 39 packages [2021-01-18T06:26:59.273Z] Removing intermediate container 6c07ee091938 [2021-01-18T06:26:59.273Z] ---> d2ee2c7af513 [2021-01-18T06:26:59.273Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-18T06:26:59.555Z] ---> Running in 4ad191bb99a7 [2021-01-18T06:26:59.833Z] Removing intermediate container 4ad191bb99a7 [2021-01-18T06:26:59.833Z] ---> b2a2de9e68fc [2021-01-18T06:26:59.833Z] Step 9/10 : COPY . . [2021-01-18T06:27:00.819Z] ---> 700cf30b5ad9 [2021-01-18T06:27:00.819Z] Step 10/10 : RUN go mod download [2021-01-18T06:27:00.819Z] ---> Running in b1c31d03b9bd [2021-01-18T06:27:27.720Z] Removing intermediate container b1c31d03b9bd [2021-01-18T06:27:27.720Z] ---> 6f7181d1d68c [2021-01-18T06:27:27.720Z] Successfully built 6f7181d1d68c [2021-01-18T06:27:27.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:27:28.108Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T06:27:28.108Z] . [Pipeline] withDockerContainer [2021-01-18T06:27:28.418Z] prd-ubuntu18.04-docker-arm64-4c-16g-20948 does not seem to be running inside a container [2021-01-18T06:27:28.526Z] $ 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 [2021-01-18T06:27:30.124Z] $ docker top fb28419bdbb681addff19adb876ac47e7266bb636937c95355c4eae15a77fad3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T06:27:31.318Z] + go version [2021-01-18T06:27:31.318Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-18T06:27:31.382Z] $ docker stop --time=1 fb28419bdbb681addff19adb876ac47e7266bb636937c95355c4eae15a77fad3 [2021-01-18T06:27:33.372Z] $ docker rm -f fb28419bdbb681addff19adb876ac47e7266bb636937c95355c4eae15a77fad3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:27:34.778Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T06:27:34.778Z] . [Pipeline] withDockerContainer [2021-01-18T06:27:35.087Z] prd-ubuntu18.04-docker-arm64-4c-16g-20948 does not seem to be running inside a container [2021-01-18T06:27:35.192Z] $ 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 [2021-01-18T06:27:36.829Z] $ docker top 293ca34bdc02f21bedb53a3b4ed8d923684beb014edd8c0aa65545cb83b725e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T06:27:37.992Z] + make test [2021-01-18T06:27:37.992Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-18T06:27:39.449Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-18T06:28:06.316Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-18T06:28:06.316Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-18T06:28:06.316Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-18T06:28:06.316Z] have (string, bool, string, string) [2021-01-18T06:28:06.316Z] want (string, string) [2021-01-18T06:28:13.107Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2021-01-18T06:28:13.107Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-18T06:28:13.160Z] $ docker stop --time=1 293ca34bdc02f21bedb53a3b4ed8d923684beb014edd8c0aa65545cb83b725e9 [2021-01-18T06:28:15.373Z] $ docker rm -f 293ca34bdc02f21bedb53a3b4ed8d923684beb014edd8c0aa65545cb83b725e9 [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] } [2021-01-18T06:28:17.800Z] 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 [2021-01-18T06:28:22.078Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:28:22.723Z] ---> package-listing.sh [2021-01-18T06:28:22.723Z] ++ facter osfamily [2021-01-18T06:28:22.723Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-18T06:28:22.723Z] + OS_FAMILY=redhat [2021-01-18T06:28:22.723Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-88 [2021-01-18T06:28:22.723Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-18T06:28:22.723Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-18T06:28:22.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-18T06:28:22.723Z] + PACKAGES=/tmp/packages_start.txt [2021-01-18T06:28:22.723Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-88 ']' [2021-01-18T06:28:22.723Z] + PACKAGES=/tmp/packages_end.txt [2021-01-18T06:28:22.723Z] + case "${OS_FAMILY}" in [2021-01-18T06:28:22.723Z] + rpm -qa [2021-01-18T06:28:22.723Z] + sort [2021-01-18T06:28:28.063Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-18T06:28:28.063Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-18T06:28:28.063Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-18T06:28:28.063Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-88 ']' [2021-01-18T06:28:28.063Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-88/archives/ [2021-01-18T06:28:28.063Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-88/archives/ [Pipeline] echo [2021-01-18T06:28:28.107Z] 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-88/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-18T06:28:28.450Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:28:28.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T06:28:28.817Z] [2021-01-18T06:28:28.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-18T06:28:29.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T06:28:29.222Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-18T06:28:29.222Z] df20fa9351a1: Pulling fs layer [2021-01-18T06:28:29.222Z] 36b3adc4ff6f: Pulling fs layer [2021-01-18T06:28:29.222Z] 8ad3a11d3b57: Pulling fs layer [2021-01-18T06:28:29.222Z] 46f8f816bc3b: Pulling fs layer [2021-01-18T06:28:29.222Z] 93b61091891f: Pulling fs layer [2021-01-18T06:28:29.222Z] 93b9cdb0e59b: Pulling fs layer [2021-01-18T06:28:29.222Z] 5e14af77c1be: Pulling fs layer [2021-01-18T06:28:29.222Z] 01666e4c0597: Pulling fs layer [2021-01-18T06:28:29.222Z] aa168da1d23b: Pulling fs layer [2021-01-18T06:28:29.222Z] 93b61091891f: Waiting [2021-01-18T06:28:29.222Z] 01666e4c0597: Waiting [2021-01-18T06:28:29.222Z] 93b9cdb0e59b: Waiting [2021-01-18T06:28:29.222Z] aa168da1d23b: Waiting [2021-01-18T06:28:29.222Z] 5e14af77c1be: Waiting [2021-01-18T06:28:29.222Z] 36b3adc4ff6f: Download complete [2021-01-18T06:28:29.222Z] 46f8f816bc3b: Download complete [2021-01-18T06:28:29.485Z] df20fa9351a1: Download complete [2021-01-18T06:28:29.485Z] 93b61091891f: Verifying Checksum [2021-01-18T06:28:29.485Z] 93b61091891f: Download complete [2021-01-18T06:28:29.485Z] 93b9cdb0e59b: Verifying Checksum [2021-01-18T06:28:29.485Z] 93b9cdb0e59b: Download complete [2021-01-18T06:28:29.485Z] 5e14af77c1be: Verifying Checksum [2021-01-18T06:28:29.485Z] 5e14af77c1be: Download complete [2021-01-18T06:28:29.485Z] 01666e4c0597: Verifying Checksum [2021-01-18T06:28:29.485Z] 01666e4c0597: Download complete [2021-01-18T06:28:29.756Z] df20fa9351a1: Pull complete [2021-01-18T06:28:30.021Z] 8ad3a11d3b57: Verifying Checksum [2021-01-18T06:28:30.021Z] 8ad3a11d3b57: Download complete [2021-01-18T06:28:30.021Z] 36b3adc4ff6f: Pull complete [2021-01-18T06:28:30.602Z] 8ad3a11d3b57: Pull complete [2021-01-18T06:28:30.878Z] 46f8f816bc3b: Pull complete [2021-01-18T06:28:31.823Z] aa168da1d23b: Verifying Checksum [2021-01-18T06:28:31.824Z] aa168da1d23b: Download complete [2021-01-18T06:28:32.090Z] 93b61091891f: Pull complete [2021-01-18T06:28:32.354Z] 93b9cdb0e59b: Pull complete [2021-01-18T06:28:32.354Z] 5e14af77c1be: Pull complete [2021-01-18T06:28:32.622Z] 01666e4c0597: Pull complete [2021-01-18T06:28:40.867Z] aa168da1d23b: Pull complete [2021-01-18T06:28:40.867Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-18T06:28:40.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T06:28:40.867Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-18T06:28:41.131Z] prd-centos7-docker-4c-2g-20928 does not seem to be running inside a container [2021-01-18T06:28:41.192Z] $ 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-88/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-88 -v /w/workspace/dgexfoundry_device-snmp-go_PR-88:/w/workspace/dgexfoundry_device-snmp-go_PR-88:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-18T06:28:44.483Z] $ docker top 31f4ad82aac1df8d1fd309451850335f4c1141d43a1fa1dbe0e39c525c7d96db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T06:28:45.070Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-18T06:28:45.409Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-18T06:28:45.733Z] + ls /var/log/sa-host [2021-01-18T06:28:45.733Z] + sadf -c /var/log/sa-host/sa18 [2021-01-18T06:28:45.733Z] file_magic: OK [2021-01-18T06:28:45.733Z] HZ: Using current value: 100 [2021-01-18T06:28:45.733Z] file_header: OK [2021-01-18T06:28:45.733Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-18T06:28:45.733Z] Statistics: [2021-01-18T06:28:45.733Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-18T06:28:45.733Z] File successfully converted to sysstat format version 12.2.1 [2021-01-18T06:28:45.733Z] + sadf -c /var/log/sa-host/sa23 [2021-01-18T06:28:45.733Z] file_magic: OK [2021-01-18T06:28:45.733Z] HZ: Using current value: 100 [2021-01-18T06:28:45.733Z] file_header: OK [2021-01-18T06:28:45.733Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-18T06:28:45.733Z] Statistics: [2021-01-18T06:28:45.733Z] Hnuu...uuuununununu... [2021-01-18T06:28:45.733Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-18T06:28:46.057Z] provisioning config files... [2021-01-18T06:28:46.298Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/config5424514715093484595tmp [Pipeline] { [Pipeline] echo [2021-01-18T06:28:46.398Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:28:46.776Z] ---> create-netrc.sh [Pipeline] } [2021-01-18T06:28:46.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-18T06:28:46.948Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:28:47.284Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-18T06:28:47.330Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:28:47.668Z] ---> sudo-logs.sh [2021-01-18T06:28:47.668Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-18T06:28:47.717Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:28:48.062Z] ---> job-cost.sh [2021-01-18T06:28:48.062Z] lf-activate-venv: SKIPPING [2021-01-18T06:28:48.062Z] INFO: No Stack... [2021-01-18T06:28:49.016Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-18T06:28:49.279Z] INFO: Archiving Costs [Pipeline] echo [2021-01-18T06:28:49.315Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T06:28:49.651Z] ---> logs-deploy.sh [2021-01-18T06:28:49.651Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-88/1 [2021-01-18T06:28:49.651Z] INFO: archiving workspace using pattern(s): [2021-01-18T06:28:51.595Z] Archives upload complete. [2021-01-18T06:28:51.595Z] INFO: archiving logs to Nexus