Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a9eebe4fd4790070a3a05245b7555f7b1337e585+2835f428d5bb359d09284af55213ecc07555b5ca (8bc0a263bbd9f62364b100fda64f266da92f7206) Running in Durability level: PERFORMANCE_OPTIMIZED 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 Running on prd-centos7-docker-4c-2g-21739 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 2835f428d5bb359d09284af55213ecc07555b5ca into PR head commit a9eebe4fd4790070a3a05245b7555f7b1337e585 Merge succeeded, producing 60a042da6df189839cad31c128389cad5cf0adf6 Checking out Revision 60a042da6df189839cad31c128389cad5cf0adf6 (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 2835f428d5bb359d09284af55213ecc07555b5ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60a042da6df189839cad31c128389cad5cf0adf6 # timeout=10 Commit message: "Merge commit '2835f428d5bb359d09284af55213ecc07555b5ca' into HEAD" > git rev-list --no-walk a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T23:24:27.559Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T23:24:27.834Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T23:24:27.949Z] ========================================================= [2021-01-20T23:24:27.949Z] EdgeX Global Pipelines Version Info [2021-01-20T23:24:27.949Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:24:29.502Z] ------------------- [2021-01-20T23:24:29.502Z] stable info: [2021-01-20T23:24:29.502Z] ------------------- [2021-01-20T23:24:29.502Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:24:29.502Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:24:29.502Z] Message: update stable to v1.0.179 [2021-01-20T23:24:30.459Z] ------------------- [2021-01-20T23:24:30.460Z] experimental info: [2021-01-20T23:24:30.460Z] ------------------- [2021-01-20T23:24:30.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T23:24:30.460Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T23:24:30.460Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T23:24:30.835Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-01-20T23:24:30.957Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-01-20T23:24:31.049Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T23:24:31.150Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T23:24:31.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T23:24:31.370Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T23:24:31.460Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T23:24:31.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T23:24:31.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T23:24:31.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T23:24:31.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T23:24:31.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-01-20T23:24:32.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T23:24:32.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T23:24:32.259Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:24:32.352Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T23:24:32.467Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:24:32.559Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T23:24:32.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T23:24:32.783Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-20T23:24:32.871Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T23:24:32.958Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T23:24:33.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T23:24:33.138Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T23:24:33.228Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T23:24:33.323Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T23:24:33.429Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T23:24:33.528Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-88 [Pipeline] echo [2021-01-20T23:24:33.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-88 [Pipeline] echo [2021-01-20T23:24:33.729Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-88 [Pipeline] echo [2021-01-20T23:24:33.864Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60a042da6df189839cad31c128389cad5cf0adf6 [Pipeline] echo [2021-01-20T23:24:33.960Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60a042d [Pipeline] echo [2021-01-20T23:24:34.057Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:24:34.245Z] provisioning config files... [2021-01-20T23:24:34.287Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/config840203484311851442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:24:34.658Z] ---> docker-login.sh [2021-01-20T23:24:34.658Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:24:34.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:24:35.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:24:35.212Z] Configure a credential helper to remove this warning. See [2021-01-20T23:24:35.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:24:35.212Z] [2021-01-20T23:24:35.212Z] Login Succeeded [2021-01-20T23:24:35.212Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:24:35.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:24:35.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:24:35.479Z] Configure a credential helper to remove this warning. See [2021-01-20T23:24:35.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:24:35.479Z] [2021-01-20T23:24:35.479Z] Login Succeeded [2021-01-20T23:24:35.479Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:24:35.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:24:35.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:24:35.479Z] Configure a credential helper to remove this warning. See [2021-01-20T23:24:35.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:24:35.479Z] [2021-01-20T23:24:35.479Z] Login Succeeded [2021-01-20T23:24:35.479Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:24:35.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:24:35.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:24:35.749Z] Configure a credential helper to remove this warning. See [2021-01-20T23:24:35.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:24:35.749Z] [2021-01-20T23:24:35.749Z] Login Succeeded [2021-01-20T23:24:35.749Z] docker.io [2021-01-20T23:24:36.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:24:36.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:24:36.281Z] Configure a credential helper to remove this warning. See [2021-01-20T23:24:36.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:24:36.281Z] [2021-01-20T23:24:36.281Z] Login Succeeded [2021-01-20T23:24:36.281Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:24:36.293Z] 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-20T23:24:37.137Z] + git log --format=format:%s -1 60a042da6df189839cad31c128389cad5cf0adf6 [Pipeline] echo [2021-01-20T23:24:37.208Z] GIT_COMMIT: 60a042da6df189839cad31c128389cad5cf0adf6, Commit Message: Merge commit '2835f428d5bb359d09284af55213ecc07555b5ca' into HEAD [Pipeline] echo [2021-01-20T23:24:37.252Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:24:38.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:24:38.257Z] [2021-01-20T23:24:38.257Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:24:38.616Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:24:38.616Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T23:24:38.616Z] 31603596830f: Pulling fs layer [2021-01-20T23:24:38.616Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T23:24:38.616Z] 6ca5941a6612: Pulling fs layer [2021-01-20T23:24:38.616Z] ecc8261a40a4: Pulling fs layer [2021-01-20T23:24:38.616Z] ecc8261a40a4: Waiting [2021-01-20T23:24:38.616Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T23:24:38.616Z] 2a8b12db71e7: Download complete [2021-01-20T23:24:38.616Z] 31603596830f: Download complete [2021-01-20T23:24:38.883Z] ecc8261a40a4: Verifying Checksum [2021-01-20T23:24:38.883Z] ecc8261a40a4: Download complete [2021-01-20T23:24:38.883Z] 6ca5941a6612: Verifying Checksum [2021-01-20T23:24:38.883Z] 6ca5941a6612: Download complete [2021-01-20T23:24:39.148Z] 31603596830f: Pull complete [2021-01-20T23:24:39.148Z] 2a8b12db71e7: Pull complete [2021-01-20T23:24:40.119Z] 6ca5941a6612: Pull complete [2021-01-20T23:24:40.395Z] ecc8261a40a4: Pull complete [2021-01-20T23:24:40.396Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T23:24:40.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T23:24:40.661Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T23:24:40.780Z] prd-centos7-docker-4c-2g-21739 does not seem to be running inside a container [2021-01-20T23:24:41.008Z] $ 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-20T23:24:43.468Z] $ docker top 366148ec807b8da49850fbb27910cd13476648f898b9c73310e46e48f662a627 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T23:24:43.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:24:43.908Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:24:44.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:24:44.265Z] $ docker exec 366148ec807b8da49850fbb27910cd13476648f898b9c73310e46e48f662a627 ssh-agent [2021-01-20T23:24:44.491Z] SSH_AUTH_SOCK=/tmp/ssh-um9vKTY36MfQ/agent.11 [2021-01-20T23:24:44.491Z] SSH_AGENT_PID=16 [2021-01-20T23:24:44.508Z] Running ssh-add (command line suppressed) [2021-01-20T23:24:44.652Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/private_key_1177661398239704900.key (/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/private_key_1177661398239704900.key) [2021-01-20T23:24:44.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:24:45.065Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T23:24:45.096Z] $ docker exec --env ******** --env ******** 366148ec807b8da49850fbb27910cd13476648f898b9c73310e46e48f662a627 ssh-agent -k [2021-01-20T23:24:45.234Z] unset SSH_AUTH_SOCK; [2021-01-20T23:24:45.234Z] unset SSH_AGENT_PID; [2021-01-20T23:24:45.235Z] echo Agent pid 16 killed; [2021-01-20T23:24:45.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T23:24:45.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T23:24:45.447Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T23:24:45.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T23:24:45.656Z] $ docker exec 366148ec807b8da49850fbb27910cd13476648f898b9c73310e46e48f662a627 ssh-agent [2021-01-20T23:24:45.858Z] SSH_AUTH_SOCK=/tmp/ssh-a5z2js0V6OJt/agent.46 [2021-01-20T23:24:45.859Z] SSH_AGENT_PID=51 [2021-01-20T23:24:45.870Z] Running ssh-add (command line suppressed) [2021-01-20T23:24:46.020Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/private_key_5299467245899179310.key (/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/private_key_5299467245899179310.key) [2021-01-20T23:24:46.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T23:24:46.446Z] + git semver init [2021-01-20T23:24:46.446Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T23:24:46.446Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-88/.git [2021-01-20T23:24:46.446Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-88 [2021-01-20T23:24:46.446Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T23:24:46.446Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T23:24:46.446Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T23:24:46.446Z] # $SEMVER_BRANCH = PR-88 [2021-01-20T23:24:46.446Z] # $SEMVER_TEMP = /tmp/semver-405434167 [2021-01-20T23:24:46.446Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-01-20T23:24:46.710Z] # '/tmp/semver-405434167' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-88/.semver' [2021-01-20T23:24:46.710Z] # -> Force: false [2021-01-20T23:24:46.710Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-88/.semver [Pipeline] } [2021-01-20T23:24:46.730Z] $ docker exec --env ******** --env ******** 366148ec807b8da49850fbb27910cd13476648f898b9c73310e46e48f662a627 ssh-agent -k [2021-01-20T23:24:46.881Z] unset SSH_AUTH_SOCK; [2021-01-20T23:24:46.881Z] unset SSH_AGENT_PID; [2021-01-20T23:24:46.881Z] echo Agent pid 51 killed; [2021-01-20T23:24:46.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T23:24:47.441Z] + git semver [Pipeline] } [2021-01-20T23:24:47.460Z] $ docker stop --time=1 366148ec807b8da49850fbb27910cd13476648f898b9c73310e46e48f662a627 [2021-01-20T23:24:48.860Z] $ docker rm -f 366148ec807b8da49850fbb27910cd13476648f898b9c73310e46e48f662a627 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T23:24:49.393Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T23:24:49.809Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T23:24:49.812Z] [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-20T23:24:50.632Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21737 in /w/workspace/dgexfoundry_device-snmp-go_PR-88 [Pipeline] { [Pipeline] ws [2021-01-20T23:24:50.687Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-01-20T23:24:55.886Z] using credential edgex-jenkins-ssh [2021-01-20T23:24:55.951Z] Cloning the remote Git repository [2021-01-20T23:24:56.015Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-20T23:24:56.134Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-01-20T23:24:56.198Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-20T23:24:56.199Z] > git --version # timeout=10 [2021-01-20T23:24:56.214Z] > git --version # 'git version 2.17.1' [2021-01-20T23:24:56.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:24:56.290Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:24:56.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-20T23:24:56.927Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:24:56.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-20T23:24:57.497Z] Merging remotes/origin/master commit 2835f428d5bb359d09284af55213ecc07555b5ca into PR head commit a9eebe4fd4790070a3a05245b7555f7b1337e585 [2021-01-20T23:24:57.714Z] Merge succeeded, producing d6c7a8e68c0d75ab63b82a84337b3739625b6699 [2021-01-20T23:24:57.714Z] Checking out Revision d6c7a8e68c0d75ab63b82a84337b3739625b6699 (PR-88) [2021-01-20T23:24:57.017Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-20T23:24:57.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:24:57.033Z] > 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-20T23:24:57.532Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:24:57.544Z] > git checkout -f a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [2021-01-20T23:24:57.628Z] > git remote # timeout=10 [2021-01-20T23:24:57.644Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:24:57.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:24:57.664Z] > git merge 2835f428d5bb359d09284af55213ecc07555b5ca # timeout=10 [2021-01-20T23:24:57.707Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:24:57.728Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:24:57.737Z] > git checkout -f d6c7a8e68c0d75ab63b82a84337b3739625b6699 # timeout=10 [2021-01-20T23:25:02.227Z] Commit message: "Merge commit '2835f428d5bb359d09284af55213ecc07555b5ca' into HEAD" [2021-01-20T23:25:02.242Z] > git rev-list --no-walk a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:25:03.998Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:25:04.411Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:25:04.790Z] + + sudo service docker restarttrue [2021-01-20T23:25:04.791Z] [2021-01-20T23:25:05.402Z] Still waiting to schedule task [2021-01-20T23:25:05.402Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:25:06.952Z] provisioning config files... [2021-01-20T23:25:07.002Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config2071570750913257821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:25:07.398Z] ---> docker-login.sh [2021-01-20T23:25:07.398Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:25:08.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:25:08.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:25:08.686Z] Configure a credential helper to remove this warning. See [2021-01-20T23:25:08.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:25:08.686Z] [2021-01-20T23:25:08.686Z] Login Succeeded [2021-01-20T23:25:08.686Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:25:08.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:25:09.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:25:09.245Z] Configure a credential helper to remove this warning. See [2021-01-20T23:25:09.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:25:09.245Z] [2021-01-20T23:25:09.245Z] Login Succeeded [2021-01-20T23:25:09.245Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:25:09.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:25:09.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:25:09.798Z] Configure a credential helper to remove this warning. See [2021-01-20T23:25:09.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:25:09.798Z] [2021-01-20T23:25:09.798Z] Login Succeeded [2021-01-20T23:25:09.798Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:25:10.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:25:10.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:25:10.360Z] Configure a credential helper to remove this warning. See [2021-01-20T23:25:10.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:25:10.360Z] [2021-01-20T23:25:10.360Z] Login Succeeded [2021-01-20T23:25:10.360Z] docker.io [2021-01-20T23:25:10.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:25:10.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:25:10.924Z] Configure a credential helper to remove this warning. See [2021-01-20T23:25:10.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:25:10.924Z] [2021-01-20T23:25:10.924Z] Login Succeeded [2021-01-20T23:25:10.924Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:25:10.955Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:25:11.503Z] ========================================================= [2021-01-20T23:25:11.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T23:25:11.504Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:25:11.927Z] + 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-20T23:25:12.220Z] Sending build context to Docker daemon 330.8kB [2021-01-20T23:25:12.220Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:25:12.220Z] Step 2/10 : FROM ${BASE} [2021-01-20T23:25:12.220Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T23:25:12.220Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T23:25:12.220Z] a4357932f1b6: Pulling fs layer [2021-01-20T23:25:12.220Z] 18c013af1878: Pulling fs layer [2021-01-20T23:25:12.220Z] 00ac8860ef70: Pulling fs layer [2021-01-20T23:25:12.220Z] 63d7cb157983: Pulling fs layer [2021-01-20T23:25:12.220Z] 00ac8860ef70: Waiting [2021-01-20T23:25:12.220Z] b116817d02f9: Pulling fs layer [2021-01-20T23:25:12.220Z] 745a02a5169b: Pulling fs layer [2021-01-20T23:25:12.220Z] 63d7cb157983: Waiting [2021-01-20T23:25:12.220Z] b116817d02f9: Waiting [2021-01-20T23:25:12.220Z] 745a02a5169b: Waiting [2021-01-20T23:25:12.527Z] 18c013af1878: Verifying Checksum [2021-01-20T23:25:12.527Z] a4357932f1b6: Download complete [2021-01-20T23:25:12.527Z] 63d7cb157983: Verifying Checksum [2021-01-20T23:25:12.527Z] 63d7cb157983: Download complete [2021-01-20T23:25:12.527Z] b116817d02f9: Verifying Checksum [2021-01-20T23:25:12.527Z] b116817d02f9: Download complete [2021-01-20T23:25:12.527Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T23:25:12.527Z] 5f621e34cdf4: Download complete [2021-01-20T23:25:13.161Z] 5f621e34cdf4: Pull complete [2021-01-20T23:25:13.778Z] a4357932f1b6: Pull complete [2021-01-20T23:25:14.052Z] 18c013af1878: Pull complete [2021-01-20T23:25:16.670Z] 745a02a5169b: Verifying Checksum [2021-01-20T23:25:16.670Z] 745a02a5169b: Download complete [2021-01-20T23:25:18.666Z] 00ac8860ef70: Verifying Checksum [2021-01-20T23:25:18.666Z] 00ac8860ef70: Download complete [2021-01-20T23:25:28.908Z] 00ac8860ef70: Pull complete [2021-01-20T23:25:28.908Z] 63d7cb157983: Pull complete [2021-01-20T23:25:29.193Z] b116817d02f9: Pull complete [2021-01-20T23:25:33.536Z] 745a02a5169b: Pull complete [2021-01-20T23:25:33.536Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T23:25:33.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T23:25:33.536Z] ---> b7e6874047d6 [2021-01-20T23:25:33.536Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T23:25:36.208Z] ---> Running in 3657b2f90d33 [2021-01-20T23:25:36.208Z] Removing intermediate container 3657b2f90d33 [2021-01-20T23:25:36.208Z] ---> e90fe0ef656b [2021-01-20T23:25:36.208Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T23:25:36.208Z] ---> Running in a7c4a900701e [2021-01-20T23:25:36.805Z] Removing intermediate container a7c4a900701e [2021-01-20T23:25:36.805Z] ---> bbd23fb97a75 [2021-01-20T23:25:36.805Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-20T23:25:36.805Z] ---> Running in e84aba0b25d9 [2021-01-20T23:25:37.423Z] Removing intermediate container e84aba0b25d9 [2021-01-20T23:25:37.423Z] ---> 0814ed262718 [2021-01-20T23:25:37.423Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:25:37.423Z] ---> Running in aa48fe8adaa4 [2021-01-20T23:25:40.077Z] Removing intermediate container aa48fe8adaa4 [2021-01-20T23:25:40.078Z] ---> ab5c0773ba30 [2021-01-20T23:25:40.078Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T23:25:40.078Z] ---> Running in 3d5eea4e0aac [2021-01-20T23:25:41.067Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T23:25:43.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T23:25:45.131Z] OK: 142 MiB in 39 packages [2021-01-20T23:25:46.253Z] Removing intermediate container 3d5eea4e0aac [2021-01-20T23:25:46.253Z] ---> 160e509d1abe [2021-01-20T23:25:46.253Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-20T23:25:46.253Z] ---> Running in 14ada4f67ae9 [2021-01-20T23:25:46.884Z] Removing intermediate container 14ada4f67ae9 [2021-01-20T23:25:46.884Z] ---> 8734f3cc955c [2021-01-20T23:25:46.884Z] Step 9/10 : COPY . . [2021-01-20T23:25:47.499Z] ---> 05b09f417e34 [2021-01-20T23:25:47.499Z] Step 10/10 : RUN go mod download [2021-01-20T23:25:47.774Z] ---> Running in 0a8a074e26cb [2021-01-20T23:26:14.760Z] Removing intermediate container 0a8a074e26cb [2021-01-20T23:26:14.760Z] ---> eab5c8021458 [2021-01-20T23:26:14.760Z] Successfully built eab5c8021458 [2021-01-20T23:26:14.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:26:15.207Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:26:15.207Z] . [Pipeline] withDockerContainer [2021-01-20T23:26:15.537Z] prd-ubuntu18.04-docker-arm64-4c-16g-21737 does not seem to be running inside a container [2021-01-20T23:26:15.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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-arm64 cat [2021-01-20T23:26:17.284Z] $ docker top 17e003d3209967a3437c2646659050d6f2b1e45d21c78964ec8f91c8ebae4c0f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:26:18.337Z] + go version [2021-01-20T23:26:18.337Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T23:26:18.375Z] $ docker stop --time=1 17e003d3209967a3437c2646659050d6f2b1e45d21c78964ec8f91c8ebae4c0f [2021-01-20T23:26:20.322Z] $ docker rm -f 17e003d3209967a3437c2646659050d6f2b1e45d21c78964ec8f91c8ebae4c0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:26:21.357Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T23:26:21.357Z] . [Pipeline] withDockerContainer [2021-01-20T23:26:21.623Z] prd-ubuntu18.04-docker-arm64-4c-16g-21737 does not seem to be running inside a container [2021-01-20T23:26:21.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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-arm64 cat [2021-01-20T23:26:23.202Z] $ docker top 97882a4b0fd8ef4bef15f94efd40b00c342cedc1b34aee17536ce658c17f6af1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:26:24.182Z] + make test [2021-01-20T23:26:24.182Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T23:26:25.164Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-20T23:26:47.572Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-20T23:26:47.572Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-20T23:26:47.572Z] /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-20T23:26:47.572Z] have (string, bool, string, string) [2021-01-20T23:26:47.572Z] want (string, string) [2021-01-20T23:26:54.413Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements [2021-01-20T23:26:54.686Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-20T23:26:54.722Z] $ docker stop --time=1 97882a4b0fd8ef4bef15f94efd40b00c342cedc1b34aee17536ce658c17f6af1 [2021-01-20T23:26:57.001Z] $ docker rm -f 97882a4b0fd8ef4bef15f94efd40b00c342cedc1b34aee17536ce658c17f6af1 [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-20T23:26:58.768Z] Failed in branch arm64 [2021-01-20T23:28:52.965Z] Running on prd-centos7-docker-4c-2g-21744 in /w/workspace/dgexfoundry_device-snmp-go_PR-88 [Pipeline] { [Pipeline] ws [2021-01-20T23:28:53.023Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-01-20T23:28:55.836Z] using credential edgex-jenkins-ssh [2021-01-20T23:28:55.887Z] Cloning the remote Git repository [2021-01-20T23:28:55.875Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-20T23:28:55.953Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-01-20T23:28:56.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-20T23:28:56.022Z] > git --version # timeout=10 [2021-01-20T23:28:56.030Z] > git --version # 'git version 2.24.3' [2021-01-20T23:28:56.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:28:56.066Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:28:57.101Z] Merging remotes/origin/master commit 2835f428d5bb359d09284af55213ecc07555b5ca into PR head commit a9eebe4fd4790070a3a05245b7555f7b1337e585 [2021-01-20T23:28:57.209Z] Merge succeeded, producing 73e18474bad6bc5c3d62d5c97027c0c51ff78627 [2021-01-20T23:28:57.210Z] Checking out Revision 73e18474bad6bc5c3d62d5c97027c0c51ff78627 (PR-88) [2021-01-20T23:28:56.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-20T23:28:56.675Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T23:28:56.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-20T23:28:56.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-20T23:28:56.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:28:56.709Z] > 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-20T23:28:57.114Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:28:57.120Z] > git checkout -f a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [2021-01-20T23:28:57.161Z] > git remote # timeout=10 [2021-01-20T23:28:57.168Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T23:28:57.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T23:28:57.180Z] > git merge 2835f428d5bb359d09284af55213ecc07555b5ca # timeout=10 [2021-01-20T23:28:57.202Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T23:28:57.215Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T23:28:57.224Z] > git checkout -f 73e18474bad6bc5c3d62d5c97027c0c51ff78627 # timeout=10 [2021-01-20T23:29:01.058Z] Commit message: "Merge commit '2835f428d5bb359d09284af55213ecc07555b5ca' into HEAD" [2021-01-20T23:29:01.063Z] > git rev-list --no-walk a9eebe4fd4790070a3a05245b7555f7b1337e585 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T23:29:02.583Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:29:02.924Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T23:29:03.226Z] + sudo service docker restart [2021-01-20T23:29:03.226Z] + true [2021-01-20T23:29:03.226Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T23:29:04.251Z] provisioning config files... [2021-01-20T23:29:04.294Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config2388741241332713551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:29:04.660Z] ---> docker-login.sh [2021-01-20T23:29:04.660Z] nexus3.edgexfoundry.org:10001 [2021-01-20T23:29:04.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:29:05.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:29:05.190Z] Configure a credential helper to remove this warning. See [2021-01-20T23:29:05.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:29:05.190Z] [2021-01-20T23:29:05.190Z] Login Succeeded [2021-01-20T23:29:05.190Z] nexus3.edgexfoundry.org:10002 [2021-01-20T23:29:05.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:29:05.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:29:05.454Z] Configure a credential helper to remove this warning. See [2021-01-20T23:29:05.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:29:05.454Z] [2021-01-20T23:29:05.454Z] Login Succeeded [2021-01-20T23:29:05.454Z] nexus3.edgexfoundry.org:10003 [2021-01-20T23:29:05.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:29:05.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:29:05.717Z] Configure a credential helper to remove this warning. See [2021-01-20T23:29:05.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:29:05.717Z] [2021-01-20T23:29:05.717Z] Login Succeeded [2021-01-20T23:29:05.717Z] nexus3.edgexfoundry.org:10004 [2021-01-20T23:29:05.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:29:05.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:29:05.717Z] Configure a credential helper to remove this warning. See [2021-01-20T23:29:05.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:29:05.717Z] [2021-01-20T23:29:05.717Z] Login Succeeded [2021-01-20T23:29:05.717Z] docker.io [2021-01-20T23:29:05.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T23:29:06.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T23:29:06.246Z] Configure a credential helper to remove this warning. See [2021-01-20T23:29:06.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T23:29:06.246Z] [2021-01-20T23:29:06.246Z] Login Succeeded [2021-01-20T23:29:06.246Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T23:29:06.256Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T23:29:06.717Z] ========================================================= [2021-01-20T23:29:06.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T23:29:06.717Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:29:07.131Z] + 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-20T23:29:07.131Z] Sending build context to Docker daemon 331.8kB [2021-01-20T23:29:07.395Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T23:29:07.395Z] Step 2/10 : FROM ${BASE} [2021-01-20T23:29:07.395Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T23:29:07.395Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T23:29:07.395Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T23:29:07.395Z] de9db76c5a1d: Pulling fs layer [2021-01-20T23:29:07.395Z] bca2f99d35d6: Pulling fs layer [2021-01-20T23:29:07.395Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T23:29:07.395Z] 7c6f9722023f: Pulling fs layer [2021-01-20T23:29:07.395Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T23:29:07.395Z] 93359f2a8cfa: Waiting [2021-01-20T23:29:07.395Z] 7c6f9722023f: Waiting [2021-01-20T23:29:07.395Z] bca2f99d35d6: Waiting [2021-01-20T23:29:07.395Z] a35cf1a2eb13: Waiting [2021-01-20T23:29:07.395Z] de9db76c5a1d: Verifying Checksum [2021-01-20T23:29:07.395Z] de9db76c5a1d: Download complete [2021-01-20T23:29:07.395Z] 0ef7d3d256c8: Download complete [2021-01-20T23:29:07.395Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T23:29:07.395Z] 93359f2a8cfa: Download complete [2021-01-20T23:29:07.395Z] 7c6f9722023f: Verifying Checksum [2021-01-20T23:29:07.395Z] 7c6f9722023f: Download complete [2021-01-20T23:29:07.395Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T23:29:07.395Z] 188c0c94c7c5: Download complete [2021-01-20T23:29:07.663Z] 188c0c94c7c5: Pull complete [2021-01-20T23:29:07.933Z] 0ef7d3d256c8: Pull complete [2021-01-20T23:29:08.199Z] de9db76c5a1d: Pull complete [2021-01-20T23:29:10.776Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T23:29:10.776Z] a35cf1a2eb13: Download complete [2021-01-20T23:29:12.711Z] bca2f99d35d6: Verifying Checksum [2021-01-20T23:29:12.711Z] bca2f99d35d6: Download complete [2021-01-20T23:29:18.068Z] bca2f99d35d6: Pull complete [2021-01-20T23:29:18.068Z] 93359f2a8cfa: Pull complete [2021-01-20T23:29:18.068Z] 7c6f9722023f: Pull complete [2021-01-20T23:29:28.169Z] a35cf1a2eb13: Pull complete [2021-01-20T23:29:28.169Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T23:29:28.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T23:29:28.169Z] ---> a62c8e92a672 [2021-01-20T23:29:28.169Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T23:29:28.434Z] ---> Running in a01c5cde41b1 [2021-01-20T23:29:28.697Z] Removing intermediate container a01c5cde41b1 [2021-01-20T23:29:28.697Z] ---> 22751876d4de [2021-01-20T23:29:28.697Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T23:29:28.697Z] ---> Running in 46617521796f [2021-01-20T23:29:28.960Z] Removing intermediate container 46617521796f [2021-01-20T23:29:28.960Z] ---> 51ceeb6be821 [2021-01-20T23:29:28.960Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-20T23:29:28.960Z] ---> Running in d97c9a810de2 [2021-01-20T23:29:28.960Z] Removing intermediate container d97c9a810de2 [2021-01-20T23:29:28.960Z] ---> 6a463a7d69e6 [2021-01-20T23:29:28.960Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T23:29:29.227Z] ---> Running in bd5c2a97ac43 [2021-01-20T23:29:30.652Z] Removing intermediate container bd5c2a97ac43 [2021-01-20T23:29:30.652Z] ---> ad24a1e20327 [2021-01-20T23:29:30.652Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T23:29:30.652Z] ---> Running in 4029f3e3c477 [2021-01-20T23:29:31.240Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T23:29:32.197Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T23:29:34.757Z] OK: 166 MiB in 39 packages [2021-01-20T23:29:34.757Z] Removing intermediate container 4029f3e3c477 [2021-01-20T23:29:34.757Z] ---> ac0f5db84d3e [2021-01-20T23:29:34.757Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-20T23:29:34.757Z] ---> Running in c4b4dff16f10 [2021-01-20T23:29:35.022Z] Removing intermediate container c4b4dff16f10 [2021-01-20T23:29:35.022Z] ---> d7917c02df2d [2021-01-20T23:29:35.022Z] Step 9/10 : COPY . . [2021-01-20T23:29:35.987Z] ---> eb395bcb9658 [2021-01-20T23:29:35.987Z] Step 10/10 : RUN go mod download [2021-01-20T23:29:35.987Z] ---> Running in bb1bac59e702 [2021-01-20T23:29:58.040Z] Removing intermediate container bb1bac59e702 [2021-01-20T23:29:58.040Z] ---> b03bba94b079 [2021-01-20T23:29:58.040Z] Successfully built b03bba94b079 [2021-01-20T23:29:58.040Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:29:58.372Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:29:58.372Z] . [Pipeline] withDockerContainer [2021-01-20T23:29:58.519Z] prd-centos7-docker-4c-2g-21744 does not seem to be running inside a container [2021-01-20T23:29:58.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T23:29:59.562Z] $ docker top eee2853209cdaf85f77eac2c9524ba85689f618ab6748832c44647b577791b94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:30:00.082Z] + go version [2021-01-20T23:30:00.082Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T23:30:00.099Z] $ docker stop --time=1 eee2853209cdaf85f77eac2c9524ba85689f618ab6748832c44647b577791b94 [2021-01-20T23:30:01.456Z] $ docker rm -f eee2853209cdaf85f77eac2c9524ba85689f618ab6748832c44647b577791b94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:30:02.434Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T23:30:02.434Z] . [Pipeline] withDockerContainer [2021-01-20T23:30:02.553Z] prd-centos7-docker-4c-2g-21744 does not seem to be running inside a container [2021-01-20T23:30:02.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T23:30:03.285Z] $ docker top 52bd8332f7e5765904779010f0831d5d9c761071941a3333f9d2ed972109cd6b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:30:03.829Z] + make test [2021-01-20T23:30:03.829Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-20T23:30:04.800Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-20T23:30:11.522Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-20T23:30:11.522Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-20T23:30:11.522Z] /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-20T23:30:11.522Z] have (string, bool, string, string) [2021-01-20T23:30:11.522Z] want (string, string) [2021-01-20T23:30:15.834Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-01-20T23:30:15.834Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-20T23:30:15.854Z] $ docker stop --time=1 52bd8332f7e5765904779010f0831d5d9c761071941a3333f9d2ed972109cd6b [2021-01-20T23:30:18.142Z] $ docker rm -f 52bd8332f7e5765904779010f0831d5d9c761071941a3333f9d2ed972109cd6b [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] } [2021-01-20T23:30:19.656Z] Failed in branch amd64 [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-20T23:30:22.289Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:30:22.864Z] ---> package-listing.sh [2021-01-20T23:30:22.864Z] ++ facter osfamily [2021-01-20T23:30:22.864Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T23:30:22.864Z] + OS_FAMILY=redhat [2021-01-20T23:30:22.864Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-88 [2021-01-20T23:30:22.864Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T23:30:22.864Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T23:30:22.864Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T23:30:22.864Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T23:30:22.864Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-88 ']' [2021-01-20T23:30:22.864Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T23:30:22.864Z] + case "${OS_FAMILY}" in [2021-01-20T23:30:22.864Z] + rpm -qa [2021-01-20T23:30:22.864Z] + sort [2021-01-20T23:30:28.178Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T23:30:28.178Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T23:30:28.178Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T23:30:28.178Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-88 ']' [2021-01-20T23:30:28.178Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-88/archives/ [2021-01-20T23:30:28.178Z] + 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-20T23:30:28.193Z] 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-20T23:30:28.487Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:30:28.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:30:28.796Z] [2021-01-20T23:30:28.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T23:30:29.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:30:29.145Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T23:30:29.145Z] df20fa9351a1: Pulling fs layer [2021-01-20T23:30:29.145Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T23:30:29.145Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T23:30:29.145Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T23:30:29.145Z] 93b61091891f: Pulling fs layer [2021-01-20T23:30:29.145Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T23:30:29.145Z] 5e14af77c1be: Pulling fs layer [2021-01-20T23:30:29.145Z] 01666e4c0597: Pulling fs layer [2021-01-20T23:30:29.145Z] aa168da1d23b: Pulling fs layer [2021-01-20T23:30:29.145Z] 93b61091891f: Waiting [2021-01-20T23:30:29.145Z] 93b9cdb0e59b: Waiting [2021-01-20T23:30:29.145Z] 5e14af77c1be: Waiting [2021-01-20T23:30:29.145Z] 01666e4c0597: Waiting [2021-01-20T23:30:29.145Z] 46f8f816bc3b: Waiting [2021-01-20T23:30:29.145Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T23:30:29.145Z] 36b3adc4ff6f: Download complete [2021-01-20T23:30:29.145Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T23:30:29.145Z] 46f8f816bc3b: Download complete [2021-01-20T23:30:29.422Z] df20fa9351a1: Verifying Checksum [2021-01-20T23:30:29.422Z] 93b9cdb0e59b: Download complete [2021-01-20T23:30:29.422Z] 5e14af77c1be: Verifying Checksum [2021-01-20T23:30:29.422Z] 5e14af77c1be: Download complete [2021-01-20T23:30:29.422Z] 93b61091891f: Download complete [2021-01-20T23:30:29.422Z] 01666e4c0597: Verifying Checksum [2021-01-20T23:30:29.422Z] 01666e4c0597: Download complete [2021-01-20T23:30:29.685Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T23:30:29.685Z] 8ad3a11d3b57: Download complete [2021-01-20T23:30:29.949Z] df20fa9351a1: Pull complete [2021-01-20T23:30:29.949Z] 36b3adc4ff6f: Pull complete [2021-01-20T23:30:30.912Z] 8ad3a11d3b57: Pull complete [2021-01-20T23:30:31.493Z] 46f8f816bc3b: Pull complete [2021-01-20T23:30:31.493Z] aa168da1d23b: Verifying Checksum [2021-01-20T23:30:31.493Z] aa168da1d23b: Download complete [2021-01-20T23:30:31.755Z] 93b61091891f: Pull complete [2021-01-20T23:30:32.017Z] 93b9cdb0e59b: Pull complete [2021-01-20T23:30:32.017Z] 5e14af77c1be: Pull complete [2021-01-20T23:30:32.281Z] 01666e4c0597: Pull complete [2021-01-20T23:30:38.929Z] aa168da1d23b: Pull complete [2021-01-20T23:30:38.929Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T23:30:38.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T23:30:38.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T23:30:39.144Z] prd-centos7-docker-4c-2g-21739 does not seem to be running inside a container [2021-01-20T23:30:39.191Z] $ 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-20T23:30:42.726Z] $ docker top 5c494ebe81b2ecb711b5ed062f0b29c60fd7e0576d7fbffa3298a5c4a454257d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T23:30:43.216Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T23:30:43.518Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T23:30:43.817Z] + ls /var/log/sa-host [2021-01-20T23:30:43.817Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T23:30:43.817Z] file_magic: OK [2021-01-20T23:30:43.817Z] HZ: Using current value: 100 [2021-01-20T23:30:43.817Z] file_header: OK [2021-01-20T23:30:43.817Z] 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-20T23:30:43.817Z] Statistics: [2021-01-20T23:30:43.817Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T23:30:43.817Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T23:30:43.817Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T23:30:43.817Z] file_magic: OK [2021-01-20T23:30:43.817Z] HZ: Using current value: 100 [2021-01-20T23:30:43.817Z] file_header: OK [2021-01-20T23:30:43.817Z] 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-20T23:30:43.817Z] Statistics: [2021-01-20T23:30:43.817Z] Hnuu...uuuununununu... [2021-01-20T23:30:43.817Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T23:30:44.081Z] provisioning config files... [2021-01-20T23:30:44.106Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-88@tmp/config6644735306571278232tmp [Pipeline] { [Pipeline] echo [2021-01-20T23:30:44.179Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:30:44.477Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T23:30:44.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T23:30:44.600Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:30:44.900Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T23:30:44.913Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:30:45.214Z] ---> sudo-logs.sh [2021-01-20T23:30:45.214Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T23:30:45.225Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:30:45.523Z] ---> job-cost.sh [2021-01-20T23:30:45.523Z] lf-activate-venv: SKIPPING [2021-01-20T23:30:45.523Z] INFO: No Stack... [2021-01-20T23:30:46.915Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T23:30:47.177Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T23:30:47.192Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T23:30:47.489Z] ---> logs-deploy.sh [2021-01-20T23:30:47.490Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-88/2 [2021-01-20T23:30:47.490Z] INFO: archiving workspace using pattern(s): [2021-01-20T23:30:49.423Z] Archives upload complete. [2021-01-20T23:30:49.423Z] INFO: archiving logs to Nexus