Pull request #118 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 75f0efdef6eff5f964016cc08b5f2bc574f59045+828c04b1f0eb937037ce2076f410b90c0d25fe4c (0a9c739164d0f37c2cc8f27d6e09cc2ccb638da9) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8622513214842420889.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7567521353493480629.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-118/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-118/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2685017380538883323.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-118/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2804270653436086034.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7506112259794601311.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-118/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-118/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3879755143119390695.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 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: device-snmp 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 ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-466 in /w/workspace/gexfoundry_device-snmp-go_PR-118 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-118 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/jenkins-gitclient-ssh3169361223469266442.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/jenkins-gitclient-ssh3356335620631558071.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/118/head:refs/remotes/origin/PR-118 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 75f0efdef6eff5f964016cc08b5f2bc574f59045 Merge succeeded, producing 75f0efdef6eff5f964016cc08b5f2bc574f59045 Checking out Revision 75f0efdef6eff5f964016cc08b5f2bc574f59045 (PR-118) > git config core.sparsecheckout # timeout=10 > git checkout -f 75f0efdef6eff5f964016cc08b5f2bc574f59045 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/jenkins-gitclient-ssh1192749813754276626.key > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75f0efdef6eff5f964016cc08b5f2bc574f59045 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-28T05:05:47.792Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-28T05:05:48.005Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-28T05:05:48.136Z] ========================================================= [2021-06-28T05:05:48.136Z] EdgeX Global Pipelines Version Info [2021-06-28T05:05:48.136Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:05:49.633Z] ------------------- [2021-06-28T05:05:49.633Z] stable info: [2021-06-28T05:05:49.633Z] ------------------- [2021-06-28T05:05:49.633Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-28T05:05:49.633Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T05:05:49.633Z] Message: update stable to v1.0.195 [2021-06-28T05:05:50.214Z] ------------------- [2021-06-28T05:05:50.214Z] experimental info: [2021-06-28T05:05:50.214Z] ------------------- [2021-06-28T05:05:50.214Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-28T05:05:50.214Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T05:05:50.214Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-28T05:05:50.453Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-28T05:05:50.513Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-28T05:05:50.574Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-28T05:05:50.658Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-28T05:05:50.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-28T05:05:50.811Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-28T05:05:50.877Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-28T05:05:50.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-28T05:05:50.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-28T05:05:51.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-28T05:05:51.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-28T05:05:51.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-28T05:05:51.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-28T05:05:51.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-28T05:05:51.384Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T05:05:51.457Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T05:05:51.530Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T05:05:51.606Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T05:05:51.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-28T05:05:51.732Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-28T05:05:51.793Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-28T05:05:51.855Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-28T05:05:51.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-28T05:05:51.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-28T05:05:52.055Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-28T05:05:52.119Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-28T05:05:52.200Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-118 [Pipeline] echo [2021-06-28T05:05:52.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-118 [Pipeline] echo [2021-06-28T05:05:52.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-118 [Pipeline] echo [2021-06-28T05:05:52.433Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75f0efdef6eff5f964016cc08b5f2bc574f59045 [Pipeline] echo [2021-06-28T05:05:52.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75f0efd [Pipeline] echo [2021-06-28T05:05:52.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T05:05:52.780Z] provisioning config files... [2021-06-28T05:05:52.795Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/config3619592233510496865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:05:53.189Z] ---> docker-login.sh [2021-06-28T05:05:53.189Z] nexus3.edgexfoundry.org:10001 [2021-06-28T05:05:53.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:05:53.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:05:53.451Z] Configure a credential helper to remove this warning. See [2021-06-28T05:05:53.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:05:53.451Z] [2021-06-28T05:05:53.451Z] Login Succeeded [2021-06-28T05:05:53.451Z] nexus3.edgexfoundry.org:10002 [2021-06-28T05:05:53.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:05:53.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:05:53.715Z] Configure a credential helper to remove this warning. See [2021-06-28T05:05:53.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:05:53.715Z] [2021-06-28T05:05:53.715Z] Login Succeeded [2021-06-28T05:05:53.715Z] nexus3.edgexfoundry.org:10003 [2021-06-28T05:05:53.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:05:53.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:05:53.715Z] Configure a credential helper to remove this warning. See [2021-06-28T05:05:53.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:05:53.715Z] [2021-06-28T05:05:53.715Z] Login Succeeded [2021-06-28T05:05:53.715Z] nexus3.edgexfoundry.org:10004 [2021-06-28T05:05:53.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:05:53.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:05:53.983Z] Configure a credential helper to remove this warning. See [2021-06-28T05:05:53.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:05:53.983Z] [2021-06-28T05:05:53.983Z] Login Succeeded [2021-06-28T05:05:53.983Z] docker.io [2021-06-28T05:05:53.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:05:54.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:05:54.244Z] Configure a credential helper to remove this warning. See [2021-06-28T05:05:54.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:05:54.244Z] [2021-06-28T05:05:54.244Z] Login Succeeded [2021-06-28T05:05:54.244Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T05:05:54.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T05:05:55.121Z] + git log --format=format:%s -1 75f0efdef6eff5f964016cc08b5f2bc574f59045 [Pipeline] echo [2021-06-28T05:05:55.180Z] GIT_COMMIT: 75f0efdef6eff5f964016cc08b5f2bc574f59045, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-28T05:05:55.230Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:05:55.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T05:05:55.900Z] [2021-06-28T05:05:55.900Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:05:56.261Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T05:05:56.261Z] latest: Pulling from edgex-devops/git-semver [2021-06-28T05:05:56.261Z] 31603596830f: Pulling fs layer [2021-06-28T05:05:56.261Z] 54011a49482f: Pulling fs layer [2021-06-28T05:05:56.261Z] a6820b24f6d8: Pulling fs layer [2021-06-28T05:05:56.261Z] f581987b2513: Pulling fs layer [2021-06-28T05:05:56.261Z] f581987b2513: Waiting [2021-06-28T05:05:56.261Z] 54011a49482f: Verifying Checksum [2021-06-28T05:05:56.261Z] 54011a49482f: Download complete [2021-06-28T05:05:56.261Z] 31603596830f: Verifying Checksum [2021-06-28T05:05:56.261Z] 31603596830f: Download complete [2021-06-28T05:05:56.526Z] f581987b2513: Verifying Checksum [2021-06-28T05:05:56.526Z] f581987b2513: Download complete [2021-06-28T05:05:56.526Z] a6820b24f6d8: Verifying Checksum [2021-06-28T05:05:56.526Z] a6820b24f6d8: Download complete [2021-06-28T05:05:56.526Z] 31603596830f: Pull complete [2021-06-28T05:05:56.799Z] 54011a49482f: Pull complete [2021-06-28T05:05:57.383Z] a6820b24f6d8: Pull complete [2021-06-28T05:05:57.383Z] f581987b2513: Pull complete [2021-06-28T05:05:57.383Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-28T05:05:57.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T05:05:57.383Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-28T05:05:57.479Z] prd-centos7-docker-4c-2g-466 does not seem to be running inside a container [2021-06-28T05:05:57.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-118 -v /w/workspace/gexfoundry_device-snmp-go_PR-118:/w/workspace/gexfoundry_device-snmp-go_PR-118:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-118@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-28T05:05:58.700Z] $ docker top feadec29ed99067cfbf2e24debfd0e3064b6720d0ed065e4440f8f179e05d124 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-28T05:05:58.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T05:05:58.931Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T05:05:59.045Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T05:05:59.045Z] $ docker exec feadec29ed99067cfbf2e24debfd0e3064b6720d0ed065e4440f8f179e05d124 ssh-agent [2021-06-28T05:05:59.179Z] SSH_AUTH_SOCK=/tmp/ssh-bTFeHxJOpm3c/agent.14 [2021-06-28T05:05:59.179Z] SSH_AGENT_PID=20 [2021-06-28T05:05:59.191Z] Running ssh-add (command line suppressed) [2021-06-28T05:05:59.284Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/private_key_6324090618364015026.key (/w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/private_key_6324090618364015026.key) [2021-06-28T05:05:59.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T05:05:59.664Z] + git tag --points-at HEAD [Pipeline] } [2021-06-28T05:05:59.683Z] $ docker exec --env ******** --env ******** feadec29ed99067cfbf2e24debfd0e3064b6720d0ed065e4440f8f179e05d124 ssh-agent -k [2021-06-28T05:05:59.783Z] unset SSH_AUTH_SOCK; [2021-06-28T05:05:59.783Z] unset SSH_AGENT_PID; [2021-06-28T05:05:59.783Z] echo Agent pid 20 killed; [2021-06-28T05:05:59.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-28T05:05:59.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T05:05:59.892Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T05:06:00.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T05:06:00.003Z] $ docker exec feadec29ed99067cfbf2e24debfd0e3064b6720d0ed065e4440f8f179e05d124 ssh-agent [2021-06-28T05:06:00.124Z] SSH_AUTH_SOCK=/tmp/ssh-rwlCLUDRxv6S/agent.55 [2021-06-28T05:06:00.124Z] SSH_AGENT_PID=62 [2021-06-28T05:06:00.129Z] Running ssh-add (command line suppressed) [2021-06-28T05:06:00.220Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/private_key_1914985766324816515.key (/w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/private_key_1914985766324816515.key) [2021-06-28T05:06:00.240Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T05:06:00.594Z] + git semver init [2021-06-28T05:06:00.594Z] # -> Open(): unable to determine branch for HEAD [2021-06-28T05:06:00.594Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-118/.git [2021-06-28T05:06:00.594Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-118 [2021-06-28T05:06:00.594Z] # $SEMVER_REMOTE_NAME = origin [2021-06-28T05:06:00.594Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-28T05:06:00.594Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-28T05:06:00.594Z] # $SEMVER_BRANCH = PR-118 [2021-06-28T05:06:00.594Z] # $SEMVER_TEMP = /tmp/semver-986001051 [2021-06-28T05:06:00.594Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-28T05:06:00.856Z] # '/tmp/semver-986001051' -> '/w/workspace/gexfoundry_device-snmp-go_PR-118/.semver' [2021-06-28T05:06:00.856Z] # -> Force: false [2021-06-28T05:06:00.856Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-118/.semver [Pipeline] } [2021-06-28T05:06:00.873Z] $ docker exec --env ******** --env ******** feadec29ed99067cfbf2e24debfd0e3064b6720d0ed065e4440f8f179e05d124 ssh-agent -k [2021-06-28T05:06:00.973Z] unset SSH_AUTH_SOCK; [2021-06-28T05:06:00.974Z] unset SSH_AGENT_PID; [2021-06-28T05:06:00.974Z] echo Agent pid 62 killed; [2021-06-28T05:06:00.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-28T05:06:01.426Z] + git semver [Pipeline] } [2021-06-28T05:06:01.458Z] $ docker stop --time=1 feadec29ed99067cfbf2e24debfd0e3064b6720d0ed065e4440f8f179e05d124 [2021-06-28T05:06:02.718Z] $ docker rm -f feadec29ed99067cfbf2e24debfd0e3064b6720d0ed065e4440f8f179e05d124 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T05:06:03.175Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-28T05:06:03.797Z] Stashed 1 file(s) [Pipeline] echo [2021-06-28T05:06:03.832Z] [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-06-28T05:06:19.394Z] Still waiting to schedule task [2021-06-28T05:06:19.394Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-28T05:06:19.394Z] ‘prd-centos7-docker-4c-2g-469’ is offline [2021-06-28T05:06:19.394Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-28T05:06:19.395Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-28T05:06:19.395Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-467’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-28T05:06:19.430Z] Still waiting to schedule task [2021-06-28T05:06:19.430Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-28T05:07:16.299Z] Running on prd-centos7-docker-4c-2g-472 in /w/workspace/gexfoundry_device-snmp-go_PR-118 [Pipeline] { [Pipeline] ws [2021-06-28T05:07:16.357Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-28T05:07:16.524Z] Selected Git installation does not exist. Using Default [2021-06-28T05:07:16.524Z] The recommended git tool is: NONE [2021-06-28T05:07:18.926Z] using credential edgex-jenkins-ssh [2021-06-28T05:07:18.941Z] Cloning the remote Git repository [2021-06-28T05:07:18.649Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:07:18.713Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-28T05:07:18.761Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:07:18.761Z] > git --version # timeout=10 [2021-06-28T05:07:18.769Z] > git --version # 'git version 2.24.4' [2021-06-28T05:07:18.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:07:18.792Z] [INFO] Currently running in a labeled security context [2021-06-28T05:07:18.792Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T05:07:18.792Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh8262520532800050914.key [2021-06-28T05:07:18.804Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T05:07:19.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T05:07:19.356Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T05:07:19.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T05:07:19.379Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:07:19.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:07:19.382Z] [INFO] Currently running in a labeled security context [2021-06-28T05:07:19.382Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T05:07:19.382Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh6777765405506503256.key [2021-06-28T05:07:19.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/118/head:refs/remotes/origin/PR-118 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T05:07:20.057Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 75f0efdef6eff5f964016cc08b5f2bc574f59045 [2021-06-28T05:07:20.153Z] Merge succeeded, producing 75f0efdef6eff5f964016cc08b5f2bc574f59045 [2021-06-28T05:07:20.155Z] Checking out Revision 75f0efdef6eff5f964016cc08b5f2bc574f59045 (PR-118) [2021-06-28T05:07:19.768Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T05:07:19.782Z] > git checkout -f 75f0efdef6eff5f964016cc08b5f2bc574f59045 # timeout=10 [2021-06-28T05:07:19.815Z] > git remote # timeout=10 [2021-06-28T05:07:19.828Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T05:07:19.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:07:19.838Z] [INFO] Currently running in a labeled security context [2021-06-28T05:07:19.838Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T05:07:19.838Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh5944223916819638596.key [2021-06-28T05:07:19.845Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-28T05:07:19.855Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T05:07:19.880Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T05:07:19.896Z] > git checkout -f 75f0efdef6eff5f964016cc08b5f2bc574f59045 # timeout=10 [2021-06-28T05:07:23.603Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-28T05:07:23.651Z] > git --version # timeout=10 [2021-06-28T05:07:23.660Z] > git --version # 'git version 2.24.4' [2021-06-28T05:07:23.671Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T05:07:24.902Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-28T05:07:25.242Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T05:07:25.566Z] + true [2021-06-28T05:07:25.566Z] + sudo service docker restart [2021-06-28T05:07:25.566Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T05:07:43.805Z] provisioning config files... [2021-06-28T05:07:43.820Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7233243306444659463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:07:44.197Z] ---> docker-login.sh [2021-06-28T05:07:44.197Z] nexus3.edgexfoundry.org:10001 [2021-06-28T05:07:44.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:07:44.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:07:44.465Z] Configure a credential helper to remove this warning. See [2021-06-28T05:07:44.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:07:44.465Z] [2021-06-28T05:07:44.465Z] Login Succeeded [2021-06-28T05:07:44.465Z] nexus3.edgexfoundry.org:10002 [2021-06-28T05:07:44.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:07:44.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:07:44.465Z] Configure a credential helper to remove this warning. See [2021-06-28T05:07:44.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:07:44.465Z] [2021-06-28T05:07:44.465Z] Login Succeeded [2021-06-28T05:07:44.465Z] nexus3.edgexfoundry.org:10003 [2021-06-28T05:07:44.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:07:44.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:07:44.728Z] Configure a credential helper to remove this warning. See [2021-06-28T05:07:44.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:07:44.728Z] [2021-06-28T05:07:44.728Z] Login Succeeded [2021-06-28T05:07:44.728Z] nexus3.edgexfoundry.org:10004 [2021-06-28T05:07:44.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:07:44.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:07:44.991Z] Configure a credential helper to remove this warning. See [2021-06-28T05:07:44.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:07:44.991Z] [2021-06-28T05:07:44.991Z] Login Succeeded [2021-06-28T05:07:44.991Z] docker.io [2021-06-28T05:07:44.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:07:45.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:07:45.256Z] Configure a credential helper to remove this warning. See [2021-06-28T05:07:45.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:07:45.256Z] [2021-06-28T05:07:45.256Z] Login Succeeded [2021-06-28T05:07:45.256Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T05:07:45.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T05:07:45.603Z] ========================================================= [2021-06-28T05:07:45.603Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-28T05:07:45.603Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:07:45.978Z] + 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-06-28T05:07:45.978Z] Sending build context to Docker daemon 376.3kB [2021-06-28T05:07:45.978Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T05:07:45.978Z] Step 2/10 : FROM ${BASE} [2021-06-28T05:07:46.240Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-28T05:07:46.240Z] 540db60ca938: Pulling fs layer [2021-06-28T05:07:46.240Z] adcc1eea9eea: Pulling fs layer [2021-06-28T05:07:46.240Z] 4c4ab2625f07: Pulling fs layer [2021-06-28T05:07:46.240Z] 0510c868ecb4: Pulling fs layer [2021-06-28T05:07:46.240Z] afea3b2eda06: Pulling fs layer [2021-06-28T05:07:46.240Z] 7809a108b3ef: Pulling fs layer [2021-06-28T05:07:46.240Z] f706445af74f: Pulling fs layer [2021-06-28T05:07:46.240Z] afea3b2eda06: Waiting [2021-06-28T05:07:46.240Z] 7809a108b3ef: Waiting [2021-06-28T05:07:46.240Z] f706445af74f: Waiting [2021-06-28T05:07:46.240Z] 0510c868ecb4: Waiting [2021-06-28T05:07:46.240Z] 4c4ab2625f07: Verifying Checksum [2021-06-28T05:07:46.240Z] 4c4ab2625f07: Download complete [2021-06-28T05:07:46.240Z] adcc1eea9eea: Verifying Checksum [2021-06-28T05:07:46.240Z] adcc1eea9eea: Download complete [2021-06-28T05:07:46.240Z] afea3b2eda06: Verifying Checksum [2021-06-28T05:07:46.240Z] afea3b2eda06: Download complete [2021-06-28T05:07:46.240Z] 7809a108b3ef: Verifying Checksum [2021-06-28T05:07:46.240Z] 7809a108b3ef: Download complete [2021-06-28T05:07:46.240Z] 540db60ca938: Verifying Checksum [2021-06-28T05:07:46.240Z] 540db60ca938: Download complete [2021-06-28T05:07:46.502Z] 540db60ca938: Pull complete [2021-06-28T05:07:46.764Z] adcc1eea9eea: Pull complete [2021-06-28T05:07:46.764Z] 4c4ab2625f07: Pull complete [2021-06-28T05:07:47.712Z] f706445af74f: Verifying Checksum [2021-06-28T05:07:47.712Z] f706445af74f: Download complete [2021-06-28T05:07:47.981Z] 0510c868ecb4: Verifying Checksum [2021-06-28T05:07:47.981Z] 0510c868ecb4: Download complete [2021-06-28T05:07:51.311Z] 0510c868ecb4: Pull complete [2021-06-28T05:07:51.311Z] afea3b2eda06: Pull complete [2021-06-28T05:07:51.311Z] 7809a108b3ef: Pull complete [2021-06-28T05:07:52.726Z] f706445af74f: Pull complete [2021-06-28T05:07:52.726Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-28T05:07:52.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-28T05:07:52.726Z] ---> b068be0155e3 [2021-06-28T05:07:52.726Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T05:07:56.052Z] ---> Running in 949e31e99d2e [2021-06-28T05:07:56.052Z] Removing intermediate container 949e31e99d2e [2021-06-28T05:07:56.052Z] ---> bf22b3020225 [2021-06-28T05:07:56.052Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T05:07:56.052Z] ---> Running in c098454c3683 [2021-06-28T05:07:56.052Z] Removing intermediate container c098454c3683 [2021-06-28T05:07:56.052Z] ---> 644016b21cfd [2021-06-28T05:07:56.052Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-28T05:07:56.312Z] ---> Running in 9e0dccbee6bd [2021-06-28T05:07:56.312Z] Removing intermediate container 9e0dccbee6bd [2021-06-28T05:07:56.312Z] ---> 1432950e2324 [2021-06-28T05:07:56.312Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T05:07:56.312Z] ---> Running in 15e3022a1663 [2021-06-28T05:07:56.888Z] Removing intermediate container 15e3022a1663 [2021-06-28T05:07:56.888Z] ---> 59f9e9993570 [2021-06-28T05:07:56.888Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T05:07:56.888Z] ---> Running in 80a5a4197425 [2021-06-28T05:07:57.150Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T05:07:58.096Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T05:07:58.358Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-28T05:07:58.618Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-28T05:07:58.618Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-28T05:07:58.618Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-28T05:07:58.879Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T05:07:58.879Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-28T05:07:58.879Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-28T05:07:59.141Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-28T05:07:59.404Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-28T05:07:59.405Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-28T05:07:59.405Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-28T05:07:59.665Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-28T05:07:59.665Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-28T05:07:59.929Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T05:07:59.929Z] OK: 156 MiB in 53 packages [2021-06-28T05:08:00.197Z] Removing intermediate container 80a5a4197425 [2021-06-28T05:08:00.198Z] ---> 15dfb9fffef2 [2021-06-28T05:08:00.198Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-28T05:08:00.198Z] ---> Running in 432688a2b314 [2021-06-28T05:08:00.198Z] Removing intermediate container 432688a2b314 [2021-06-28T05:08:00.198Z] ---> 64ff3f4b4b6b [2021-06-28T05:08:00.198Z] Step 9/10 : COPY . . [2021-06-28T05:08:00.459Z] ---> cef5e0aef485 [2021-06-28T05:08:00.459Z] Step 10/10 : RUN go mod download [2021-06-28T05:08:00.459Z] ---> Running in cda048004181 [2021-06-28T05:08:12.723Z] Removing intermediate container cda048004181 [2021-06-28T05:08:12.723Z] ---> 4049c349b9fc [2021-06-28T05:08:12.723Z] Successfully built 4049c349b9fc [2021-06-28T05:08:12.723Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:08:13.087Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T05:08:13.087Z] . [Pipeline] withDockerContainer [2021-06-28T05:08:13.193Z] prd-centos7-docker-4c-2g-472 does not seem to be running inside a container [2021-06-28T05:08:13.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T05:08:13.604Z] $ docker top 2b27ad8b093a856cfe8d8d9001140e9f5a8d8c1112e8ae224f8f5b78db7584e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:08:14.044Z] + go version [2021-06-28T05:08:14.044Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-28T05:08:14.071Z] $ docker stop --time=1 2b27ad8b093a856cfe8d8d9001140e9f5a8d8c1112e8ae224f8f5b78db7584e3 [2021-06-28T05:08:15.249Z] $ docker rm -f 2b27ad8b093a856cfe8d8d9001140e9f5a8d8c1112e8ae224f8f5b78db7584e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:08:16.115Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T05:08:16.115Z] . [Pipeline] withDockerContainer [2021-06-28T05:08:16.215Z] prd-centos7-docker-4c-2g-472 does not seem to be running inside a container [2021-06-28T05:08:16.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T05:08:16.610Z] $ docker top b7449b62822bf97ec806446b6db6cb1027a8b14152d8ad0e8c999b37c856ec51 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:08:17.074Z] + go mod tidy [Pipeline] sh [2021-06-28T05:08:17.683Z] + make test [2021-06-28T05:08:17.683Z] go mod tidy [2021-06-28T05:08:17.683Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-28T05:08:18.258Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-28T05:08:33.294Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-28T05:08:33.294Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-06-28T05:08:33.294Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T05:08:39.965Z] gofmt -l . [2021-06-28T05:08:39.965Z] [ "`gofmt -l .`" = "" ] [2021-06-28T05:08:39.965Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T05:08:39.992Z] $ docker stop --time=1 b7449b62822bf97ec806446b6db6cb1027a8b14152d8ad0e8c999b37c856ec51 [2021-06-28T05:08:41.337Z] $ docker rm -f b7449b62822bf97ec806446b6db6cb1027a8b14152d8ad0e8c999b37c856ec51 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T05:08:41.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T05:08:42.065Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-28T05:08:43.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T05:08:43.882Z] + ls -al . [2021-06-28T05:08:43.882Z] total 104 [2021-06-28T05:08:43.882Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 28 05:08 . [2021-06-28T05:08:43.882Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 28 05:07 .. [2021-06-28T05:08:43.882Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 28 05:07 Attribution.txt [2021-06-28T05:08:43.882Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 28 05:07 bin [2021-06-28T05:08:43.882Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 28 05:07 cmd [2021-06-28T05:08:43.882Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 28 05:08 coverage.out [2021-06-28T05:08:43.882Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 28 05:07 Dockerfile [2021-06-28T05:08:43.882Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 28 05:07 Dockerfile.build [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 28 05:07 .dockerignore [2021-06-28T05:08:43.883Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 28 05:07 .git [2021-06-28T05:08:43.883Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 28 05:07 .github [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 28 05:07 .gitignore [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 215 Jun 28 05:07 go.mod [2021-06-28T05:08:43.883Z] -rw-r--r--. 1 jenkins jenkins 21141 Jun 28 05:08 go.sum [2021-06-28T05:08:43.883Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 28 05:07 internal [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 28 05:07 Jenkinsfile [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 28 05:07 LICENSE [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 28 05:07 Makefile [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 28 05:07 README.md [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 28 05:06 VERSION [2021-06-28T05:08:43.883Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 28 05:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:08:44.225Z] + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=75f0efdef6eff5f964016cc08b5f2bc574f59045 --label arch=amd64 --label version=0.0.0 . [2021-06-28T05:08:44.225Z] Sending build context to Docker daemon 384.5kB [2021-06-28T05:08:44.225Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T05:08:44.225Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-28T05:08:44.225Z] ---> 4049c349b9fc [2021-06-28T05:08:44.225Z] Step 3/24 : ARG MAKE='make build' [2021-06-28T05:08:44.225Z] ---> Running in f1157dfaec13 [2021-06-28T05:08:44.225Z] Removing intermediate container f1157dfaec13 [2021-06-28T05:08:44.225Z] ---> 4cd53b920efa [2021-06-28T05:08:44.225Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T05:08:44.225Z] ---> Running in 4299219c176f [2021-06-28T05:08:44.489Z] Removing intermediate container 4299219c176f [2021-06-28T05:08:44.489Z] ---> f73d5154dfef [2021-06-28T05:08:44.489Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T05:08:44.489Z] ---> Running in 1c6455ef21ef [2021-06-28T05:08:44.489Z] Removing intermediate container 1c6455ef21ef [2021-06-28T05:08:44.489Z] ---> d29f826e6a4c [2021-06-28T05:08:44.489Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T05:08:44.489Z] ---> Running in 15924483f741 [2021-06-28T05:08:45.092Z] Removing intermediate container 15924483f741 [2021-06-28T05:08:45.093Z] ---> e5dd0bbc7c9d [2021-06-28T05:08:45.093Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T05:08:45.093Z] ---> Running in 33c689af148c [2021-06-28T05:08:45.365Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T05:08:46.310Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T05:08:46.580Z] OK: 156 MiB in 53 packages [2021-06-28T05:08:46.853Z] Removing intermediate container 33c689af148c [2021-06-28T05:08:46.853Z] ---> 8680b3b30ec0 [2021-06-28T05:08:46.853Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-28T05:08:46.853Z] ---> Running in 52fdef04e849 [2021-06-28T05:08:46.853Z] Removing intermediate container 52fdef04e849 [2021-06-28T05:08:46.853Z] ---> 41316824bda0 [2021-06-28T05:08:46.853Z] Step 9/24 : COPY . . [2021-06-28T05:08:47.117Z] ---> 8e34bf775b6f [2021-06-28T05:08:47.117Z] Step 10/24 : RUN go mod tidy [2021-06-28T05:08:47.117Z] ---> Running in c65c310f131c [2021-06-28T05:08:47.696Z] Removing intermediate container c65c310f131c [2021-06-28T05:08:47.696Z] ---> 1e7406a7605d [2021-06-28T05:08:47.696Z] Step 11/24 : RUN make update [2021-06-28T05:08:47.696Z] ---> Running in 81e926ab7626 [2021-06-28T05:08:47.960Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T05:08:48.221Z] Removing intermediate container 81e926ab7626 [2021-06-28T05:08:48.221Z] ---> f0e37d2a7901 [2021-06-28T05:08:48.221Z] Step 12/24 : RUN ${MAKE} [2021-06-28T05:08:48.221Z] ---> Running in e4a58da19b57 [2021-06-28T05:08:48.490Z] go mod tidy [2021-06-28T05:08:48.754Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-28T05:09:01.089Z] Removing intermediate container e4a58da19b57 [2021-06-28T05:09:01.089Z] ---> bacd8413696a [2021-06-28T05:09:01.089Z] Step 13/24 : FROM alpine:3.12 [2021-06-28T05:09:01.089Z] 3.12: Pulling from library/alpine [2021-06-28T05:09:01.089Z] 339de151aab4: Pulling fs layer [2021-06-28T05:09:01.089Z] 339de151aab4: Verifying Checksum [2021-06-28T05:09:01.089Z] 339de151aab4: Download complete [2021-06-28T05:09:01.089Z] 339de151aab4: Pull complete [2021-06-28T05:09:01.089Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T05:09:01.089Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T05:09:01.089Z] ---> 13621d1b12d4 [2021-06-28T05:09:01.089Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T05:09:01.089Z] ---> Running in 3e4faf79d96a [2021-06-28T05:09:01.089Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-28T05:09:01.089Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-28T05:09:01.089Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T05:09:01.089Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T05:09:01.089Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T05:09:01.089Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T05:09:01.089Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T05:09:01.089Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T05:09:01.089Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T05:09:01.089Z] OK: 8 MiB in 20 packages [2021-06-28T05:09:01.350Z] Removing intermediate container 3e4faf79d96a [2021-06-28T05:09:01.350Z] ---> 9054c21faa35 [2021-06-28T05:09:01.350Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-28T05:09:01.613Z] ---> 15c7839ef509 [2021-06-28T05:09:01.613Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-28T05:09:01.877Z] ---> ae9188bba025 [2021-06-28T05:09:01.877Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-28T05:09:01.877Z] ---> bdfddb340e82 [2021-06-28T05:09:01.877Z] Step 18/24 : EXPOSE 59993 [2021-06-28T05:09:01.877Z] ---> Running in adfa312066d4 [2021-06-28T05:09:02.140Z] Removing intermediate container adfa312066d4 [2021-06-28T05:09:02.140Z] ---> 7b161e0529b4 [2021-06-28T05:09:02.140Z] Step 19/24 : EXPOSE 161 [2021-06-28T05:09:02.140Z] ---> Running in 501d4bd94c5f [2021-06-28T05:09:02.140Z] Removing intermediate container 501d4bd94c5f [2021-06-28T05:09:02.140Z] ---> b437a1944cdf [2021-06-28T05:09:02.140Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-28T05:09:02.140Z] ---> Running in f4a447ccd3c4 [2021-06-28T05:09:02.140Z] Removing intermediate container f4a447ccd3c4 [2021-06-28T05:09:02.140Z] ---> f7147502e747 [2021-06-28T05:09:02.140Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T05:09:02.406Z] ---> Running in c14d85477ed1 [2021-06-28T05:09:02.406Z] Removing intermediate container c14d85477ed1 [2021-06-28T05:09:02.406Z] ---> 9612b3928f98 [2021-06-28T05:09:02.406Z] Step 22/24 : LABEL arch=amd64 [2021-06-28T05:09:02.406Z] ---> Running in d391f2f3562d [2021-06-28T05:09:02.406Z] Removing intermediate container d391f2f3562d [2021-06-28T05:09:02.406Z] ---> 3a4ddbafd3cc [2021-06-28T05:09:02.406Z] Step 23/24 : LABEL git_sha=75f0efdef6eff5f964016cc08b5f2bc574f59045 [2021-06-28T05:09:02.406Z] ---> Running in ca15b9e5743c [2021-06-28T05:09:02.668Z] Removing intermediate container ca15b9e5743c [2021-06-28T05:09:02.668Z] ---> 36eec40e7df7 [2021-06-28T05:09:02.668Z] Step 24/24 : LABEL version=0.0.0 [2021-06-28T05:09:02.668Z] ---> Running in 247c6bf21a7b [2021-06-28T05:09:02.668Z] Removing intermediate container 247c6bf21a7b [2021-06-28T05:09:02.668Z] ---> b0e792ed31c5 [2021-06-28T05:09:02.668Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T05:09:02.668Z] Successfully built b0e792ed31c5 [2021-06-28T05:09:02.668Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:09:03.749Z] ---> job-cost.sh [2021-06-28T05:09:03.749Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Wn5c [2021-06-28T05:09:11.906Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T05:09:26.840Z] lf-activate-venv(): INFO: Adding /tmp/venv-Wn5c/bin to PATH [2021-06-28T05:09:26.840Z] INFO: No Stack... [2021-06-28T05:09:26.840Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T05:09:26.840Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T05:09:27.172Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-06-28T05:09:27.172Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T05:09:27.235Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-118-1-stack-cost] [2021-06-28T05:09:27.241Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-118-1-stack-cost] did not exist. Created. [2021-06-28T05:09:27.241Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-118-1-stack-cost] [Pipeline] { [Pipeline] unstash [2021-06-28T05:09:27.324Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-474 in /w/workspace/gexfoundry_device-snmp-go_PR-118 [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-06-28T05:09:27.500Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-28T05:09:27.706Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-28T05:09:27.788Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T05:09:27.822Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-118-1-stack-cost] [2021-06-28T05:09:27.859Z] Selected Git installation does not exist. Using Default [2021-06-28T05:09:27.859Z] The recommended git tool is: NONE [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-28T05:09:34.163Z] using credential edgex-jenkins-ssh [2021-06-28T05:09:34.185Z] Cloning the remote Git repository [2021-06-28T05:09:34.252Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:09:34.410Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-28T05:09:34.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:09:34.531Z] > git --version # timeout=10 [2021-06-28T05:09:34.564Z] > git --version # 'git version 2.17.1' [2021-06-28T05:09:34.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:09:34.666Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T05:09:36.061Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 75f0efdef6eff5f964016cc08b5f2bc574f59045 [2021-06-28T05:09:36.302Z] Merge succeeded, producing 75f0efdef6eff5f964016cc08b5f2bc574f59045 [2021-06-28T05:09:36.303Z] Checking out Revision 75f0efdef6eff5f964016cc08b5f2bc574f59045 (PR-118) [2021-06-28T05:09:35.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T05:09:35.495Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T05:09:35.526Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T05:09:35.569Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:09:35.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:09:35.583Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/118/head:refs/remotes/origin/PR-118 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T05:09:36.083Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T05:09:36.112Z] > git checkout -f 75f0efdef6eff5f964016cc08b5f2bc574f59045 # timeout=10 [2021-06-28T05:09:36.202Z] > git remote # timeout=10 [2021-06-28T05:09:36.217Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T05:09:36.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:09:36.252Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-28T05:09:36.279Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T05:09:36.309Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T05:09:36.320Z] > git checkout -f 75f0efdef6eff5f964016cc08b5f2bc574f59045 # timeout=10 [2021-06-28T05:09:40.667Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-28T05:09:40.728Z] > git --version # timeout=10 [2021-06-28T05:09:40.747Z] > git --version # 'git version 2.17.1' [2021-06-28T05:09:40.767Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T05:09:42.354Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-28T05:09:42.799Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T05:09:43.183Z] + sudo service docker restart [2021-06-28T05:09:43.183Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T05:10:01.621Z] provisioning config files... [2021-06-28T05:10:01.653Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5809052534680549619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:10:02.096Z] ---> docker-login.sh [2021-06-28T05:10:02.097Z] nexus3.edgexfoundry.org:10001 [2021-06-28T05:10:03.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:10:03.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:10:03.367Z] Configure a credential helper to remove this warning. See [2021-06-28T05:10:03.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:10:03.367Z] [2021-06-28T05:10:03.643Z] Login Succeeded [2021-06-28T05:10:03.643Z] nexus3.edgexfoundry.org:10002 [2021-06-28T05:10:03.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:10:04.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:10:04.193Z] Configure a credential helper to remove this warning. See [2021-06-28T05:10:04.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:10:04.193Z] [2021-06-28T05:10:04.193Z] Login Succeeded [2021-06-28T05:10:04.193Z] nexus3.edgexfoundry.org:10003 [2021-06-28T05:10:04.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:10:04.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:10:04.747Z] Configure a credential helper to remove this warning. See [2021-06-28T05:10:04.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:10:04.747Z] [2021-06-28T05:10:04.747Z] Login Succeeded [2021-06-28T05:10:04.747Z] nexus3.edgexfoundry.org:10004 [2021-06-28T05:10:05.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:10:05.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:10:05.308Z] Configure a credential helper to remove this warning. See [2021-06-28T05:10:05.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:10:05.308Z] [2021-06-28T05:10:05.308Z] Login Succeeded [2021-06-28T05:10:05.308Z] docker.io [2021-06-28T05:10:05.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:10:06.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:10:06.184Z] Configure a credential helper to remove this warning. See [2021-06-28T05:10:06.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:10:06.184Z] [2021-06-28T05:10:06.184Z] Login Succeeded [2021-06-28T05:10:06.184Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T05:10:06.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T05:10:06.897Z] ========================================================= [2021-06-28T05:10:06.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-28T05:10:06.897Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:10:07.318Z] + 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-06-28T05:10:07.595Z] Sending build context to Docker daemon 375.3kB [2021-06-28T05:10:07.595Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T05:10:07.595Z] Step 2/10 : FROM ${BASE} [2021-06-28T05:10:07.869Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-28T05:10:07.869Z] 595b0fe564bb: Pulling fs layer [2021-06-28T05:10:07.869Z] 3088b5b3c5c0: Pulling fs layer [2021-06-28T05:10:07.869Z] 5b7225fbf94c: Pulling fs layer [2021-06-28T05:10:07.869Z] ba82ee9f976e: Pulling fs layer [2021-06-28T05:10:07.869Z] 506bd15cee9f: Pulling fs layer [2021-06-28T05:10:07.869Z] 75a0a4a0db45: Pulling fs layer [2021-06-28T05:10:07.869Z] 618dc40b7e24: Pulling fs layer [2021-06-28T05:10:07.869Z] 506bd15cee9f: Waiting [2021-06-28T05:10:07.869Z] 75a0a4a0db45: Waiting [2021-06-28T05:10:07.869Z] 618dc40b7e24: Waiting [2021-06-28T05:10:07.869Z] ba82ee9f976e: Waiting [2021-06-28T05:10:08.159Z] 5b7225fbf94c: Download complete [2021-06-28T05:10:08.159Z] 3088b5b3c5c0: Verifying Checksum [2021-06-28T05:10:08.159Z] 506bd15cee9f: Download complete [2021-06-28T05:10:08.159Z] 75a0a4a0db45: Download complete [2021-06-28T05:10:08.159Z] 595b0fe564bb: Verifying Checksum [2021-06-28T05:10:08.159Z] 595b0fe564bb: Download complete [2021-06-28T05:10:08.779Z] 595b0fe564bb: Pull complete [2021-06-28T05:10:09.780Z] 3088b5b3c5c0: Pull complete [2021-06-28T05:10:10.058Z] 5b7225fbf94c: Pull complete [2021-06-28T05:10:10.334Z] 618dc40b7e24: Verifying Checksum [2021-06-28T05:10:10.334Z] 618dc40b7e24: Download complete [2021-06-28T05:10:11.775Z] ba82ee9f976e: Verifying Checksum [2021-06-28T05:10:11.775Z] ba82ee9f976e: Download complete [2021-06-28T05:10:21.963Z] ba82ee9f976e: Pull complete [2021-06-28T05:10:21.963Z] 506bd15cee9f: Pull complete [2021-06-28T05:10:22.235Z] 75a0a4a0db45: Pull complete [2021-06-28T05:10:25.619Z] 618dc40b7e24: Pull complete [2021-06-28T05:10:25.619Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-28T05:10:25.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-28T05:10:25.619Z] ---> a36622ca3599 [2021-06-28T05:10:25.619Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T05:10:27.601Z] ---> Running in 2af81be4d95b [2021-06-28T05:10:28.202Z] Removing intermediate container 2af81be4d95b [2021-06-28T05:10:28.202Z] ---> 24b7bc781b89 [2021-06-28T05:10:28.202Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T05:10:28.479Z] ---> Running in ebbf28cda39e [2021-06-28T05:10:28.753Z] Removing intermediate container ebbf28cda39e [2021-06-28T05:10:28.754Z] ---> 78d2bb4b2536 [2021-06-28T05:10:28.754Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-28T05:10:29.027Z] ---> Running in f5c08402e719 [2021-06-28T05:10:29.624Z] Removing intermediate container f5c08402e719 [2021-06-28T05:10:29.624Z] ---> a2201c5998d6 [2021-06-28T05:10:29.624Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T05:10:29.624Z] ---> Running in 0fe366595eec [2021-06-28T05:10:32.261Z] Removing intermediate container 0fe366595eec [2021-06-28T05:10:32.261Z] ---> 5395af286b31 [2021-06-28T05:10:32.261Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T05:10:32.261Z] ---> Running in c103067ca8a9 [2021-06-28T05:10:33.702Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T05:10:34.687Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T05:10:35.683Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-28T05:10:35.684Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-28T05:10:35.684Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-28T05:10:35.684Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-28T05:10:36.053Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T05:10:36.053Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-28T05:10:36.054Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-28T05:10:36.332Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-28T05:10:36.332Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-28T05:10:36.608Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-28T05:10:36.609Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-28T05:10:36.888Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-28T05:10:36.888Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-28T05:10:36.888Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T05:10:36.888Z] OK: 145 MiB in 53 packages [2021-06-28T05:10:38.341Z] Removing intermediate container c103067ca8a9 [2021-06-28T05:10:38.341Z] ---> 73ecf981d993 [2021-06-28T05:10:38.341Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-28T05:10:38.630Z] ---> Running in 0c0188da3946 [2021-06-28T05:10:39.235Z] Removing intermediate container 0c0188da3946 [2021-06-28T05:10:39.235Z] ---> 4b7af28e07a6 [2021-06-28T05:10:39.235Z] Step 9/10 : COPY . . [2021-06-28T05:10:40.228Z] ---> 643646261855 [2021-06-28T05:10:40.228Z] Step 10/10 : RUN go mod download [2021-06-28T05:10:40.502Z] ---> Running in cb97e8f84c57 [2021-06-28T05:11:12.929Z] Removing intermediate container cb97e8f84c57 [2021-06-28T05:11:12.929Z] ---> 4df87d7472e2 [2021-06-28T05:11:12.929Z] Successfully built 4df87d7472e2 [2021-06-28T05:11:12.929Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:11:13.346Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T05:11:13.346Z] . [Pipeline] withDockerContainer [2021-06-28T05:11:13.676Z] prd-ubuntu18.04-docker-arm64-4c-16g-474 does not seem to be running inside a container [2021-06-28T05:11:13.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T05:11:15.565Z] $ docker top 59dcfabc7b27cf92527fc0112ca2518f7a2d8da5da78594307fdfac686f6244a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:11:16.643Z] + go version [2021-06-28T05:11:16.643Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-28T05:11:16.682Z] $ docker stop --time=1 59dcfabc7b27cf92527fc0112ca2518f7a2d8da5da78594307fdfac686f6244a [2021-06-28T05:11:18.568Z] $ docker rm -f 59dcfabc7b27cf92527fc0112ca2518f7a2d8da5da78594307fdfac686f6244a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:11:19.646Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T05:11:19.646Z] . [Pipeline] withDockerContainer [2021-06-28T05:11:19.934Z] prd-ubuntu18.04-docker-arm64-4c-16g-474 does not seem to be running inside a container [2021-06-28T05:11:20.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T05:11:21.741Z] $ docker top 95dfbf3fdbb3d0cd07aff87a7935a8e36d96814335d0087e26e3de7c909391c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:11:22.813Z] + go mod tidy [Pipeline] sh [2021-06-28T05:11:24.130Z] + make test [2021-06-28T05:11:24.130Z] go mod tidy [2021-06-28T05:11:24.737Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-28T05:11:25.739Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-28T05:12:22.367Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-28T05:12:22.367Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements [2021-06-28T05:12:22.367Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T05:12:44.658Z] gofmt -l . [2021-06-28T05:12:44.658Z] [ "`gofmt -l .`" = "" ] [2021-06-28T05:12:44.658Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T05:12:44.689Z] $ docker stop --time=1 95dfbf3fdbb3d0cd07aff87a7935a8e36d96814335d0087e26e3de7c909391c3 [2021-06-28T05:12:46.651Z] $ docker rm -f 95dfbf3fdbb3d0cd07aff87a7935a8e36d96814335d0087e26e3de7c909391c3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T05:12:47.586Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T05:12:47.629Z] Warning: overwriting stash ‘coverage-report’ [2021-06-28T05:12:48.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T05:12:48.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T05:12:49.305Z] + ls -al . [2021-06-28T05:12:49.305Z] total 128 [2021-06-28T05:12:49.305Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 28 05:12 . [2021-06-28T05:12:49.305Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 05:09 .. [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 28 05:09 .dockerignore [2021-06-28T05:12:49.306Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 05:09 .git [2021-06-28T05:12:49.306Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 05:09 .github [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 28 05:09 .gitignore [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 28 05:09 Attribution.txt [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 28 05:09 Dockerfile [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 28 05:09 Dockerfile.build [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 28 05:09 Jenkinsfile [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 05:09 LICENSE [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 28 05:09 Makefile [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 28 05:09 README.md [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 05:06 VERSION [2021-06-28T05:12:49.306Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 05:09 bin [2021-06-28T05:12:49.306Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 05:09 cmd [2021-06-28T05:12:49.306Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 28 05:12 coverage.out [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 215 Jun 28 05:09 go.mod [2021-06-28T05:12:49.306Z] -rw-r--r-- 1 jenkins jenkins 21141 Jun 28 05:11 go.sum [2021-06-28T05:12:49.306Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 05:09 internal [2021-06-28T05:12:49.306Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 05:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:12:49.711Z] + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=75f0efdef6eff5f964016cc08b5f2bc574f59045 --label arch=arm64 --label version=0.0.0 . [2021-06-28T05:12:49.986Z] Sending build context to Docker daemon 383.5kB [2021-06-28T05:12:49.986Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T05:12:49.986Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-28T05:12:49.986Z] ---> 4df87d7472e2 [2021-06-28T05:12:49.986Z] Step 3/24 : ARG MAKE='make build' [2021-06-28T05:12:50.261Z] ---> Running in a75190974732 [2021-06-28T05:12:50.861Z] Removing intermediate container a75190974732 [2021-06-28T05:12:50.861Z] ---> 243cb06d4578 [2021-06-28T05:12:50.861Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T05:12:50.861Z] ---> Running in 68a47bfdc3ab [2021-06-28T05:12:51.458Z] Removing intermediate container 68a47bfdc3ab [2021-06-28T05:12:51.458Z] ---> daad10370879 [2021-06-28T05:12:51.458Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T05:12:51.740Z] ---> Running in 529139e04480 [2021-06-28T05:12:52.017Z] Removing intermediate container 529139e04480 [2021-06-28T05:12:52.017Z] ---> d678306fd7df [2021-06-28T05:12:52.017Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T05:12:52.293Z] ---> Running in 7a6835bd54bf [2021-06-28T05:12:54.295Z] Removing intermediate container 7a6835bd54bf [2021-06-28T05:12:54.295Z] ---> 3311c0b1444a [2021-06-28T05:12:54.295Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T05:12:54.295Z] ---> Running in 2250b3c9f272 [2021-06-28T05:12:55.736Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T05:12:56.722Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T05:12:57.323Z] OK: 145 MiB in 53 packages [2021-06-28T05:12:58.768Z] Removing intermediate container 2250b3c9f272 [2021-06-28T05:12:58.768Z] ---> 55f47f55b1ad [2021-06-28T05:12:58.768Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-28T05:12:58.768Z] ---> Running in 15d0a7796021 [2021-06-28T05:12:59.366Z] Removing intermediate container 15d0a7796021 [2021-06-28T05:12:59.367Z] ---> 5f1339c2f7be [2021-06-28T05:12:59.367Z] Step 9/24 : COPY . . [2021-06-28T05:13:00.351Z] ---> 7e5fc4f8990e [2021-06-28T05:13:00.351Z] Step 10/24 : RUN go mod tidy [2021-06-28T05:13:00.351Z] ---> Running in 31052e1a3c13 [2021-06-28T05:13:03.756Z] Removing intermediate container 31052e1a3c13 [2021-06-28T05:13:03.756Z] ---> 173f28228265 [2021-06-28T05:13:03.756Z] Step 11/24 : RUN make update [2021-06-28T05:13:03.756Z] ---> Running in f76259f2ef09 [2021-06-28T05:13:04.754Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T05:13:05.745Z] Removing intermediate container f76259f2ef09 [2021-06-28T05:13:05.745Z] ---> 4465cd31586b [2021-06-28T05:13:05.745Z] Step 12/24 : RUN ${MAKE} [2021-06-28T05:13:05.745Z] ---> Running in a2aa586a12e2 [2021-06-28T05:13:07.265Z] go mod tidy [2021-06-28T05:13:07.569Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-28T05:13:46.646Z] Removing intermediate container a2aa586a12e2 [2021-06-28T05:13:46.646Z] ---> 2b786b7bf3ac [2021-06-28T05:13:46.646Z] Step 13/24 : FROM alpine:3.12 [2021-06-28T05:13:46.646Z] 3.12: Pulling from library/alpine [2021-06-28T05:13:46.646Z] d2f70382dc9a: Pulling fs layer [2021-06-28T05:13:46.646Z] d2f70382dc9a: Verifying Checksum [2021-06-28T05:13:46.646Z] d2f70382dc9a: Download complete [2021-06-28T05:13:46.646Z] d2f70382dc9a: Pull complete [2021-06-28T05:13:46.646Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T05:13:46.646Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T05:13:46.646Z] ---> c4fd0aeabfcf [2021-06-28T05:13:46.646Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T05:13:46.646Z] ---> Running in 6fb7b003c823 [2021-06-28T05:13:46.646Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-28T05:13:46.646Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-28T05:13:46.646Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T05:13:46.934Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T05:13:46.934Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T05:13:46.934Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T05:13:46.934Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T05:13:46.934Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T05:13:46.934Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T05:13:46.934Z] OK: 8 MiB in 20 packages [2021-06-28T05:13:47.928Z] Removing intermediate container 6fb7b003c823 [2021-06-28T05:13:47.928Z] ---> b2d345fc0c4b [2021-06-28T05:13:47.928Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-28T05:13:49.388Z] ---> 47039e9929f2 [2021-06-28T05:13:49.388Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-28T05:13:49.986Z] ---> 28e3184df358 [2021-06-28T05:13:49.986Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-28T05:13:50.969Z] ---> 674a8a699927 [2021-06-28T05:13:50.969Z] Step 18/24 : EXPOSE 59993 [2021-06-28T05:13:50.969Z] ---> Running in d8051bc9a736 [2021-06-28T05:13:51.593Z] Removing intermediate container d8051bc9a736 [2021-06-28T05:13:51.593Z] ---> 52ace16a8f60 [2021-06-28T05:13:51.593Z] Step 19/24 : EXPOSE 161 [2021-06-28T05:13:51.593Z] ---> Running in a4f333eda62e [2021-06-28T05:13:52.216Z] Removing intermediate container a4f333eda62e [2021-06-28T05:13:52.216Z] ---> 83f29b199d08 [2021-06-28T05:13:52.216Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-28T05:13:52.216Z] ---> Running in a55312026f24 [2021-06-28T05:13:52.819Z] Removing intermediate container a55312026f24 [2021-06-28T05:13:52.819Z] ---> 37325a61b5ea [2021-06-28T05:13:52.819Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T05:13:52.819Z] ---> Running in edd3f555a4b3 [2021-06-28T05:13:53.415Z] Removing intermediate container edd3f555a4b3 [2021-06-28T05:13:53.415Z] ---> d6cd7002da10 [2021-06-28T05:13:53.415Z] Step 22/24 : LABEL arch=arm64 [2021-06-28T05:13:53.696Z] ---> Running in df9d17639cdf [2021-06-28T05:13:53.973Z] Removing intermediate container df9d17639cdf [2021-06-28T05:13:53.973Z] ---> b46654f83b55 [2021-06-28T05:13:53.973Z] Step 23/24 : LABEL git_sha=75f0efdef6eff5f964016cc08b5f2bc574f59045 [2021-06-28T05:13:54.246Z] ---> Running in a155d956e699 [2021-06-28T05:13:54.843Z] Removing intermediate container a155d956e699 [2021-06-28T05:13:54.843Z] ---> 03de8f2d8278 [2021-06-28T05:13:54.843Z] Step 24/24 : LABEL version=0.0.0 [2021-06-28T05:13:54.843Z] ---> Running in 086f8aa5cd8c [2021-06-28T05:13:55.441Z] Removing intermediate container 086f8aa5cd8c [2021-06-28T05:13:55.441Z] ---> b865e71794d3 [2021-06-28T05:13:55.441Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T05:13:55.441Z] Successfully built b865e71794d3 [2021-06-28T05:13:55.441Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:13:56.418Z] ---> job-cost.sh [2021-06-28T05:13:56.418Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-meLq [2021-06-28T05:14:35.434Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T05:16:12.291Z] lf-activate-venv(): INFO: Adding /tmp/venv-meLq/bin to PATH [2021-06-28T05:16:12.291Z] INFO: No Stack... [2021-06-28T05:16:12.291Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-28T05:16:12.291Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T05:16:12.664Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-06-28T05:16:12.664Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T05:16:12.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-118-1-stack-cost] [2021-06-28T05:16:12.769Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-118-1-stack-cost] did not exist. Created. [2021-06-28T05:16:12.769Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-118-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T05:16:13.266Z] /w/workspace/device-snmp-go/1@tmp/durable-3f8f7807/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-3f8f7807/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-28T05:16:13.653Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-28T05:16:13.694Z] Warning: overwriting stash ‘stack-cost’ [2021-06-28T05:16:13.851Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T05:16:13.870Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-118-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-28T05:16:14.944Z] provisioning config files... [2021-06-28T05:16:14.954Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/config2153410255329470731tmp [Pipeline] { [Pipeline] sh [2021-06-28T05:16:15.329Z] + set +x [2021-06-28T05:16:15.329Z] + curl -s https://codecov.io/bash [2021-06-28T05:16:15.329Z] + bash -s -- [2021-06-28T05:16:15.329Z] [2021-06-28T05:16:15.329Z] _____ _ [2021-06-28T05:16:15.329Z] / ____| | | [2021-06-28T05:16:15.329Z] | | ___ __| | ___ ___ _____ __ [2021-06-28T05:16:15.329Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-28T05:16:15.329Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-28T05:16:15.329Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-28T05:16:15.329Z] Bash-1.0.3 [2021-06-28T05:16:15.329Z] [2021-06-28T05:16:15.329Z] [2021-06-28T05:16:15.329Z] ==> git version 2.24.4 found [2021-06-28T05:16:15.329Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-28T05:16:15.329Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-28T05:16:15.329Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-28T05:16:15.329Z] ==> Jenkins CI detected. [2021-06-28T05:16:15.329Z] project root: . [2021-06-28T05:16:15.329Z] --> token set from env [2021-06-28T05:16:15.329Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-28T05:16:15.329Z] ==> Running gcov in . (disable via -X gcov) [2021-06-28T05:16:15.329Z] ==> Python coveragepy not found [2021-06-28T05:16:15.329Z] ==> Searching for coverage reports in: [2021-06-28T05:16:15.329Z] + . [2021-06-28T05:16:15.329Z] -> Found 1 reports [2021-06-28T05:16:15.329Z] ==> Detecting git/mercurial file structure [2021-06-28T05:16:15.329Z] ==> Reading reports [2021-06-28T05:16:15.329Z] + ./coverage.out bytes=7631 [2021-06-28T05:16:15.592Z] ==> Appending adjustments [2021-06-28T05:16:15.592Z] https://docs.codecov.io/docs/fixing-reports [2021-06-28T05:16:15.592Z] + Found adjustments [2021-06-28T05:16:15.592Z] ==> Gzipping contents [2021-06-28T05:16:15.592Z] 4.0K /tmp/codecov.lQDAam.gz [2021-06-28T05:16:15.592Z] ==> Uploading reports [2021-06-28T05:16:15.592Z] url: https://codecov.io [2021-06-28T05:16:15.592Z] query: branch=PR-118&commit=75f0efdef6eff5f964016cc08b5f2bc574f59045&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-118%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=118&job=&cmd_args= [2021-06-28T05:16:15.592Z] -> Pinging Codecov [2021-06-28T05:16:15.592Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-118&commit=75f0efdef6eff5f964016cc08b5f2bc574f59045&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-118%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=118&job=&cmd_args= [2021-06-28T05:16:15.853Z] -> Uploading to [2021-06-28T05:16:15.853Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-28/6C56EA5C29638FB4528AC87E60AF5AE0/75f0efdef6eff5f964016cc08b5f2bc574f59045/02b7f7bf-f328-4e2c-8d21-2755540b4538.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210628T051615Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3bd0c1c87c9a5d02d1953e8f6e3cb6c2246108d1652c556cc5556691eded5e8 [2021-06-28T05:16:15.853Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-28T05:16:15.853Z] Dload Upload Total Spent Left Speed [2021-06-28T05:16:16.427Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 4024 --:--:-- --:--:-- --:--:-- 4029 [2021-06-28T05:16:16.427Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/75f0efdef6eff5f964016cc08b5f2bc574f59045 [Pipeline] } [2021-06-28T05:16:16.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:16:18.997Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:16:19.625Z] ---> package-listing.sh [2021-06-28T05:16:19.625Z] ++ facter osfamily [2021-06-28T05:16:19.625Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-28T05:16:19.888Z] + OS_FAMILY=redhat [2021-06-28T05:16:19.888Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-118 [2021-06-28T05:16:19.888Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-28T05:16:19.888Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-28T05:16:19.888Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-28T05:16:19.888Z] + PACKAGES=/tmp/packages_start.txt [2021-06-28T05:16:19.888Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-118 ']' [2021-06-28T05:16:19.888Z] + PACKAGES=/tmp/packages_end.txt [2021-06-28T05:16:19.888Z] + case "${OS_FAMILY}" in [2021-06-28T05:16:19.888Z] + rpm -qa [2021-06-28T05:16:19.888Z] + sort [2021-06-28T05:16:20.461Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-28T05:16:20.461Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-28T05:16:20.461Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-28T05:16:20.461Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-118 ']' [2021-06-28T05:16:20.461Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-118/archives/ [2021-06-28T05:16:20.461Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-118/archives/ [Pipeline] echo [2021-06-28T05:16:20.500Z] 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/gexfoundry_device-snmp-go_PR-118/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-28T05:16:20.806Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:16:21.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T05:16:21.406Z] [2021-06-28T05:16:21.406Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:16:21.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T05:16:21.769Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-28T05:16:21.769Z] df20fa9351a1: Pulling fs layer [2021-06-28T05:16:21.769Z] 36b3adc4ff6f: Pulling fs layer [2021-06-28T05:16:21.769Z] 8ad3a11d3b57: Pulling fs layer [2021-06-28T05:16:21.769Z] 46f8f816bc3b: Pulling fs layer [2021-06-28T05:16:21.769Z] 93b61091891f: Pulling fs layer [2021-06-28T05:16:21.769Z] 93b9cdb0e59b: Pulling fs layer [2021-06-28T05:16:21.769Z] 5e14af77c1be: Pulling fs layer [2021-06-28T05:16:21.769Z] 01666e4c0597: Pulling fs layer [2021-06-28T05:16:21.769Z] aa168da1d23b: Pulling fs layer [2021-06-28T05:16:21.769Z] 93b9cdb0e59b: Waiting [2021-06-28T05:16:21.769Z] 5e14af77c1be: Waiting [2021-06-28T05:16:21.769Z] 01666e4c0597: Waiting [2021-06-28T05:16:21.769Z] aa168da1d23b: Waiting [2021-06-28T05:16:21.769Z] 46f8f816bc3b: Waiting [2021-06-28T05:16:21.769Z] 93b61091891f: Waiting [2021-06-28T05:16:21.769Z] 36b3adc4ff6f: Verifying Checksum [2021-06-28T05:16:21.769Z] 36b3adc4ff6f: Download complete [2021-06-28T05:16:21.769Z] 46f8f816bc3b: Verifying Checksum [2021-06-28T05:16:21.769Z] 46f8f816bc3b: Download complete [2021-06-28T05:16:22.032Z] df20fa9351a1: Verifying Checksum [2021-06-28T05:16:22.032Z] df20fa9351a1: Download complete [2021-06-28T05:16:22.032Z] 93b9cdb0e59b: Verifying Checksum [2021-06-28T05:16:22.032Z] 93b9cdb0e59b: Download complete [2021-06-28T05:16:22.032Z] 5e14af77c1be: Verifying Checksum [2021-06-28T05:16:22.032Z] 5e14af77c1be: Download complete [2021-06-28T05:16:22.032Z] 01666e4c0597: Verifying Checksum [2021-06-28T05:16:22.032Z] 01666e4c0597: Download complete [2021-06-28T05:16:22.032Z] 93b61091891f: Verifying Checksum [2021-06-28T05:16:22.032Z] 93b61091891f: Download complete [2021-06-28T05:16:22.032Z] 8ad3a11d3b57: Verifying Checksum [2021-06-28T05:16:22.032Z] 8ad3a11d3b57: Download complete [2021-06-28T05:16:22.032Z] df20fa9351a1: Pull complete [2021-06-28T05:16:22.294Z] 36b3adc4ff6f: Pull complete [2021-06-28T05:16:22.872Z] 8ad3a11d3b57: Pull complete [2021-06-28T05:16:23.141Z] 46f8f816bc3b: Pull complete [2021-06-28T05:16:23.405Z] 93b61091891f: Pull complete [2021-06-28T05:16:23.405Z] 93b9cdb0e59b: Pull complete [2021-06-28T05:16:23.405Z] 5e14af77c1be: Pull complete [2021-06-28T05:16:23.668Z] 01666e4c0597: Pull complete [2021-06-28T05:16:23.668Z] aa168da1d23b: Verifying Checksum [2021-06-28T05:16:23.668Z] aa168da1d23b: Download complete [2021-06-28T05:16:27.914Z] aa168da1d23b: Pull complete [2021-06-28T05:16:27.914Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-28T05:16:27.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T05:16:27.914Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-28T05:16:28.019Z] prd-centos7-docker-4c-2g-466 does not seem to be running inside a container [2021-06-28T05:16:28.055Z] $ 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/gexfoundry_device-snmp-go_PR-118/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-118 -v /w/workspace/gexfoundry_device-snmp-go_PR-118:/w/workspace/gexfoundry_device-snmp-go_PR-118:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-118@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-28T05:16:30.308Z] $ docker top 9d755e0ef7bec5fed9eb0771a7d678264ccef6365deff2a486b449b6a617a6df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:16:30.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-28T05:16:31.076Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-28T05:16:31.402Z] + ls /var/log/sa-host [2021-06-28T05:16:31.402Z] + sadf -c /var/log/sa-host/sa05 [2021-06-28T05:16:31.402Z] file_magic: OK [2021-06-28T05:16:31.402Z] HZ: Using current value: 100 [2021-06-28T05:16:31.402Z] file_header: OK [2021-06-28T05:16:31.402Z] 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-06-28T05:16:31.402Z] Statistics: [2021-06-28T05:16:31.402Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T05:16:31.402Z] File successfully converted to sysstat format version 12.2.1 [2021-06-28T05:16:31.402Z] + sadf -c /var/log/sa-host/sa28 [2021-06-28T05:16:31.402Z] file_magic: OK [2021-06-28T05:16:31.402Z] HZ: Using current value: 100 [2021-06-28T05:16:31.402Z] file_header: OK [2021-06-28T05:16:31.402Z] 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-06-28T05:16:31.402Z] Statistics: [2021-06-28T05:16:31.402Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T05:16:31.402Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T05:16:31.671Z] provisioning config files... [2021-06-28T05:16:31.684Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-118@tmp/config6460547836581727659tmp [Pipeline] { [Pipeline] echo [2021-06-28T05:16:31.757Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:16:32.125Z] ---> create-netrc.sh [Pipeline] } [2021-06-28T05:16:32.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:16:32.647Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-28T05:16:32.688Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:16:33.016Z] ---> sudo-logs.sh [2021-06-28T05:16:33.017Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-28T05:16:33.132Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:16:33.491Z] ---> job-cost.sh [2021-06-28T05:16:33.491Z] lf-activate-venv: SKIPPING [2021-06-28T05:16:33.491Z] DEBUG: total: 0.18000000715255737 [2021-06-28T05:16:33.491Z] INFO: Retrieving Stack Cost... [2021-06-28T05:16:34.881Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T05:16:35.142Z] INFO: Archiving Costs [Pipeline] echo [2021-06-28T05:16:35.181Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:16:35.539Z] ---> logs-deploy.sh [2021-06-28T05:16:35.539Z] lf-activate-venv: SKIPPING [2021-06-28T05:16:35.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-118/1 [2021-06-28T05:16:35.539Z] INFO: archiving workspace using pattern(s): [2021-06-28T05:16:36.486Z] Archives upload complete. [2021-06-28T05:16:36.486Z] INFO: archiving logs to Nexus