Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 71a79242aa87d971b9bddcd433dbb18778e26eb8+fcccfd94587541a74c874275ff1808fa86f63ccd (bff00e6014534c78da9212ffb46f35f3e1df453b) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-18337 in /w/workspace/dgexfoundry_device-snmp-go_PR-82 [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-82 # timeout=10 Merging remotes/origin/master commit fcccfd94587541a74c874275ff1808fa86f63ccd into PR head commit 71a79242aa87d971b9bddcd433dbb18778e26eb8 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/82/head:refs/remotes/origin/PR-82 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71a79242aa87d971b9bddcd433dbb18778e26eb8 # timeout=10 Merge succeeded, producing 582bcd8886a84f390c03667613dcb618bde9bd9b Checking out Revision 582bcd8886a84f390c03667613dcb618bde9bd9b (PR-82) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fcccfd94587541a74c874275ff1808fa86f63ccd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 582bcd8886a84f390c03667613dcb618bde9bd9b # timeout=10 Commit message: "Merge commit 'fcccfd94587541a74c874275ff1808fa86f63ccd' into HEAD" > git rev-list --no-walk 71a79242aa87d971b9bddcd433dbb18778e26eb8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T23:24:22.181Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T23:24:22.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T23:24:22.539Z] ========================================================= [2021-01-04T23:24:22.539Z] EdgeX Global Pipelines Version Info [2021-01-04T23:24:22.539Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:24:24.015Z] ------------------- [2021-01-04T23:24:24.015Z] stable info: [2021-01-04T23:24:24.015Z] ------------------- [2021-01-04T23:24:24.015Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T23:24:24.015Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T23:24:24.015Z] Message: update stable to v1.0.173 [2021-01-04T23:24:24.962Z] ------------------- [2021-01-04T23:24:24.962Z] experimental info: [2021-01-04T23:24:24.962Z] ------------------- [2021-01-04T23:24:24.962Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T23:24:24.962Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T23:24:24.962Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T23:24:25.276Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-01-04T23:24:25.386Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-01-04T23:24:25.483Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T23:24:25.588Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T23:24:25.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T23:24:25.809Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T23:24:25.905Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T23:24:25.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T23:24:26.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T23:24:26.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T23:24:26.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T23:24:26.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-01-04T23:24:26.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T23:24:26.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T23:24:26.610Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T23:24:26.694Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T23:24:26.789Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T23:24:26.876Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T23:24:26.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T23:24:27.048Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T23:24:27.135Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T23:24:27.217Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T23:24:27.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T23:24:27.402Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T23:24:27.485Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T23:24:27.570Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T23:24:27.659Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T23:24:27.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-82 [Pipeline] echo [2021-01-04T23:24:27.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-82 [Pipeline] echo [2021-01-04T23:24:27.915Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-82 [Pipeline] echo [2021-01-04T23:24:28.001Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 582bcd8886a84f390c03667613dcb618bde9bd9b [Pipeline] echo [2021-01-04T23:24:28.111Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 582bcd8 [Pipeline] echo [2021-01-04T23:24:28.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:24:28.368Z] provisioning config files... [2021-01-04T23:24:28.405Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-82@tmp/config2972248968493815535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:24:28.755Z] ---> docker-login.sh [2021-01-04T23:24:28.755Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:24:29.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:24:29.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:24:29.018Z] Configure a credential helper to remove this warning. See [2021-01-04T23:24:29.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:24:29.018Z] [2021-01-04T23:24:29.018Z] Login Succeeded [2021-01-04T23:24:29.018Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:24:29.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:24:29.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:24:29.281Z] Configure a credential helper to remove this warning. See [2021-01-04T23:24:29.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:24:29.281Z] [2021-01-04T23:24:29.281Z] Login Succeeded [2021-01-04T23:24:29.281Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:24:29.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:24:29.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:24:29.546Z] Configure a credential helper to remove this warning. See [2021-01-04T23:24:29.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:24:29.546Z] [2021-01-04T23:24:29.546Z] Login Succeeded [2021-01-04T23:24:29.546Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:24:29.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:24:29.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:24:29.546Z] Configure a credential helper to remove this warning. See [2021-01-04T23:24:29.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:24:29.546Z] [2021-01-04T23:24:29.546Z] Login Succeeded [2021-01-04T23:24:29.546Z] docker.io [2021-01-04T23:24:29.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:24:30.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:24:30.073Z] Configure a credential helper to remove this warning. See [2021-01-04T23:24:30.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:24:30.073Z] [2021-01-04T23:24:30.073Z] Login Succeeded [2021-01-04T23:24:30.073Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:24:30.083Z] 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-04T23:24:31.071Z] + git log --format=format:%s -1 582bcd8886a84f390c03667613dcb618bde9bd9b [Pipeline] echo [2021-01-04T23:24:31.148Z] GIT_COMMIT: 582bcd8886a84f390c03667613dcb618bde9bd9b, Commit Message: Merge commit 'fcccfd94587541a74c874275ff1808fa86f63ccd' into HEAD [Pipeline] echo [2021-01-04T23:24:31.193Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:24:32.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:24:32.226Z] [2021-01-04T23:24:32.226Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:24:32.570Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:24:32.570Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T23:24:32.570Z] 31603596830f: Pulling fs layer [2021-01-04T23:24:32.570Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T23:24:32.570Z] 6ca5941a6612: Pulling fs layer [2021-01-04T23:24:32.570Z] ecc8261a40a4: Pulling fs layer [2021-01-04T23:24:32.570Z] ecc8261a40a4: Waiting [2021-01-04T23:24:32.570Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T23:24:32.570Z] 2a8b12db71e7: Download complete [2021-01-04T23:24:32.835Z] 31603596830f: Verifying Checksum [2021-01-04T23:24:32.835Z] 31603596830f: Download complete [2021-01-04T23:24:32.835Z] 6ca5941a6612: Verifying Checksum [2021-01-04T23:24:32.835Z] 6ca5941a6612: Download complete [2021-01-04T23:24:32.835Z] ecc8261a40a4: Verifying Checksum [2021-01-04T23:24:32.835Z] ecc8261a40a4: Download complete [2021-01-04T23:24:33.109Z] 31603596830f: Pull complete [2021-01-04T23:24:33.109Z] 2a8b12db71e7: Pull complete [2021-01-04T23:24:34.066Z] 6ca5941a6612: Pull complete [2021-01-04T23:24:34.331Z] ecc8261a40a4: Pull complete [2021-01-04T23:24:34.331Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T23:24:34.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T23:24:34.331Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T23:24:34.432Z] prd-centos7-docker-4c-2g-18337 does not seem to be running inside a container [2021-01-04T23:24:34.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-82 -v /w/workspace/dgexfoundry_device-snmp-go_PR-82:/w/workspace/dgexfoundry_device-snmp-go_PR-82:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-82@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-82@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-04T23:24:36.617Z] $ docker top b9d2ac44d12a9875d8d7aa8c166922ce4b02b90757957977d6e9e64ff4f086f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T23:24:36.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T23:24:36.983Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T23:24:37.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T23:24:37.217Z] $ docker exec b9d2ac44d12a9875d8d7aa8c166922ce4b02b90757957977d6e9e64ff4f086f5 ssh-agent [2021-01-04T23:24:37.379Z] SSH_AUTH_SOCK=/tmp/ssh-SkswwJkERMJO/agent.12 [2021-01-04T23:24:37.379Z] SSH_AGENT_PID=18 [2021-01-04T23:24:37.390Z] Running ssh-add (command line suppressed) [2021-01-04T23:24:37.504Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-82@tmp/private_key_4073338014302167241.key (/w/workspace/dgexfoundry_device-snmp-go_PR-82@tmp/private_key_4073338014302167241.key) [2021-01-04T23:24:37.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T23:24:37.894Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T23:24:37.916Z] $ docker exec --env ******** --env ******** b9d2ac44d12a9875d8d7aa8c166922ce4b02b90757957977d6e9e64ff4f086f5 ssh-agent -k [2021-01-04T23:24:38.024Z] unset SSH_AUTH_SOCK; [2021-01-04T23:24:38.024Z] unset SSH_AGENT_PID; [2021-01-04T23:24:38.024Z] echo Agent pid 18 killed; [2021-01-04T23:24:38.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T23:24:38.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T23:24:38.205Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T23:24:38.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T23:24:38.364Z] $ docker exec b9d2ac44d12a9875d8d7aa8c166922ce4b02b90757957977d6e9e64ff4f086f5 ssh-agent [2021-01-04T23:24:38.533Z] SSH_AUTH_SOCK=/tmp/ssh-XsrdpVFcQHYw/agent.46 [2021-01-04T23:24:38.533Z] SSH_AGENT_PID=51 [2021-01-04T23:24:38.540Z] Running ssh-add (command line suppressed) [2021-01-04T23:24:38.666Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-82@tmp/private_key_5193200632617408574.key (/w/workspace/dgexfoundry_device-snmp-go_PR-82@tmp/private_key_5193200632617408574.key) [2021-01-04T23:24:38.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T23:24:39.046Z] + git semver init [2021-01-04T23:24:39.046Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T23:24:39.047Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-82/.git [2021-01-04T23:24:39.047Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-82 [2021-01-04T23:24:39.047Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T23:24:39.047Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T23:24:39.047Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T23:24:39.047Z] # $SEMVER_BRANCH = PR-82 [2021-01-04T23:24:39.047Z] # $SEMVER_TEMP = /tmp/semver-748804033 [2021-01-04T23:24:39.047Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-01-04T23:24:39.308Z] # '/tmp/semver-748804033' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-82/.semver' [2021-01-04T23:24:39.571Z] # -> Force: false [2021-01-04T23:24:39.571Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-82/.semver [Pipeline] } [2021-01-04T23:24:39.585Z] $ docker exec --env ******** --env ******** b9d2ac44d12a9875d8d7aa8c166922ce4b02b90757957977d6e9e64ff4f086f5 ssh-agent -k [2021-01-04T23:24:39.701Z] unset SSH_AUTH_SOCK; [2021-01-04T23:24:39.701Z] unset SSH_AGENT_PID; [2021-01-04T23:24:39.701Z] echo Agent pid 51 killed; [2021-01-04T23:24:39.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T23:24:40.206Z] + git semver [Pipeline] } [2021-01-04T23:24:40.225Z] $ docker stop --time=1 b9d2ac44d12a9875d8d7aa8c166922ce4b02b90757957977d6e9e64ff4f086f5 [2021-01-04T23:24:41.638Z] $ docker rm -f b9d2ac44d12a9875d8d7aa8c166922ce4b02b90757957977d6e9e64ff4f086f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T23:24:42.114Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T23:24:42.505Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T23:24:42.508Z] [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-04T23:24:58.029Z] Still waiting to schedule task [2021-01-04T23:24:58.029Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T23:24:58.033Z] Still waiting to schedule task [2021-01-04T23:24:58.033Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-04T23:26:47.849Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18340 in /w/workspace/dgexfoundry_device-snmp-go_PR-82 [Pipeline] { [Pipeline] ws [2021-01-04T23:26:47.901Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-01-04T23:26:52.873Z] using credential edgex-jenkins-ssh [2021-01-04T23:26:52.931Z] Cloning the remote Git repository [2021-01-04T23:26:52.997Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T23:26:53.108Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-01-04T23:26:53.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T23:26:53.195Z] > git --version # timeout=10 [2021-01-04T23:26:53.217Z] > git --version # 'git version 2.17.1' [2021-01-04T23:26:53.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:26:53.301Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:26:54.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-04T23:26:54.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:26:54.117Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-04T23:26:54.153Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T23:26:54.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:26:54.166Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/82/head:refs/remotes/origin/PR-82 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T23:26:54.672Z] Merging remotes/origin/master commit fcccfd94587541a74c874275ff1808fa86f63ccd into PR head commit 71a79242aa87d971b9bddcd433dbb18778e26eb8 [2021-01-04T23:26:54.983Z] Merge succeeded, producing b3c6e75921cc22961e23552fc40f86347975962f [2021-01-04T23:26:54.983Z] Checking out Revision b3c6e75921cc22961e23552fc40f86347975962f (PR-82) [2021-01-04T23:26:54.704Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:26:54.719Z] > git checkout -f 71a79242aa87d971b9bddcd433dbb18778e26eb8 # timeout=10 [2021-01-04T23:26:54.843Z] > git remote # timeout=10 [2021-01-04T23:26:54.866Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T23:26:54.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:26:54.911Z] > git merge fcccfd94587541a74c874275ff1808fa86f63ccd # timeout=10 [2021-01-04T23:26:54.975Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T23:26:55.002Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:26:55.018Z] > git checkout -f b3c6e75921cc22961e23552fc40f86347975962f # timeout=10 [2021-01-04T23:26:59.130Z] Commit message: "Merge commit 'fcccfd94587541a74c874275ff1808fa86f63ccd' into HEAD" [2021-01-04T23:26:59.151Z] > git rev-list --no-walk 71a79242aa87d971b9bddcd433dbb18778e26eb8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T23:27:00.784Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:27:01.231Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:27:01.572Z] + + true [2021-01-04T23:27:01.572Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:27:04.294Z] provisioning config files... [2021-01-04T23:27:04.345Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config3568568572034955214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:27:04.748Z] ---> docker-login.sh [2021-01-04T23:27:04.748Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:27:05.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:27:06.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:27:06.008Z] Configure a credential helper to remove this warning. See [2021-01-04T23:27:06.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:27:06.008Z] [2021-01-04T23:27:06.008Z] Login Succeeded [2021-01-04T23:27:06.008Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:27:06.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:27:06.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:27:06.554Z] Configure a credential helper to remove this warning. See [2021-01-04T23:27:06.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:27:06.554Z] [2021-01-04T23:27:06.554Z] Login Succeeded [2021-01-04T23:27:06.554Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:27:06.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:27:07.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:27:07.101Z] Configure a credential helper to remove this warning. See [2021-01-04T23:27:07.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:27:07.101Z] [2021-01-04T23:27:07.101Z] Login Succeeded [2021-01-04T23:27:07.101Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:27:07.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:27:07.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:27:07.649Z] Configure a credential helper to remove this warning. See [2021-01-04T23:27:07.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:27:07.649Z] [2021-01-04T23:27:07.649Z] Login Succeeded [2021-01-04T23:27:07.649Z] docker.io [2021-01-04T23:27:07.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:27:08.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:27:08.197Z] Configure a credential helper to remove this warning. See [2021-01-04T23:27:08.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:27:08.197Z] [2021-01-04T23:27:08.197Z] Login Succeeded [2021-01-04T23:27:08.471Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:27:08.489Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T23:27:09.012Z] ========================================================= [2021-01-04T23:27:09.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T23:27:09.013Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:27:09.384Z] + 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-04T23:27:09.660Z] Sending build context to Docker daemon 330.8kB [2021-01-04T23:27:09.660Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T23:27:09.660Z] Step 2/10 : FROM ${BASE} [2021-01-04T23:27:09.660Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T23:27:09.660Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T23:27:09.660Z] a4357932f1b6: Pulling fs layer [2021-01-04T23:27:09.660Z] 18c013af1878: Pulling fs layer [2021-01-04T23:27:09.660Z] 00ac8860ef70: Pulling fs layer [2021-01-04T23:27:09.660Z] 63d7cb157983: Pulling fs layer [2021-01-04T23:27:09.660Z] b116817d02f9: Pulling fs layer [2021-01-04T23:27:09.660Z] 745a02a5169b: Pulling fs layer [2021-01-04T23:27:09.660Z] b116817d02f9: Waiting [2021-01-04T23:27:09.660Z] 00ac8860ef70: Waiting [2021-01-04T23:27:09.660Z] 63d7cb157983: Waiting [2021-01-04T23:27:09.660Z] 745a02a5169b: Waiting [2021-01-04T23:27:09.934Z] 18c013af1878: Verifying Checksum [2021-01-04T23:27:09.934Z] 18c013af1878: Download complete [2021-01-04T23:27:09.934Z] a4357932f1b6: Verifying Checksum [2021-01-04T23:27:09.934Z] a4357932f1b6: Download complete [2021-01-04T23:27:09.934Z] 63d7cb157983: Verifying Checksum [2021-01-04T23:27:09.934Z] 63d7cb157983: Download complete [2021-01-04T23:27:09.934Z] b116817d02f9: Verifying Checksum [2021-01-04T23:27:09.934Z] b116817d02f9: Download complete [2021-01-04T23:27:10.206Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T23:27:10.206Z] 5f621e34cdf4: Download complete [2021-01-04T23:27:11.193Z] 5f621e34cdf4: Pull complete [2021-01-04T23:27:11.467Z] a4357932f1b6: Pull complete [2021-01-04T23:27:11.740Z] 18c013af1878: Pull complete [2021-01-04T23:27:13.180Z] 745a02a5169b: Verifying Checksum [2021-01-04T23:27:13.180Z] 745a02a5169b: Download complete [2021-01-04T23:27:13.782Z] 00ac8860ef70: Verifying Checksum [2021-01-04T23:27:13.782Z] 00ac8860ef70: Download complete [2021-01-04T23:27:23.962Z] 00ac8860ef70: Pull complete [2021-01-04T23:27:24.239Z] 63d7cb157983: Pull complete [2021-01-04T23:27:24.522Z] b116817d02f9: Pull complete [2021-01-04T23:27:27.931Z] 745a02a5169b: Pull complete [2021-01-04T23:27:27.931Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T23:27:27.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T23:27:27.931Z] ---> b7e6874047d6 [2021-01-04T23:27:27.931Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T23:27:31.345Z] ---> Running in 279202fc4268 [2021-01-04T23:27:31.345Z] Removing intermediate container 279202fc4268 [2021-01-04T23:27:31.345Z] ---> 47ca8bf9a468 [2021-01-04T23:27:31.345Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T23:27:31.345Z] ---> Running in e63086409349 [2021-01-04T23:27:31.619Z] Removing intermediate container e63086409349 [2021-01-04T23:27:31.619Z] ---> a3c81999d456 [2021-01-04T23:27:31.619Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-04T23:27:31.893Z] ---> Running in 41c4b1769aec [2021-01-04T23:27:32.174Z] Removing intermediate container 41c4b1769aec [2021-01-04T23:27:32.174Z] ---> ee934393ab2a [2021-01-04T23:27:32.174Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T23:27:32.449Z] ---> Running in be0dc0e68af1 [2021-01-04T23:27:35.092Z] Removing intermediate container be0dc0e68af1 [2021-01-04T23:27:35.092Z] ---> b275168e4ad8 [2021-01-04T23:27:35.092Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T23:27:35.092Z] ---> Running in 42623b15cb51 [2021-01-04T23:27:36.073Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T23:27:36.666Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T23:27:37.259Z] OK: 142 MiB in 39 packages [2021-01-04T23:27:38.702Z] Removing intermediate container 42623b15cb51 [2021-01-04T23:27:38.702Z] ---> 85d373086580 [2021-01-04T23:27:38.702Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-04T23:27:38.702Z] ---> Running in d47e965b54ca [2021-01-04T23:27:39.298Z] Removing intermediate container d47e965b54ca [2021-01-04T23:27:39.298Z] ---> 0647a4858ba5 [2021-01-04T23:27:39.298Z] Step 9/10 : COPY . . [2021-01-04T23:27:40.293Z] ---> b89b195babd9 [2021-01-04T23:27:40.293Z] Step 10/10 : RUN go mod download [2021-01-04T23:27:40.293Z] ---> Running in e207ca68ff6e [2021-01-04T23:28:07.098Z] Removing intermediate container e207ca68ff6e [2021-01-04T23:28:07.099Z] ---> bf8515389dda [2021-01-04T23:28:07.099Z] Successfully built bf8515389dda [2021-01-04T23:28:07.099Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:28:07.445Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T23:28:07.445Z] . [Pipeline] withDockerContainer [2021-01-04T23:28:07.728Z] prd-ubuntu18.04-docker-arm64-4c-16g-18340 does not seem to be running inside a container [2021-01-04T23:28:07.819Z] $ 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-arm64 cat [2021-01-04T23:28:09.365Z] $ docker top d6e334817563faa6a340687159207c1358ea3ca1688b8475af3b0bd2fdc48d34 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:28:10.393Z] + go version [2021-01-04T23:28:10.393Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T23:28:10.417Z] $ docker stop --time=1 d6e334817563faa6a340687159207c1358ea3ca1688b8475af3b0bd2fdc48d34 [2021-01-04T23:28:12.381Z] $ docker rm -f d6e334817563faa6a340687159207c1358ea3ca1688b8475af3b0bd2fdc48d34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:28:13.380Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T23:28:13.380Z] . [Pipeline] withDockerContainer [2021-01-04T23:28:13.647Z] prd-ubuntu18.04-docker-arm64-4c-16g-18340 does not seem to be running inside a container [2021-01-04T23:28:13.736Z] $ 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-arm64 cat [2021-01-04T23:28:15.220Z] $ docker top bd46d3e876edcf5600def236b458acf5abde65beef6c8bd68132143efdca604f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:28:16.253Z] + make test [2021-01-04T23:28:16.253Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T23:28:17.697Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-04T23:28:36.050Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-04T23:28:36.050Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-04T23:28:36.050Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-04T23:28:36.050Z] have (string, bool, string, string) [2021-01-04T23:28:36.050Z] want (string, string) [2021-01-04T23:28:46.285Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2021-01-04T23:28:46.560Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-04T23:28:46.587Z] $ docker stop --time=1 bd46d3e876edcf5600def236b458acf5abde65beef6c8bd68132143efdca604f [2021-01-04T23:28:48.793Z] $ docker rm -f bd46d3e876edcf5600def236b458acf5abde65beef6c8bd68132143efdca604f [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-04T23:28:50.683Z] Failed in branch arm64 [2021-01-04T23:29:03.966Z] Running on prd-centos7-docker-4c-2g-18341 in /w/workspace/dgexfoundry_device-snmp-go_PR-82 [Pipeline] { [Pipeline] ws [2021-01-04T23:29:04.027Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-01-04T23:29:08.575Z] using credential edgex-jenkins-ssh [2021-01-04T23:29:08.650Z] Cloning the remote Git repository [2021-01-04T23:29:08.699Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T23:29:08.786Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-01-04T23:29:08.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T23:29:08.906Z] > git --version # timeout=10 [2021-01-04T23:29:08.921Z] > git --version # 'git version 2.24.3' [2021-01-04T23:29:08.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:29:08.984Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:29:09.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-04T23:29:09.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T23:29:09.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-01-04T23:29:10.089Z] Merging remotes/origin/master commit fcccfd94587541a74c874275ff1808fa86f63ccd into PR head commit 71a79242aa87d971b9bddcd433dbb18778e26eb8 [2021-01-04T23:29:10.439Z] Merge succeeded, producing 931568f15f3b789134d639842ab2e28242af43b8 [2021-01-04T23:29:10.440Z] Checking out Revision 931568f15f3b789134d639842ab2e28242af43b8 (PR-82) [2021-01-04T23:29:09.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-01-04T23:29:09.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:29:09.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/82/head:refs/remotes/origin/PR-82 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T23:29:10.108Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:29:10.140Z] > git checkout -f 71a79242aa87d971b9bddcd433dbb18778e26eb8 # timeout=10 [2021-01-04T23:29:10.224Z] > git remote # timeout=10 [2021-01-04T23:29:10.284Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T23:29:10.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T23:29:10.337Z] > git merge fcccfd94587541a74c874275ff1808fa86f63ccd # timeout=10 [2021-01-04T23:29:10.392Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T23:29:10.464Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T23:29:10.517Z] > git checkout -f 931568f15f3b789134d639842ab2e28242af43b8 # timeout=10 [2021-01-04T23:29:14.662Z] Commit message: "Merge commit 'fcccfd94587541a74c874275ff1808fa86f63ccd' into HEAD" [2021-01-04T23:29:14.669Z] > git rev-list --no-walk 71a79242aa87d971b9bddcd433dbb18778e26eb8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T23:29:16.261Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:29:16.678Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T23:29:17.087Z] + sudo service docker restart [2021-01-04T23:29:17.087Z] + true [2021-01-04T23:29:17.087Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T23:29:18.601Z] provisioning config files... [2021-01-04T23:29:18.647Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config2477361140620863083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:29:19.036Z] ---> docker-login.sh [2021-01-04T23:29:19.037Z] nexus3.edgexfoundry.org:10001 [2021-01-04T23:29:19.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:29:19.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:29:19.640Z] Configure a credential helper to remove this warning. See [2021-01-04T23:29:19.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:29:19.640Z] [2021-01-04T23:29:19.640Z] Login Succeeded [2021-01-04T23:29:19.640Z] nexus3.edgexfoundry.org:10002 [2021-01-04T23:29:19.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:29:19.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:29:19.907Z] Configure a credential helper to remove this warning. See [2021-01-04T23:29:19.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:29:19.907Z] [2021-01-04T23:29:19.907Z] Login Succeeded [2021-01-04T23:29:19.907Z] nexus3.edgexfoundry.org:10003 [2021-01-04T23:29:20.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:29:20.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:29:20.172Z] Configure a credential helper to remove this warning. See [2021-01-04T23:29:20.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:29:20.172Z] [2021-01-04T23:29:20.172Z] Login Succeeded [2021-01-04T23:29:20.172Z] nexus3.edgexfoundry.org:10004 [2021-01-04T23:29:20.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:29:20.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:29:20.441Z] Configure a credential helper to remove this warning. See [2021-01-04T23:29:20.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:29:20.441Z] [2021-01-04T23:29:20.441Z] Login Succeeded [2021-01-04T23:29:20.441Z] docker.io [2021-01-04T23:29:20.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T23:29:20.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T23:29:20.992Z] Configure a credential helper to remove this warning. See [2021-01-04T23:29:20.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T23:29:20.992Z] [2021-01-04T23:29:20.992Z] Login Succeeded [2021-01-04T23:29:20.992Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T23:29:21.015Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T23:29:21.574Z] ========================================================= [2021-01-04T23:29:21.574Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T23:29:21.574Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:29:21.937Z] + 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-04T23:29:22.204Z] Sending build context to Docker daemon 331.8kB [2021-01-04T23:29:22.204Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T23:29:22.204Z] Step 2/10 : FROM ${BASE} [2021-01-04T23:29:22.204Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T23:29:22.204Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T23:29:22.204Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T23:29:22.204Z] de9db76c5a1d: Pulling fs layer [2021-01-04T23:29:22.204Z] bca2f99d35d6: Pulling fs layer [2021-01-04T23:29:22.204Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T23:29:22.204Z] 7c6f9722023f: Pulling fs layer [2021-01-04T23:29:22.204Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T23:29:22.204Z] 93359f2a8cfa: Waiting [2021-01-04T23:29:22.204Z] 7c6f9722023f: Waiting [2021-01-04T23:29:22.204Z] a35cf1a2eb13: Waiting [2021-01-04T23:29:22.204Z] bca2f99d35d6: Waiting [2021-01-04T23:29:22.204Z] de9db76c5a1d: Verifying Checksum [2021-01-04T23:29:22.204Z] de9db76c5a1d: Download complete [2021-01-04T23:29:22.204Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T23:29:22.204Z] 0ef7d3d256c8: Download complete [2021-01-04T23:29:22.204Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T23:29:22.204Z] 93359f2a8cfa: Download complete [2021-01-04T23:29:22.204Z] 7c6f9722023f: Verifying Checksum [2021-01-04T23:29:22.204Z] 7c6f9722023f: Download complete [2021-01-04T23:29:22.477Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T23:29:22.477Z] 188c0c94c7c5: Download complete [2021-01-04T23:29:22.754Z] 188c0c94c7c5: Pull complete [2021-01-04T23:29:23.028Z] 0ef7d3d256c8: Pull complete [2021-01-04T23:29:23.311Z] de9db76c5a1d: Pull complete [2021-01-04T23:29:26.772Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T23:29:26.772Z] a35cf1a2eb13: Download complete [2021-01-04T23:29:27.380Z] bca2f99d35d6: Verifying Checksum [2021-01-04T23:29:27.380Z] bca2f99d35d6: Download complete [2021-01-04T23:29:37.836Z] bca2f99d35d6: Pull complete [2021-01-04T23:29:38.452Z] 93359f2a8cfa: Pull complete [2021-01-04T23:29:38.452Z] 7c6f9722023f: Pull complete [2021-01-04T23:29:43.878Z] a35cf1a2eb13: Pull complete [2021-01-04T23:29:43.878Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T23:29:43.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T23:29:43.878Z] ---> a62c8e92a672 [2021-01-04T23:29:43.878Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-04T23:29:44.176Z] ---> Running in 1628541987a5 [2021-01-04T23:29:44.454Z] Removing intermediate container 1628541987a5 [2021-01-04T23:29:44.454Z] ---> c3e9b9fb27f3 [2021-01-04T23:29:44.454Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T23:29:44.454Z] ---> Running in 9914440ddd59 [2021-01-04T23:29:44.749Z] Removing intermediate container 9914440ddd59 [2021-01-04T23:29:44.749Z] ---> 7a20ea4bf8a9 [2021-01-04T23:29:44.749Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-01-04T23:29:45.041Z] ---> Running in f5466690ac95 [2021-01-04T23:29:45.331Z] Removing intermediate container f5466690ac95 [2021-01-04T23:29:45.332Z] ---> 6961f24a0e90 [2021-01-04T23:29:45.332Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T23:29:45.332Z] ---> Running in 39aa51840146 [2021-01-04T23:29:48.066Z] Removing intermediate container 39aa51840146 [2021-01-04T23:29:48.066Z] ---> d1922a1185e2 [2021-01-04T23:29:48.066Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T23:29:48.066Z] ---> Running in 400fa17f4c85 [2021-01-04T23:29:48.666Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T23:29:49.267Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T23:29:49.865Z] OK: 166 MiB in 39 packages [2021-01-04T23:29:50.482Z] Removing intermediate container 400fa17f4c85 [2021-01-04T23:29:50.482Z] ---> 1d980a407535 [2021-01-04T23:29:50.482Z] Step 8/10 : WORKDIR /device-snmp-go [2021-01-04T23:29:50.482Z] ---> Running in bc2aa08521ca [2021-01-04T23:29:50.763Z] Removing intermediate container bc2aa08521ca [2021-01-04T23:29:50.763Z] ---> bedb2f72ade0 [2021-01-04T23:29:50.763Z] Step 9/10 : COPY . . [2021-01-04T23:29:51.744Z] ---> bcee775a248b [2021-01-04T23:29:51.744Z] Step 10/10 : RUN go mod download [2021-01-04T23:29:51.744Z] ---> Running in 5c6e7617a597 [2021-01-04T23:30:18.603Z] Removing intermediate container 5c6e7617a597 [2021-01-04T23:30:18.603Z] ---> c67c15b758d1 [2021-01-04T23:30:18.603Z] Successfully built c67c15b758d1 [2021-01-04T23:30:18.603Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:30:18.948Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T23:30:19.224Z] . [Pipeline] withDockerContainer [2021-01-04T23:30:19.467Z] prd-centos7-docker-4c-2g-18341 does not seem to be running inside a container [2021-01-04T23:30:19.578Z] $ 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-04T23:30:20.853Z] $ docker top d5c9db8fff80e8d57e4ff27b28596975921d2f20d6a7266b4e20168e508132fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:30:21.621Z] + go version [2021-01-04T23:30:21.621Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T23:30:21.665Z] $ docker stop --time=1 d5c9db8fff80e8d57e4ff27b28596975921d2f20d6a7266b4e20168e508132fb [2021-01-04T23:30:23.302Z] $ docker rm -f d5c9db8fff80e8d57e4ff27b28596975921d2f20d6a7266b4e20168e508132fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:30:24.265Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T23:30:24.265Z] . [Pipeline] withDockerContainer [2021-01-04T23:30:24.474Z] prd-centos7-docker-4c-2g-18341 does not seem to be running inside a container [2021-01-04T23:30:24.731Z] $ 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-04T23:30:25.812Z] $ docker top a9613129529309db5bbfd3a4526cd9b16246b05fe4dfa7238c19609741e34deb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:30:26.511Z] + make test [2021-01-04T23:30:26.511Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T23:30:27.968Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-01-04T23:30:38.424Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-04T23:30:38.424Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-04T23:30:38.424Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-04T23:30:38.424Z] have (string, bool, string, string) [2021-01-04T23:30:38.424Z] want (string, string) [2021-01-04T23:30:45.568Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2021-01-04T23:30:45.568Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-04T23:30:45.598Z] $ docker stop --time=1 a9613129529309db5bbfd3a4526cd9b16246b05fe4dfa7238c19609741e34deb [2021-01-04T23:30:48.609Z] $ docker rm -f a9613129529309db5bbfd3a4526cd9b16246b05fe4dfa7238c19609741e34deb [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-04T23:30:50.521Z] 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-04T23:30:54.234Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:30:54.544Z] ---> package-listing.sh [2021-01-04T23:30:54.544Z] ++ facter osfamily [2021-01-04T23:30:54.544Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T23:30:54.544Z] + OS_FAMILY=redhat [2021-01-04T23:30:54.544Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-82 [2021-01-04T23:30:54.544Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T23:30:54.544Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T23:30:54.544Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T23:30:54.544Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T23:30:54.544Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-82 ']' [2021-01-04T23:30:54.544Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T23:30:54.544Z] + case "${OS_FAMILY}" in [2021-01-04T23:30:54.544Z] + rpm -qa [2021-01-04T23:30:54.544Z] + sort [2021-01-04T23:31:01.160Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T23:31:01.160Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T23:31:01.160Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T23:31:01.160Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-82 ']' [2021-01-04T23:31:01.160Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-82/archives/ [2021-01-04T23:31:01.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-82/archives/ [Pipeline] echo [2021-01-04T23:31:01.175Z] 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-82/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T23:31:01.470Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:31:01.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:31:01.779Z] [2021-01-04T23:31:01.779Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T23:31:02.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:31:02.166Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T23:31:02.166Z] df20fa9351a1: Pulling fs layer [2021-01-04T23:31:02.166Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T23:31:02.166Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T23:31:02.166Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T23:31:02.166Z] 93b61091891f: Pulling fs layer [2021-01-04T23:31:02.166Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T23:31:02.166Z] 5e14af77c1be: Pulling fs layer [2021-01-04T23:31:02.166Z] 01666e4c0597: Pulling fs layer [2021-01-04T23:31:02.166Z] aa168da1d23b: Pulling fs layer [2021-01-04T23:31:02.166Z] 46f8f816bc3b: Waiting [2021-01-04T23:31:02.166Z] 93b9cdb0e59b: Waiting [2021-01-04T23:31:02.166Z] 5e14af77c1be: Waiting [2021-01-04T23:31:02.166Z] aa168da1d23b: Waiting [2021-01-04T23:31:02.166Z] 01666e4c0597: Waiting [2021-01-04T23:31:02.166Z] 93b61091891f: Waiting [2021-01-04T23:31:02.166Z] 36b3adc4ff6f: Download complete [2021-01-04T23:31:02.166Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T23:31:02.166Z] 46f8f816bc3b: Download complete [2021-01-04T23:31:02.166Z] df20fa9351a1: Verifying Checksum [2021-01-04T23:31:02.166Z] df20fa9351a1: Download complete [2021-01-04T23:31:02.166Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T23:31:02.166Z] 93b9cdb0e59b: Download complete [2021-01-04T23:31:02.428Z] 93b61091891f: Verifying Checksum [2021-01-04T23:31:02.428Z] 93b61091891f: Download complete [2021-01-04T23:31:02.428Z] 01666e4c0597: Verifying Checksum [2021-01-04T23:31:02.428Z] 01666e4c0597: Download complete [2021-01-04T23:31:02.428Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T23:31:02.428Z] 8ad3a11d3b57: Download complete [2021-01-04T23:31:02.691Z] 5e14af77c1be: Verifying Checksum [2021-01-04T23:31:02.691Z] 5e14af77c1be: Download complete [2021-01-04T23:31:02.691Z] df20fa9351a1: Pull complete [2021-01-04T23:31:02.957Z] 36b3adc4ff6f: Pull complete [2021-01-04T23:31:03.918Z] 8ad3a11d3b57: Pull complete [2021-01-04T23:31:04.494Z] aa168da1d23b: Verifying Checksum [2021-01-04T23:31:04.494Z] aa168da1d23b: Download complete [2021-01-04T23:31:04.494Z] 46f8f816bc3b: Pull complete [2021-01-04T23:31:04.755Z] 93b61091891f: Pull complete [2021-01-04T23:31:04.755Z] 93b9cdb0e59b: Pull complete [2021-01-04T23:31:05.019Z] 5e14af77c1be: Pull complete [2021-01-04T23:31:05.019Z] 01666e4c0597: Pull complete [2021-01-04T23:31:13.193Z] aa168da1d23b: Pull complete [2021-01-04T23:31:13.193Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T23:31:13.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T23:31:13.193Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T23:31:13.390Z] prd-centos7-docker-4c-2g-18337 does not seem to be running inside a container [2021-01-04T23:31:13.440Z] $ 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-82/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-82 -v /w/workspace/dgexfoundry_device-snmp-go_PR-82:/w/workspace/dgexfoundry_device-snmp-go_PR-82:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-82@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-82@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-04T23:31:17.319Z] $ docker top 9cada4379be7d869e7ec4b84bcc11cfb347ebfc41eeaa26e4d5d5ca3e23015dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T23:31:17.846Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T23:31:18.150Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T23:31:18.452Z] + ls /var/log/sa-host [2021-01-04T23:31:18.452Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T23:31:18.452Z] file_magic: OK [2021-01-04T23:31:18.452Z] HZ: Using current value: 100 [2021-01-04T23:31:18.452Z] file_header: OK [2021-01-04T23:31:18.452Z] 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-04T23:31:18.452Z] Statistics: [2021-01-04T23:31:18.452Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T23:31:18.452Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T23:31:18.452Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T23:31:18.452Z] file_magic: OK [2021-01-04T23:31:18.452Z] HZ: Using current value: 100 [2021-01-04T23:31:18.452Z] file_header: OK [2021-01-04T23:31:18.452Z] 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-04T23:31:18.452Z] Statistics: [2021-01-04T23:31:18.452Z] Hnuu...uuuununununu... [2021-01-04T23:31:18.452Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T23:31:19.127Z] provisioning config files... [2021-01-04T23:31:19.142Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-82@tmp/config5679438466353147843tmp [Pipeline] { [Pipeline] echo [2021-01-04T23:31:19.238Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:31:19.622Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T23:31:19.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T23:31:19.730Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:31:20.032Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T23:31:20.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:31:20.341Z] ---> sudo-logs.sh [2021-01-04T23:31:20.341Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T23:31:20.353Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:31:20.652Z] ---> job-cost.sh [2021-01-04T23:31:20.652Z] lf-activate-venv: SKIPPING [2021-01-04T23:31:20.652Z] INFO: No Stack... [2021-01-04T23:31:21.599Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T23:31:21.862Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T23:31:21.877Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T23:31:22.174Z] ---> logs-deploy.sh [2021-01-04T23:31:22.174Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-82/2 [2021-01-04T23:31:22.174Z] INFO: archiving workspace using pattern(s): [2021-01-04T23:31:24.097Z] Archives upload complete. [2021-01-04T23:31:24.097Z] INFO: archiving logs to Nexus