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 ab1d562a6c37c7609360ddb561e6a9b6127c32e3+b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 (8ccba1c94819117a26f2b793e41a918f7a7da689) 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-ssh3883478646869222515.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-ssh4410613886773162373.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-ssh32176378868579081.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-ssh8509253581004298109.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-ssh626935567739582298.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14941 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/jenkins-gitclient-ssh3311363829659172689.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/jenkins-gitclient-ssh941434620075165003.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 Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit ab1d562a6c37c7609360ddb561e6a9b6127c32e3 Merge succeeded, producing ab1d562a6c37c7609360ddb561e6a9b6127c32e3 Checking out Revision ab1d562a6c37c7609360ddb561e6a9b6127c32e3 (PR-93) > git config core.sparsecheckout # timeout=10 > git checkout -f ab1d562a6c37c7609360ddb561e6a9b6127c32e3 # 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-ssh4583596622366327874.key > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab1d562a6c37c7609360ddb561e6a9b6127c32e3 # 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-19T01:55:38.726Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-19T01:55:38.812Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-19T01:55:38.841Z] ========================================================= [2021-05-19T01:55:38.841Z] EdgeX Global Pipelines Version Info [2021-05-19T01:55:38.841Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1a752c343dc5a942457aebd4d0bb012033e616c8 # timeout=10 [2021-05-19T01:55:40.270Z] ------------------- [2021-05-19T01:55:40.271Z] stable info: [2021-05-19T01:55:40.271Z] ------------------- [2021-05-19T01:55:40.271Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-19T01:55:40.271Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T01:55:40.271Z] Message: update stable to v1.0.192 [2021-05-19T01:55:40.855Z] ------------------- [2021-05-19T01:55:40.855Z] experimental info: [2021-05-19T01:55:40.855Z] ------------------- [2021-05-19T01:55:40.855Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-19T01:55:40.855Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T01:55:40.855Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-19T01:55:40.986Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-19T01:55:41.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-19T01:55:41.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-19T01:55:41.057Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-19T01:55:41.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-19T01:55:41.103Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-19T01:55:41.127Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-19T01:55:41.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-19T01:55:41.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-19T01:55:41.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-19T01:55:41.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-19T01:55:41.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-19T01:55:41.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-19T01:55:41.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-19T01:55:41.389Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-19T01:55:41.412Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-19T01:55:41.436Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T01:55:41.458Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T01:55:41.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-19T01:55:41.506Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-19T01:55:41.531Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-19T01:55:41.554Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-19T01:55:41.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-19T01:55:41.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-19T01:55:41.633Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-19T01:55:41.678Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-19T01:55:41.702Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo [2021-05-19T01:55:41.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo [2021-05-19T01:55:41.752Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo [2021-05-19T01:55:41.778Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [Pipeline] echo [2021-05-19T01:55:41.801Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab1d562 [Pipeline] echo [2021-05-19T01:55:41.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T01:55:41.916Z] provisioning config files... [2021-05-19T01:55:41.931Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config432546277173240274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T01:55:42.244Z] ---> docker-login.sh [2021-05-19T01:55:42.244Z] nexus3.edgexfoundry.org:10001 [2021-05-19T01:55:42.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:55:42.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:55:42.515Z] Configure a credential helper to remove this warning. See [2021-05-19T01:55:42.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:55:42.515Z] [2021-05-19T01:55:42.515Z] Login Succeeded [2021-05-19T01:55:42.515Z] nexus3.edgexfoundry.org:10002 [2021-05-19T01:55:42.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:55:42.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:55:42.515Z] Configure a credential helper to remove this warning. See [2021-05-19T01:55:42.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:55:42.515Z] [2021-05-19T01:55:42.515Z] Login Succeeded [2021-05-19T01:55:42.515Z] nexus3.edgexfoundry.org:10003 [2021-05-19T01:55:42.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:55:42.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:55:42.777Z] Configure a credential helper to remove this warning. See [2021-05-19T01:55:42.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:55:42.777Z] [2021-05-19T01:55:42.777Z] Login Succeeded [2021-05-19T01:55:42.777Z] nexus3.edgexfoundry.org:10004 [2021-05-19T01:55:42.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:55:42.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:55:42.777Z] Configure a credential helper to remove this warning. See [2021-05-19T01:55:42.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:55:42.777Z] [2021-05-19T01:55:42.777Z] Login Succeeded [2021-05-19T01:55:42.777Z] docker.io [2021-05-19T01:55:42.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:55:43.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:55:43.040Z] Configure a credential helper to remove this warning. See [2021-05-19T01:55:43.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:55:43.040Z] [2021-05-19T01:55:43.040Z] Login Succeeded [2021-05-19T01:55:43.040Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T01:55:43.051Z] 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-19T01:55:43.549Z] + git log --format=format:%s -1 ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [Pipeline] echo [2021-05-19T01:55:43.588Z] GIT_COMMIT: ab1d562a6c37c7609360ddb561e6a9b6127c32e3, Commit Message: build: update build files for v2 [Pipeline] echo [2021-05-19T01:55:43.601Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-19T01:55:44.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T01:55:44.204Z] [2021-05-19T01:55:44.204Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T01:55:44.529Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T01:55:44.529Z] latest: Pulling from edgex-devops/git-semver [2021-05-19T01:55:44.529Z] 31603596830f: Pulling fs layer [2021-05-19T01:55:44.529Z] 54011a49482f: Pulling fs layer [2021-05-19T01:55:44.529Z] a6820b24f6d8: Pulling fs layer [2021-05-19T01:55:44.529Z] f581987b2513: Pulling fs layer [2021-05-19T01:55:44.529Z] f581987b2513: Waiting [2021-05-19T01:55:44.529Z] 54011a49482f: Verifying Checksum [2021-05-19T01:55:44.529Z] 54011a49482f: Download complete [2021-05-19T01:55:44.529Z] 31603596830f: Verifying Checksum [2021-05-19T01:55:44.529Z] 31603596830f: Download complete [2021-05-19T01:55:44.794Z] f581987b2513: Verifying Checksum [2021-05-19T01:55:44.794Z] f581987b2513: Download complete [2021-05-19T01:55:44.794Z] a6820b24f6d8: Verifying Checksum [2021-05-19T01:55:44.794Z] a6820b24f6d8: Download complete [2021-05-19T01:55:44.794Z] 31603596830f: Pull complete [2021-05-19T01:55:44.794Z] 54011a49482f: Pull complete [2021-05-19T01:55:45.750Z] a6820b24f6d8: Pull complete [2021-05-19T01:55:45.750Z] f581987b2513: Pull complete [2021-05-19T01:55:45.750Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-19T01:55:45.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T01:55:45.750Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-19T01:55:45.835Z] prd-centos7-docker-4c-2g-14941 does not seem to be running inside a container [2021-05-19T01:55:45.888Z] $ 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-19T01:55:46.843Z] $ docker top 48bca125fcc180bcec689811ca8a22c7404a38f0006e0e42527f913a2e8c19a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T01:55:46.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T01:55:46.980Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T01:55:47.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T01:55:47.081Z] $ docker exec 48bca125fcc180bcec689811ca8a22c7404a38f0006e0e42527f913a2e8c19a7 ssh-agent [2021-05-19T01:55:47.190Z] SSH_AUTH_SOCK=/tmp/ssh-LKoisuIWTOhK/agent.14 [2021-05-19T01:55:47.190Z] SSH_AGENT_PID=21 [2021-05-19T01:55:47.198Z] Running ssh-add (command line suppressed) [2021-05-19T01:55:47.291Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_6420534937435829849.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_6420534937435829849.key) [2021-05-19T01:55:47.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T01:55:47.612Z] + git tag --points-at HEAD [Pipeline] } [2021-05-19T01:55:47.626Z] $ docker exec --env ******** --env ******** 48bca125fcc180bcec689811ca8a22c7404a38f0006e0e42527f913a2e8c19a7 ssh-agent -k [2021-05-19T01:55:47.715Z] unset SSH_AUTH_SOCK; [2021-05-19T01:55:47.715Z] unset SSH_AGENT_PID; [2021-05-19T01:55:47.715Z] echo Agent pid 21 killed; [2021-05-19T01:55:47.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-19T01:55:47.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T01:55:47.774Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T01:55:47.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T01:55:47.892Z] $ docker exec 48bca125fcc180bcec689811ca8a22c7404a38f0006e0e42527f913a2e8c19a7 ssh-agent [2021-05-19T01:55:47.992Z] SSH_AUTH_SOCK=/tmp/ssh-hhzD6a5zKRn2/agent.55 [2021-05-19T01:55:47.992Z] SSH_AGENT_PID=62 [2021-05-19T01:55:47.999Z] Running ssh-add (command line suppressed) [2021-05-19T01:55:48.109Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_3056071957438496943.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_3056071957438496943.key) [2021-05-19T01:55:48.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T01:55:48.428Z] + git semver init [2021-05-19T01:55:48.428Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T01:55:48.428Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.git [2021-05-19T01:55:48.428Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-19T01:55:48.428Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T01:55:48.428Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T01:55:48.428Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T01:55:48.428Z] # $SEMVER_BRANCH = PR-93 [2021-05-19T01:55:48.428Z] # $SEMVER_TEMP = /tmp/semver-290313092 [2021-05-19T01:55:48.428Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-19T01:55:48.701Z] # '/tmp/semver-290313092' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver' [2021-05-19T01:55:48.701Z] # -> Force: false [2021-05-19T01:55:48.701Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver [Pipeline] } [2021-05-19T01:55:48.722Z] $ docker exec --env ******** --env ******** 48bca125fcc180bcec689811ca8a22c7404a38f0006e0e42527f913a2e8c19a7 ssh-agent -k [2021-05-19T01:55:48.813Z] unset SSH_AUTH_SOCK; [2021-05-19T01:55:48.814Z] unset SSH_AGENT_PID; [2021-05-19T01:55:48.814Z] echo Agent pid 62 killed; [2021-05-19T01:55:48.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T01:55:49.187Z] + git semver [Pipeline] } [2021-05-19T01:55:49.206Z] $ docker stop --time=1 48bca125fcc180bcec689811ca8a22c7404a38f0006e0e42527f913a2e8c19a7 [2021-05-19T01:55:50.414Z] $ docker rm -f 48bca125fcc180bcec689811ca8a22c7404a38f0006e0e42527f913a2e8c19a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T01:55:50.768Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-19T01:55:51.025Z] Stashed 1 file(s) [Pipeline] echo [2021-05-19T01:55:51.029Z] [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-19T01:56:06.310Z] Still waiting to schedule task [2021-05-19T01:56:06.310Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-19T01:56:06.313Z] Still waiting to schedule task [2021-05-19T01:56:06.313Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-19T01:56:06.313Z] ‘prd-centos7-docker-4c-2g-14925’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-19T01:56:06.313Z] ‘prd-centos7-docker-4c-2g-14931’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-19T01:56:06.313Z] ‘prd-centos7-docker-4c-2g-14932’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-19T01:56:06.313Z] ‘prd-centos7-docker-4c-2g-309’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-19T01:56:06.313Z] ‘prd-ubuntu18.04-docker-8c-8g-14935’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-19T01:56:06.313Z] ‘prd-ubuntu18.04-docker-8c-8g-14943’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-19T01:56:06.313Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14930’ is offline [2021-05-19T01:56:06.313Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14934’ is offline [2021-05-19T01:56:06.314Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14940’ is offline [2021-05-19T01:57:55.233Z] Running on prd-centos7-docker-4c-2g-14946 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-19T01:57:55.264Z] Running in /w/workspace/device-snmp-go/8 [Pipeline] { [Pipeline] checkout [2021-05-19T01:57:55.382Z] Selected Git installation does not exist. Using Default [2021-05-19T01:57:55.382Z] The recommended git tool is: NONE [2021-05-19T01:57:57.783Z] using credential edgex-jenkins-ssh [2021-05-19T01:57:57.800Z] Cloning the remote Git repository [2021-05-19T01:57:57.819Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-19T01:57:57.883Z] > git init /w/workspace/device-snmp-go/8 # timeout=10 [2021-05-19T01:57:57.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-19T01:57:57.919Z] > git --version # timeout=10 [2021-05-19T01:57:57.928Z] > git --version # 'git version 2.24.4' [2021-05-19T01:57:57.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T01:57:57.960Z] [INFO] Currently running in a labeled security context [2021-05-19T01:57:57.961Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T01:57:57.961Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/8@tmp/jenkins-gitclient-ssh5608775753877564302.key [2021-05-19T01:57:57.984Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T01:57:58.486Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-19T01:57:58.495Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T01:57:58.511Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-19T01:57:58.529Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-19T01:57:58.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T01:57:58.531Z] [INFO] Currently running in a labeled security context [2021-05-19T01:57:58.531Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T01:57:58.532Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/8@tmp/jenkins-gitclient-ssh9085722975652872992.key [2021-05-19T01:57:58.546Z] > 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-19T01:57:58.995Z] Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [2021-05-19T01:57:59.102Z] Merge succeeded, producing ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [2021-05-19T01:57:59.103Z] Checking out Revision ab1d562a6c37c7609360ddb561e6a9b6127c32e3 (PR-93) [2021-05-19T01:57:59.004Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T01:57:59.013Z] > git checkout -f ab1d562a6c37c7609360ddb561e6a9b6127c32e3 # timeout=10 [2021-05-19T01:57:59.044Z] > git remote # timeout=10 [2021-05-19T01:57:59.050Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T01:57:59.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T01:57:59.060Z] [INFO] Currently running in a labeled security context [2021-05-19T01:57:59.060Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T01:57:59.060Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/8@tmp/jenkins-gitclient-ssh8848105837619290750.key [2021-05-19T01:57:59.076Z] > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 [2021-05-19T01:57:59.089Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T01:57:59.106Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T01:57:59.114Z] > git checkout -f ab1d562a6c37c7609360ddb561e6a9b6127c32e3 # timeout=10 [2021-05-19T01:58:02.777Z] 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-19T01:58:03.819Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-19T01:58:04.145Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T01:58:04.445Z] + sudo service docker restart [2021-05-19T01:58:04.445Z] + true [2021-05-19T01:58:04.445Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T01:58:22.632Z] provisioning config files... [2021-05-19T01:58:22.647Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/8@tmp/config3281401201792145214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T01:58:22.972Z] ---> docker-login.sh [2021-05-19T01:58:22.972Z] nexus3.edgexfoundry.org:10001 [2021-05-19T01:58:23.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:58:23.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:58:23.238Z] Configure a credential helper to remove this warning. See [2021-05-19T01:58:23.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:58:23.238Z] [2021-05-19T01:58:23.238Z] Login Succeeded [2021-05-19T01:58:23.238Z] nexus3.edgexfoundry.org:10002 [2021-05-19T01:58:23.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:58:23.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:58:23.501Z] Configure a credential helper to remove this warning. See [2021-05-19T01:58:23.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:58:23.501Z] [2021-05-19T01:58:23.501Z] Login Succeeded [2021-05-19T01:58:23.501Z] nexus3.edgexfoundry.org:10003 [2021-05-19T01:58:23.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:58:23.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:58:23.501Z] Configure a credential helper to remove this warning. See [2021-05-19T01:58:23.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:58:23.501Z] [2021-05-19T01:58:23.501Z] Login Succeeded [2021-05-19T01:58:23.501Z] nexus3.edgexfoundry.org:10004 [2021-05-19T01:58:23.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:58:23.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:58:23.762Z] Configure a credential helper to remove this warning. See [2021-05-19T01:58:23.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:58:23.762Z] [2021-05-19T01:58:23.762Z] Login Succeeded [2021-05-19T01:58:23.762Z] docker.io [2021-05-19T01:58:23.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:58:24.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:58:24.023Z] Configure a credential helper to remove this warning. See [2021-05-19T01:58:24.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:58:24.023Z] [2021-05-19T01:58:24.023Z] Login Succeeded [2021-05-19T01:58:24.023Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T01:58:24.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T01:58:24.201Z] ========================================================= [2021-05-19T01:58:24.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-19T01:58:24.201Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T01:58:24.515Z] + 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-19T01:58:24.515Z] Sending build context to Docker daemon 384.5kB [2021-05-19T01:58:24.515Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T01:58:24.515Z] Step 2/10 : FROM ${BASE} [2021-05-19T01:58:24.515Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-19T01:58:24.515Z] 540db60ca938: Pulling fs layer [2021-05-19T01:58:24.515Z] adcc1eea9eea: Pulling fs layer [2021-05-19T01:58:24.515Z] 4c4ab2625f07: Pulling fs layer [2021-05-19T01:58:24.515Z] 0510c868ecb4: Pulling fs layer [2021-05-19T01:58:24.515Z] afea3b2eda06: Pulling fs layer [2021-05-19T01:58:24.515Z] 7809a108b3ef: Pulling fs layer [2021-05-19T01:58:24.515Z] f706445af74f: Pulling fs layer [2021-05-19T01:58:24.515Z] 0510c868ecb4: Waiting [2021-05-19T01:58:24.515Z] afea3b2eda06: Waiting [2021-05-19T01:58:24.515Z] 7809a108b3ef: Waiting [2021-05-19T01:58:24.515Z] f706445af74f: Waiting [2021-05-19T01:58:24.515Z] 4c4ab2625f07: Verifying Checksum [2021-05-19T01:58:24.515Z] 4c4ab2625f07: Download complete [2021-05-19T01:58:24.779Z] adcc1eea9eea: Verifying Checksum [2021-05-19T01:58:24.779Z] adcc1eea9eea: Download complete [2021-05-19T01:58:24.779Z] afea3b2eda06: Verifying Checksum [2021-05-19T01:58:24.779Z] afea3b2eda06: Download complete [2021-05-19T01:58:24.779Z] 540db60ca938: Verifying Checksum [2021-05-19T01:58:24.779Z] 540db60ca938: Download complete [2021-05-19T01:58:24.779Z] 7809a108b3ef: Verifying Checksum [2021-05-19T01:58:24.779Z] 7809a108b3ef: Download complete [2021-05-19T01:58:24.779Z] 540db60ca938: Pull complete [2021-05-19T01:58:25.055Z] adcc1eea9eea: Pull complete [2021-05-19T01:58:25.321Z] 4c4ab2625f07: Pull complete [2021-05-19T01:58:26.716Z] f706445af74f: Verifying Checksum [2021-05-19T01:58:26.716Z] f706445af74f: Download complete [2021-05-19T01:58:27.010Z] 0510c868ecb4: Verifying Checksum [2021-05-19T01:58:27.010Z] 0510c868ecb4: Download complete [2021-05-19T01:58:30.358Z] 0510c868ecb4: Pull complete [2021-05-19T01:58:30.358Z] afea3b2eda06: Pull complete [2021-05-19T01:58:30.358Z] 7809a108b3ef: Pull complete [2021-05-19T01:58:31.784Z] f706445af74f: Pull complete [2021-05-19T01:58:31.784Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-19T01:58:31.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-19T01:58:31.784Z] ---> b068be0155e3 [2021-05-19T01:58:31.784Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-19T01:58:37.082Z] ---> Running in 3548a60c3c13 [2021-05-19T01:58:37.082Z] Removing intermediate container 3548a60c3c13 [2021-05-19T01:58:37.082Z] ---> e9f25dd694ee [2021-05-19T01:58:37.082Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-19T01:58:37.082Z] ---> Running in 7e3a1ba52576 [2021-05-19T01:58:37.082Z] Removing intermediate container 7e3a1ba52576 [2021-05-19T01:58:37.082Z] ---> c8e0022812f3 [2021-05-19T01:58:37.082Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-19T01:58:37.082Z] ---> Running in 103d74c884f5 [2021-05-19T01:58:37.348Z] Removing intermediate container 103d74c884f5 [2021-05-19T01:58:37.348Z] ---> 111f03971ec2 [2021-05-19T01:58:37.348Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T01:58:37.348Z] ---> Running in ead56902ea93 [2021-05-19T01:58:37.923Z] Removing intermediate container ead56902ea93 [2021-05-19T01:58:37.923Z] ---> a6293d6b4281 [2021-05-19T01:58:37.923Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-19T01:58:37.923Z] ---> Running in 89d9191221db [2021-05-19T01:58:38.187Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T01:58:39.127Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T01:58:39.388Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-19T01:58:39.648Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-19T01:58:39.648Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-19T01:58:39.648Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-19T01:58:39.908Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-19T01:58:39.908Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-19T01:58:40.171Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-19T01:58:40.432Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-19T01:58:40.432Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-19T01:58:40.432Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-19T01:58:40.692Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-19T01:58:40.692Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-19T01:58:40.692Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-19T01:58:40.955Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T01:58:40.955Z] OK: 156 MiB in 53 packages [2021-05-19T01:58:41.529Z] Removing intermediate container 89d9191221db [2021-05-19T01:58:41.529Z] ---> f2bf4757605f [2021-05-19T01:58:41.529Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-19T01:58:41.529Z] ---> Running in f02f36f73842 [2021-05-19T01:58:41.529Z] Removing intermediate container f02f36f73842 [2021-05-19T01:58:41.529Z] ---> d1ecd9b75671 [2021-05-19T01:58:41.529Z] Step 9/10 : COPY . . [2021-05-19T01:58:41.792Z] ---> 167ba7f88607 [2021-05-19T01:58:41.792Z] Step 10/10 : RUN go mod download [2021-05-19T01:58:41.792Z] ---> Running in 1f59c632fbdf [2021-05-19T01:58:54.035Z] Removing intermediate container 1f59c632fbdf [2021-05-19T01:58:54.035Z] ---> bbf49c6ef7ed [2021-05-19T01:58:54.035Z] Successfully built bbf49c6ef7ed [2021-05-19T01:58:54.035Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T01:58:54.339Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T01:58:54.339Z] . [Pipeline] withDockerContainer [2021-05-19T01:58:54.419Z] prd-centos7-docker-4c-2g-14946 does not seem to be running inside a container [2021-05-19T01:58:54.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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 ******** ci-base-image-x86_64 cat [2021-05-19T01:58:54.813Z] $ docker top d670bb37e087c56eb145b333503a1880c53dd460cfdc2965596c27b53149b120 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T01:58:55.191Z] + go version [2021-05-19T01:58:55.191Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-19T01:58:55.203Z] $ docker stop --time=1 d670bb37e087c56eb145b333503a1880c53dd460cfdc2965596c27b53149b120 [2021-05-19T01:58:56.392Z] $ docker rm -f d670bb37e087c56eb145b333503a1880c53dd460cfdc2965596c27b53149b120 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T01:58:56.923Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T01:58:56.923Z] . [Pipeline] withDockerContainer [2021-05-19T01:58:57.001Z] prd-centos7-docker-4c-2g-14946 does not seem to be running inside a container [2021-05-19T01:58:57.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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 ******** ci-base-image-x86_64 cat [2021-05-19T01:58:57.453Z] $ docker top 895378e5f068c1b0720fed6c0c4ee61ec668d334d1371a256875c0027aea0276 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T01:58:57.843Z] + go mod tidy [Pipeline] sh [2021-05-19T01:58:58.411Z] + make test [2021-05-19T01:58:58.411Z] go mod tidy [2021-05-19T01:58:58.411Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-19T01:58:58.997Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-19T01:59:13.989Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-19T01:59:13.989Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-05-19T01:59:13.989Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-19T01:59:20.627Z] gofmt -l . [2021-05-19T01:59:20.627Z] [ "`gofmt -l .`" = "" ] [2021-05-19T01:59:20.627Z] ./bin/test-attribution-txt.sh [2021-05-19T01:59:20.992Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14947 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-19T01:59:21.012Z] Running in /w/workspace/device-snmp-go/8 [Pipeline] { [Pipeline] checkout [2021-05-19T01:59:21.207Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T01:59:21.219Z] $ docker stop --time=1 895378e5f068c1b0720fed6c0c4ee61ec668d334d1371a256875c0027aea0276 [2021-05-19T01:59:21.461Z] Selected Git installation does not exist. Using Default [2021-05-19T01:59:21.461Z] The recommended git tool is: NONE [2021-05-19T01:59:22.824Z] $ docker rm -f 895378e5f068c1b0720fed6c0c4ee61ec668d334d1371a256875c0027aea0276 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T01:59:23.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T01:59:23.440Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-19T01:59:24.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T01:59:24.846Z] + ls -al . [2021-05-19T01:59:24.846Z] total 108 [2021-05-19T01:59:24.846Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 19 01:59 . [2021-05-19T01:59:24.846Z] drwxrwxr-x. 4 jenkins jenkins 28 May 19 01:57 .. [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 19 01:57 Attribution.txt [2021-05-19T01:59:24.846Z] drwxrwxr-x. 2 jenkins jenkins 87 May 19 01:57 bin [2021-05-19T01:59:24.846Z] drwxrwxr-x. 3 jenkins jenkins 32 May 19 01:57 cmd [2021-05-19T01:59:24.846Z] -rw-r--r--. 1 jenkins jenkins 8663 May 19 01:59 coverage.out [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 1462 May 19 01:57 Dockerfile [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 19 01:57 Dockerfile.build [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 6 May 19 01:57 .dockerignore [2021-05-19T01:59:24.846Z] drwxrwxr-x. 8 jenkins jenkins 179 May 19 01:58 .git [2021-05-19T01:59:24.846Z] drwxrwxr-x. 2 jenkins jenkins 103 May 19 01:57 .github [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 272 May 19 01:57 .gitignore [2021-05-19T01:59:24.846Z] -rw-r--r--. 1 jenkins jenkins 222 May 19 01:59 go.mod [2021-05-19T01:59:24.846Z] -rw-r--r--. 1 jenkins jenkins 21438 May 19 01:58 go.sum [2021-05-19T01:59:24.846Z] drwxrwxr-x. 3 jenkins jenkins 20 May 19 01:57 internal [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 656 May 19 01:57 Jenkinsfile [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 19 01:57 LICENSE [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 969 May 19 01:57 Makefile [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 19 01:57 README.md [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 5 May 19 01:55 VERSION [2021-05-19T01:59:24.846Z] -rw-rw-r--. 1 jenkins jenkins 209 May 19 01:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T01:59:25.159Z] + 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=ab1d562a6c37c7609360ddb561e6a9b6127c32e3 --label arch=amd64 --label version=0.0.0 . [2021-05-19T01:59:25.160Z] Sending build context to Docker daemon 393.7kB [2021-05-19T01:59:25.160Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T01:59:25.160Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-19T01:59:25.160Z] ---> bbf49c6ef7ed [2021-05-19T01:59:25.160Z] Step 3/24 : ARG MAKE='make build' [2021-05-19T01:59:25.160Z] ---> Running in 9e78a2400b7d [2021-05-19T01:59:25.425Z] Removing intermediate container 9e78a2400b7d [2021-05-19T01:59:25.425Z] ---> e96c2ba55d98 [2021-05-19T01:59:25.425Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-19T01:59:25.425Z] ---> Running in caede0f62775 [2021-05-19T01:59:25.425Z] Removing intermediate container caede0f62775 [2021-05-19T01:59:25.425Z] ---> 1d81aca45f5f [2021-05-19T01:59:25.425Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-19T01:59:25.425Z] ---> Running in 243c66aeb627 [2021-05-19T01:59:25.425Z] Removing intermediate container 243c66aeb627 [2021-05-19T01:59:25.425Z] ---> 86aa386586fd [2021-05-19T01:59:25.425Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T01:59:25.689Z] ---> Running in 015dba8a7adf [2021-05-19T01:59:25.957Z] Removing intermediate container 015dba8a7adf [2021-05-19T01:59:25.957Z] ---> f468ebcbbe63 [2021-05-19T01:59:25.957Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-19T01:59:25.957Z] ---> Running in 3d27c10e857b [2021-05-19T01:59:26.537Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T01:59:26.846Z] using credential edgex-jenkins-ssh [2021-05-19T01:59:26.868Z] Cloning the remote Git repository [2021-05-19T01:59:27.107Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T01:59:26.930Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-19T01:59:27.045Z] > git init /w/workspace/device-snmp-go/8 # timeout=10 [2021-05-19T01:59:27.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-19T01:59:27.129Z] > git --version # timeout=10 [2021-05-19T01:59:27.150Z] > git --version # 'git version 2.17.1' [2021-05-19T01:59:27.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T01:59:27.236Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T01:59:27.681Z] OK: 156 MiB in 53 packages [2021-05-19T01:59:27.944Z] Removing intermediate container 3d27c10e857b [2021-05-19T01:59:27.944Z] ---> 8f86515e817b [2021-05-19T01:59:27.944Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-19T01:59:27.944Z] ---> Running in cbe9dda6de60 [2021-05-19T01:59:27.944Z] Removing intermediate container cbe9dda6de60 [2021-05-19T01:59:27.944Z] ---> 4776ba38dae1 [2021-05-19T01:59:27.944Z] Step 9/24 : COPY . . [2021-05-19T01:59:28.206Z] ---> acd6871056b9 [2021-05-19T01:59:28.206Z] Step 10/24 : RUN go mod tidy [2021-05-19T01:59:28.206Z] ---> Running in 5bae7e402c5a [2021-05-19T01:59:28.573Z] Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [2021-05-19T01:59:28.821Z] Merge succeeded, producing ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [2021-05-19T01:59:28.822Z] Checking out Revision ab1d562a6c37c7609360ddb561e6a9b6127c32e3 (PR-93) [2021-05-19T01:59:27.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-19T01:59:27.933Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T01:59:27.965Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-19T01:59:27.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-19T01:59:27.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T01:59:28.015Z] > 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-19T01:59:28.599Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T01:59:28.629Z] > git checkout -f ab1d562a6c37c7609360ddb561e6a9b6127c32e3 # timeout=10 [2021-05-19T01:59:28.714Z] > git remote # timeout=10 [2021-05-19T01:59:28.736Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T01:59:28.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T01:59:28.774Z] > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 [2021-05-19T01:59:28.799Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T01:59:28.834Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T01:59:29.159Z] Removing intermediate container 5bae7e402c5a [2021-05-19T01:59:29.159Z] ---> b4c4f4ce85f7 [2021-05-19T01:59:29.159Z] Step 11/24 : RUN make update [2021-05-19T01:59:29.159Z] ---> Running in ca3ef6874218 [2021-05-19T01:59:29.159Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-19T01:59:29.422Z] Removing intermediate container ca3ef6874218 [2021-05-19T01:59:29.422Z] ---> 5e7fd10d9f83 [2021-05-19T01:59:29.422Z] Step 12/24 : RUN ${MAKE} [2021-05-19T01:59:29.422Z] ---> Running in f6c29d533b0d [2021-05-19T01:59:29.702Z] go mod tidy [2021-05-19T01:59:29.972Z] 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-19T01:59:28.853Z] > git checkout -f ab1d562a6c37c7609360ddb561e6a9b6127c32e3 # timeout=10 [2021-05-19T01:59:33.140Z] 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-19T01:59:34.366Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-19T01:59:34.813Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T01:59:35.160Z] + sudo service docker restart [2021-05-19T01:59:35.160Z] + true [2021-05-19T01:59:42.336Z] Removing intermediate container f6c29d533b0d [2021-05-19T01:59:42.336Z] ---> eab33fa8e413 [2021-05-19T01:59:42.336Z] Step 13/24 : FROM alpine:3.12 [2021-05-19T01:59:42.336Z] 3.12: Pulling from library/alpine [2021-05-19T01:59:42.336Z] 339de151aab4: Pulling fs layer [2021-05-19T01:59:42.597Z] 339de151aab4: Verifying Checksum [2021-05-19T01:59:42.597Z] 339de151aab4: Download complete [2021-05-19T01:59:42.597Z] 339de151aab4: Pull complete [2021-05-19T01:59:42.597Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T01:59:42.597Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T01:59:42.597Z] ---> 13621d1b12d4 [2021-05-19T01:59:42.597Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-19T01:59:42.857Z] ---> Running in 60b2e9cd70b2 [2021-05-19T01:59:43.120Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-19T01:59:43.120Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-19T01:59:43.120Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-19T01:59:43.120Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-19T01:59:43.120Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-19T01:59:43.120Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-19T01:59:43.120Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-19T01:59:43.120Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-19T01:59:43.120Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T01:59:43.380Z] OK: 8 MiB in 20 packages [2021-05-19T01:59:43.640Z] Removing intermediate container 60b2e9cd70b2 [2021-05-19T01:59:43.640Z] ---> 649c29526791 [2021-05-19T01:59:43.640Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-19T01:59:43.902Z] ---> 52114f249ad8 [2021-05-19T01:59:43.902Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-19T01:59:44.172Z] ---> c6de314b0385 [2021-05-19T01:59:44.172Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-19T01:59:44.172Z] ---> 0a5e1ba2c7f1 [2021-05-19T01:59:44.172Z] Step 18/24 : EXPOSE 49993 [2021-05-19T01:59:44.172Z] ---> Running in 3f93355178b8 [2021-05-19T01:59:44.434Z] Removing intermediate container 3f93355178b8 [2021-05-19T01:59:44.434Z] ---> 356949e1f357 [2021-05-19T01:59:44.434Z] Step 19/24 : EXPOSE 161 [2021-05-19T01:59:44.434Z] ---> Running in a739b82f0394 [2021-05-19T01:59:44.434Z] Removing intermediate container a739b82f0394 [2021-05-19T01:59:44.434Z] ---> 19b28ed0fb9f [2021-05-19T01:59:44.434Z] Step 20/24 : ENTRYPOINT ["/device-snmp-go"] [2021-05-19T01:59:44.434Z] ---> Running in d851875f42e9 [2021-05-19T01:59:44.434Z] Removing intermediate container d851875f42e9 [2021-05-19T01:59:44.434Z] ---> 15951b75858d [2021-05-19T01:59:44.434Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-19T01:59:44.434Z] ---> Running in b16a0c854ff6 [2021-05-19T01:59:44.695Z] Removing intermediate container b16a0c854ff6 [2021-05-19T01:59:44.695Z] ---> c8d44c78b870 [2021-05-19T01:59:44.696Z] Step 22/24 : LABEL arch=amd64 [2021-05-19T01:59:44.696Z] ---> Running in 58e8c7db7baf [2021-05-19T01:59:44.696Z] Removing intermediate container 58e8c7db7baf [2021-05-19T01:59:44.696Z] ---> d7b16f9b8105 [2021-05-19T01:59:44.696Z] Step 23/24 : LABEL git_sha=ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [2021-05-19T01:59:44.696Z] ---> Running in 93edfa39c2dc [2021-05-19T01:59:44.958Z] Removing intermediate container 93edfa39c2dc [2021-05-19T01:59:44.958Z] ---> c230f54473c0 [2021-05-19T01:59:44.958Z] Step 24/24 : LABEL version=0.0.0 [2021-05-19T01:59:44.958Z] ---> Running in 967e3d3616eb [2021-05-19T01:59:44.958Z] Removing intermediate container 967e3d3616eb [2021-05-19T01:59:44.958Z] ---> d0e32c2835de [2021-05-19T01:59:44.958Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-19T01:59:44.958Z] Successfully built d0e32c2835de [2021-05-19T01:59:44.958Z] 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-19T01:59:45.694Z] ---> job-cost.sh [2021-05-19T01:59:45.694Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-27g0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T01:59:53.527Z] provisioning config files... [2021-05-19T01:59:53.556Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/8@tmp/config375763478817065623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T01:59:53.935Z] ---> docker-login.sh [2021-05-19T01:59:53.935Z] nexus3.edgexfoundry.org:10001 [2021-05-19T01:59:54.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:59:55.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:59:55.195Z] Configure a credential helper to remove this warning. See [2021-05-19T01:59:55.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:59:55.195Z] [2021-05-19T01:59:55.195Z] Login Succeeded [2021-05-19T01:59:55.195Z] nexus3.edgexfoundry.org:10002 [2021-05-19T01:59:55.716Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T01:59:55.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:59:55.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:59:55.796Z] Configure a credential helper to remove this warning. See [2021-05-19T01:59:55.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:59:55.796Z] [2021-05-19T01:59:55.796Z] Login Succeeded [2021-05-19T01:59:55.796Z] nexus3.edgexfoundry.org:10003 [2021-05-19T01:59:56.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:59:56.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:59:56.395Z] Configure a credential helper to remove this warning. See [2021-05-19T01:59:56.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:59:56.395Z] [2021-05-19T01:59:56.395Z] Login Succeeded [2021-05-19T01:59:56.395Z] nexus3.edgexfoundry.org:10004 [2021-05-19T01:59:56.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:59:56.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:59:56.995Z] Configure a credential helper to remove this warning. See [2021-05-19T01:59:56.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:59:56.995Z] [2021-05-19T01:59:56.995Z] Login Succeeded [2021-05-19T01:59:56.995Z] docker.io [2021-05-19T01:59:57.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T01:59:57.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T01:59:57.871Z] Configure a credential helper to remove this warning. See [2021-05-19T01:59:57.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T01:59:57.871Z] [2021-05-19T01:59:57.871Z] Login Succeeded [2021-05-19T01:59:57.871Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T01:59:57.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T01:59:58.215Z] ========================================================= [2021-05-19T01:59:58.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-19T01:59:58.215Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T01:59:58.565Z] + 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-19T01:59:58.844Z] Sending build context to Docker daemon 383.5kB [2021-05-19T01:59:59.119Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T01:59:59.119Z] Step 2/10 : FROM ${BASE} [2021-05-19T01:59:59.119Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-19T01:59:59.119Z] 595b0fe564bb: Pulling fs layer [2021-05-19T01:59:59.119Z] 7186ed65a4f7: Pulling fs layer [2021-05-19T01:59:59.119Z] 316046926c0a: Pulling fs layer [2021-05-19T01:59:59.119Z] 4ebd0625c992: Pulling fs layer [2021-05-19T01:59:59.119Z] 207e8628e3a3: Pulling fs layer [2021-05-19T01:59:59.119Z] c791037a9be2: Pulling fs layer [2021-05-19T01:59:59.119Z] ffd874e62e21: Pulling fs layer [2021-05-19T01:59:59.119Z] 4ebd0625c992: Waiting [2021-05-19T01:59:59.119Z] 207e8628e3a3: Waiting [2021-05-19T01:59:59.119Z] c791037a9be2: Waiting [2021-05-19T01:59:59.119Z] ffd874e62e21: Waiting [2021-05-19T01:59:59.394Z] 316046926c0a: Download complete [2021-05-19T01:59:59.394Z] 7186ed65a4f7: Verifying Checksum [2021-05-19T01:59:59.394Z] 7186ed65a4f7: Download complete [2021-05-19T01:59:59.394Z] 207e8628e3a3: Verifying Checksum [2021-05-19T01:59:59.394Z] 207e8628e3a3: Download complete [2021-05-19T01:59:59.394Z] c791037a9be2: Verifying Checksum [2021-05-19T01:59:59.394Z] c791037a9be2: Download complete [2021-05-19T01:59:59.394Z] 595b0fe564bb: Verifying Checksum [2021-05-19T01:59:59.394Z] 595b0fe564bb: Download complete [2021-05-19T02:00:00.014Z] 595b0fe564bb: Pull complete [2021-05-19T02:00:01.014Z] 7186ed65a4f7: Pull complete [2021-05-19T02:00:01.295Z] 316046926c0a: Pull complete [2021-05-19T02:00:01.568Z] ffd874e62e21: Verifying Checksum [2021-05-19T02:00:03.024Z] 4ebd0625c992: Verifying Checksum [2021-05-19T02:00:03.024Z] 4ebd0625c992: Download complete [2021-05-19T02:00:13.195Z] 4ebd0625c992: Pull complete [2021-05-19T02:00:13.195Z] 207e8628e3a3: Pull complete [2021-05-19T02:00:13.476Z] c791037a9be2: Pull complete [2021-05-19T02:00:13.908Z] lf-activate-venv(): INFO: Adding /tmp/venv-27g0/bin to PATH [2021-05-19T02:00:13.908Z] INFO: No Stack... [2021-05-19T02:00:14.851Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T02:00:15.795Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T02:00:16.097Z] + cat /w/workspace/device-snmp-go/8/archives/cost.csv [2021-05-19T02:00:16.097Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T02:00:16.133Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-8-stack-cost] [2021-05-19T02:00:16.142Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-8-stack-cost] did not exist. Created. [2021-05-19T02:00:16.142Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T02:00:16.474Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-19T02:00:16.530Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T02:00:16.539Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-8-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-19T02:00:17.856Z] ffd874e62e21: Pull complete [2021-05-19T02:00:17.856Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-19T02:00:17.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-19T02:00:17.856Z] ---> cfc18b08335c [2021-05-19T02:00:17.856Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-19T02:00:19.849Z] ---> Running in d19c17d3460f [2021-05-19T02:00:20.446Z] Removing intermediate container d19c17d3460f [2021-05-19T02:00:20.446Z] ---> f3a9138717b6 [2021-05-19T02:00:20.446Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-19T02:00:20.446Z] ---> Running in 803ad24490e3 [2021-05-19T02:00:21.046Z] Removing intermediate container 803ad24490e3 [2021-05-19T02:00:21.046Z] ---> 461e83c2e0bb [2021-05-19T02:00:21.046Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-19T02:00:21.046Z] ---> Running in 79c2c3779d7b [2021-05-19T02:00:21.642Z] Removing intermediate container 79c2c3779d7b [2021-05-19T02:00:21.642Z] ---> 1cea2cfbad2c [2021-05-19T02:00:21.642Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T02:00:21.915Z] ---> Running in 794fc1a53377 [2021-05-19T02:00:24.534Z] Removing intermediate container 794fc1a53377 [2021-05-19T02:00:24.534Z] ---> 052dd4cc6ec3 [2021-05-19T02:00:24.534Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-19T02:00:24.534Z] ---> Running in 5b355d79642b [2021-05-19T02:00:25.972Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T02:00:26.571Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T02:00:27.556Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-19T02:00:27.557Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-19T02:00:27.557Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-19T02:00:27.838Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-19T02:00:27.838Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-19T02:00:28.135Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-19T02:00:28.135Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-19T02:00:28.410Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-19T02:00:28.685Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-19T02:00:28.685Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-19T02:00:28.685Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-19T02:00:28.963Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-19T02:00:28.963Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-19T02:00:28.963Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T02:00:28.963Z] OK: 145 MiB in 53 packages [2021-05-19T02:00:30.959Z] Removing intermediate container 5b355d79642b [2021-05-19T02:00:30.959Z] ---> d37b43742a37 [2021-05-19T02:00:30.959Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-19T02:00:30.959Z] ---> Running in 8febbca12845 [2021-05-19T02:00:31.235Z] Removing intermediate container 8febbca12845 [2021-05-19T02:00:31.235Z] ---> c68888d3d906 [2021-05-19T02:00:31.235Z] Step 9/10 : COPY . . [2021-05-19T02:00:32.683Z] ---> d8d368ae5ab0 [2021-05-19T02:00:32.683Z] Step 10/10 : RUN go mod download [2021-05-19T02:00:32.683Z] ---> Running in b15155b176b2 [2021-05-19T02:00:59.560Z] Removing intermediate container b15155b176b2 [2021-05-19T02:00:59.560Z] ---> 5df5f6fac5ad [2021-05-19T02:00:59.560Z] Successfully built 5df5f6fac5ad [2021-05-19T02:00:59.560Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:00:59.902Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T02:00:59.902Z] . [Pipeline] withDockerContainer [2021-05-19T02:01:00.313Z] prd-ubuntu18.04-docker-arm64-4c-16g-14947 does not seem to be running inside a container [2021-05-19T02:01:00.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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-19T02:01:02.067Z] $ docker top a158a7e8a1cf3e62a3f0d3c2281817bb97b750f42f088c764ded33faa8394f5c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T02:01:03.006Z] + go version [2021-05-19T02:01:03.006Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-19T02:01:03.029Z] $ docker stop --time=1 a158a7e8a1cf3e62a3f0d3c2281817bb97b750f42f088c764ded33faa8394f5c [2021-05-19T02:01:04.823Z] $ docker rm -f a158a7e8a1cf3e62a3f0d3c2281817bb97b750f42f088c764ded33faa8394f5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:01:05.652Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T02:01:05.652Z] . [Pipeline] withDockerContainer [2021-05-19T02:01:05.896Z] prd-ubuntu18.04-docker-arm64-4c-16g-14947 does not seem to be running inside a container [2021-05-19T02:01:05.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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-19T02:01:07.603Z] $ docker top c1c99f7c3dd0978fa6ecdd3e6528b3c3f196a53cabf53704c1b0e741f789b0a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T02:01:08.579Z] + go mod tidy [Pipeline] sh [2021-05-19T02:01:09.845Z] + make test [2021-05-19T02:01:09.845Z] go mod tidy [2021-05-19T02:01:10.447Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-19T02:01:11.897Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-19T02:02:08.559Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-19T02:02:08.559Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.032s coverage: 0.0% of statements [2021-05-19T02:02:08.559Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-19T02:02:26.888Z] gofmt -l . [2021-05-19T02:02:26.889Z] [ "`gofmt -l .`" = "" ] [2021-05-19T02:02:26.889Z] ./bin/test-attribution-txt.sh [2021-05-19T02:02:26.889Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T02:02:26.912Z] $ docker stop --time=1 c1c99f7c3dd0978fa6ecdd3e6528b3c3f196a53cabf53704c1b0e741f789b0a7 [2021-05-19T02:02:29.034Z] $ docker rm -f c1c99f7c3dd0978fa6ecdd3e6528b3c3f196a53cabf53704c1b0e741f789b0a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T02:02:29.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T02:02:29.920Z] Warning: overwriting stash ‘coverage-report’ [2021-05-19T02:02:30.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T02:02:30.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T02:02:31.331Z] + ls -al . [2021-05-19T02:02:31.331Z] total 132 [2021-05-19T02:02:31.331Z] drwxrwxr-x 7 jenkins jenkins 4096 May 19 02:02 . [2021-05-19T02:02:31.331Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 01:59 .. [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 6 May 19 01:59 .dockerignore [2021-05-19T02:02:31.331Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 01:59 .git [2021-05-19T02:02:31.331Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 01:59 .github [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 272 May 19 01:59 .gitignore [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 19 01:59 Attribution.txt [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 1462 May 19 01:59 Dockerfile [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 19 01:59 Dockerfile.build [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 656 May 19 01:59 Jenkinsfile [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 19 01:59 LICENSE [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 969 May 19 01:59 Makefile [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 19 01:59 README.md [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 01:55 VERSION [2021-05-19T02:02:31.331Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 01:59 bin [2021-05-19T02:02:31.331Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 01:59 cmd [2021-05-19T02:02:31.331Z] -rw-r--r-- 1 jenkins jenkins 8663 May 19 02:02 coverage.out [2021-05-19T02:02:31.331Z] -rw-r--r-- 1 jenkins jenkins 222 May 19 02:02 go.mod [2021-05-19T02:02:31.331Z] -rw-r--r-- 1 jenkins jenkins 21438 May 19 02:01 go.sum [2021-05-19T02:02:31.331Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 01:59 internal [2021-05-19T02:02:31.331Z] -rw-rw-r-- 1 jenkins jenkins 209 May 19 01:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:02:31.677Z] + 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=ab1d562a6c37c7609360ddb561e6a9b6127c32e3 --label arch=arm64 --label version=0.0.0 . [2021-05-19T02:02:31.955Z] Sending build context to Docker daemon 392.7kB [2021-05-19T02:02:32.228Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T02:02:32.228Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-19T02:02:32.228Z] ---> 5df5f6fac5ad [2021-05-19T02:02:32.228Z] Step 3/24 : ARG MAKE='make build' [2021-05-19T02:02:32.501Z] ---> Running in fa6ce8540be6 [2021-05-19T02:02:32.772Z] Removing intermediate container fa6ce8540be6 [2021-05-19T02:02:32.772Z] ---> a13379332eab [2021-05-19T02:02:32.772Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-19T02:02:33.046Z] ---> Running in 3e69604ca13e [2021-05-19T02:02:33.642Z] Removing intermediate container 3e69604ca13e [2021-05-19T02:02:33.642Z] ---> dd077ff0c36f [2021-05-19T02:02:33.642Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-19T02:02:33.642Z] ---> Running in a318bb573b5d [2021-05-19T02:02:34.239Z] Removing intermediate container a318bb573b5d [2021-05-19T02:02:34.239Z] ---> 9320f22b3572 [2021-05-19T02:02:34.239Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T02:02:34.239Z] ---> Running in 6f70ba44f65d [2021-05-19T02:02:36.220Z] Removing intermediate container 6f70ba44f65d [2021-05-19T02:02:36.220Z] ---> 4a70895e4687 [2021-05-19T02:02:36.220Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-19T02:02:36.494Z] ---> Running in 5eb608b4dab3 [2021-05-19T02:02:37.472Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T02:02:38.903Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T02:02:40.901Z] OK: 145 MiB in 53 packages [2021-05-19T02:02:41.879Z] Removing intermediate container 5eb608b4dab3 [2021-05-19T02:02:41.879Z] ---> 67feee548dc9 [2021-05-19T02:02:41.879Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-19T02:02:41.879Z] ---> Running in 6acef1c21f34 [2021-05-19T02:02:42.165Z] Removing intermediate container 6acef1c21f34 [2021-05-19T02:02:42.165Z] ---> 8cdf4d49d0be [2021-05-19T02:02:42.165Z] Step 9/24 : COPY . . [2021-05-19T02:02:43.613Z] ---> a03be89cfeee [2021-05-19T02:02:43.614Z] Step 10/24 : RUN go mod tidy [2021-05-19T02:02:43.614Z] ---> Running in 02970686bac3 [2021-05-19T02:02:46.235Z] Removing intermediate container 02970686bac3 [2021-05-19T02:02:46.235Z] ---> f0b0b88bde6b [2021-05-19T02:02:46.235Z] Step 11/24 : RUN make update [2021-05-19T02:02:46.506Z] ---> Running in 09c5179b4241 [2021-05-19T02:02:47.939Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-19T02:02:48.939Z] Removing intermediate container 09c5179b4241 [2021-05-19T02:02:48.939Z] ---> c91b14b9c959 [2021-05-19T02:02:48.939Z] Step 12/24 : RUN ${MAKE} [2021-05-19T02:02:49.221Z] ---> Running in 427c8c9c3f9a [2021-05-19T02:02:50.197Z] go mod tidy [2021-05-19T02:02:50.799Z] 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-19T02:03:29.819Z] Removing intermediate container 427c8c9c3f9a [2021-05-19T02:03:29.820Z] ---> bb7860fa4335 [2021-05-19T02:03:29.820Z] Step 13/24 : FROM alpine:3.12 [2021-05-19T02:03:29.820Z] 3.12: Pulling from library/alpine [2021-05-19T02:03:29.820Z] d2f70382dc9a: Pulling fs layer [2021-05-19T02:03:29.820Z] d2f70382dc9a: Verifying Checksum [2021-05-19T02:03:29.820Z] d2f70382dc9a: Download complete [2021-05-19T02:03:29.820Z] d2f70382dc9a: Pull complete [2021-05-19T02:03:29.820Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T02:03:29.820Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T02:03:29.820Z] ---> 9852663dfa18 [2021-05-19T02:03:29.820Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-19T02:03:29.820Z] ---> Running in 3dc7410d554a [2021-05-19T02:03:29.820Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-19T02:03:29.820Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-19T02:03:30.408Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-19T02:03:30.408Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-19T02:03:30.408Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-19T02:03:30.409Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-19T02:03:30.409Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-19T02:03:30.409Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-19T02:03:30.409Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T02:03:30.409Z] OK: 8 MiB in 20 packages [2021-05-19T02:03:31.385Z] Removing intermediate container 3dc7410d554a [2021-05-19T02:03:31.385Z] ---> 14fb9ea47397 [2021-05-19T02:03:31.385Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-19T02:03:32.395Z] ---> 4b50344cc388 [2021-05-19T02:03:32.395Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-19T02:03:33.397Z] ---> 48954d462776 [2021-05-19T02:03:33.397Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-19T02:03:34.012Z] ---> a7bfa264c93f [2021-05-19T02:03:34.012Z] Step 18/24 : EXPOSE 49993 [2021-05-19T02:03:34.318Z] ---> Running in 2b001ea34115 [2021-05-19T02:03:34.924Z] Removing intermediate container 2b001ea34115 [2021-05-19T02:03:34.924Z] ---> aa442993dfec [2021-05-19T02:03:34.924Z] Step 19/24 : EXPOSE 161 [2021-05-19T02:03:34.924Z] ---> Running in 66d4bccaaa0d [2021-05-19T02:03:35.518Z] Removing intermediate container 66d4bccaaa0d [2021-05-19T02:03:35.518Z] ---> 425901331b4b [2021-05-19T02:03:35.518Z] Step 20/24 : ENTRYPOINT ["/device-snmp-go"] [2021-05-19T02:03:35.518Z] ---> Running in 1fb223e891cc [2021-05-19T02:03:36.114Z] Removing intermediate container 1fb223e891cc [2021-05-19T02:03:36.114Z] ---> cbd74bd67672 [2021-05-19T02:03:36.114Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-19T02:03:36.114Z] ---> Running in d3a88d1e4ca5 [2021-05-19T02:03:36.736Z] Removing intermediate container d3a88d1e4ca5 [2021-05-19T02:03:36.736Z] ---> 91dfc66aff82 [2021-05-19T02:03:36.736Z] Step 22/24 : LABEL arch=arm64 [2021-05-19T02:03:36.736Z] ---> Running in d0a446cde125 [2021-05-19T02:03:37.326Z] Removing intermediate container d0a446cde125 [2021-05-19T02:03:37.326Z] ---> 26d5f86e9b25 [2021-05-19T02:03:37.326Z] Step 23/24 : LABEL git_sha=ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [2021-05-19T02:03:37.326Z] ---> Running in f1d6f7426ba7 [2021-05-19T02:03:37.916Z] Removing intermediate container f1d6f7426ba7 [2021-05-19T02:03:37.916Z] ---> 79b6ae095cb9 [2021-05-19T02:03:37.916Z] Step 24/24 : LABEL version=0.0.0 [2021-05-19T02:03:37.916Z] ---> Running in a2100fc422d0 [2021-05-19T02:03:38.510Z] Removing intermediate container a2100fc422d0 [2021-05-19T02:03:38.510Z] ---> 8ad6d08fa47d [2021-05-19T02:03:38.510Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-19T02:03:38.510Z] Successfully built 8ad6d08fa47d [2021-05-19T02:03:38.510Z] 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-19T02:03:39.123Z] ---> job-cost.sh [2021-05-19T02:03:39.123Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-g0XC [2021-05-19T02:04:26.051Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T02:05:47.776Z] lf-activate-venv(): INFO: Adding /tmp/venv-g0XC/bin to PATH [2021-05-19T02:05:47.776Z] INFO: No Stack... [2021-05-19T02:05:47.776Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-19T02:05:47.776Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T02:05:48.116Z] + cut -d, -f6 [2021-05-19T02:05:48.117Z] + cat /w/workspace/device-snmp-go/8/archives/cost.csv [Pipeline] lock [2021-05-19T02:05:48.172Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-8-stack-cost] [2021-05-19T02:05:48.184Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-8-stack-cost] did not exist. Created. [2021-05-19T02:05:48.185Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T02:05:48.552Z] /w/workspace/device-snmp-go/8@tmp/durable-91ed8c37/script.sh: 1: /w/workspace/device-snmp-go/8@tmp/durable-91ed8c37/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-19T02:05:48.895Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-19T02:05:48.925Z] Warning: overwriting stash ‘stack-cost’ [2021-05-19T02:05:49.061Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T02:05:49.081Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-8-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-19T02:05:49.730Z] provisioning config files... [2021-05-19T02:05:49.740Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config7485730059256558000tmp [Pipeline] { [Pipeline] sh [2021-05-19T02:05:50.296Z] + set +x [2021-05-19T02:05:50.296Z] + bash -s -- [2021-05-19T02:05:50.296Z] + curl -s https://codecov.io/bash [2021-05-19T02:05:50.296Z] [2021-05-19T02:05:50.296Z] _____ _ [2021-05-19T02:05:50.296Z] / ____| | | [2021-05-19T02:05:50.296Z] | | ___ __| | ___ ___ _____ __ [2021-05-19T02:05:50.296Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-19T02:05:50.296Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-19T02:05:50.296Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-19T02:05:50.296Z] Bash-1.0.2 [2021-05-19T02:05:50.296Z] [2021-05-19T02:05:50.296Z] [2021-05-19T02:05:50.296Z] ==> git version 2.24.4 found [2021-05-19T02:05:50.296Z] ==> 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-19T02:05:50.296Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-19T02:05:50.296Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-19T02:05:50.296Z] ==> Jenkins CI detected. [2021-05-19T02:05:50.296Z] project root: . [2021-05-19T02:05:50.296Z] --> token set from env [2021-05-19T02:05:50.296Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-19T02:05:50.296Z] ==> Running gcov in . (disable via -X gcov) [2021-05-19T02:05:50.296Z] ==> Python coveragepy not found [2021-05-19T02:05:50.296Z] ==> Searching for coverage reports in: [2021-05-19T02:05:50.296Z] + . [2021-05-19T02:05:50.296Z] -> Found 1 reports [2021-05-19T02:05:50.296Z] ==> Detecting git/mercurial file structure [2021-05-19T02:05:50.296Z] ==> Reading reports [2021-05-19T02:05:50.296Z] + ./coverage.out bytes=8663 [2021-05-19T02:05:50.296Z] ==> Appending adjustments [2021-05-19T02:05:50.296Z] https://docs.codecov.io/docs/fixing-reports [2021-05-19T02:05:50.296Z] + Found adjustments [2021-05-19T02:05:50.296Z] ==> Gzipping contents [2021-05-19T02:05:50.296Z] 4.0K /tmp/codecov.JjLTPg.gz [2021-05-19T02:05:50.296Z] ==> Uploading reports [2021-05-19T02:05:50.296Z] url: https://codecov.io [2021-05-19T02:05:50.296Z] query: branch=PR-93&commit=ab1d562a6c37c7609360ddb561e6a9b6127c32e3&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-19T02:05:50.296Z] -> Pinging Codecov [2021-05-19T02:05:50.296Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-93&commit=ab1d562a6c37c7609360ddb561e6a9b6127c32e3&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-19T02:05:51.249Z] -> Uploading to [2021-05-19T02:05:51.249Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-19/6C56EA5C29638FB4528AC87E60AF5AE0/ab1d562a6c37c7609360ddb561e6a9b6127c32e3/78f4775a-f499-4b0a-9ff8-b09908b28c3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210519T020550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0eeab709d82a578616be63353c6da99b5258df41ed1b13776a0fe9a68a904f64 [2021-05-19T02:05:51.249Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-19T02:05:51.249Z] Dload Upload Total Spent Left Speed [2021-05-19T02:05:51.512Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1498 0 0 100 1498 0 3809 --:--:-- --:--:-- --:--:-- 3811 [2021-05-19T02:05:51.512Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/ab1d562a6c37c7609360ddb561e6a9b6127c32e3 [Pipeline] } [2021-05-19T02:05:51.521Z] 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-19T02:05:52.948Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:05:53.511Z] ---> package-listing.sh [2021-05-19T02:05:53.511Z] ++ facter osfamily [2021-05-19T02:05:53.511Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-19T02:05:53.774Z] + OS_FAMILY=redhat [2021-05-19T02:05:53.775Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-19T02:05:53.775Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-19T02:05:53.775Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-19T02:05:53.775Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-19T02:05:53.775Z] + PACKAGES=/tmp/packages_start.txt [2021-05-19T02:05:53.775Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-19T02:05:53.775Z] + PACKAGES=/tmp/packages_end.txt [2021-05-19T02:05:53.775Z] + case "${OS_FAMILY}" in [2021-05-19T02:05:53.775Z] + rpm -qa [2021-05-19T02:05:53.775Z] + sort [2021-05-19T02:05:54.346Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-19T02:05:54.346Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-19T02:05:54.346Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-19T02:05:54.606Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-19T02:05:54.606Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [2021-05-19T02:05:54.606Z] + 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-19T02:05:54.618Z] 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-19T02:05:54.907Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:05:55.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T02:05:55.488Z] [2021-05-19T02:05:55.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-19T02:05:55.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T02:05:55.839Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-19T02:05:55.839Z] df20fa9351a1: Pulling fs layer [2021-05-19T02:05:55.839Z] 36b3adc4ff6f: Pulling fs layer [2021-05-19T02:05:55.839Z] 8ad3a11d3b57: Pulling fs layer [2021-05-19T02:05:55.839Z] 46f8f816bc3b: Pulling fs layer [2021-05-19T02:05:55.839Z] 93b61091891f: Pulling fs layer [2021-05-19T02:05:55.839Z] 93b9cdb0e59b: Pulling fs layer [2021-05-19T02:05:55.839Z] 5e14af77c1be: Pulling fs layer [2021-05-19T02:05:55.839Z] 01666e4c0597: Pulling fs layer [2021-05-19T02:05:55.839Z] aa168da1d23b: Pulling fs layer [2021-05-19T02:05:55.839Z] 46f8f816bc3b: Waiting [2021-05-19T02:05:55.839Z] 93b61091891f: Waiting [2021-05-19T02:05:55.839Z] 93b9cdb0e59b: Waiting [2021-05-19T02:05:55.839Z] 5e14af77c1be: Waiting [2021-05-19T02:05:55.839Z] 01666e4c0597: Waiting [2021-05-19T02:05:55.839Z] aa168da1d23b: Waiting [2021-05-19T02:05:55.840Z] 36b3adc4ff6f: Verifying Checksum [2021-05-19T02:05:55.840Z] 36b3adc4ff6f: Download complete [2021-05-19T02:05:55.840Z] 46f8f816bc3b: Verifying Checksum [2021-05-19T02:05:55.840Z] 46f8f816bc3b: Download complete [2021-05-19T02:05:55.840Z] df20fa9351a1: Verifying Checksum [2021-05-19T02:05:55.840Z] df20fa9351a1: Download complete [2021-05-19T02:05:55.840Z] 93b9cdb0e59b: Verifying Checksum [2021-05-19T02:05:55.840Z] 93b9cdb0e59b: Download complete [2021-05-19T02:05:56.126Z] 5e14af77c1be: Verifying Checksum [2021-05-19T02:05:56.126Z] 5e14af77c1be: Download complete [2021-05-19T02:05:56.126Z] 93b61091891f: Verifying Checksum [2021-05-19T02:05:56.126Z] 93b61091891f: Download complete [2021-05-19T02:05:56.126Z] 01666e4c0597: Verifying Checksum [2021-05-19T02:05:56.126Z] 01666e4c0597: Download complete [2021-05-19T02:05:56.126Z] 8ad3a11d3b57: Verifying Checksum [2021-05-19T02:05:56.126Z] 8ad3a11d3b57: Download complete [2021-05-19T02:05:56.126Z] df20fa9351a1: Pull complete [2021-05-19T02:05:56.400Z] 36b3adc4ff6f: Pull complete [2021-05-19T02:05:56.990Z] 8ad3a11d3b57: Pull complete [2021-05-19T02:05:56.990Z] 46f8f816bc3b: Pull complete [2021-05-19T02:05:57.566Z] 93b61091891f: Pull complete [2021-05-19T02:05:57.566Z] 93b9cdb0e59b: Pull complete [2021-05-19T02:05:57.566Z] 5e14af77c1be: Pull complete [2021-05-19T02:05:57.825Z] 01666e4c0597: Pull complete [2021-05-19T02:05:58.766Z] aa168da1d23b: Verifying Checksum [2021-05-19T02:05:58.766Z] aa168da1d23b: Download complete [2021-05-19T02:06:03.007Z] aa168da1d23b: Pull complete [2021-05-19T02:06:03.007Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-19T02:06:03.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T02:06:03.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-19T02:06:03.089Z] prd-centos7-docker-4c-2g-14941 does not seem to be running inside a container [2021-05-19T02:06:03.136Z] $ 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-19T02:06:05.830Z] $ docker top 12acf40f80d604c572c3aef17004fda42a4b2642a7c490587584b4bd129100aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T02:06:06.203Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-19T02:06:06.499Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-19T02:06:06.794Z] + ls /var/log/sa-host [2021-05-19T02:06:06.794Z] + sadf -c /var/log/sa-host/sa05 [2021-05-19T02:06:06.794Z] file_magic: OK [2021-05-19T02:06:06.794Z] HZ: Using current value: 100 [2021-05-19T02:06:06.794Z] file_header: OK [2021-05-19T02:06:06.794Z] 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-19T02:06:06.794Z] Statistics: [2021-05-19T02:06:06.794Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T02:06:06.794Z] File successfully converted to sysstat format version 12.2.1 [2021-05-19T02:06:06.794Z] + sadf -c /var/log/sa-host/sa19 [2021-05-19T02:06:06.794Z] file_magic: OK [2021-05-19T02:06:06.794Z] HZ: Using current value: 100 [2021-05-19T02:06:06.794Z] file_header: OK [2021-05-19T02:06:06.794Z] 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-19T02:06:06.794Z] Statistics: [2021-05-19T02:06:06.794Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T02:06:06.794Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T02:06:07.004Z] provisioning config files... [2021-05-19T02:06:07.014Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config8906645495452755923tmp [Pipeline] { [Pipeline] echo [2021-05-19T02:06:07.035Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:06:07.334Z] ---> create-netrc.sh [Pipeline] } [2021-05-19T02:06:07.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-19T02:06:07.370Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:06:07.665Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-19T02:06:07.677Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:06:07.971Z] ---> sudo-logs.sh [2021-05-19T02:06:07.972Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-19T02:06:08.004Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:06:08.300Z] ---> job-cost.sh [2021-05-19T02:06:08.301Z] lf-activate-venv: SKIPPING [2021-05-19T02:06:08.301Z] DEBUG: total: 0.18000000715255737 [2021-05-19T02:06:08.301Z] INFO: Retrieving Stack Cost... [2021-05-19T02:06:09.250Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T02:06:09.821Z] INFO: Archiving Costs [Pipeline] echo [2021-05-19T02:06:09.836Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T02:06:10.134Z] ---> logs-deploy.sh [2021-05-19T02:06:10.134Z] lf-activate-venv: SKIPPING [2021-05-19T02:06:10.134Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-93/8 [2021-05-19T02:06:10.134Z] INFO: archiving workspace using pattern(s): [2021-05-19T02:06:11.096Z] Archives upload complete. [2021-05-19T02:06:11.096Z] INFO: archiving logs to Nexus