Pull request #93 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 1a752c343dc5a942457aebd4d0bb012033e616c8+b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 (30ac99fcece723f9e883b70c8d19244971c7bf04) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5429170896583810390.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh2250592695198184550.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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-93/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-93/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5143185823320029795.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh6121931832467979129.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-93/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-93/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5313454063810728204.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-70 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [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/dgexfoundry_device-snmp-go_PR-93 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub [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/dgexfoundry_device-snmp-go_PR-93@tmp/jenkins-gitclient-ssh2721126720585203790.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 Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 1a752c343dc5a942457aebd4d0bb012033e616c8 Merge succeeded, producing 1a752c343dc5a942457aebd4d0bb012033e616c8 Checking out Revision 1a752c343dc5a942457aebd4d0bb012033e616c8 (PR-93) > 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/dgexfoundry_device-snmp-go_PR-93@tmp/jenkins-gitclient-ssh1157705575315377528.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a752c343dc5a942457aebd4d0bb012033e616c8 # 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/dgexfoundry_device-snmp-go_PR-93@tmp/jenkins-gitclient-ssh617573648047774188.key > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a752c343dc5a942457aebd4d0bb012033e616c8 # timeout=10 Commit message: "build: update build files for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-14T04:41:03.486Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-14T04:41:03.607Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-14T04:41:03.636Z] ========================================================= [2021-05-14T04:41:03.636Z] EdgeX Global Pipelines Version Info [2021-05-14T04:41:03.636Z] ========================================================= [Pipeline] libraryResource > git rev-list --no-walk 9b7b00a58de509e871e0dce873d7d6293bc9ce45 # timeout=10 [Pipeline] sh [2021-05-14T04:41:05.545Z] ------------------- [2021-05-14T04:41:05.545Z] stable info: [2021-05-14T04:41:05.545Z] ------------------- [2021-05-14T04:41:05.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-14T04:41:05.545Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T04:41:05.545Z] Message: update stable to v1.0.192 [2021-05-14T04:41:06.123Z] ------------------- [2021-05-14T04:41:06.123Z] experimental info: [2021-05-14T04:41:06.123Z] ------------------- [2021-05-14T04:41:06.123Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-14T04:41:06.123Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T04:41:06.123Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-14T04:41:06.280Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-14T04:41:06.304Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-14T04:41:06.326Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-14T04:41:06.349Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-14T04:41:06.396Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-14T04:41:06.420Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-14T04:41:06.445Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-14T04:41:06.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-14T04:41:06.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-14T04:41:06.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-14T04:41:06.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-14T04:41:06.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-14T04:41:06.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-14T04:41:06.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-14T04:41:06.660Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T04:41:06.683Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T04:41:06.707Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T04:41:06.730Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T04:41:06.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-14T04:41:06.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-14T04:41:06.828Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-14T04:41:06.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-14T04:41:06.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-14T04:41:06.897Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-14T04:41:06.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-14T04:41:06.944Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-14T04:41:06.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo [2021-05-14T04:41:07.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo [2021-05-14T04:41:07.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo [2021-05-14T04:41:07.057Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a752c343dc5a942457aebd4d0bb012033e616c8 [Pipeline] echo [2021-05-14T04:41:07.079Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a752c3 [Pipeline] echo [2021-05-14T04:41:07.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T04:41:07.185Z] provisioning config files... [2021-05-14T04:41:07.205Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config4134172600350765874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:41:07.564Z] ---> docker-login.sh [2021-05-14T04:41:07.564Z] nexus3.edgexfoundry.org:10001 [2021-05-14T04:41:07.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:41:08.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:41:08.094Z] Configure a credential helper to remove this warning. See [2021-05-14T04:41:08.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:41:08.094Z] [2021-05-14T04:41:08.094Z] Login Succeeded [2021-05-14T04:41:08.094Z] nexus3.edgexfoundry.org:10002 [2021-05-14T04:41:08.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:41:08.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:41:08.094Z] Configure a credential helper to remove this warning. See [2021-05-14T04:41:08.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:41:08.094Z] [2021-05-14T04:41:08.094Z] Login Succeeded [2021-05-14T04:41:08.094Z] nexus3.edgexfoundry.org:10003 [2021-05-14T04:41:08.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:41:08.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:41:08.362Z] Configure a credential helper to remove this warning. See [2021-05-14T04:41:08.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:41:08.362Z] [2021-05-14T04:41:08.362Z] Login Succeeded [2021-05-14T04:41:08.362Z] nexus3.edgexfoundry.org:10004 [2021-05-14T04:41:08.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:41:08.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:41:08.626Z] Configure a credential helper to remove this warning. See [2021-05-14T04:41:08.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:41:08.626Z] [2021-05-14T04:41:08.626Z] Login Succeeded [2021-05-14T04:41:08.626Z] docker.io [2021-05-14T04:41:08.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:41:08.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:41:08.891Z] Configure a credential helper to remove this warning. See [2021-05-14T04:41:08.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:41:08.891Z] [2021-05-14T04:41:08.891Z] Login Succeeded [2021-05-14T04:41:08.891Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T04:41:08.903Z] 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-05-14T04:41:09.467Z] + git log --format=format:%s -1 1a752c343dc5a942457aebd4d0bb012033e616c8 [Pipeline] echo [2021-05-14T04:41:09.521Z] GIT_COMMIT: 1a752c343dc5a942457aebd4d0bb012033e616c8, Commit Message: build: update build files for v2 [Pipeline] echo [2021-05-14T04:41:09.534Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:41:10.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T04:41:10.622Z] [2021-05-14T04:41:10.622Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:41:10.949Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T04:41:10.949Z] latest: Pulling from edgex-devops/git-semver [2021-05-14T04:41:10.949Z] 31603596830f: Pulling fs layer [2021-05-14T04:41:10.949Z] 54011a49482f: Pulling fs layer [2021-05-14T04:41:10.949Z] a6820b24f6d8: Pulling fs layer [2021-05-14T04:41:10.949Z] f581987b2513: Pulling fs layer [2021-05-14T04:41:10.949Z] f581987b2513: Waiting [2021-05-14T04:41:10.949Z] 54011a49482f: Verifying Checksum [2021-05-14T04:41:10.949Z] 54011a49482f: Download complete [2021-05-14T04:41:11.214Z] 31603596830f: Verifying Checksum [2021-05-14T04:41:11.214Z] 31603596830f: Download complete [2021-05-14T04:41:11.214Z] a6820b24f6d8: Verifying Checksum [2021-05-14T04:41:11.214Z] a6820b24f6d8: Download complete [2021-05-14T04:41:11.214Z] f581987b2513: Verifying Checksum [2021-05-14T04:41:11.214Z] f581987b2513: Download complete [2021-05-14T04:41:11.492Z] 31603596830f: Pull complete [2021-05-14T04:41:11.758Z] 54011a49482f: Pull complete [2021-05-14T04:41:12.715Z] a6820b24f6d8: Pull complete [2021-05-14T04:41:12.715Z] f581987b2513: Pull complete [2021-05-14T04:41:12.715Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-14T04:41:12.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T04:41:12.979Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-14T04:41:13.088Z] prd-centos7-docker-4c-2g-70 does not seem to be running inside a container [2021-05-14T04:41:13.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-93 -v /w/workspace/dgexfoundry_device-snmp-go_PR-93:/w/workspace/dgexfoundry_device-snmp-go_PR-93:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T04:41:15.004Z] $ docker top 419c2507c88f54e62dc281a5f049018fc6b19d6a8110afaf5e5f4b60ca160355 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T04:41:15.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T04:41:15.159Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T04:41:15.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T04:41:15.380Z] $ docker exec 419c2507c88f54e62dc281a5f049018fc6b19d6a8110afaf5e5f4b60ca160355 ssh-agent [2021-05-14T04:41:15.550Z] SSH_AUTH_SOCK=/tmp/ssh-fvsx4McNYe8u/agent.12 [2021-05-14T04:41:15.550Z] SSH_AGENT_PID=18 [2021-05-14T04:41:15.560Z] Running ssh-add (command line suppressed) [2021-05-14T04:41:15.676Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_7304058004354989957.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_7304058004354989957.key) [2021-05-14T04:41:15.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T04:41:16.040Z] + git tag --points-at HEAD [Pipeline] } [2021-05-14T04:41:16.061Z] $ docker exec --env ******** --env ******** 419c2507c88f54e62dc281a5f049018fc6b19d6a8110afaf5e5f4b60ca160355 ssh-agent -k [2021-05-14T04:41:16.200Z] unset SSH_AUTH_SOCK; [2021-05-14T04:41:16.201Z] unset SSH_AGENT_PID; [2021-05-14T04:41:16.201Z] echo Agent pid 18 killed; [2021-05-14T04:41:16.255Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-14T04:41:16.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T04:41:16.314Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T04:41:16.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T04:41:16.503Z] $ docker exec 419c2507c88f54e62dc281a5f049018fc6b19d6a8110afaf5e5f4b60ca160355 ssh-agent [2021-05-14T04:41:16.671Z] SSH_AUTH_SOCK=/tmp/ssh-FVdE3P1sHDxJ/agent.47 [2021-05-14T04:41:16.671Z] SSH_AGENT_PID=52 [2021-05-14T04:41:16.679Z] Running ssh-add (command line suppressed) [2021-05-14T04:41:16.796Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_6426842442477506918.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_6426842442477506918.key) [2021-05-14T04:41:16.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T04:41:17.165Z] + git semver init [2021-05-14T04:41:17.165Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T04:41:17.166Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.git [2021-05-14T04:41:17.166Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-14T04:41:17.166Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T04:41:17.166Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T04:41:17.166Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T04:41:17.166Z] # $SEMVER_BRANCH = PR-93 [2021-05-14T04:41:17.166Z] # $SEMVER_TEMP = /tmp/semver-400050682 [2021-05-14T04:41:17.166Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-14T04:41:17.431Z] # '/tmp/semver-400050682' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver' [2021-05-14T04:41:17.431Z] # -> Force: false [2021-05-14T04:41:17.431Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver [Pipeline] } [2021-05-14T04:41:17.446Z] $ docker exec --env ******** --env ******** 419c2507c88f54e62dc281a5f049018fc6b19d6a8110afaf5e5f4b60ca160355 ssh-agent -k [2021-05-14T04:41:17.555Z] unset SSH_AUTH_SOCK; [2021-05-14T04:41:17.555Z] unset SSH_AGENT_PID; [2021-05-14T04:41:17.555Z] echo Agent pid 52 killed; [2021-05-14T04:41:17.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T04:41:17.961Z] + git semver [Pipeline] } [2021-05-14T04:41:17.979Z] $ docker stop --time=1 419c2507c88f54e62dc281a5f049018fc6b19d6a8110afaf5e5f4b60ca160355 [2021-05-14T04:41:19.324Z] $ docker rm -f 419c2507c88f54e62dc281a5f049018fc6b19d6a8110afaf5e5f4b60ca160355 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T04:41:19.728Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-14T04:41:20.078Z] Stashed 1 file(s) [Pipeline] echo [2021-05-14T04:41:20.083Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-14T04:41:35.424Z] Still waiting to schedule task [2021-05-14T04:41:35.425Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-70’ [2021-05-14T04:41:35.428Z] Still waiting to schedule task [2021-05-14T04:41:35.429Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-14T04:43:30.298Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-71 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-14T04:43:30.320Z] Running in /w/workspace/device-snmp-go/7 [Pipeline] { [Pipeline] checkout [2021-05-14T04:43:30.668Z] Selected Git installation does not exist. Using Default [2021-05-14T04:43:30.668Z] The recommended git tool is: NONE [2021-05-14T04:43:36.022Z] using credential edgex-jenkins-ssh [2021-05-14T04:43:36.045Z] Cloning the remote Git repository [2021-05-14T04:43:36.095Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-14T04:43:36.218Z] > git init /w/workspace/device-snmp-go/7 # timeout=10 [2021-05-14T04:43:36.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-14T04:43:36.306Z] > git --version # timeout=10 [2021-05-14T04:43:36.318Z] > git --version # 'git version 2.17.1' [2021-05-14T04:43:36.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:43:36.387Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T04:43:37.788Z] Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 1a752c343dc5a942457aebd4d0bb012033e616c8 [2021-05-14T04:43:37.970Z] Merge succeeded, producing 1a752c343dc5a942457aebd4d0bb012033e616c8 [2021-05-14T04:43:37.971Z] Checking out Revision 1a752c343dc5a942457aebd4d0bb012033e616c8 (PR-93) [2021-05-14T04:43:37.123Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-14T04:43:37.139Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T04:43:37.164Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-14T04:43:37.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-14T04:43:37.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:43:37.210Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T04:43:37.808Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T04:43:37.823Z] > git checkout -f 1a752c343dc5a942457aebd4d0bb012033e616c8 # timeout=10 [2021-05-14T04:43:37.896Z] > git remote # timeout=10 [2021-05-14T04:43:37.916Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T04:43:37.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:43:37.940Z] > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 [2021-05-14T04:43:37.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T04:43:37.982Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T04:43:37.991Z] > git checkout -f 1a752c343dc5a942457aebd4d0bb012033e616c8 # timeout=10 [2021-05-14T04:43:42.148Z] Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T04:43:43.641Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-14T04:43:44.053Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T04:43:44.390Z] + sudo service docker restart [2021-05-14T04:43:44.390Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T04:43:47.066Z] provisioning config files... [2021-05-14T04:43:47.095Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/7@tmp/config5340912392676036143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:43:47.471Z] ---> docker-login.sh [2021-05-14T04:43:47.471Z] nexus3.edgexfoundry.org:10001 [2021-05-14T04:43:48.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:43:48.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:43:48.697Z] Configure a credential helper to remove this warning. See [2021-05-14T04:43:48.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:43:48.697Z] [2021-05-14T04:43:48.697Z] Login Succeeded [2021-05-14T04:43:48.697Z] nexus3.edgexfoundry.org:10002 [2021-05-14T04:43:48.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:43:49.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:43:49.249Z] Configure a credential helper to remove this warning. See [2021-05-14T04:43:49.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:43:49.249Z] [2021-05-14T04:43:49.249Z] Login Succeeded [2021-05-14T04:43:49.249Z] nexus3.edgexfoundry.org:10003 [2021-05-14T04:43:49.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:43:49.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:43:49.524Z] Configure a credential helper to remove this warning. See [2021-05-14T04:43:49.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:43:49.524Z] [2021-05-14T04:43:49.524Z] Login Succeeded [2021-05-14T04:43:49.524Z] nexus3.edgexfoundry.org:10004 [2021-05-14T04:43:50.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:43:50.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:43:50.120Z] Configure a credential helper to remove this warning. See [2021-05-14T04:43:50.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:43:50.120Z] [2021-05-14T04:43:50.120Z] Login Succeeded [2021-05-14T04:43:50.120Z] docker.io [2021-05-14T04:43:50.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:43:50.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:43:50.988Z] Configure a credential helper to remove this warning. See [2021-05-14T04:43:50.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:43:50.988Z] [2021-05-14T04:43:50.988Z] Login Succeeded [2021-05-14T04:43:50.988Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T04:43:51.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T04:43:51.328Z] ========================================================= [2021-05-14T04:43:51.328Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-14T04:43:51.328Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:43:51.675Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-14T04:43:51.954Z] Sending build context to Docker daemon 384kB [2021-05-14T04:43:51.954Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T04:43:51.954Z] Step 2/10 : FROM ${BASE} [2021-05-14T04:43:52.232Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-14T04:43:52.232Z] 595b0fe564bb: Pulling fs layer [2021-05-14T04:43:52.232Z] 7186ed65a4f7: Pulling fs layer [2021-05-14T04:43:52.232Z] 316046926c0a: Pulling fs layer [2021-05-14T04:43:52.232Z] 4ebd0625c992: Pulling fs layer [2021-05-14T04:43:52.232Z] 207e8628e3a3: Pulling fs layer [2021-05-14T04:43:52.232Z] c791037a9be2: Pulling fs layer [2021-05-14T04:43:52.232Z] ffd874e62e21: Pulling fs layer [2021-05-14T04:43:52.232Z] 207e8628e3a3: Waiting [2021-05-14T04:43:52.232Z] ffd874e62e21: Waiting [2021-05-14T04:43:52.232Z] c791037a9be2: Waiting [2021-05-14T04:43:52.232Z] 316046926c0a: Verifying Checksum [2021-05-14T04:43:52.232Z] 316046926c0a: Download complete [2021-05-14T04:43:52.232Z] 7186ed65a4f7: Verifying Checksum [2021-05-14T04:43:52.232Z] 7186ed65a4f7: Download complete [2021-05-14T04:43:52.232Z] 207e8628e3a3: Verifying Checksum [2021-05-14T04:43:52.232Z] 207e8628e3a3: Download complete [2021-05-14T04:43:52.232Z] 595b0fe564bb: Download complete [2021-05-14T04:43:52.232Z] c791037a9be2: Download complete [2021-05-14T04:43:52.831Z] 595b0fe564bb: Pull complete [2021-05-14T04:43:53.436Z] 7186ed65a4f7: Pull complete [2021-05-14T04:43:53.718Z] 316046926c0a: Pull complete [2021-05-14T04:43:54.317Z] ffd874e62e21: Download complete [2021-05-14T04:43:55.753Z] 4ebd0625c992: Verifying Checksum [2021-05-14T04:43:55.753Z] 4ebd0625c992: Download complete [2021-05-14T04:44:05.913Z] 4ebd0625c992: Pull complete [2021-05-14T04:44:05.913Z] 207e8628e3a3: Pull complete [2021-05-14T04:44:06.186Z] c791037a9be2: Pull complete [2021-05-14T04:44:10.497Z] ffd874e62e21: Pull complete [2021-05-14T04:44:10.497Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-14T04:44:10.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-14T04:44:10.497Z] ---> cfc18b08335c [2021-05-14T04:44:10.497Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T04:44:12.538Z] ---> Running in dfa882450123 [2021-05-14T04:44:13.135Z] Removing intermediate container dfa882450123 [2021-05-14T04:44:13.135Z] ---> ca8db267b132 [2021-05-14T04:44:13.135Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T04:44:13.135Z] ---> Running in 31824256e493 [2021-05-14T04:44:13.410Z] Removing intermediate container 31824256e493 [2021-05-14T04:44:13.410Z] ---> 3c1a771c5c26 [2021-05-14T04:44:13.410Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-14T04:44:13.687Z] ---> Running in 6ad70a97e6d3 [2021-05-14T04:44:14.281Z] Removing intermediate container 6ad70a97e6d3 [2021-05-14T04:44:14.281Z] ---> 2e03b434047c [2021-05-14T04:44:14.281Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:44:14.281Z] ---> Running in 01346fc41f9a [2021-05-14T04:44:16.951Z] Removing intermediate container 01346fc41f9a [2021-05-14T04:44:16.951Z] ---> 8e35abe5d1be [2021-05-14T04:44:16.951Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T04:44:16.951Z] ---> Running in d891145a1a3e [2021-05-14T04:44:17.950Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T04:44:18.922Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T04:44:19.895Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-14T04:44:19.895Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-14T04:44:19.895Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-14T04:44:19.895Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-14T04:44:20.166Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-14T04:44:20.166Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-14T04:44:20.166Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-14T04:44:20.259Z] Running on prd-centos7-docker-4c-2g-72 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-14T04:44:20.279Z] Running in /w/workspace/device-snmp-go/7 [Pipeline] { [Pipeline] checkout [2021-05-14T04:44:20.435Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-14T04:44:20.587Z] Selected Git installation does not exist. Using Default [2021-05-14T04:44:20.587Z] The recommended git tool is: NONE [2021-05-14T04:44:20.705Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-14T04:44:20.705Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-14T04:44:20.705Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-14T04:44:20.974Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-14T04:44:20.974Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-14T04:44:21.252Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T04:44:21.252Z] OK: 145 MiB in 53 packages [2021-05-14T04:44:22.684Z] Removing intermediate container d891145a1a3e [2021-05-14T04:44:22.684Z] ---> cad44bb49bec [2021-05-14T04:44:22.684Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-14T04:44:22.684Z] ---> Running in 3170149e2a85 [2021-05-14T04:44:23.280Z] Removing intermediate container 3170149e2a85 [2021-05-14T04:44:23.280Z] ---> d577e405fca6 [2021-05-14T04:44:23.280Z] Step 9/10 : COPY . . [2021-05-14T04:44:24.276Z] ---> 2c08d1dfccf0 [2021-05-14T04:44:24.276Z] Step 10/10 : RUN go mod download [2021-05-14T04:44:24.276Z] ---> Running in 25025e18e539 [2021-05-14T04:44:24.589Z] using credential edgex-jenkins-ssh [2021-05-14T04:44:24.606Z] Cloning the remote Git repository [2021-05-14T04:44:24.644Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-14T04:44:24.757Z] > git init /w/workspace/device-snmp-go/7 # timeout=10 [2021-05-14T04:44:24.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-14T04:44:24.846Z] > git --version # timeout=10 [2021-05-14T04:44:24.858Z] > git --version # 'git version 2.24.3' [2021-05-14T04:44:24.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:44:24.894Z] [INFO] Currently running in a labeled security context [2021-05-14T04:44:24.894Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T04:44:24.895Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/7@tmp/jenkins-gitclient-ssh2645375381270414149.key [2021-05-14T04:44:24.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T04:44:26.146Z] Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 1a752c343dc5a942457aebd4d0bb012033e616c8 [2021-05-14T04:44:26.515Z] Merge succeeded, producing 1a752c343dc5a942457aebd4d0bb012033e616c8 [2021-05-14T04:44:26.516Z] Checking out Revision 1a752c343dc5a942457aebd4d0bb012033e616c8 (PR-93) [2021-05-14T04:44:25.504Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-14T04:44:25.526Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T04:44:25.541Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-14T04:44:25.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-14T04:44:25.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:44:25.564Z] [INFO] Currently running in a labeled security context [2021-05-14T04:44:25.564Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T04:44:25.565Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/7@tmp/jenkins-gitclient-ssh1550445576807824026.key [2021-05-14T04:44:25.609Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T04:44:26.160Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T04:44:26.208Z] > git checkout -f 1a752c343dc5a942457aebd4d0bb012033e616c8 # timeout=10 [2021-05-14T04:44:26.307Z] > git remote # timeout=10 [2021-05-14T04:44:26.347Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T04:44:26.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T04:44:26.420Z] [INFO] Currently running in a labeled security context [2021-05-14T04:44:26.420Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T04:44:26.421Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/7@tmp/jenkins-gitclient-ssh1824572068942529615.key [2021-05-14T04:44:26.446Z] > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 [2021-05-14T04:44:26.466Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T04:44:26.521Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T04:44:26.575Z] > git checkout -f 1a752c343dc5a942457aebd4d0bb012033e616c8 # timeout=10 [2021-05-14T04:44:31.339Z] Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T04:44:32.966Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-14T04:44:33.530Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T04:44:33.884Z] + sudo service docker restart [2021-05-14T04:44:33.885Z] + true [2021-05-14T04:44:33.885Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T04:44:35.495Z] provisioning config files... [2021-05-14T04:44:35.528Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/7@tmp/config5602182887946793359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:44:35.897Z] ---> docker-login.sh [2021-05-14T04:44:35.898Z] nexus3.edgexfoundry.org:10001 [2021-05-14T04:44:36.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:44:36.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:44:36.450Z] Configure a credential helper to remove this warning. See [2021-05-14T04:44:36.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:44:36.450Z] [2021-05-14T04:44:36.450Z] Login Succeeded [2021-05-14T04:44:36.450Z] nexus3.edgexfoundry.org:10002 [2021-05-14T04:44:36.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:44:36.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:44:36.723Z] Configure a credential helper to remove this warning. See [2021-05-14T04:44:36.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:44:36.723Z] [2021-05-14T04:44:36.723Z] Login Succeeded [2021-05-14T04:44:36.723Z] nexus3.edgexfoundry.org:10003 [2021-05-14T04:44:37.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:44:37.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:44:37.333Z] Configure a credential helper to remove this warning. See [2021-05-14T04:44:37.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:44:37.333Z] [2021-05-14T04:44:37.333Z] Login Succeeded [2021-05-14T04:44:37.333Z] nexus3.edgexfoundry.org:10004 [2021-05-14T04:44:37.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:44:37.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:44:37.922Z] Configure a credential helper to remove this warning. See [2021-05-14T04:44:37.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:44:37.922Z] [2021-05-14T04:44:37.922Z] Login Succeeded [2021-05-14T04:44:37.922Z] docker.io [2021-05-14T04:44:38.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T04:44:38.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T04:44:38.862Z] Configure a credential helper to remove this warning. See [2021-05-14T04:44:38.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T04:44:38.862Z] [2021-05-14T04:44:38.862Z] Login Succeeded [2021-05-14T04:44:38.862Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T04:44:38.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T04:44:39.285Z] ========================================================= [2021-05-14T04:44:39.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-14T04:44:39.286Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:44:39.706Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-14T04:44:39.707Z] Sending build context to Docker daemon 385kB [2021-05-14T04:44:39.987Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T04:44:39.987Z] Step 2/10 : FROM ${BASE} [2021-05-14T04:44:39.987Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-14T04:44:39.987Z] 540db60ca938: Pulling fs layer [2021-05-14T04:44:39.987Z] adcc1eea9eea: Pulling fs layer [2021-05-14T04:44:39.987Z] 4c4ab2625f07: Pulling fs layer [2021-05-14T04:44:39.987Z] 0510c868ecb4: Pulling fs layer [2021-05-14T04:44:39.987Z] afea3b2eda06: Pulling fs layer [2021-05-14T04:44:39.987Z] 7809a108b3ef: Pulling fs layer [2021-05-14T04:44:39.987Z] f706445af74f: Pulling fs layer [2021-05-14T04:44:39.987Z] 0510c868ecb4: Waiting [2021-05-14T04:44:39.987Z] afea3b2eda06: Waiting [2021-05-14T04:44:39.987Z] 7809a108b3ef: Waiting [2021-05-14T04:44:39.987Z] f706445af74f: Waiting [2021-05-14T04:44:39.987Z] 4c4ab2625f07: Verifying Checksum [2021-05-14T04:44:39.987Z] 4c4ab2625f07: Download complete [2021-05-14T04:44:39.987Z] adcc1eea9eea: Verifying Checksum [2021-05-14T04:44:39.987Z] adcc1eea9eea: Download complete [2021-05-14T04:44:39.987Z] afea3b2eda06: Download complete [2021-05-14T04:44:40.332Z] 7809a108b3ef: Verifying Checksum [2021-05-14T04:44:40.332Z] 7809a108b3ef: Download complete [2021-05-14T04:44:40.332Z] 540db60ca938: Verifying Checksum [2021-05-14T04:44:40.332Z] 540db60ca938: Download complete [2021-05-14T04:44:41.388Z] 540db60ca938: Pull complete [2021-05-14T04:44:41.388Z] adcc1eea9eea: Pull complete [2021-05-14T04:44:41.388Z] 4c4ab2625f07: Pull complete [2021-05-14T04:44:44.143Z] f706445af74f: Verifying Checksum [2021-05-14T04:44:44.143Z] f706445af74f: Download complete [2021-05-14T04:44:46.921Z] 0510c868ecb4: Verifying Checksum [2021-05-14T04:44:46.921Z] 0510c868ecb4: Download complete [2021-05-14T04:44:51.081Z] Removing intermediate container 25025e18e539 [2021-05-14T04:44:51.081Z] ---> 8e0a00b6b28e [2021-05-14T04:44:51.081Z] Successfully built 8e0a00b6b28e [2021-05-14T04:44:51.081Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:44:51.431Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T04:44:51.431Z] . [Pipeline] withDockerContainer [2021-05-14T04:44:51.711Z] prd-ubuntu18.04-docker-arm64-4c-16g-71 does not seem to be running inside a container [2021-05-14T04:44:51.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T04:44:52.456Z] 0510c868ecb4: Pull complete [2021-05-14T04:44:52.733Z] afea3b2eda06: Pull complete [2021-05-14T04:44:53.003Z] 7809a108b3ef: Pull complete [2021-05-14T04:44:53.201Z] $ docker top d6de51ab196c1a4d0b8d7eeaca0d4eaeaea421ec8c19ed5eafd78b17f697953e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:44:54.172Z] + go version [2021-05-14T04:44:54.172Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-14T04:44:54.211Z] $ docker stop --time=1 d6de51ab196c1a4d0b8d7eeaca0d4eaeaea421ec8c19ed5eafd78b17f697953e [2021-05-14T04:44:56.107Z] $ docker rm -f d6de51ab196c1a4d0b8d7eeaca0d4eaeaea421ec8c19ed5eafd78b17f697953e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:44:56.892Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T04:44:56.892Z] . [Pipeline] withDockerContainer [2021-05-14T04:44:57.144Z] prd-ubuntu18.04-docker-arm64-4c-16g-71 does not seem to be running inside a container [2021-05-14T04:44:57.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T04:44:58.360Z] f706445af74f: Pull complete [2021-05-14T04:44:58.361Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-14T04:44:58.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-14T04:44:58.361Z] ---> b068be0155e3 [2021-05-14T04:44:58.361Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T04:44:58.760Z] $ docker top 8dd7c86bd1e0d7cc9a43fd7902075e82f5b57d9fc5cf8827b34d596ff9f1026f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:44:59.735Z] + go mod tidy [2021-05-14T04:44:59.775Z] ---> Running in 733e47be4c36 [2021-05-14T04:44:59.775Z] Removing intermediate container 733e47be4c36 [2021-05-14T04:44:59.775Z] ---> bcb7078831e2 [2021-05-14T04:44:59.775Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T04:44:59.775Z] ---> Running in 5ce8a4ed5836 [2021-05-14T04:45:00.044Z] Removing intermediate container 5ce8a4ed5836 [2021-05-14T04:45:00.044Z] ---> d1aae03e34b6 [2021-05-14T04:45:00.044Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-14T04:45:00.044Z] ---> Running in 1ddaece2baef [2021-05-14T04:45:00.319Z] Removing intermediate container 1ddaece2baef [2021-05-14T04:45:00.319Z] ---> e14e8cafb254 [2021-05-14T04:45:00.319Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:45:00.319Z] ---> Running in 73fc20c926ef [Pipeline] sh [2021-05-14T04:45:00.999Z] + make test [2021-05-14T04:45:00.999Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-14T04:45:01.753Z] Removing intermediate container 73fc20c926ef [2021-05-14T04:45:01.753Z] ---> 9ccc93ed1e94 [2021-05-14T04:45:01.753Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T04:45:01.754Z] ---> Running in 9aecc24a6672 [2021-05-14T04:45:02.444Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-14T04:45:02.711Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T04:45:03.675Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T04:45:04.259Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-14T04:45:04.259Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-14T04:45:04.259Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-14T04:45:04.526Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-14T04:45:04.526Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-14T04:45:04.526Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-14T04:45:04.791Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-14T04:45:05.057Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-14T04:45:05.057Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-14T04:45:05.322Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-14T04:45:05.322Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-14T04:45:05.322Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-14T04:45:05.591Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-14T04:45:05.591Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T04:45:05.591Z] OK: 156 MiB in 53 packages [2021-05-14T04:45:06.548Z] Removing intermediate container 9aecc24a6672 [2021-05-14T04:45:06.548Z] ---> 3396e6a90bf6 [2021-05-14T04:45:06.548Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-14T04:45:06.548Z] ---> Running in f8189649cf99 [2021-05-14T04:45:06.548Z] Removing intermediate container f8189649cf99 [2021-05-14T04:45:06.548Z] ---> 15ff702c920c [2021-05-14T04:45:06.548Z] Step 9/10 : COPY . . [2021-05-14T04:45:07.500Z] ---> 4c815e17a780 [2021-05-14T04:45:07.500Z] Step 10/10 : RUN go mod download [2021-05-14T04:45:07.500Z] ---> Running in 7965449481f1 [2021-05-14T04:45:34.231Z] Removing intermediate container 7965449481f1 [2021-05-14T04:45:34.231Z] ---> dfeba690b298 [2021-05-14T04:45:34.231Z] Successfully built dfeba690b298 [2021-05-14T04:45:34.231Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:45:34.590Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T04:45:34.590Z] . [Pipeline] withDockerContainer [2021-05-14T04:45:34.762Z] prd-centos7-docker-4c-2g-72 does not seem to be running inside a container [2021-05-14T04:45:34.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-14T04:45:35.838Z] $ docker top 871e4472aa58f2cefcc9bd5a40272690a3894d6ad8fb9e285c6ecf5b80febe9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:45:36.323Z] + go version [2021-05-14T04:45:36.323Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-14T04:45:36.345Z] $ docker stop --time=1 871e4472aa58f2cefcc9bd5a40272690a3894d6ad8fb9e285c6ecf5b80febe9e [2021-05-14T04:45:37.756Z] $ docker rm -f 871e4472aa58f2cefcc9bd5a40272690a3894d6ad8fb9e285c6ecf5b80febe9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:45:38.480Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T04:45:38.480Z] . [Pipeline] withDockerContainer [2021-05-14T04:45:38.603Z] prd-centos7-docker-4c-2g-72 does not seem to be running inside a container [2021-05-14T04:45:38.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-14T04:45:39.548Z] $ docker top 53bd32ae42fe920dc3326d86e10902077544f6a699a73b3d73aa15c96c283e33 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:45:40.024Z] + go mod tidy [Pipeline] sh [2021-05-14T04:45:40.933Z] + make test [2021-05-14T04:45:40.933Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-14T04:45:41.894Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-14T04:45:49.489Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-14T04:45:49.489Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements [2021-05-14T04:45:50.088Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-14T04:46:04.164Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-14T04:46:04.164Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2021-05-14T04:46:04.164Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-14T04:46:14.405Z] gofmt -l . [2021-05-14T04:46:14.405Z] [ "`gofmt -l .`" = "" ] [2021-05-14T04:46:14.405Z] ./bin/test-attribution-txt.sh [2021-05-14T04:46:14.994Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-14T04:46:15.032Z] $ docker stop --time=1 53bd32ae42fe920dc3326d86e10902077544f6a699a73b3d73aa15c96c283e33 [2021-05-14T04:46:16.864Z] $ docker rm -f 53bd32ae42fe920dc3326d86e10902077544f6a699a73b3d73aa15c96c283e33 [2021-05-14T04:46:16.914Z] gofmt -l . [2021-05-14T04:46:16.914Z] [ "`gofmt -l .`" = "" ] [2021-05-14T04:46:16.914Z] ./bin/test-attribution-txt.sh [2021-05-14T04:46:16.914Z] ./bin/test-go-mod-tidy.sh [Pipeline] // withDockerContainer [Pipeline] } [2021-05-14T04:46:17.160Z] $ docker stop --time=1 8dd7c86bd1e0d7cc9a43fd7902075e82f5b57d9fc5cf8827b34d596ff9f1026f [2021-05-14T04:46:19.293Z] $ docker rm -f 8dd7c86bd1e0d7cc9a43fd7902075e82f5b57d9fc5cf8827b34d596ff9f1026f [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T04:46:20.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T04:46:20.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T04:46:20.263Z] Warning: overwriting stash ‘coverage-report’ [2021-05-14T04:46:20.749Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-05-14T04:46:21.164Z] Stashed 1 file(s) [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-14T04:46:24.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T04:46:24.669Z] + sudo chown -R jenkins:jenkins . [2021-05-14T04:46:24.700Z] + ls -al . [2021-05-14T04:46:24.700Z] total 132 [2021-05-14T04:46:24.700Z] drwxrwxr-x 7 jenkins jenkins 4096 May 14 04:46 . [2021-05-14T04:46:24.700Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 04:43 .. [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 6 May 14 04:43 .dockerignore [2021-05-14T04:46:24.700Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 04:43 .git [2021-05-14T04:46:24.700Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 04:43 .github [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 272 May 14 04:43 .gitignore [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 14 04:43 Attribution.txt [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 1446 May 14 04:43 Dockerfile [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 14 04:43 Dockerfile.build [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 656 May 14 04:43 Jenkinsfile [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 14 04:43 LICENSE [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 978 May 14 04:43 Makefile [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 14 04:43 README.md [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 5 May 14 04:41 VERSION [2021-05-14T04:46:24.700Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 04:43 bin [2021-05-14T04:46:24.700Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 04:43 cmd [2021-05-14T04:46:24.700Z] -rw-r--r-- 1 jenkins jenkins 8663 May 14 04:45 coverage.out [2021-05-14T04:46:24.700Z] -rw-r--r-- 1 jenkins jenkins 222 May 14 04:46 go.mod [2021-05-14T04:46:24.700Z] -rw-r--r-- 1 jenkins jenkins 21438 May 14 04:45 go.sum [2021-05-14T04:46:24.700Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 04:43 internal [2021-05-14T04:46:24.700Z] -rw-rw-r-- 1 jenkins jenkins 209 May 14 04:43 version.go [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:46:25.098Z] + ls -al . [2021-05-14T04:46:25.098Z] total 108 [2021-05-14T04:46:25.098Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 14 04:46 . [2021-05-14T04:46:25.098Z] drwxrwxr-x. 4 jenkins jenkins 28 May 14 04:44 .. [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 14 04:44 Attribution.txt [2021-05-14T04:46:25.098Z] drwxrwxr-x. 2 jenkins jenkins 87 May 14 04:44 bin [2021-05-14T04:46:25.098Z] drwxrwxr-x. 3 jenkins jenkins 32 May 14 04:44 cmd [2021-05-14T04:46:25.098Z] -rw-r--r--. 1 jenkins jenkins 8663 May 14 04:46 coverage.out [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 1446 May 14 04:44 Dockerfile [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 14 04:44 Dockerfile.build [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 6 May 14 04:44 .dockerignore [2021-05-14T04:46:25.098Z] drwxrwxr-x. 8 jenkins jenkins 179 May 14 04:44 .git [2021-05-14T04:46:25.098Z] drwxrwxr-x. 2 jenkins jenkins 103 May 14 04:44 .github [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 272 May 14 04:44 .gitignore [2021-05-14T04:46:25.098Z] -rw-r--r--. 1 jenkins jenkins 222 May 14 04:46 go.mod [2021-05-14T04:46:25.098Z] -rw-r--r--. 1 jenkins jenkins 21438 May 14 04:45 go.sum [2021-05-14T04:46:25.098Z] drwxrwxr-x. 3 jenkins jenkins 20 May 14 04:44 internal [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 656 May 14 04:44 Jenkinsfile [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 14 04:44 LICENSE [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 978 May 14 04:44 Makefile [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 14 04:44 README.md [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 5 May 14 04:41 VERSION [2021-05-14T04:46:25.098Z] -rw-rw-r--. 1 jenkins jenkins 209 May 14 04:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:46:25.154Z] + 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=1a752c343dc5a942457aebd4d0bb012033e616c8 --label arch=arm64 --label version=0.0.0 . [2021-05-14T04:46:25.417Z] + 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=1a752c343dc5a942457aebd4d0bb012033e616c8 --label arch=amd64 --label version=0.0.0 . [2021-05-14T04:46:25.428Z] Sending build context to Docker daemon 393.2kB [2021-05-14T04:46:25.701Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T04:46:25.701Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-14T04:46:25.701Z] ---> 8e0a00b6b28e [2021-05-14T04:46:25.701Z] Step 3/23 : ARG MAKE='make build' [2021-05-14T04:46:25.701Z] ---> Running in 5ef1a0dff9f6 [2021-05-14T04:46:26.010Z] Sending build context to Docker daemon 394.2kB [2021-05-14T04:46:26.010Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T04:46:26.010Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-14T04:46:26.010Z] ---> dfeba690b298 [2021-05-14T04:46:26.010Z] Step 3/23 : ARG MAKE='make build' [2021-05-14T04:46:26.275Z] ---> Running in c844051b0ee5 [2021-05-14T04:46:26.295Z] Removing intermediate container 5ef1a0dff9f6 [2021-05-14T04:46:26.295Z] ---> 35d5226a7289 [2021-05-14T04:46:26.295Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T04:46:26.295Z] ---> Running in e7aef4900b68 [2021-05-14T04:46:26.551Z] Removing intermediate container c844051b0ee5 [2021-05-14T04:46:26.551Z] ---> 5d1d3e56032f [2021-05-14T04:46:26.551Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T04:46:26.821Z] ---> Running in fe56459e05aa [2021-05-14T04:46:26.821Z] Removing intermediate container fe56459e05aa [2021-05-14T04:46:26.821Z] ---> c3ae32d4b95a [2021-05-14T04:46:26.821Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T04:46:26.890Z] Removing intermediate container e7aef4900b68 [2021-05-14T04:46:26.890Z] ---> cf88c6a0364c [2021-05-14T04:46:26.890Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T04:46:26.890Z] ---> Running in 2f24970b024c [2021-05-14T04:46:27.091Z] ---> Running in a5f39223a15b [2021-05-14T04:46:27.091Z] Removing intermediate container a5f39223a15b [2021-05-14T04:46:27.091Z] ---> 7afb65dd8c5a [2021-05-14T04:46:27.091Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:46:27.360Z] ---> Running in 04ce343d1565 [2021-05-14T04:46:27.490Z] Removing intermediate container 2f24970b024c [2021-05-14T04:46:27.491Z] ---> 112d3e15998d [2021-05-14T04:46:27.491Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T04:46:27.491Z] ---> Running in 7561953939e9 [2021-05-14T04:46:28.330Z] Removing intermediate container 04ce343d1565 [2021-05-14T04:46:28.330Z] ---> 957ceae52639 [2021-05-14T04:46:28.330Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T04:46:28.330Z] ---> Running in e95001da9556 [2021-05-14T04:46:28.911Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T04:46:29.885Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T04:46:30.230Z] Removing intermediate container 7561953939e9 [2021-05-14T04:46:30.230Z] ---> 890c92b6165c [2021-05-14T04:46:30.230Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T04:46:30.230Z] ---> Running in b4047ae4b050 [2021-05-14T04:46:30.524Z] OK: 156 MiB in 53 packages [2021-05-14T04:46:31.205Z] Removing intermediate container e95001da9556 [2021-05-14T04:46:31.205Z] ---> 2bd4824de4a5 [2021-05-14T04:46:31.205Z] Step 8/23 : WORKDIR /device-snmp-go [2021-05-14T04:46:31.208Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T04:46:31.475Z] ---> Running in 1041a5b80d8b [2021-05-14T04:46:31.738Z] Removing intermediate container 1041a5b80d8b [2021-05-14T04:46:31.738Z] ---> adc0e98a94e6 [2021-05-14T04:46:31.738Z] Step 9/23 : COPY . . [2021-05-14T04:46:31.800Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T04:46:32.708Z] ---> b48d10afedf5 [2021-05-14T04:46:32.708Z] Step 10/23 : RUN make update [2021-05-14T04:46:32.708Z] ---> Running in ec3c4f6ce7db [2021-05-14T04:46:32.772Z] OK: 145 MiB in 53 packages [2021-05-14T04:46:33.292Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-14T04:46:33.747Z] Removing intermediate container b4047ae4b050 [2021-05-14T04:46:33.747Z] ---> 5daec6401913 [2021-05-14T04:46:33.747Z] Step 8/23 : WORKDIR /device-snmp-go [2021-05-14T04:46:33.921Z] Removing intermediate container ec3c4f6ce7db [2021-05-14T04:46:33.921Z] ---> 05b7e9867ee4 [2021-05-14T04:46:33.921Z] Step 11/23 : RUN ${MAKE} [2021-05-14T04:46:34.018Z] ---> Running in f604e257c5fb [2021-05-14T04:46:34.197Z] ---> Running in b3add2ca0133 [2021-05-14T04:46:34.614Z] Removing intermediate container f604e257c5fb [2021-05-14T04:46:34.614Z] ---> 559ac1f88d3b [2021-05-14T04:46:34.614Z] Step 9/23 : COPY . . [2021-05-14T04:46:35.152Z] go mod tidy [2021-05-14T04:46:35.427Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd [2021-05-14T04:46:35.595Z] ---> a3c0cb72c375 [2021-05-14T04:46:35.596Z] Step 10/23 : RUN make update [2021-05-14T04:46:35.596Z] ---> Running in efaff67f5b16 [2021-05-14T04:46:36.571Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-14T04:46:38.006Z] Removing intermediate container efaff67f5b16 [2021-05-14T04:46:38.006Z] ---> c7d0ff5dff08 [2021-05-14T04:46:38.006Z] Step 11/23 : RUN ${MAKE} [2021-05-14T04:46:38.006Z] ---> Running in d88cb82461ec [2021-05-14T04:46:38.986Z] go mod tidy [2021-05-14T04:46:39.602Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd [2021-05-14T04:46:50.704Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-14T04:46:56.120Z] Removing intermediate container b3add2ca0133 [2021-05-14T04:46:56.120Z] ---> 322d23cb7ff5 [2021-05-14T04:46:56.120Z] Step 12/23 : FROM alpine:3.12 [2021-05-14T04:46:56.120Z] 3.12: Pulling from library/alpine [2021-05-14T04:46:56.120Z] 339de151aab4: Pulling fs layer [2021-05-14T04:46:56.120Z] 339de151aab4: Download complete [2021-05-14T04:46:56.775Z] 339de151aab4: Pull complete [2021-05-14T04:46:56.776Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T04:46:56.776Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T04:46:56.776Z] ---> 13621d1b12d4 [2021-05-14T04:46:56.776Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-14T04:46:56.776Z] ---> Running in df51bfe0ba31 [2021-05-14T04:46:57.365Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-14T04:46:57.636Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-14T04:46:57.636Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-14T04:46:57.636Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-14T04:46:57.636Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-14T04:46:57.636Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-14T04:46:57.921Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-14T04:46:57.921Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-14T04:46:57.921Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T04:46:57.921Z] OK: 8 MiB in 20 packages [2021-05-14T04:46:58.536Z] Removing intermediate container df51bfe0ba31 [2021-05-14T04:46:58.536Z] ---> b1903bb15cba [2021-05-14T04:46:58.536Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-05-14T04:46:59.520Z] ---> 32d957341cb9 [2021-05-14T04:46:59.520Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-14T04:46:59.791Z] ---> 42444382a514 [2021-05-14T04:46:59.791Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-14T04:47:00.055Z] ---> af16ced9f6c0 [2021-05-14T04:47:00.055Z] Step 17/23 : EXPOSE 49993 [2021-05-14T04:47:00.055Z] ---> Running in dc7ac4a6b8be [2021-05-14T04:47:00.321Z] Removing intermediate container dc7ac4a6b8be [2021-05-14T04:47:00.321Z] ---> e8564128b86c [2021-05-14T04:47:00.321Z] Step 18/23 : EXPOSE 161 [2021-05-14T04:47:00.321Z] ---> Running in 2cb4973a1548 [2021-05-14T04:47:00.587Z] Removing intermediate container 2cb4973a1548 [2021-05-14T04:47:00.587Z] ---> f0402782541b [2021-05-14T04:47:00.587Z] Step 19/23 : ENTRYPOINT ["/device-snmp-go"] [2021-05-14T04:47:00.587Z] ---> Running in 3330a960da8c [2021-05-14T04:47:00.858Z] Removing intermediate container 3330a960da8c [2021-05-14T04:47:00.858Z] ---> 158d3888eff2 [2021-05-14T04:47:00.858Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-14T04:47:00.858Z] ---> Running in f42725d937e3 [2021-05-14T04:47:01.126Z] Removing intermediate container f42725d937e3 [2021-05-14T04:47:01.126Z] ---> ade58310b0f7 [2021-05-14T04:47:01.126Z] Step 21/23 : LABEL arch=amd64 [2021-05-14T04:47:01.126Z] ---> Running in 9c285a256d85 [2021-05-14T04:47:01.391Z] Removing intermediate container 9c285a256d85 [2021-05-14T04:47:01.391Z] ---> 4a48c8730526 [2021-05-14T04:47:01.391Z] Step 22/23 : LABEL git_sha=1a752c343dc5a942457aebd4d0bb012033e616c8 [2021-05-14T04:47:01.391Z] ---> Running in 93b276507569 [2021-05-14T04:47:01.657Z] Removing intermediate container 93b276507569 [2021-05-14T04:47:01.657Z] ---> 35d537c91076 [2021-05-14T04:47:01.657Z] Step 23/23 : LABEL version=0.0.0 [2021-05-14T04:47:01.657Z] ---> Running in b874f10dd74d [2021-05-14T04:47:01.923Z] Removing intermediate container b874f10dd74d [2021-05-14T04:47:01.923Z] ---> 01ae1a7debc0 [2021-05-14T04:47:01.923Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-14T04:47:01.923Z] Successfully built 01ae1a7debc0 [2021-05-14T04:47:01.923Z] 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-05-14T04:47:02.840Z] ---> job-cost.sh [2021-05-14T04:47:02.841Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-h889 [2021-05-14T04:47:11.988Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-14T04:47:21.075Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T04:47:22.129Z] Removing intermediate container d88cb82461ec [2021-05-14T04:47:22.129Z] ---> a6eef381ef0d [2021-05-14T04:47:22.129Z] Step 12/23 : FROM alpine:3.12 [2021-05-14T04:47:22.129Z] 3.12: Pulling from library/alpine [2021-05-14T04:47:22.129Z] d2f70382dc9a: Pulling fs layer [2021-05-14T04:47:22.129Z] d2f70382dc9a: Verifying Checksum [2021-05-14T04:47:22.129Z] d2f70382dc9a: Download complete [2021-05-14T04:47:22.129Z] d2f70382dc9a: Pull complete [2021-05-14T04:47:22.129Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T04:47:22.129Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T04:47:22.129Z] ---> 9852663dfa18 [2021-05-14T04:47:22.129Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-14T04:47:22.402Z] ---> Running in c5880b602739 [2021-05-14T04:47:23.374Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-14T04:47:23.643Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-14T04:47:24.231Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-14T04:47:24.231Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-14T04:47:24.231Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-14T04:47:24.231Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-14T04:47:24.231Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-14T04:47:24.231Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-14T04:47:24.231Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T04:47:24.231Z] OK: 8 MiB in 20 packages [2021-05-14T04:47:25.662Z] Removing intermediate container c5880b602739 [2021-05-14T04:47:25.662Z] ---> 5dac007d7b00 [2021-05-14T04:47:25.662Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-05-14T04:47:26.635Z] ---> 070952789327 [2021-05-14T04:47:26.635Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-14T04:47:27.232Z] ---> 40ff60122347 [2021-05-14T04:47:27.232Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-14T04:47:28.207Z] ---> 40304b4a0823 [2021-05-14T04:47:28.207Z] Step 17/23 : EXPOSE 49993 [2021-05-14T04:47:28.207Z] ---> Running in b62748769cec [2021-05-14T04:47:28.800Z] Removing intermediate container b62748769cec [2021-05-14T04:47:28.800Z] ---> e5c5a9909ae4 [2021-05-14T04:47:28.800Z] Step 18/23 : EXPOSE 161 [2021-05-14T04:47:28.800Z] ---> Running in 857cb01f9fc6 [2021-05-14T04:47:29.071Z] Removing intermediate container 857cb01f9fc6 [2021-05-14T04:47:29.071Z] ---> e67462a3799c [2021-05-14T04:47:29.071Z] Step 19/23 : ENTRYPOINT ["/device-snmp-go"] [2021-05-14T04:47:29.341Z] ---> Running in 6a3dd094d347 [2021-05-14T04:47:29.614Z] Removing intermediate container 6a3dd094d347 [2021-05-14T04:47:29.614Z] ---> 32bdcd350585 [2021-05-14T04:47:29.615Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-14T04:47:29.890Z] ---> Running in de1171114455 [2021-05-14T04:47:30.161Z] Removing intermediate container de1171114455 [2021-05-14T04:47:30.161Z] ---> ef8aee9975ce [2021-05-14T04:47:30.161Z] Step 21/23 : LABEL arch=arm64 [2021-05-14T04:47:30.434Z] ---> Running in 75b6147d246f [2021-05-14T04:47:30.707Z] Removing intermediate container 75b6147d246f [2021-05-14T04:47:30.707Z] ---> 22121534f6cb [2021-05-14T04:47:30.707Z] Step 22/23 : LABEL git_sha=1a752c343dc5a942457aebd4d0bb012033e616c8 [2021-05-14T04:47:30.980Z] ---> Running in 0d6dc3e9130a [2021-05-14T04:47:31.254Z] Removing intermediate container 0d6dc3e9130a [2021-05-14T04:47:31.254Z] ---> f0dca90991f7 [2021-05-14T04:47:31.254Z] Step 23/23 : LABEL version=0.0.0 [2021-05-14T04:47:31.526Z] ---> Running in f06e970bf5f6 [2021-05-14T04:47:32.118Z] Removing intermediate container f06e970bf5f6 [2021-05-14T04:47:32.118Z] ---> d6926616a8c0 [2021-05-14T04:47:32.118Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-14T04:47:32.118Z] Successfully built d6926616a8c0 [2021-05-14T04:47:32.118Z] 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-05-14T04:47:32.685Z] ---> job-cost.sh [2021-05-14T04:47:32.685Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ioqE [2021-05-14T04:47:53.302Z] lf-activate-venv(): INFO: Adding /tmp/venv-h889/bin to PATH [2021-05-14T04:47:53.302Z] INFO: No Stack... [2021-05-14T04:47:53.302Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T04:47:53.302Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T04:47:53.644Z] + cat /w/workspace/device-snmp-go/7/archives/cost.csv [2021-05-14T04:47:53.644Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T04:47:53.711Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-7-stack-cost] [2021-05-14T04:47:53.721Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-7-stack-cost] did not exist. Created. [2021-05-14T04:47:53.721Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T04:47:54.073Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-14T04:47:54.236Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T04:47:54.251Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T04:48:11.631Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T04:49:33.379Z] lf-activate-venv(): INFO: Adding /tmp/venv-ioqE/bin to PATH [2021-05-14T04:49:33.379Z] INFO: No Stack... [2021-05-14T04:49:33.379Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-14T04:49:33.379Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T04:49:33.723Z] + cat /w/workspace/device-snmp-go/7/archives/cost.csv [2021-05-14T04:49:33.724Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T04:49:33.783Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-7-stack-cost] [2021-05-14T04:49:33.794Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-7-stack-cost] did not exist. Created. [2021-05-14T04:49:33.795Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T04:49:34.157Z] /w/workspace/device-snmp-go/7@tmp/durable-b6d32246/script.sh: 1: /w/workspace/device-snmp-go/7@tmp/durable-b6d32246/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-14T04:49:34.498Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-14T04:49:34.530Z] Warning: overwriting stash ‘stack-cost’ [2021-05-14T04:49:34.675Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T04:49:34.683Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-7-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-05-14T04:49:35.720Z] provisioning config files... [2021-05-14T04:49:35.734Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config5307346193228385037tmp [Pipeline] { [Pipeline] sh [2021-05-14T04:49:36.068Z] + set +x [2021-05-14T04:49:36.068Z] + curl -s https://codecov.io/bash [2021-05-14T04:49:36.068Z] + bash -s -- [2021-05-14T04:49:36.332Z] [2021-05-14T04:49:36.332Z] _____ _ [2021-05-14T04:49:36.332Z] / ____| | | [2021-05-14T04:49:36.332Z] | | ___ __| | ___ ___ _____ __ [2021-05-14T04:49:36.332Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-14T04:49:36.332Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-14T04:49:36.332Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-14T04:49:36.332Z] Bash-1.0.2 [2021-05-14T04:49:36.332Z] [2021-05-14T04:49:36.332Z] [2021-05-14T04:49:36.332Z] ==> git version 2.24.3 found [2021-05-14T04:49:36.332Z] ==> 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-05-14T04:49:36.332Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-14T04:49:36.332Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-14T04:49:36.332Z] ==> Jenkins CI detected. [2021-05-14T04:49:36.332Z] project root: . [2021-05-14T04:49:36.332Z] --> token set from env [2021-05-14T04:49:36.332Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-14T04:49:36.332Z] ==> Running gcov in . (disable via -X gcov) [2021-05-14T04:49:36.332Z] ==> Python coveragepy not found [2021-05-14T04:49:36.332Z] ==> Searching for coverage reports in: [2021-05-14T04:49:36.332Z] + . [2021-05-14T04:49:36.332Z] -> Found 1 reports [2021-05-14T04:49:36.332Z] ==> Detecting git/mercurial file structure [2021-05-14T04:49:36.332Z] ==> Reading reports [2021-05-14T04:49:36.332Z] + ./coverage.out bytes=8663 [2021-05-14T04:49:36.332Z] ==> Appending adjustments [2021-05-14T04:49:36.332Z] https://docs.codecov.io/docs/fixing-reports [2021-05-14T04:49:36.332Z] + Found adjustments [2021-05-14T04:49:36.332Z] ==> Gzipping contents [2021-05-14T04:49:36.333Z] 4.0K /tmp/codecov.ohkplX.gz [2021-05-14T04:49:36.333Z] ==> Uploading reports [2021-05-14T04:49:36.333Z] url: https://codecov.io [2021-05-14T04:49:36.333Z] query: branch=PR-93&commit=1a752c343dc5a942457aebd4d0bb012033e616c8&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-14T04:49:36.333Z] -> Pinging Codecov [2021-05-14T04:49:36.333Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-93&commit=1a752c343dc5a942457aebd4d0bb012033e616c8&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-14T04:49:37.283Z] -> Uploading to [2021-05-14T04:49:37.283Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-14/6C56EA5C29638FB4528AC87E60AF5AE0/1a752c343dc5a942457aebd4d0bb012033e616c8/b4cc1df4-a829-4a2e-8ab4-664772e05859.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210514%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210514T044936Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=764f90ff3ef6ab6218445c11a392bab049b82265315ca9bf87379d8d49c284d2 [2021-05-14T04:49:37.283Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-14T04:49:37.283Z] Dload Upload Total Spent Left Speed [2021-05-14T04:49:37.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1498 0 0 100 1498 0 3151 --:--:-- --:--:-- --:--:-- 3153 [2021-05-14T04:49:37.546Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/1a752c343dc5a942457aebd4d0bb012033e616c8 [Pipeline] } [2021-05-14T04:49:37.557Z] 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-05-14T04:49:39.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:49:39.840Z] ---> package-listing.sh [2021-05-14T04:49:39.840Z] ++ facter osfamily [2021-05-14T04:49:39.840Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-14T04:49:39.840Z] + OS_FAMILY=redhat [2021-05-14T04:49:39.840Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-14T04:49:39.840Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-14T04:49:39.840Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-14T04:49:39.840Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-14T04:49:39.840Z] + PACKAGES=/tmp/packages_start.txt [2021-05-14T04:49:39.840Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-14T04:49:39.840Z] + PACKAGES=/tmp/packages_end.txt [2021-05-14T04:49:39.840Z] + case "${OS_FAMILY}" in [2021-05-14T04:49:39.840Z] + rpm -qa [2021-05-14T04:49:39.840Z] + sort [2021-05-14T04:49:45.182Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-14T04:49:45.182Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-14T04:49:45.182Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-14T04:49:45.182Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-14T04:49:45.182Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [2021-05-14T04:49:45.182Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [Pipeline] echo [2021-05-14T04:49:45.196Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-14T04:49:45.494Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:49:45.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T04:49:45.990Z] [2021-05-14T04:49:45.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-14T04:49:46.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T04:49:46.355Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-14T04:49:46.355Z] df20fa9351a1: Pulling fs layer [2021-05-14T04:49:46.355Z] 36b3adc4ff6f: Pulling fs layer [2021-05-14T04:49:46.355Z] 8ad3a11d3b57: Pulling fs layer [2021-05-14T04:49:46.355Z] 46f8f816bc3b: Pulling fs layer [2021-05-14T04:49:46.355Z] 93b61091891f: Pulling fs layer [2021-05-14T04:49:46.355Z] 93b9cdb0e59b: Pulling fs layer [2021-05-14T04:49:46.355Z] 5e14af77c1be: Pulling fs layer [2021-05-14T04:49:46.355Z] 01666e4c0597: Pulling fs layer [2021-05-14T04:49:46.355Z] aa168da1d23b: Pulling fs layer [2021-05-14T04:49:46.355Z] 93b9cdb0e59b: Waiting [2021-05-14T04:49:46.355Z] 5e14af77c1be: Waiting [2021-05-14T04:49:46.355Z] aa168da1d23b: Waiting [2021-05-14T04:49:46.355Z] 01666e4c0597: Waiting [2021-05-14T04:49:46.355Z] 93b61091891f: Waiting [2021-05-14T04:49:46.355Z] 46f8f816bc3b: Waiting [2021-05-14T04:49:46.355Z] 36b3adc4ff6f: Download complete [2021-05-14T04:49:46.355Z] 46f8f816bc3b: Verifying Checksum [2021-05-14T04:49:46.355Z] 46f8f816bc3b: Download complete [2021-05-14T04:49:46.635Z] df20fa9351a1: Verifying Checksum [2021-05-14T04:49:46.635Z] 93b9cdb0e59b: Verifying Checksum [2021-05-14T04:49:46.635Z] 93b9cdb0e59b: Download complete [2021-05-14T04:49:46.635Z] 5e14af77c1be: Verifying Checksum [2021-05-14T04:49:46.635Z] 5e14af77c1be: Download complete [2021-05-14T04:49:46.635Z] 01666e4c0597: Verifying Checksum [2021-05-14T04:49:46.635Z] 01666e4c0597: Download complete [2021-05-14T04:49:46.901Z] 8ad3a11d3b57: Verifying Checksum [2021-05-14T04:49:46.901Z] 8ad3a11d3b57: Download complete [2021-05-14T04:49:46.901Z] df20fa9351a1: Pull complete [2021-05-14T04:49:47.163Z] 36b3adc4ff6f: Pull complete [2021-05-14T04:49:47.748Z] 8ad3a11d3b57: Pull complete [2021-05-14T04:49:48.327Z] 46f8f816bc3b: Pull complete [2021-05-14T04:49:48.904Z] aa168da1d23b: Verifying Checksum [2021-05-14T04:49:48.904Z] aa168da1d23b: Download complete [2021-05-14T04:49:49.167Z] 93b61091891f: Pull complete [2021-05-14T04:49:49.430Z] 93b9cdb0e59b: Pull complete [2021-05-14T04:49:49.430Z] 5e14af77c1be: Pull complete [2021-05-14T04:49:49.699Z] 01666e4c0597: Pull complete [2021-05-14T04:49:57.909Z] aa168da1d23b: Pull complete [2021-05-14T04:49:57.909Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-14T04:49:57.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T04:49:57.909Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-14T04:49:58.120Z] prd-centos7-docker-4c-2g-70 does not seem to be running inside a container [2021-05-14T04:49:58.175Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-93 -v /w/workspace/dgexfoundry_device-snmp-go_PR-93:/w/workspace/dgexfoundry_device-snmp-go_PR-93:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-14T04:50:02.041Z] $ docker top f0297691bc60ee36c3e5fc29a1063c23ba9d353e07b73365631923019626162b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T04:50:02.451Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-14T04:50:02.749Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-14T04:50:03.054Z] + ls /var/log/sa-host [2021-05-14T04:50:03.055Z] + sadf -c /var/log/sa-host/sa14 [2021-05-14T04:50:03.055Z] file_magic: OK [2021-05-14T04:50:03.055Z] HZ: Using current value: 100 [2021-05-14T04:50:03.055Z] file_header: OK [2021-05-14T04:50:03.055Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-14T04:50:03.055Z] Statistics: [2021-05-14T04:50:03.055Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-14T04:50:03.055Z] File successfully converted to sysstat format version 12.2.1 [2021-05-14T04:50:03.055Z] + sadf -c /var/log/sa-host/sa23 [2021-05-14T04:50:03.055Z] file_magic: OK [2021-05-14T04:50:03.055Z] HZ: Using current value: 100 [2021-05-14T04:50:03.055Z] file_header: OK [2021-05-14T04:50:03.055Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-14T04:50:03.055Z] Statistics: [2021-05-14T04:50:03.055Z] Hnuu...uuuununununu... [2021-05-14T04:50:03.055Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T04:50:03.287Z] provisioning config files... [2021-05-14T04:50:03.302Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config2709721224390190445tmp [Pipeline] { [Pipeline] echo [2021-05-14T04:50:03.328Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:50:03.633Z] ---> create-netrc.sh [Pipeline] } [2021-05-14T04:50:03.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-14T04:50:03.672Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:50:03.974Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-14T04:50:03.986Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:50:04.285Z] ---> sudo-logs.sh [2021-05-14T04:50:04.285Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-14T04:50:04.321Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:50:04.624Z] ---> job-cost.sh [2021-05-14T04:50:04.624Z] lf-activate-venv: SKIPPING [2021-05-14T04:50:04.624Z] DEBUG: total: 0.20999999344348907 [2021-05-14T04:50:04.624Z] INFO: Retrieving Stack Cost... [2021-05-14T04:50:05.574Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T04:50:05.837Z] INFO: Archiving Costs [Pipeline] echo [2021-05-14T04:50:05.852Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T04:50:06.152Z] ---> logs-deploy.sh [2021-05-14T04:50:06.153Z] lf-activate-venv: SKIPPING [2021-05-14T04:50:06.153Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-93/7 [2021-05-14T04:50:06.153Z] INFO: archiving workspace using pattern(s): [2021-05-14T04:50:08.076Z] Archives upload complete. [2021-05-14T04:50:08.076Z] INFO: archiving logs to Nexus