Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 811b792df2c69da97ff16a39115f0967d7f5c359+0ab86073b0269e161c45419c6956d6e22a89cd28 (bb77ca9052098e8d03db3e108756c741f33050c4) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4035 in /w/workspace/dgexfoundry_device-snmp-go_PR-90 [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-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 811b792df2c69da97ff16a39115f0967d7f5c359 Merge succeeded, producing a6cdbb223a58dd0f850807745261dd51eb0502e1 Checking out Revision a6cdbb223a58dd0f850807745261dd51eb0502e1 (PR-90) > 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/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 811b792df2c69da97ff16a39115f0967d7f5c359 # 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 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6cdbb223a58dd0f850807745261dd51eb0502e1 # timeout=10 Commit message: "Merge commit '0ab86073b0269e161c45419c6956d6e22a89cd28' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T07:25:35.513Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk a6cd6117d8b304563bfff210beefd0030aa37e50 # timeout=10 [Pipeline] withCredentials [2021-05-10T07:25:35.620Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T07:25:35.655Z] ========================================================= [2021-05-10T07:25:35.655Z] EdgeX Global Pipelines Version Info [2021-05-10T07:25:35.655Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:25:37.464Z] ------------------- [2021-05-10T07:25:37.464Z] stable info: [2021-05-10T07:25:37.464Z] ------------------- [2021-05-10T07:25:37.464Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T07:25:37.464Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T07:25:37.464Z] Message: update stable to v1.0.191 [2021-05-10T07:25:38.414Z] ------------------- [2021-05-10T07:25:38.414Z] experimental info: [2021-05-10T07:25:38.414Z] ------------------- [2021-05-10T07:25:38.414Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T07:25:38.414Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T07:25:38.414Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T07:25:38.552Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-10T07:25:38.578Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-10T07:25:38.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T07:25:38.626Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T07:25:38.650Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T07:25:38.673Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T07:25:38.697Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T07:25:38.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T07:25:38.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T07:25:38.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T07:25:38.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T07:25:38.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2021-05-10T07:25:38.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T07:25:38.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T07:25:38.897Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T07:25:38.922Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T07:25:38.946Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T07:25:38.970Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T07:25:38.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T07:25:39.022Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T07:25:39.048Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T07:25:39.075Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T07:25:39.101Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T07:25:39.129Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T07:25:39.160Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T07:25:39.185Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T07:25:39.210Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2021-05-10T07:25:39.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2021-05-10T07:25:39.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2021-05-10T07:25:39.279Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6cdbb223a58dd0f850807745261dd51eb0502e1 [Pipeline] echo [2021-05-10T07:25:39.302Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6cdbb2 [Pipeline] echo [2021-05-10T07:25:39.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T07:25:39.402Z] provisioning config files... [2021-05-10T07:25:39.451Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-90@tmp/config6320493367783504730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:25:39.798Z] ---> docker-login.sh [2021-05-10T07:25:39.799Z] nexus3.edgexfoundry.org:10001 [2021-05-10T07:25:40.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:25:40.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:25:40.334Z] Configure a credential helper to remove this warning. See [2021-05-10T07:25:40.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:25:40.334Z] [2021-05-10T07:25:40.334Z] Login Succeeded [2021-05-10T07:25:40.334Z] nexus3.edgexfoundry.org:10002 [2021-05-10T07:25:40.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:25:40.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:25:40.334Z] Configure a credential helper to remove this warning. See [2021-05-10T07:25:40.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:25:40.334Z] [2021-05-10T07:25:40.334Z] Login Succeeded [2021-05-10T07:25:40.334Z] nexus3.edgexfoundry.org:10003 [2021-05-10T07:25:40.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:25:40.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:25:40.602Z] Configure a credential helper to remove this warning. See [2021-05-10T07:25:40.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:25:40.602Z] [2021-05-10T07:25:40.602Z] Login Succeeded [2021-05-10T07:25:40.602Z] nexus3.edgexfoundry.org:10004 [2021-05-10T07:25:40.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:25:40.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:25:40.866Z] Configure a credential helper to remove this warning. See [2021-05-10T07:25:40.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:25:40.866Z] [2021-05-10T07:25:40.866Z] Login Succeeded [2021-05-10T07:25:40.866Z] docker.io [2021-05-10T07:25:40.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:25:41.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:25:41.440Z] Configure a credential helper to remove this warning. See [2021-05-10T07:25:41.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:25:41.440Z] [2021-05-10T07:25:41.440Z] Login Succeeded [2021-05-10T07:25:41.440Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T07:25:41.450Z] 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-05-10T07:25:41.947Z] + git log --format=format:%s -1 a6cdbb223a58dd0f850807745261dd51eb0502e1 [Pipeline] echo [2021-05-10T07:25:42.050Z] GIT_COMMIT: a6cdbb223a58dd0f850807745261dd51eb0502e1, Commit Message: Merge commit '0ab86073b0269e161c45419c6956d6e22a89cd28' into HEAD [Pipeline] echo [2021-05-10T07:25:42.064Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:25:43.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T07:25:43.094Z] [2021-05-10T07:25:43.094Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:25:43.416Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T07:25:43.416Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T07:25:43.416Z] 31603596830f: Pulling fs layer [2021-05-10T07:25:43.416Z] 54011a49482f: Pulling fs layer [2021-05-10T07:25:43.416Z] a6820b24f6d8: Pulling fs layer [2021-05-10T07:25:43.416Z] f581987b2513: Pulling fs layer [2021-05-10T07:25:43.416Z] f581987b2513: Waiting [2021-05-10T07:25:43.416Z] 54011a49482f: Verifying Checksum [2021-05-10T07:25:43.416Z] 54011a49482f: Download complete [2021-05-10T07:25:43.680Z] 31603596830f: Verifying Checksum [2021-05-10T07:25:43.680Z] 31603596830f: Download complete [2021-05-10T07:25:43.680Z] f581987b2513: Verifying Checksum [2021-05-10T07:25:43.680Z] f581987b2513: Download complete [2021-05-10T07:25:43.680Z] a6820b24f6d8: Verifying Checksum [2021-05-10T07:25:43.680Z] a6820b24f6d8: Download complete [2021-05-10T07:25:43.944Z] 31603596830f: Pull complete [2021-05-10T07:25:44.213Z] 54011a49482f: Pull complete [2021-05-10T07:25:45.171Z] a6820b24f6d8: Pull complete [2021-05-10T07:25:45.435Z] f581987b2513: Pull complete [2021-05-10T07:25:45.435Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T07:25:45.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T07:25:45.435Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T07:25:45.536Z] prd-centos7-docker-4c-2g-4035 does not seem to be running inside a container [2021-05-10T07:25:45.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-90 -v /w/workspace/dgexfoundry_device-snmp-go_PR-90:/w/workspace/dgexfoundry_device-snmp-go_PR-90:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-90@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-90@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-05-10T07:25:47.372Z] $ docker top 379cec89263fec4e12ba189104df27453dbde4556feb2e5e4a32e4ac3063c42c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T07:25:47.522Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T07:25:47.522Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T07:25:47.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T07:25:47.778Z] $ docker exec 379cec89263fec4e12ba189104df27453dbde4556feb2e5e4a32e4ac3063c42c ssh-agent [2021-05-10T07:25:47.974Z] SSH_AUTH_SOCK=/tmp/ssh-vSBVIEvnMH5J/agent.12 [2021-05-10T07:25:47.974Z] SSH_AGENT_PID=17 [2021-05-10T07:25:47.988Z] Running ssh-add (command line suppressed) [2021-05-10T07:25:48.137Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-90@tmp/private_key_3265834378291397711.key (/w/workspace/dgexfoundry_device-snmp-go_PR-90@tmp/private_key_3265834378291397711.key) [2021-05-10T07:25:48.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T07:25:48.520Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T07:25:48.545Z] $ docker exec --env ******** --env ******** 379cec89263fec4e12ba189104df27453dbde4556feb2e5e4a32e4ac3063c42c ssh-agent -k [2021-05-10T07:25:48.677Z] unset SSH_AUTH_SOCK; [2021-05-10T07:25:48.678Z] unset SSH_AGENT_PID; [2021-05-10T07:25:48.678Z] echo Agent pid 17 killed; [2021-05-10T07:25:48.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T07:25:48.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T07:25:48.776Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T07:25:48.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T07:25:48.976Z] $ docker exec 379cec89263fec4e12ba189104df27453dbde4556feb2e5e4a32e4ac3063c42c ssh-agent [2021-05-10T07:25:49.160Z] SSH_AUTH_SOCK=/tmp/ssh-4fdjClBTRpKx/agent.45 [2021-05-10T07:25:49.160Z] SSH_AGENT_PID=50 [2021-05-10T07:25:49.168Z] Running ssh-add (command line suppressed) [2021-05-10T07:25:49.307Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-90@tmp/private_key_7235561757530959322.key (/w/workspace/dgexfoundry_device-snmp-go_PR-90@tmp/private_key_7235561757530959322.key) [2021-05-10T07:25:49.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T07:25:49.671Z] + git semver init [2021-05-10T07:25:49.671Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T07:25:49.671Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-90/.git [2021-05-10T07:25:49.671Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-90 [2021-05-10T07:25:49.671Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T07:25:49.671Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T07:25:49.671Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T07:25:49.671Z] # $SEMVER_BRANCH = PR-90 [2021-05-10T07:25:49.671Z] # $SEMVER_TEMP = /tmp/semver-935358287 [2021-05-10T07:25:49.671Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-10T07:25:50.250Z] # '/tmp/semver-935358287' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-90/.semver' [2021-05-10T07:25:50.250Z] # -> Force: false [2021-05-10T07:25:50.250Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-90/.semver [Pipeline] } [2021-05-10T07:25:50.268Z] $ docker exec --env ******** --env ******** 379cec89263fec4e12ba189104df27453dbde4556feb2e5e4a32e4ac3063c42c ssh-agent -k [2021-05-10T07:25:50.382Z] unset SSH_AUTH_SOCK; [2021-05-10T07:25:50.382Z] unset SSH_AGENT_PID; [2021-05-10T07:25:50.382Z] echo Agent pid 50 killed; [2021-05-10T07:25:50.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T07:25:50.771Z] + git semver [Pipeline] } [2021-05-10T07:25:50.795Z] $ docker stop --time=1 379cec89263fec4e12ba189104df27453dbde4556feb2e5e4a32e4ac3063c42c [2021-05-10T07:25:52.189Z] $ docker rm -f 379cec89263fec4e12ba189104df27453dbde4556feb2e5e4a32e4ac3063c42c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T07:25:52.595Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T07:25:53.146Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T07:25:53.149Z] [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-05-10T07:26:08.341Z] Still waiting to schedule task [2021-05-10T07:26:08.342Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4035’ [2021-05-10T07:26:08.345Z] Still waiting to schedule task [2021-05-10T07:26:08.345Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-10T07:27:49.888Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4036 in /w/workspace/dgexfoundry_device-snmp-go_PR-90 [Pipeline] { [Pipeline] ws [2021-05-10T07:27:49.909Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2021-05-10T07:27:55.271Z] using credential edgex-jenkins-ssh [2021-05-10T07:27:55.292Z] Cloning the remote Git repository [2021-05-10T07:27:55.374Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T07:27:55.546Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2021-05-10T07:27:55.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T07:27:55.681Z] > git --version # timeout=10 [2021-05-10T07:27:55.712Z] > git --version # 'git version 2.17.1' [2021-05-10T07:27:55.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:27:55.756Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T07:27:57.018Z] Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 811b792df2c69da97ff16a39115f0967d7f5c359 [2021-05-10T07:27:57.271Z] Merge succeeded, producing 8e869b2ffe39e7ffeb8ad5b52b7ce42892c5315c [2021-05-10T07:27:57.272Z] Checking out Revision 8e869b2ffe39e7ffeb8ad5b52b7ce42892c5315c (PR-90) [2021-05-10T07:27:56.531Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-10T07:27:56.549Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T07:27:56.572Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-10T07:27:56.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T07:27:56.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:27:56.624Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T07:27:57.064Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T07:27:57.083Z] > git checkout -f 811b792df2c69da97ff16a39115f0967d7f5c359 # timeout=10 [2021-05-10T07:27:57.171Z] > git remote # timeout=10 [2021-05-10T07:27:57.189Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T07:27:57.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:27:57.222Z] > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [2021-05-10T07:27:57.268Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T07:27:57.296Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T07:27:57.320Z] > git checkout -f 8e869b2ffe39e7ffeb8ad5b52b7ce42892c5315c # timeout=10 [2021-05-10T07:28:01.523Z] Commit message: "Merge commit '0ab86073b0269e161c45419c6956d6e22a89cd28' into HEAD" [2021-05-10T07:28:01.552Z] First time build. Skipping changelog. [2021-05-10T07:28:01.550Z] > git rev-list --no-walk a6cd6117d8b304563bfff210beefd0030aa37e50 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T07:28:03.250Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T07:28:03.689Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T07:28:04.036Z] + true [2021-05-10T07:28:04.036Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T07:28:06.704Z] provisioning config files... [2021-05-10T07:28:06.827Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config4965067833277999102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:28:07.318Z] ---> docker-login.sh [2021-05-10T07:28:07.318Z] nexus3.edgexfoundry.org:10001 [2021-05-10T07:28:07.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:28:08.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:28:08.519Z] Configure a credential helper to remove this warning. See [2021-05-10T07:28:08.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:28:08.519Z] [2021-05-10T07:28:08.519Z] Login Succeeded [2021-05-10T07:28:08.519Z] nexus3.edgexfoundry.org:10002 [2021-05-10T07:28:08.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:28:09.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:28:09.067Z] Configure a credential helper to remove this warning. See [2021-05-10T07:28:09.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:28:09.067Z] [2021-05-10T07:28:09.067Z] Login Succeeded [2021-05-10T07:28:09.067Z] nexus3.edgexfoundry.org:10003 [2021-05-10T07:28:09.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:28:09.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:28:09.340Z] Configure a credential helper to remove this warning. See [2021-05-10T07:28:09.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:28:09.340Z] [2021-05-10T07:28:09.340Z] Login Succeeded [2021-05-10T07:28:09.340Z] nexus3.edgexfoundry.org:10004 [2021-05-10T07:28:09.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:28:09.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:28:09.934Z] Configure a credential helper to remove this warning. See [2021-05-10T07:28:09.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:28:09.934Z] [2021-05-10T07:28:09.934Z] Login Succeeded [2021-05-10T07:28:09.934Z] docker.io [2021-05-10T07:28:10.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:28:10.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:28:10.476Z] Configure a credential helper to remove this warning. See [2021-05-10T07:28:10.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:28:10.476Z] [2021-05-10T07:28:10.476Z] Login Succeeded [2021-05-10T07:28:10.476Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T07:28:10.493Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T07:28:10.793Z] ========================================================= [2021-05-10T07:28:10.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T07:28:10.793Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:28:11.134Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T07:28:11.417Z] Sending build context to Docker daemon 349.2kB [2021-05-10T07:28:11.417Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T07:28:11.417Z] Step 2/10 : FROM ${BASE} [2021-05-10T07:28:11.417Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T07:28:11.417Z] 595b0fe564bb: Pulling fs layer [2021-05-10T07:28:11.417Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T07:28:11.417Z] 316046926c0a: Pulling fs layer [2021-05-10T07:28:11.417Z] 4ebd0625c992: Pulling fs layer [2021-05-10T07:28:11.417Z] 207e8628e3a3: Pulling fs layer [2021-05-10T07:28:11.417Z] c791037a9be2: Pulling fs layer [2021-05-10T07:28:11.417Z] ffd874e62e21: Pulling fs layer [2021-05-10T07:28:11.417Z] c791037a9be2: Waiting [2021-05-10T07:28:11.417Z] 4ebd0625c992: Waiting [2021-05-10T07:28:11.417Z] 207e8628e3a3: Waiting [2021-05-10T07:28:11.417Z] ffd874e62e21: Waiting [2021-05-10T07:28:11.417Z] 316046926c0a: Download complete [2021-05-10T07:28:11.417Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T07:28:11.417Z] 7186ed65a4f7: Download complete [2021-05-10T07:28:11.690Z] 207e8628e3a3: Verifying Checksum [2021-05-10T07:28:11.690Z] 207e8628e3a3: Download complete [2021-05-10T07:28:11.690Z] c791037a9be2: Download complete [2021-05-10T07:28:11.690Z] 595b0fe564bb: Verifying Checksum [2021-05-10T07:28:11.690Z] 595b0fe564bb: Download complete [2021-05-10T07:28:12.286Z] 595b0fe564bb: Pull complete [2021-05-10T07:28:12.560Z] 7186ed65a4f7: Pull complete [2021-05-10T07:28:13.162Z] 316046926c0a: Pull complete [2021-05-10T07:28:14.148Z] ffd874e62e21: Verifying Checksum [2021-05-10T07:28:14.148Z] ffd874e62e21: Download complete [2021-05-10T07:28:15.594Z] 4ebd0625c992: Verifying Checksum [2021-05-10T07:28:15.594Z] 4ebd0625c992: Download complete [2021-05-10T07:28:25.774Z] 4ebd0625c992: Pull complete [2021-05-10T07:28:26.373Z] 207e8628e3a3: Pull complete [2021-05-10T07:28:26.649Z] c791037a9be2: Pull complete [2021-05-10T07:28:30.062Z] ffd874e62e21: Pull complete [2021-05-10T07:28:30.062Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T07:28:30.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T07:28:30.336Z] ---> cfc18b08335c [2021-05-10T07:28:30.336Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-05-10T07:28:33.741Z] ---> Running in b191c4e429bf [2021-05-10T07:28:33.742Z] Removing intermediate container b191c4e429bf [2021-05-10T07:28:33.742Z] ---> 9f82f7c6a080 [2021-05-10T07:28:33.742Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T07:28:33.742Z] ---> Running in a43a090df1d1 [2021-05-10T07:28:34.348Z] Removing intermediate container a43a090df1d1 [2021-05-10T07:28:34.348Z] ---> bf813410eb5b [2021-05-10T07:28:34.348Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-10T07:28:34.348Z] ---> Running in 9de677c89525 [2021-05-10T07:28:34.949Z] Removing intermediate container 9de677c89525 [2021-05-10T07:28:34.949Z] ---> 5fa2dad534a7 [2021-05-10T07:28:34.949Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T07:28:34.949Z] ---> Running in 4360353a33d0 [2021-05-10T07:28:37.574Z] Removing intermediate container 4360353a33d0 [2021-05-10T07:28:37.574Z] ---> c763447af464 [2021-05-10T07:28:37.574Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T07:28:37.574Z] ---> Running in a352f0de6a61 [2021-05-10T07:28:38.556Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T07:28:40.522Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T07:28:41.953Z] OK: 138 MiB in 40 packages [2021-05-10T07:28:43.394Z] Removing intermediate container a352f0de6a61 [2021-05-10T07:28:43.394Z] ---> f0302c75fd94 [2021-05-10T07:28:43.394Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-10T07:28:43.394Z] ---> Running in f8bf26ff174e [2021-05-10T07:28:43.990Z] Removing intermediate container f8bf26ff174e [2021-05-10T07:28:43.990Z] ---> f270e8d4e1d3 [2021-05-10T07:28:43.990Z] Step 9/10 : COPY . . [2021-05-10T07:28:44.971Z] ---> d861182e7230 [2021-05-10T07:28:44.971Z] Step 10/10 : RUN go mod download [2021-05-10T07:28:44.971Z] ---> Running in 4edaee89520c [2021-05-10T07:29:11.765Z] Removing intermediate container 4edaee89520c [2021-05-10T07:29:11.765Z] ---> 304d42a3d106 [2021-05-10T07:29:11.765Z] Successfully built 304d42a3d106 [2021-05-10T07:29:11.765Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:29:13.196Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T07:29:13.196Z] . [Pipeline] withDockerContainer [2021-05-10T07:29:13.433Z] prd-ubuntu18.04-docker-arm64-4c-16g-4036 does not seem to be running inside a container [2021-05-10T07:29:13.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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-05-10T07:29:14.872Z] $ docker top 8fe5d5f93a79dabb63f3aaff235f2e20843b637de356a1650904ad5e1b3708b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:29:15.762Z] + go version [2021-05-10T07:29:15.762Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T07:29:15.797Z] $ docker stop --time=1 8fe5d5f93a79dabb63f3aaff235f2e20843b637de356a1650904ad5e1b3708b4 [2021-05-10T07:29:17.632Z] $ docker rm -f 8fe5d5f93a79dabb63f3aaff235f2e20843b637de356a1650904ad5e1b3708b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:29:18.323Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T07:29:18.324Z] . [Pipeline] withDockerContainer [2021-05-10T07:29:18.578Z] prd-ubuntu18.04-docker-arm64-4c-16g-4036 does not seem to be running inside a container [2021-05-10T07:29:18.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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-05-10T07:29:20.149Z] $ docker top cd9e180a2a81f770e27ac66c653cf3fb2abb37ee992badecfe030fe7e5696cb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:29:21.064Z] + go mod tidy [Pipeline] sh [2021-05-10T07:29:22.322Z] + make test [2021-05-10T07:29:22.322Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T07:29:23.307Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-10T07:29:30.541Z] Running on prd-centos7-docker-4c-2g-4037 in /w/workspace/dgexfoundry_device-snmp-go_PR-90 [Pipeline] { [Pipeline] ws [2021-05-10T07:29:30.567Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2021-05-10T07:29:39.899Z] using credential edgex-jenkins-ssh [2021-05-10T07:29:39.928Z] Cloning the remote Git repository [2021-05-10T07:29:40.051Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T07:29:40.181Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2021-05-10T07:29:40.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T07:29:40.374Z] > git --version # timeout=10 [2021-05-10T07:29:40.406Z] > git --version # 'git version 2.24.3' [2021-05-10T07:29:40.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:29:40.498Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T07:29:41.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-10T07:29:41.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T07:29:41.259Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-10T07:29:41.299Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-10T07:29:41.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:29:41.310Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T07:29:41.748Z] Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 811b792df2c69da97ff16a39115f0967d7f5c359 [2021-05-10T07:29:42.023Z] Merge succeeded, producing 04afb94db3d252b44d61fcf30b539631497c7761 [2021-05-10T07:29:42.024Z] Checking out Revision 04afb94db3d252b44d61fcf30b539631497c7761 (PR-90) [2021-05-10T07:29:41.766Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T07:29:41.814Z] > git checkout -f 811b792df2c69da97ff16a39115f0967d7f5c359 # timeout=10 [2021-05-10T07:29:41.887Z] > git remote # timeout=10 [2021-05-10T07:29:41.897Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T07:29:41.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:29:41.926Z] > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 [2021-05-10T07:29:41.997Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T07:29:42.030Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T07:29:42.090Z] > git checkout -f 04afb94db3d252b44d61fcf30b539631497c7761 # timeout=10 [2021-05-10T07:29:45.517Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-05-10T07:29:45.517Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-05-10T07:29:45.517Z] /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-05-10T07:29:45.517Z] have (string, bool, string, string) [2021-05-10T07:29:45.517Z] want (string, string) [2021-05-10T07:29:46.712Z] Commit message: "Merge commit '0ab86073b0269e161c45419c6956d6e22a89cd28' into HEAD" [2021-05-10T07:29:46.748Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T07:29:46.719Z] > git rev-list --no-walk a6cd6117d8b304563bfff210beefd0030aa37e50 # timeout=10 [2021-05-10T07:29:48.394Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T07:29:48.838Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T07:29:49.174Z] + true [2021-05-10T07:29:49.174Z] + sudo service docker restart [2021-05-10T07:29:49.174Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T07:29:51.264Z] provisioning config files... [2021-05-10T07:29:51.317Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config7442427445038551910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:29:51.696Z] ---> docker-login.sh [2021-05-10T07:29:51.696Z] nexus3.edgexfoundry.org:10001 [2021-05-10T07:29:52.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:29:52.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:29:52.760Z] Configure a credential helper to remove this warning. See [2021-05-10T07:29:52.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:29:52.760Z] [2021-05-10T07:29:52.760Z] Login Succeeded [2021-05-10T07:29:52.760Z] nexus3.edgexfoundry.org:10002 [2021-05-10T07:29:53.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:29:53.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:29:53.413Z] Configure a credential helper to remove this warning. See [2021-05-10T07:29:53.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:29:53.413Z] [2021-05-10T07:29:53.413Z] Login Succeeded [2021-05-10T07:29:53.413Z] nexus3.edgexfoundry.org:10003 [2021-05-10T07:29:53.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:29:53.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:29:53.959Z] Configure a credential helper to remove this warning. See [2021-05-10T07:29:53.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:29:53.959Z] [2021-05-10T07:29:53.959Z] Login Succeeded [2021-05-10T07:29:53.959Z] nexus3.edgexfoundry.org:10004 [2021-05-10T07:29:54.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:29:54.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:29:54.255Z] Configure a credential helper to remove this warning. See [2021-05-10T07:29:54.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:29:54.255Z] [2021-05-10T07:29:54.255Z] Login Succeeded [2021-05-10T07:29:54.255Z] docker.io [2021-05-10T07:29:54.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:29:55.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:29:55.186Z] Configure a credential helper to remove this warning. See [2021-05-10T07:29:55.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:29:55.186Z] [2021-05-10T07:29:55.186Z] Login Succeeded [2021-05-10T07:29:55.186Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T07:29:55.208Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T07:29:55.540Z] ========================================================= [2021-05-10T07:29:55.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T07:29:55.540Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:29:55.913Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T07:29:56.990Z] Sending build context to Docker daemon 350.2kB [2021-05-10T07:29:56.990Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T07:29:56.990Z] Step 2/10 : FROM ${BASE} [2021-05-10T07:29:57.443Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T07:29:57.443Z] 540db60ca938: Pulling fs layer [2021-05-10T07:29:57.443Z] adcc1eea9eea: Pulling fs layer [2021-05-10T07:29:57.443Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T07:29:57.443Z] 0510c868ecb4: Pulling fs layer [2021-05-10T07:29:57.443Z] afea3b2eda06: Pulling fs layer [2021-05-10T07:29:57.443Z] 7809a108b3ef: Pulling fs layer [2021-05-10T07:29:57.443Z] f706445af74f: Pulling fs layer [2021-05-10T07:29:57.443Z] 0510c868ecb4: Waiting [2021-05-10T07:29:57.443Z] afea3b2eda06: Waiting [2021-05-10T07:29:57.443Z] 7809a108b3ef: Waiting [2021-05-10T07:29:57.443Z] f706445af74f: Waiting [2021-05-10T07:29:57.443Z] 4c4ab2625f07: Download complete [2021-05-10T07:29:57.443Z] adcc1eea9eea: Verifying Checksum [2021-05-10T07:29:57.443Z] adcc1eea9eea: Download complete [2021-05-10T07:29:57.443Z] afea3b2eda06: Verifying Checksum [2021-05-10T07:29:57.443Z] afea3b2eda06: Download complete [2021-05-10T07:29:57.443Z] 7809a108b3ef: Download complete [2021-05-10T07:29:57.443Z] 540db60ca938: Download complete [2021-05-10T07:29:57.965Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2021-05-10T07:29:57.966Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-05-10T07:29:58.008Z] $ docker stop --time=1 cd9e180a2a81f770e27ac66c653cf3fb2abb37ee992badecfe030fe7e5696cb4 [2021-05-10T07:29:58.157Z] 540db60ca938: Pull complete [2021-05-10T07:29:58.481Z] adcc1eea9eea: Pull complete [2021-05-10T07:29:59.218Z] 4c4ab2625f07: Pull complete [2021-05-10T07:30:00.255Z] $ docker rm -f cd9e180a2a81f770e27ac66c653cf3fb2abb37ee992badecfe030fe7e5696cb4 [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:30:01.368Z] ---> job-cost.sh [2021-05-10T07:30:01.368Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mcs1 [2021-05-10T07:30:04.229Z] f706445af74f: Verifying Checksum [2021-05-10T07:30:04.230Z] f706445af74f: Download complete [2021-05-10T07:30:07.892Z] 0510c868ecb4: Verifying Checksum [2021-05-10T07:30:07.892Z] 0510c868ecb4: Download complete [2021-05-10T07:30:20.508Z] 0510c868ecb4: Pull complete [2021-05-10T07:30:20.508Z] afea3b2eda06: Pull complete [2021-05-10T07:30:20.802Z] 7809a108b3ef: Pull complete [2021-05-10T07:30:29.351Z] f706445af74f: Pull complete [2021-05-10T07:30:29.351Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T07:30:29.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T07:30:29.351Z] ---> b068be0155e3 [2021-05-10T07:30:29.351Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-05-10T07:30:29.351Z] ---> Running in 23083e8378f3 [2021-05-10T07:30:29.351Z] Removing intermediate container 23083e8378f3 [2021-05-10T07:30:29.351Z] ---> 20bf83993eb9 [2021-05-10T07:30:29.351Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T07:30:29.693Z] ---> Running in f5c5bc62518c [2021-05-10T07:30:29.988Z] Removing intermediate container f5c5bc62518c [2021-05-10T07:30:29.988Z] ---> 5c9b19d90077 [2021-05-10T07:30:29.988Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-10T07:30:30.326Z] ---> Running in 9474736b8a3d [2021-05-10T07:30:30.660Z] Removing intermediate container 9474736b8a3d [2021-05-10T07:30:30.660Z] ---> c687c6375f91 [2021-05-10T07:30:30.660Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T07:30:30.660Z] ---> Running in c90243b6f38f [2021-05-10T07:30:34.372Z] Removing intermediate container c90243b6f38f [2021-05-10T07:30:34.372Z] ---> 02526755e197 [2021-05-10T07:30:34.372Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T07:30:34.372Z] ---> Running in 69b08563b4a2 [2021-05-10T07:30:35.074Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T07:30:37.901Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T07:30:40.354Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T07:30:40.608Z] OK: 149 MiB in 40 packages [2021-05-10T07:30:40.942Z] Removing intermediate container 69b08563b4a2 [2021-05-10T07:30:40.942Z] ---> 10e0709e7208 [2021-05-10T07:30:40.942Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-10T07:30:40.942Z] ---> Running in b58ec3ca523d [2021-05-10T07:30:41.256Z] Removing intermediate container b58ec3ca523d [2021-05-10T07:30:41.256Z] ---> fffe2ce4f7d7 [2021-05-10T07:30:41.256Z] Step 9/10 : COPY . . [2021-05-10T07:30:42.968Z] ---> b5ccc1ced6ca [2021-05-10T07:30:42.968Z] Step 10/10 : RUN go mod download [2021-05-10T07:30:42.968Z] ---> Running in 22154b6508aa [2021-05-10T07:31:10.352Z] Removing intermediate container 22154b6508aa [2021-05-10T07:31:10.352Z] ---> 4160be6f1d7c [2021-05-10T07:31:10.641Z] Successfully built 4160be6f1d7c [2021-05-10T07:31:10.641Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:31:11.050Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T07:31:11.332Z] . [Pipeline] withDockerContainer [2021-05-10T07:31:11.568Z] prd-centos7-docker-4c-2g-4037 does not seem to be running inside a container [2021-05-10T07:31:11.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T07:31:13.418Z] $ docker top fdc478890d2f9591a49837b62024b4d8c2fb1e78094e8a76eabfd7059b76d259 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:31:14.015Z] + go version [2021-05-10T07:31:14.292Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T07:31:14.329Z] $ docker stop --time=1 fdc478890d2f9591a49837b62024b4d8c2fb1e78094e8a76eabfd7059b76d259 [2021-05-10T07:31:16.070Z] $ docker rm -f fdc478890d2f9591a49837b62024b4d8c2fb1e78094e8a76eabfd7059b76d259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:31:16.697Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T07:31:16.697Z] . [Pipeline] withDockerContainer [2021-05-10T07:31:16.955Z] prd-centos7-docker-4c-2g-4037 does not seem to be running inside a container [2021-05-10T07:31:17.093Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T07:31:18.754Z] $ docker top d788a166d7db5d0567ef8aad9064071b962f04674f03d85c9dadf62b5e3fed94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:31:19.585Z] + go mod tidy [Pipeline] sh [2021-05-10T07:31:20.639Z] + make test [2021-05-10T07:31:20.639Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T07:31:22.735Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-10T07:31:45.747Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-05-10T07:31:45.747Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-05-10T07:31:45.747Z] /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-05-10T07:31:45.747Z] have (string, bool, string, string) [2021-05-10T07:31:45.747Z] want (string, string) [2021-05-10T07:31:56.423Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2021-05-10T07:31:56.423Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-05-10T07:31:56.533Z] $ docker stop --time=1 d788a166d7db5d0567ef8aad9064071b962f04674f03d85c9dadf62b5e3fed94 [2021-05-10T07:31:59.444Z] $ docker rm -f d788a166d7db5d0567ef8aad9064071b962f04674f03d85c9dadf62b5e3fed94 [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:32:00.445Z] ---> job-cost.sh [2021-05-10T07:32:00.446Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Qbv3 [2021-05-10T07:32:02.118Z] lf-activate-venv(): INFO: Adding /tmp/venv-mcs1/bin to PATH [2021-05-10T07:32:02.118Z] INFO: No Stack... [2021-05-10T07:32:02.118Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T07:32:02.118Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T07:32:02.460Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv [2021-05-10T07:32:02.460Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T07:32:02.879Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-90-4-stack-cost] [2021-05-10T07:32:02.888Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-90-4-stack-cost] did not exist. Created. [2021-05-10T07:32:02.889Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-90-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T07:32:03.303Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T07:32:04.164Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T07:32:04.176Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-90-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T07:32:04.335Z] Failed in branch arm64 [2021-05-10T07:32:27.397Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T07:33:14.854Z] lf-activate-venv(): INFO: Adding /tmp/venv-Qbv3/bin to PATH [2021-05-10T07:33:14.854Z] INFO: No Stack... [2021-05-10T07:33:14.854Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T07:33:14.854Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T07:33:15.210Z] + cut -d, -f6 [2021-05-10T07:33:15.210Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv [Pipeline] lock [2021-05-10T07:33:15.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-90-4-stack-cost] [2021-05-10T07:33:15.416Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-90-4-stack-cost] did not exist. Created. [2021-05-10T07:33:15.416Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-90-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T07:33:15.912Z] /w/workspace/device-snmp-go/4@tmp/durable-513acc9a/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-05-10T07:33:16.264Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T07:33:16.299Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T07:33:17.196Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T07:33:17.207Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-90-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T07:33:17.383Z] 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] { (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-05-10T07:33:18.537Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:33:19.111Z] ---> package-listing.sh [2021-05-10T07:33:19.111Z] ++ facter osfamily [2021-05-10T07:33:19.111Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T07:33:19.111Z] + OS_FAMILY=redhat [2021-05-10T07:33:19.111Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-90 [2021-05-10T07:33:19.111Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T07:33:19.111Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T07:33:19.111Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T07:33:19.111Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T07:33:19.111Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-90 ']' [2021-05-10T07:33:19.111Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T07:33:19.111Z] + case "${OS_FAMILY}" in [2021-05-10T07:33:19.111Z] + rpm -qa [2021-05-10T07:33:19.111Z] + sort [2021-05-10T07:33:24.431Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T07:33:24.431Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T07:33:24.431Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T07:33:24.431Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-90 ']' [2021-05-10T07:33:24.431Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-90/archives/ [2021-05-10T07:33:24.431Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-90/archives/ [Pipeline] echo [2021-05-10T07:33:24.446Z] 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-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T07:33:24.739Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:33:25.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T07:33:25.049Z] [2021-05-10T07:33:25.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:33:25.367Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T07:33:25.367Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T07:33:25.367Z] df20fa9351a1: Pulling fs layer [2021-05-10T07:33:25.367Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T07:33:25.367Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T07:33:25.367Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T07:33:25.367Z] 93b61091891f: Pulling fs layer [2021-05-10T07:33:25.367Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T07:33:25.367Z] 5e14af77c1be: Pulling fs layer [2021-05-10T07:33:25.367Z] 01666e4c0597: Pulling fs layer [2021-05-10T07:33:25.367Z] aa168da1d23b: Pulling fs layer [2021-05-10T07:33:25.367Z] 93b9cdb0e59b: Waiting [2021-05-10T07:33:25.367Z] 5e14af77c1be: Waiting [2021-05-10T07:33:25.367Z] 01666e4c0597: Waiting [2021-05-10T07:33:25.367Z] aa168da1d23b: Waiting [2021-05-10T07:33:25.367Z] 93b61091891f: Waiting [2021-05-10T07:33:25.367Z] 46f8f816bc3b: Waiting [2021-05-10T07:33:25.367Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T07:33:25.367Z] 36b3adc4ff6f: Download complete [2021-05-10T07:33:25.367Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T07:33:25.367Z] 46f8f816bc3b: Download complete [2021-05-10T07:33:25.632Z] df20fa9351a1: Download complete [2021-05-10T07:33:25.632Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T07:33:25.632Z] 93b9cdb0e59b: Download complete [2021-05-10T07:33:25.632Z] 93b61091891f: Verifying Checksum [2021-05-10T07:33:25.632Z] 93b61091891f: Download complete [2021-05-10T07:33:25.632Z] 5e14af77c1be: Verifying Checksum [2021-05-10T07:33:25.632Z] 5e14af77c1be: Download complete [2021-05-10T07:33:25.632Z] 01666e4c0597: Verifying Checksum [2021-05-10T07:33:25.632Z] 01666e4c0597: Download complete [2021-05-10T07:33:25.903Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T07:33:25.903Z] 8ad3a11d3b57: Download complete [2021-05-10T07:33:25.903Z] df20fa9351a1: Pull complete [2021-05-10T07:33:26.171Z] 36b3adc4ff6f: Pull complete [2021-05-10T07:33:27.129Z] 8ad3a11d3b57: Pull complete [2021-05-10T07:33:27.129Z] 46f8f816bc3b: Pull complete [2021-05-10T07:33:28.085Z] aa168da1d23b: Verifying Checksum [2021-05-10T07:33:28.085Z] aa168da1d23b: Download complete [2021-05-10T07:33:28.351Z] 93b61091891f: Pull complete [2021-05-10T07:33:28.615Z] 93b9cdb0e59b: Pull complete [2021-05-10T07:33:28.615Z] 5e14af77c1be: Pull complete [2021-05-10T07:33:28.881Z] 01666e4c0597: Pull complete [2021-05-10T07:33:35.545Z] aa168da1d23b: Pull complete [2021-05-10T07:33:35.809Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T07:33:35.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T07:33:35.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T07:33:36.039Z] prd-centos7-docker-4c-2g-4035 does not seem to be running inside a container [2021-05-10T07:33:36.094Z] $ 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-90/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-90 -v /w/workspace/dgexfoundry_device-snmp-go_PR-90:/w/workspace/dgexfoundry_device-snmp-go_PR-90:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-90@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-90@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-05-10T07:33:40.053Z] $ docker top 6af5714dfeb7a1c1e118c155a7a6526ccad64d139bdd81e680ee842d177a7a7c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:33:40.486Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T07:33:40.788Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T07:33:41.087Z] + ls /var/log/sa-host [2021-05-10T07:33:41.087Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T07:33:41.087Z] file_magic: OK [2021-05-10T07:33:41.087Z] HZ: Using current value: 100 [2021-05-10T07:33:41.087Z] file_header: OK [2021-05-10T07:33:41.087Z] 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-05-10T07:33:41.087Z] Statistics: [2021-05-10T07:33:41.087Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T07:33:41.087Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T07:33:41.087Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T07:33:41.087Z] file_magic: OK [2021-05-10T07:33:41.087Z] HZ: Using current value: 100 [2021-05-10T07:33:41.087Z] file_header: OK [2021-05-10T07:33:41.087Z] 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-05-10T07:33:41.087Z] Statistics: [2021-05-10T07:33:41.087Z] Hnuu...uuuununununu... [2021-05-10T07:33:41.087Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T07:33:41.659Z] provisioning config files... [2021-05-10T07:33:41.678Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-90@tmp/config8548964865656567938tmp [Pipeline] { [Pipeline] echo [2021-05-10T07:33:41.702Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:33:42.003Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T07:33:42.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T07:33:42.042Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:33:42.346Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T07:33:42.359Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:33:42.664Z] ---> sudo-logs.sh [2021-05-10T07:33:42.664Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T07:33:42.750Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:33:43.058Z] ---> job-cost.sh [2021-05-10T07:33:43.058Z] lf-activate-venv: SKIPPING [2021-05-10T07:33:43.058Z] DEBUG: total: 0.029999999329447746 [2021-05-10T07:33:43.058Z] INFO: Retrieving Stack Cost... [2021-05-10T07:33:44.453Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T07:33:45.029Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T07:33:45.045Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:33:45.344Z] ---> logs-deploy.sh [2021-05-10T07:33:45.344Z] lf-activate-venv: SKIPPING [2021-05-10T07:33:45.344Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-90/4 [2021-05-10T07:33:45.344Z] INFO: archiving workspace using pattern(s): [2021-05-10T07:33:47.263Z] Archives upload complete. [2021-05-10T07:33:47.263Z] INFO: archiving logs to Nexus