cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dd5d33fc7dead3a89b7455ddbb74124b65cebdda+828c04b1f0eb937037ce2076f410b90c0d25fe4c (fd35309e2f32b52795fd2161123a57e201a338ec) 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-ssh5452734430148899554.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3884223881662631016.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-117/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-117/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3118446914105985706.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh1947845616159317631.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-117/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-117/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1795098560794490304.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-478 in /w/workspace/gexfoundry_device-snmp-go_PR-117 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-117 # timeout=10 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit dd5d33fc7dead3a89b7455ddbb74124b65cebdda Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/jenkins-gitclient-ssh3579518266966111592.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/jenkins-gitclient-ssh3823324842124502598.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd5d33fc7dead3a89b7455ddbb74124b65cebdda # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/jenkins-gitclient-ssh1094187996477914175.key Merge succeeded, producing dd5d33fc7dead3a89b7455ddbb74124b65cebdda Checking out Revision dd5d33fc7dead3a89b7455ddbb74124b65cebdda (PR-117) > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd5d33fc7dead3a89b7455ddbb74124b65cebdda # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" > git rev-list --no-walk dd5d33fc7dead3a89b7455ddbb74124b65cebdda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-28T05:36:10.661Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-28T05:36:10.751Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-28T05:36:10.779Z] ========================================================= [2021-06-28T05:36:10.780Z] EdgeX Global Pipelines Version Info [2021-06-28T05:36:10.780Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:36:12.197Z] ------------------- [2021-06-28T05:36:12.197Z] stable info: [2021-06-28T05:36:12.197Z] ------------------- [2021-06-28T05:36:12.197Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-28T05:36:12.197Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T05:36:12.197Z] Message: update stable to v1.0.195 [2021-06-28T05:36:12.775Z] ------------------- [2021-06-28T05:36:12.775Z] experimental info: [2021-06-28T05:36:12.775Z] ------------------- [2021-06-28T05:36:12.775Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-28T05:36:12.775Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T05:36:12.775Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-28T05:36:12.902Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-28T05:36:12.926Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-28T05:36:12.951Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-28T05:36:12.977Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-28T05:36:13.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-28T05:36:13.089Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-28T05:36:13.111Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-28T05:36:13.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-28T05:36:13.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-28T05:36:13.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-28T05:36:13.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-28T05:36:13.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-28T05:36:13.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-28T05:36:13.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-28T05:36:13.317Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T05:36:13.344Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T05:36:13.366Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T05:36:13.389Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T05:36:13.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-28T05:36:13.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-28T05:36:13.456Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-28T05:36:13.481Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-28T05:36:13.503Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-28T05:36:13.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-28T05:36:13.568Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-28T05:36:13.597Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-28T05:36:13.622Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo [2021-06-28T05:36:13.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo [2021-06-28T05:36:13.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo [2021-06-28T05:36:13.698Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd5d33fc7dead3a89b7455ddbb74124b65cebdda [Pipeline] echo [2021-06-28T05:36:13.723Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd5d33f [Pipeline] echo [2021-06-28T05:36:13.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T05:36:13.853Z] provisioning config files... [2021-06-28T05:36:13.880Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/config2205062352380569978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:36:14.211Z] ---> docker-login.sh [2021-06-28T05:36:14.211Z] nexus3.edgexfoundry.org:10001 [2021-06-28T05:36:14.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:36:14.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:36:14.790Z] Configure a credential helper to remove this warning. See [2021-06-28T05:36:14.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:36:14.790Z] [2021-06-28T05:36:14.790Z] Login Succeeded [2021-06-28T05:36:14.790Z] nexus3.edgexfoundry.org:10002 [2021-06-28T05:36:14.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:36:14.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:36:14.790Z] Configure a credential helper to remove this warning. See [2021-06-28T05:36:14.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:36:14.790Z] [2021-06-28T05:36:14.790Z] Login Succeeded [2021-06-28T05:36:14.790Z] nexus3.edgexfoundry.org:10003 [2021-06-28T05:36:15.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:36:15.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:36:15.053Z] Configure a credential helper to remove this warning. See [2021-06-28T05:36:15.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:36:15.053Z] [2021-06-28T05:36:15.053Z] Login Succeeded [2021-06-28T05:36:15.053Z] nexus3.edgexfoundry.org:10004 [2021-06-28T05:36:15.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:36:15.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:36:15.322Z] Configure a credential helper to remove this warning. See [2021-06-28T05:36:15.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:36:15.322Z] [2021-06-28T05:36:15.322Z] Login Succeeded [2021-06-28T05:36:15.322Z] docker.io [2021-06-28T05:36:15.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:36:15.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:36:15.586Z] Configure a credential helper to remove this warning. See [2021-06-28T05:36:15.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:36:15.586Z] [2021-06-28T05:36:15.586Z] Login Succeeded [2021-06-28T05:36:15.586Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T05:36:15.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T05:36:16.107Z] + git log --format=format:%s -1 dd5d33fc7dead3a89b7455ddbb74124b65cebdda [Pipeline] echo [2021-06-28T05:36:16.151Z] GIT_COMMIT: dd5d33fc7dead3a89b7455ddbb74124b65cebdda, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-06-28T05:36:16.166Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:36:16.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T05:36:16.812Z] [2021-06-28T05:36:16.812Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:36:17.136Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T05:36:17.136Z] latest: Pulling from edgex-devops/git-semver [2021-06-28T05:36:17.136Z] 31603596830f: Pulling fs layer [2021-06-28T05:36:17.136Z] 54011a49482f: Pulling fs layer [2021-06-28T05:36:17.136Z] a6820b24f6d8: Pulling fs layer [2021-06-28T05:36:17.136Z] f581987b2513: Pulling fs layer [2021-06-28T05:36:17.136Z] f581987b2513: Waiting [2021-06-28T05:36:17.136Z] 54011a49482f: Download complete [2021-06-28T05:36:17.404Z] 31603596830f: Verifying Checksum [2021-06-28T05:36:17.404Z] 31603596830f: Download complete [2021-06-28T05:36:17.665Z] f581987b2513: Verifying Checksum [2021-06-28T05:36:17.666Z] f581987b2513: Download complete [2021-06-28T05:36:17.666Z] a6820b24f6d8: Verifying Checksum [2021-06-28T05:36:17.666Z] a6820b24f6d8: Download complete [2021-06-28T05:36:17.666Z] 31603596830f: Pull complete [2021-06-28T05:36:17.933Z] 54011a49482f: Pull complete [2021-06-28T05:36:18.529Z] a6820b24f6d8: Pull complete [2021-06-28T05:36:18.796Z] f581987b2513: Pull complete [2021-06-28T05:36:18.796Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-28T05:36:18.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T05:36:18.796Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-28T05:36:18.884Z] prd-centos7-docker-4c-2g-478 does not seem to be running inside a container [2021-06-28T05:36:18.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-117 -v /w/workspace/gexfoundry_device-snmp-go_PR-117:/w/workspace/gexfoundry_device-snmp-go_PR-117:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-117@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-117@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-28T05:36:20.693Z] $ docker top b18516d3207ec099238e3280890ab8189ad8a5756a50421cf5d6e76e6fe6860f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-28T05:36:20.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T05:36:20.830Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T05:36:20.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T05:36:20.945Z] $ docker exec b18516d3207ec099238e3280890ab8189ad8a5756a50421cf5d6e76e6fe6860f ssh-agent [2021-06-28T05:36:21.053Z] SSH_AUTH_SOCK=/tmp/ssh-TLNjcafmiM4d/agent.13 [2021-06-28T05:36:21.053Z] SSH_AGENT_PID=19 [2021-06-28T05:36:21.061Z] Running ssh-add (command line suppressed) [2021-06-28T05:36:21.154Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/private_key_4368087536053577531.key (/w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/private_key_4368087536053577531.key) [2021-06-28T05:36:21.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T05:36:21.481Z] + git tag --points-at HEAD [Pipeline] } [2021-06-28T05:36:21.494Z] $ docker exec --env ******** --env ******** b18516d3207ec099238e3280890ab8189ad8a5756a50421cf5d6e76e6fe6860f ssh-agent -k [2021-06-28T05:36:21.588Z] unset SSH_AUTH_SOCK; [2021-06-28T05:36:21.589Z] unset SSH_AGENT_PID; [2021-06-28T05:36:21.589Z] echo Agent pid 19 killed; [2021-06-28T05:36:21.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-28T05:36:21.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T05:36:21.642Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T05:36:21.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T05:36:21.753Z] $ docker exec b18516d3207ec099238e3280890ab8189ad8a5756a50421cf5d6e76e6fe6860f ssh-agent [2021-06-28T05:36:21.871Z] SSH_AUTH_SOCK=/tmp/ssh-fGLWN44K7GsW/agent.53 [2021-06-28T05:36:21.871Z] SSH_AGENT_PID=60 [2021-06-28T05:36:21.881Z] Running ssh-add (command line suppressed) [2021-06-28T05:36:21.976Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/private_key_710059795674548330.key (/w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/private_key_710059795674548330.key) [2021-06-28T05:36:21.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T05:36:22.306Z] + git semver init [2021-06-28T05:36:22.306Z] # -> Open(): unable to determine branch for HEAD [2021-06-28T05:36:22.306Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-117/.git [2021-06-28T05:36:22.306Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-117 [2021-06-28T05:36:22.306Z] # $SEMVER_REMOTE_NAME = origin [2021-06-28T05:36:22.306Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-28T05:36:22.306Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-28T05:36:22.306Z] # $SEMVER_BRANCH = PR-117 [2021-06-28T05:36:22.306Z] # $SEMVER_TEMP = /tmp/semver-421859263 [2021-06-28T05:36:22.306Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-28T05:36:22.880Z] # '/tmp/semver-421859263' -> '/w/workspace/gexfoundry_device-snmp-go_PR-117/.semver' [2021-06-28T05:36:22.880Z] # -> Force: false [2021-06-28T05:36:22.880Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-117/.semver [Pipeline] } [2021-06-28T05:36:22.888Z] $ docker exec --env ******** --env ******** b18516d3207ec099238e3280890ab8189ad8a5756a50421cf5d6e76e6fe6860f ssh-agent -k [2021-06-28T05:36:22.985Z] unset SSH_AUTH_SOCK; [2021-06-28T05:36:22.985Z] unset SSH_AGENT_PID; [2021-06-28T05:36:22.985Z] echo Agent pid 60 killed; [2021-06-28T05:36:22.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-28T05:36:23.335Z] + git semver [Pipeline] } [2021-06-28T05:36:23.347Z] $ docker stop --time=1 b18516d3207ec099238e3280890ab8189ad8a5756a50421cf5d6e76e6fe6860f [2021-06-28T05:36:24.913Z] $ docker rm -f b18516d3207ec099238e3280890ab8189ad8a5756a50421cf5d6e76e6fe6860f [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T05:36:25.304Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-28T05:36:25.647Z] Stashed 1 file(s) [Pipeline] echo [2021-06-28T05:36:25.651Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-28T05:36:34.222Z] Running on prd-centos7-docker-4c-2g-481 in /w/workspace/gexfoundry_device-snmp-go_PR-117 [Pipeline] { [Pipeline] ws [2021-06-28T05:36:34.242Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-06-28T05:36:34.345Z] Selected Git installation does not exist. Using Default [2021-06-28T05:36:34.345Z] The recommended git tool is: NONE [2021-06-28T05:36:36.756Z] using credential edgex-jenkins-ssh [2021-06-28T05:36:36.776Z] Cloning the remote Git repository [2021-06-28T05:36:36.797Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:36:36.865Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-06-28T05:36:36.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:36:36.908Z] > git --version # timeout=10 [2021-06-28T05:36:36.915Z] > git --version # 'git version 2.24.4' [2021-06-28T05:36:36.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:36:36.941Z] [INFO] Currently running in a labeled security context [2021-06-28T05:36:36.941Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T05:36:36.941Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh2887419042033712588.key [2021-06-28T05:36:36.978Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T05:36:37.503Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T05:36:37.515Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T05:36:37.530Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T05:36:37.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:36:37.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:36:37.548Z] [INFO] Currently running in a labeled security context [2021-06-28T05:36:37.548Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T05:36:37.548Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh3481490971183112472.key [2021-06-28T05:36:37.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T05:36:37.943Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit dd5d33fc7dead3a89b7455ddbb74124b65cebdda [2021-06-28T05:36:38.049Z] Merge succeeded, producing dd5d33fc7dead3a89b7455ddbb74124b65cebdda [2021-06-28T05:36:38.050Z] Checking out Revision dd5d33fc7dead3a89b7455ddbb74124b65cebdda (PR-117) [2021-06-28T05:36:37.963Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T05:36:37.972Z] > git checkout -f dd5d33fc7dead3a89b7455ddbb74124b65cebdda # timeout=10 [2021-06-28T05:36:37.999Z] > git remote # timeout=10 [2021-06-28T05:36:38.009Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T05:36:38.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:36:38.018Z] [INFO] Currently running in a labeled security context [2021-06-28T05:36:38.018Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T05:36:38.018Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh8049637717802655741.key [2021-06-28T05:36:38.029Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-28T05:36:38.039Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T05:36:38.054Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T05:36:38.065Z] > git checkout -f dd5d33fc7dead3a89b7455ddbb74124b65cebdda # timeout=10 [2021-06-28T05:36:40.876Z] Still waiting to schedule task [2021-06-28T05:36:40.876Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-28T05:36:41.787Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T05:36:42.779Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-28T05:36:43.111Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T05:36:43.413Z] + true [2021-06-28T05:36:43.413Z] + sudo service docker restart [2021-06-28T05:36:43.413Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T05:37:01.618Z] provisioning config files... [2021-06-28T05:37:01.633Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config851107502481437865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:37:01.976Z] ---> docker-login.sh [2021-06-28T05:37:01.976Z] nexus3.edgexfoundry.org:10001 [2021-06-28T05:37:02.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:37:02.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:37:02.241Z] Configure a credential helper to remove this warning. See [2021-06-28T05:37:02.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:37:02.241Z] [2021-06-28T05:37:02.241Z] Login Succeeded [2021-06-28T05:37:02.241Z] nexus3.edgexfoundry.org:10002 [2021-06-28T05:37:02.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:37:02.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:37:02.503Z] Configure a credential helper to remove this warning. See [2021-06-28T05:37:02.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:37:02.503Z] [2021-06-28T05:37:02.503Z] Login Succeeded [2021-06-28T05:37:02.503Z] nexus3.edgexfoundry.org:10003 [2021-06-28T05:37:02.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:37:02.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:37:02.503Z] Configure a credential helper to remove this warning. See [2021-06-28T05:37:02.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:37:02.503Z] [2021-06-28T05:37:02.503Z] Login Succeeded [2021-06-28T05:37:02.503Z] nexus3.edgexfoundry.org:10004 [2021-06-28T05:37:02.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:37:02.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:37:02.765Z] Configure a credential helper to remove this warning. See [2021-06-28T05:37:02.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:37:02.765Z] [2021-06-28T05:37:02.765Z] Login Succeeded [2021-06-28T05:37:02.765Z] docker.io [2021-06-28T05:37:02.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:37:03.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:37:03.342Z] Configure a credential helper to remove this warning. See [2021-06-28T05:37:03.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:37:03.342Z] [2021-06-28T05:37:03.342Z] Login Succeeded [2021-06-28T05:37:03.342Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T05:37:03.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T05:37:03.541Z] ========================================================= [2021-06-28T05:37:03.541Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-28T05:37:03.541Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:37:03.867Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-28T05:37:03.867Z] Sending build context to Docker daemon 376.3kB [2021-06-28T05:37:03.867Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T05:37:03.867Z] Step 2/10 : FROM ${BASE} [2021-06-28T05:37:04.131Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-28T05:37:04.131Z] 540db60ca938: Pulling fs layer [2021-06-28T05:37:04.131Z] adcc1eea9eea: Pulling fs layer [2021-06-28T05:37:04.131Z] 4c4ab2625f07: Pulling fs layer [2021-06-28T05:37:04.131Z] 0510c868ecb4: Pulling fs layer [2021-06-28T05:37:04.131Z] afea3b2eda06: Pulling fs layer [2021-06-28T05:37:04.131Z] 7809a108b3ef: Pulling fs layer [2021-06-28T05:37:04.131Z] f706445af74f: Pulling fs layer [2021-06-28T05:37:04.131Z] afea3b2eda06: Waiting [2021-06-28T05:37:04.131Z] 7809a108b3ef: Waiting [2021-06-28T05:37:04.131Z] f706445af74f: Waiting [2021-06-28T05:37:04.131Z] 0510c868ecb4: Waiting [2021-06-28T05:37:04.131Z] 4c4ab2625f07: Verifying Checksum [2021-06-28T05:37:04.131Z] 4c4ab2625f07: Download complete [2021-06-28T05:37:04.131Z] adcc1eea9eea: Verifying Checksum [2021-06-28T05:37:04.131Z] adcc1eea9eea: Download complete [2021-06-28T05:37:04.131Z] afea3b2eda06: Verifying Checksum [2021-06-28T05:37:04.131Z] afea3b2eda06: Download complete [2021-06-28T05:37:04.131Z] 7809a108b3ef: Verifying Checksum [2021-06-28T05:37:04.131Z] 7809a108b3ef: Download complete [2021-06-28T05:37:04.131Z] 540db60ca938: Verifying Checksum [2021-06-28T05:37:04.131Z] 540db60ca938: Download complete [2021-06-28T05:37:04.401Z] 540db60ca938: Pull complete [2021-06-28T05:37:04.675Z] adcc1eea9eea: Pull complete [2021-06-28T05:37:04.675Z] 4c4ab2625f07: Pull complete [2021-06-28T05:37:06.065Z] f706445af74f: Verifying Checksum [2021-06-28T05:37:06.065Z] f706445af74f: Download complete [2021-06-28T05:37:06.641Z] 0510c868ecb4: Verifying Checksum [2021-06-28T05:37:06.641Z] 0510c868ecb4: Download complete [2021-06-28T05:37:10.897Z] 0510c868ecb4: Pull complete [2021-06-28T05:37:10.897Z] afea3b2eda06: Pull complete [2021-06-28T05:37:10.897Z] 7809a108b3ef: Pull complete [2021-06-28T05:37:12.310Z] f706445af74f: Pull complete [2021-06-28T05:37:12.310Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-28T05:37:12.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-28T05:37:12.310Z] ---> b068be0155e3 [2021-06-28T05:37:12.310Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T05:37:17.620Z] ---> Running in 628ced441370 [2021-06-28T05:37:17.620Z] Removing intermediate container 628ced441370 [2021-06-28T05:37:17.620Z] ---> cf0d445476a6 [2021-06-28T05:37:17.620Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T05:37:17.620Z] ---> Running in cd65c237fdc8 [2021-06-28T05:37:17.620Z] Removing intermediate container cd65c237fdc8 [2021-06-28T05:37:17.620Z] ---> ae9fdd3cb8e0 [2021-06-28T05:37:17.620Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-28T05:37:17.620Z] ---> Running in 40fa45e77070 [2021-06-28T05:37:17.620Z] Removing intermediate container 40fa45e77070 [2021-06-28T05:37:17.620Z] ---> 767c825c77b7 [2021-06-28T05:37:17.620Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T05:37:17.620Z] ---> Running in 7838b6a53b96 [2021-06-28T05:37:18.203Z] Removing intermediate container 7838b6a53b96 [2021-06-28T05:37:18.203Z] ---> 9fa2b6c5cb27 [2021-06-28T05:37:18.203Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T05:37:18.203Z] ---> Running in 180ad895d4b4 [2021-06-28T05:37:18.465Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T05:37:19.412Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T05:37:19.676Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-28T05:37:19.938Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-28T05:37:19.938Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-28T05:37:19.938Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-28T05:37:20.200Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T05:37:20.200Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-28T05:37:20.200Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-28T05:37:20.462Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-28T05:37:20.724Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-28T05:37:20.725Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-28T05:37:21.307Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-28T05:37:21.307Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-28T05:37:21.571Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-28T05:37:21.571Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T05:37:21.571Z] OK: 156 MiB in 53 packages [2021-06-28T05:37:22.527Z] Removing intermediate container 180ad895d4b4 [2021-06-28T05:37:22.527Z] ---> ec57f5673f0e [2021-06-28T05:37:22.527Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-28T05:37:22.527Z] ---> Running in 8f23365340c0 [2021-06-28T05:37:22.527Z] Removing intermediate container 8f23365340c0 [2021-06-28T05:37:22.527Z] ---> de50b677fb36 [2021-06-28T05:37:22.527Z] Step 9/10 : COPY . . [2021-06-28T05:37:22.791Z] ---> 591f3a50689e [2021-06-28T05:37:22.791Z] Step 10/10 : RUN go mod download [2021-06-28T05:37:22.791Z] ---> Running in 986cda243bd1 [2021-06-28T05:37:44.790Z] Removing intermediate container 986cda243bd1 [2021-06-28T05:37:44.790Z] ---> cf4305cf5e20 [2021-06-28T05:37:44.790Z] Successfully built cf4305cf5e20 [2021-06-28T05:37:44.790Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:37:45.109Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T05:37:45.109Z] . [Pipeline] withDockerContainer [2021-06-28T05:37:45.207Z] prd-centos7-docker-4c-2g-481 does not seem to be running inside a container [2021-06-28T05:37:45.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T05:37:47.733Z] $ docker top 0562ecf58f828f2deab44122f4caf6c53fc0eb5bd4acfb4d0d6057bdafbaf197 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:37:48.137Z] + go version [2021-06-28T05:37:48.137Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-28T05:37:48.153Z] $ docker stop --time=1 0562ecf58f828f2deab44122f4caf6c53fc0eb5bd4acfb4d0d6057bdafbaf197 [2021-06-28T05:37:49.950Z] $ docker rm -f 0562ecf58f828f2deab44122f4caf6c53fc0eb5bd4acfb4d0d6057bdafbaf197 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:37:50.684Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T05:37:50.684Z] . [Pipeline] withDockerContainer [2021-06-28T05:37:50.771Z] prd-centos7-docker-4c-2g-481 does not seem to be running inside a container [2021-06-28T05:37:50.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T05:37:51.941Z] $ docker top 00312a05e0b45caf2f0fe50bd622036c02695b56e6c3ec77070d8231365130dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:37:52.345Z] + go mod tidy [Pipeline] sh [2021-06-28T05:37:53.235Z] + make test [2021-06-28T05:37:53.235Z] go mod tidy [2021-06-28T05:37:53.501Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-28T05:37:54.079Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-28T05:38:16.175Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-28T05:38:16.175Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2021-06-28T05:38:16.175Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T05:38:20.455Z] gofmt -l . [2021-06-28T05:38:20.456Z] [ "`gofmt -l .`" = "" ] [2021-06-28T05:38:20.456Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T05:38:20.733Z] $ docker stop --time=1 00312a05e0b45caf2f0fe50bd622036c02695b56e6c3ec77070d8231365130dc [2021-06-28T05:38:22.198Z] $ docker rm -f 00312a05e0b45caf2f0fe50bd622036c02695b56e6c3ec77070d8231365130dc [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T05:38:22.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T05:38:22.853Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-28T05:38:24.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T05:38:24.396Z] + ls -al . [2021-06-28T05:38:24.396Z] total 104 [2021-06-28T05:38:24.396Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 28 05:38 . [2021-06-28T05:38:24.396Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 28 05:36 .. [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 28 05:36 Attribution.txt [2021-06-28T05:38:24.396Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 28 05:36 bin [2021-06-28T05:38:24.396Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 28 05:36 cmd [2021-06-28T05:38:24.396Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 28 05:38 coverage.out [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 28 05:36 Dockerfile [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 28 05:36 Dockerfile.build [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 28 05:36 .dockerignore [2021-06-28T05:38:24.396Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 28 05:36 .git [2021-06-28T05:38:24.396Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 28 05:36 .github [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 28 05:36 .gitignore [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 208 Jun 28 05:36 go.mod [2021-06-28T05:38:24.396Z] -rw-r--r--. 1 jenkins jenkins 20831 Jun 28 05:37 go.sum [2021-06-28T05:38:24.396Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 28 05:36 internal [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 28 05:36 Jenkinsfile [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 28 05:36 LICENSE [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 28 05:36 Makefile [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 28 05:36 README.md [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 28 05:36 VERSION [2021-06-28T05:38:24.396Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 28 05:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:38:24.705Z] + 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=dd5d33fc7dead3a89b7455ddbb74124b65cebdda --label arch=amd64 --label version=0.0.0 . [2021-06-28T05:38:24.705Z] Sending build context to Docker daemon 384.5kB [2021-06-28T05:38:24.705Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T05:38:24.706Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-28T05:38:24.706Z] ---> cf4305cf5e20 [2021-06-28T05:38:24.706Z] Step 3/24 : ARG MAKE='make build' [2021-06-28T05:38:24.706Z] ---> Running in 25d3d763023e [2021-06-28T05:38:24.972Z] Removing intermediate container 25d3d763023e [2021-06-28T05:38:24.972Z] ---> ca106dc32491 [2021-06-28T05:38:24.972Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T05:38:24.972Z] ---> Running in 3ffdd858df18 [2021-06-28T05:38:24.972Z] Removing intermediate container 3ffdd858df18 [2021-06-28T05:38:24.972Z] ---> 2441aed983eb [2021-06-28T05:38:24.972Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T05:38:24.972Z] ---> Running in 01820e520e81 [2021-06-28T05:38:24.972Z] Removing intermediate container 01820e520e81 [2021-06-28T05:38:24.972Z] ---> d814f02b589e [2021-06-28T05:38:24.972Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T05:38:25.235Z] ---> Running in 61c197d5fb45 [2021-06-28T05:38:25.498Z] Removing intermediate container 61c197d5fb45 [2021-06-28T05:38:25.498Z] ---> 42fa26ca3af4 [2021-06-28T05:38:25.498Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T05:38:25.820Z] ---> Running in 40d2bf10f58b [2021-06-28T05:38:25.820Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T05:38:26.773Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T05:38:27.350Z] OK: 156 MiB in 53 packages [2021-06-28T05:38:27.350Z] Removing intermediate container 40d2bf10f58b [2021-06-28T05:38:27.350Z] ---> 0dc8b2d978c3 [2021-06-28T05:38:27.350Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-28T05:38:27.612Z] ---> Running in 65bb19862e79 [2021-06-28T05:38:27.612Z] Removing intermediate container 65bb19862e79 [2021-06-28T05:38:27.612Z] ---> 06a151848922 [2021-06-28T05:38:27.612Z] Step 9/24 : COPY . . [2021-06-28T05:38:27.875Z] ---> 11943ff85a7b [2021-06-28T05:38:27.875Z] Step 10/24 : RUN go mod tidy [2021-06-28T05:38:27.875Z] ---> Running in ab74123b085e [2021-06-28T05:38:28.456Z] Removing intermediate container ab74123b085e [2021-06-28T05:38:28.456Z] ---> db397e29f32b [2021-06-28T05:38:28.456Z] Step 11/24 : RUN make update [2021-06-28T05:38:28.724Z] ---> Running in ee244a40f9c5 [2021-06-28T05:38:28.995Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T05:38:29.259Z] Removing intermediate container ee244a40f9c5 [2021-06-28T05:38:29.259Z] ---> 167c6a826daf [2021-06-28T05:38:29.259Z] Step 12/24 : RUN ${MAKE} [2021-06-28T05:38:29.259Z] ---> Running in 1e6b6e14398a [2021-06-28T05:38:29.521Z] go mod tidy [2021-06-28T05:38:29.786Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-28T05:38:44.842Z] Removing intermediate container 1e6b6e14398a [2021-06-28T05:38:44.842Z] ---> 7b4ff07e031c [2021-06-28T05:38:44.842Z] Step 13/24 : FROM alpine:3.12 [2021-06-28T05:38:44.842Z] 3.12: Pulling from library/alpine [2021-06-28T05:38:44.842Z] 339de151aab4: Pulling fs layer [2021-06-28T05:38:44.842Z] 339de151aab4: Verifying Checksum [2021-06-28T05:38:44.842Z] 339de151aab4: Download complete [2021-06-28T05:38:44.842Z] 339de151aab4: Pull complete [2021-06-28T05:38:44.842Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T05:38:44.842Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T05:38:44.842Z] ---> 13621d1b12d4 [2021-06-28T05:38:44.842Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T05:38:44.842Z] ---> Running in 1092a21312e7 [2021-06-28T05:38:44.842Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-28T05:38:44.842Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-28T05:38:44.842Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T05:38:44.842Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T05:38:44.842Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T05:38:44.842Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T05:38:44.842Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T05:38:44.842Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T05:38:44.842Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T05:38:44.842Z] OK: 8 MiB in 20 packages [2021-06-28T05:38:44.842Z] Removing intermediate container 1092a21312e7 [2021-06-28T05:38:44.842Z] ---> 44c7426ac4c8 [2021-06-28T05:38:44.842Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-28T05:38:45.125Z] ---> eefeabc05ef9 [2021-06-28T05:38:45.125Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-28T05:38:45.390Z] ---> ef9a9c2e01e6 [2021-06-28T05:38:45.390Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-28T05:38:45.390Z] ---> c29e21ced130 [2021-06-28T05:38:45.390Z] Step 18/24 : EXPOSE 59993 [2021-06-28T05:38:45.653Z] ---> Running in 28cdd4771b8f [2021-06-28T05:38:45.653Z] Removing intermediate container 28cdd4771b8f [2021-06-28T05:38:45.653Z] ---> 9bf90d6017ba [2021-06-28T05:38:45.653Z] Step 19/24 : EXPOSE 161 [2021-06-28T05:38:45.653Z] ---> Running in f56100c8b608 [2021-06-28T05:38:45.653Z] Removing intermediate container f56100c8b608 [2021-06-28T05:38:45.653Z] ---> e7cf2626277d [2021-06-28T05:38:45.653Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-28T05:38:45.916Z] ---> Running in d3534a1677ca [2021-06-28T05:38:45.916Z] Removing intermediate container d3534a1677ca [2021-06-28T05:38:45.916Z] ---> d7cda56ab19f [2021-06-28T05:38:45.916Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T05:38:45.916Z] ---> Running in a15299cf626e [2021-06-28T05:38:45.916Z] Removing intermediate container a15299cf626e [2021-06-28T05:38:45.916Z] ---> 3e36169bd4c2 [2021-06-28T05:38:45.916Z] Step 22/24 : LABEL arch=amd64 [2021-06-28T05:38:46.187Z] ---> Running in 018712aab6cd [2021-06-28T05:38:46.187Z] Removing intermediate container 018712aab6cd [2021-06-28T05:38:46.187Z] ---> 7deb7fea1c66 [2021-06-28T05:38:46.187Z] Step 23/24 : LABEL git_sha=dd5d33fc7dead3a89b7455ddbb74124b65cebdda [2021-06-28T05:38:46.187Z] ---> Running in 0404980b8083 [2021-06-28T05:38:46.187Z] Removing intermediate container 0404980b8083 [2021-06-28T05:38:46.187Z] ---> ae85b4a05832 [2021-06-28T05:38:46.187Z] Step 24/24 : LABEL version=0.0.0 [2021-06-28T05:38:46.456Z] ---> Running in 72cf0e0316cc [2021-06-28T05:38:46.456Z] Removing intermediate container 72cf0e0316cc [2021-06-28T05:38:46.456Z] ---> 98f304ea4a94 [2021-06-28T05:38:46.456Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T05:38:46.456Z] Successfully built 98f304ea4a94 [2021-06-28T05:38:46.456Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:38:47.230Z] ---> job-cost.sh [2021-06-28T05:38:47.230Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GO7S [2021-06-28T05:38:57.257Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T05:39:09.567Z] lf-activate-venv(): INFO: Adding /tmp/venv-GO7S/bin to PATH [2021-06-28T05:39:09.567Z] INFO: No Stack... [2021-06-28T05:39:10.140Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T05:39:10.742Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T05:39:11.079Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-06-28T05:39:11.079Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T05:39:11.114Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-117-2-stack-cost] [2021-06-28T05:39:11.124Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-117-2-stack-cost] did not exist. Created. [2021-06-28T05:39:11.124Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-117-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T05:39:11.459Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-28T05:39:11.549Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T05:39:11.561Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-117-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-28T05:39:48.249Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-483 in /w/workspace/gexfoundry_device-snmp-go_PR-117 [Pipeline] { [Pipeline] ws [2021-06-28T05:39:48.276Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-06-28T05:39:48.479Z] Selected Git installation does not exist. Using Default [2021-06-28T05:39:48.479Z] The recommended git tool is: NONE [2021-06-28T05:39:53.547Z] using credential edgex-jenkins-ssh [2021-06-28T05:39:53.580Z] Cloning the remote Git repository [2021-06-28T05:39:53.639Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:39:53.760Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-06-28T05:39:53.898Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:39:53.898Z] > git --version # timeout=10 [2021-06-28T05:39:53.913Z] > git --version # 'git version 2.17.1' [2021-06-28T05:39:53.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:39:54.008Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T05:39:55.283Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit dd5d33fc7dead3a89b7455ddbb74124b65cebdda [2021-06-28T05:39:55.492Z] Merge succeeded, producing dd5d33fc7dead3a89b7455ddbb74124b65cebdda [2021-06-28T05:39:55.492Z] Checking out Revision dd5d33fc7dead3a89b7455ddbb74124b65cebdda (PR-117) [2021-06-28T05:39:54.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T05:39:54.732Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T05:39:54.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T05:39:54.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T05:39:54.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:39:54.810Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T05:39:55.305Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T05:39:55.342Z] > git checkout -f dd5d33fc7dead3a89b7455ddbb74124b65cebdda # timeout=10 [2021-06-28T05:39:55.418Z] > git remote # timeout=10 [2021-06-28T05:39:55.434Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T05:39:55.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T05:39:55.458Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-28T05:39:55.478Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T05:39:55.499Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T05:39:55.524Z] > git checkout -f dd5d33fc7dead3a89b7455ddbb74124b65cebdda # timeout=10 [2021-06-28T05:39:59.790Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T05:40:01.039Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-28T05:40:01.466Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T05:40:01.815Z] + sudo service docker+ restart [2021-06-28T05:40:01.816Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T05:40:20.224Z] provisioning config files... [2021-06-28T05:40:20.249Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config6710842273291599399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:40:20.622Z] ---> docker-login.sh [2021-06-28T05:40:20.623Z] nexus3.edgexfoundry.org:10001 [2021-06-28T05:40:21.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:40:21.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:40:21.891Z] Configure a credential helper to remove this warning. See [2021-06-28T05:40:21.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:40:21.891Z] [2021-06-28T05:40:21.891Z] Login Succeeded [2021-06-28T05:40:21.891Z] nexus3.edgexfoundry.org:10002 [2021-06-28T05:40:22.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:40:22.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:40:22.438Z] Configure a credential helper to remove this warning. See [2021-06-28T05:40:22.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:40:22.438Z] [2021-06-28T05:40:22.438Z] Login Succeeded [2021-06-28T05:40:22.438Z] nexus3.edgexfoundry.org:10003 [2021-06-28T05:40:22.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:40:22.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:40:22.990Z] Configure a credential helper to remove this warning. See [2021-06-28T05:40:22.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:40:22.990Z] [2021-06-28T05:40:22.990Z] Login Succeeded [2021-06-28T05:40:22.990Z] nexus3.edgexfoundry.org:10004 [2021-06-28T05:40:23.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:40:23.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:40:23.537Z] Configure a credential helper to remove this warning. See [2021-06-28T05:40:23.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:40:23.537Z] [2021-06-28T05:40:23.537Z] Login Succeeded [2021-06-28T05:40:23.537Z] docker.io [2021-06-28T05:40:23.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T05:40:24.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T05:40:24.406Z] Configure a credential helper to remove this warning. See [2021-06-28T05:40:24.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T05:40:24.406Z] [2021-06-28T05:40:24.406Z] Login Succeeded [2021-06-28T05:40:24.406Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T05:40:24.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T05:40:24.731Z] ========================================================= [2021-06-28T05:40:24.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-28T05:40:24.732Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:40:25.081Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-28T05:40:25.357Z] Sending build context to Docker daemon 375.3kB [2021-06-28T05:40:25.357Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T05:40:25.357Z] Step 2/10 : FROM ${BASE} [2021-06-28T05:40:25.642Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-28T05:40:25.642Z] 595b0fe564bb: Pulling fs layer [2021-06-28T05:40:25.642Z] 3088b5b3c5c0: Pulling fs layer [2021-06-28T05:40:25.642Z] 5b7225fbf94c: Pulling fs layer [2021-06-28T05:40:25.642Z] ba82ee9f976e: Pulling fs layer [2021-06-28T05:40:25.642Z] 506bd15cee9f: Pulling fs layer [2021-06-28T05:40:25.642Z] 75a0a4a0db45: Pulling fs layer [2021-06-28T05:40:25.642Z] 618dc40b7e24: Pulling fs layer [2021-06-28T05:40:25.642Z] ba82ee9f976e: Waiting [2021-06-28T05:40:25.642Z] 506bd15cee9f: Waiting [2021-06-28T05:40:25.642Z] 75a0a4a0db45: Waiting [2021-06-28T05:40:25.642Z] 618dc40b7e24: Waiting [2021-06-28T05:40:25.642Z] 5b7225fbf94c: Verifying Checksum [2021-06-28T05:40:25.642Z] 5b7225fbf94c: Download complete [2021-06-28T05:40:25.642Z] 3088b5b3c5c0: Download complete [2021-06-28T05:40:25.642Z] 506bd15cee9f: Download complete [2021-06-28T05:40:25.916Z] 75a0a4a0db45: Verifying Checksum [2021-06-28T05:40:25.916Z] 75a0a4a0db45: Download complete [2021-06-28T05:40:25.916Z] 595b0fe564bb: Verifying Checksum [2021-06-28T05:40:25.916Z] 595b0fe564bb: Download complete [2021-06-28T05:40:26.516Z] 595b0fe564bb: Pull complete [2021-06-28T05:40:27.117Z] 3088b5b3c5c0: Pull complete [2021-06-28T05:40:27.395Z] 5b7225fbf94c: Pull complete [2021-06-28T05:40:27.994Z] 618dc40b7e24: Verifying Checksum [2021-06-28T05:40:27.994Z] 618dc40b7e24: Download complete [2021-06-28T05:40:29.442Z] ba82ee9f976e: Download complete [2021-06-28T05:40:39.699Z] ba82ee9f976e: Pull complete [2021-06-28T05:40:39.699Z] 506bd15cee9f: Pull complete [2021-06-28T05:40:40.295Z] 75a0a4a0db45: Pull complete [2021-06-28T05:40:43.705Z] 618dc40b7e24: Pull complete [2021-06-28T05:40:43.984Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-28T05:40:43.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-28T05:40:43.984Z] ---> a36622ca3599 [2021-06-28T05:40:43.984Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T05:40:46.014Z] ---> Running in 79d53c82b865 [2021-06-28T05:40:46.310Z] Removing intermediate container 79d53c82b865 [2021-06-28T05:40:46.310Z] ---> 7a9e5bd2b86e [2021-06-28T05:40:46.310Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T05:40:46.603Z] ---> Running in aa53463e6cbb [2021-06-28T05:40:47.208Z] Removing intermediate container aa53463e6cbb [2021-06-28T05:40:47.208Z] ---> 282ea58e2439 [2021-06-28T05:40:47.208Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-28T05:40:47.208Z] ---> Running in ac91a1213378 [2021-06-28T05:40:47.482Z] Removing intermediate container ac91a1213378 [2021-06-28T05:40:47.482Z] ---> 43359084afe9 [2021-06-28T05:40:47.482Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T05:40:47.806Z] ---> Running in 8005f0f2a82c [2021-06-28T05:40:50.424Z] Removing intermediate container 8005f0f2a82c [2021-06-28T05:40:50.424Z] ---> e74114829e41 [2021-06-28T05:40:50.424Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T05:40:50.424Z] ---> Running in 42ea6cd3bc40 [2021-06-28T05:40:51.404Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T05:40:52.391Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T05:40:53.398Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-28T05:40:53.399Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-28T05:40:53.399Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-28T05:40:53.673Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-28T05:40:53.673Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T05:40:53.944Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-28T05:40:53.944Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-28T05:40:54.538Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-28T05:40:54.811Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-28T05:40:54.811Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-28T05:40:55.082Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-28T05:40:55.082Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-28T05:40:55.355Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-28T05:40:55.355Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T05:40:55.645Z] OK: 145 MiB in 53 packages [2021-06-28T05:40:57.092Z] Removing intermediate container 42ea6cd3bc40 [2021-06-28T05:40:57.092Z] ---> 870a12010628 [2021-06-28T05:40:57.092Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-28T05:40:57.092Z] ---> Running in 98b0520b4f51 [2021-06-28T05:40:57.694Z] Removing intermediate container 98b0520b4f51 [2021-06-28T05:40:57.694Z] ---> bd820de096fd [2021-06-28T05:40:57.694Z] Step 9/10 : COPY . . [2021-06-28T05:40:58.680Z] ---> 920313451085 [2021-06-28T05:40:58.680Z] Step 10/10 : RUN go mod download [2021-06-28T05:40:58.680Z] ---> Running in efa392d30a60 [2021-06-28T05:41:25.514Z] Removing intermediate container efa392d30a60 [2021-06-28T05:41:25.514Z] ---> f260440795be [2021-06-28T05:41:25.514Z] Successfully built f260440795be [2021-06-28T05:41:25.514Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:41:25.870Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T05:41:25.870Z] . [Pipeline] withDockerContainer [2021-06-28T05:41:26.138Z] prd-ubuntu18.04-docker-arm64-4c-16g-483 does not seem to be running inside a container [2021-06-28T05:41:26.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T05:41:27.862Z] $ docker top 4d4c00030cbc75d80fa958c92e221a5394af1da4a1f8a8e6e169dc5753d96e1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:41:28.817Z] + go version [2021-06-28T05:41:28.817Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-28T05:41:28.840Z] $ docker stop --time=1 4d4c00030cbc75d80fa958c92e221a5394af1da4a1f8a8e6e169dc5753d96e1c [2021-06-28T05:41:30.688Z] $ docker rm -f 4d4c00030cbc75d80fa958c92e221a5394af1da4a1f8a8e6e169dc5753d96e1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:41:31.425Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T05:41:31.425Z] . [Pipeline] withDockerContainer [2021-06-28T05:41:31.696Z] prd-ubuntu18.04-docker-arm64-4c-16g-483 does not seem to be running inside a container [2021-06-28T05:41:31.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-28T05:41:33.395Z] $ docker top f7764afd953976e71da6edf9644dca9eb7ae901e402ce74b52dba9ca26bb741a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:41:34.372Z] + go mod tidy [Pipeline] sh [2021-06-28T05:41:35.746Z] + make test [2021-06-28T05:41:35.746Z] go mod tidy [2021-06-28T05:41:36.018Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-28T05:41:37.455Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-28T05:42:24.487Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-28T05:42:24.487Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.032s coverage: 0.0% of statements [2021-06-28T05:42:24.761Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T05:42:51.600Z] gofmt -l . [2021-06-28T05:42:51.600Z] [ "`gofmt -l .`" = "" ] [2021-06-28T05:42:51.600Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T05:42:51.622Z] $ docker stop --time=1 f7764afd953976e71da6edf9644dca9eb7ae901e402ce74b52dba9ca26bb741a [2021-06-28T05:42:53.700Z] $ docker rm -f f7764afd953976e71da6edf9644dca9eb7ae901e402ce74b52dba9ca26bb741a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T05:42:54.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T05:42:54.598Z] Warning: overwriting stash ‘coverage-report’ [2021-06-28T05:42:55.068Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T05:42:55.617Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T05:42:55.952Z] + ls -al . [2021-06-28T05:42:55.952Z] total 128 [2021-06-28T05:42:55.952Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 28 05:42 . [2021-06-28T05:42:55.952Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 05:39 .. [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 28 05:39 .dockerignore [2021-06-28T05:42:55.952Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 05:39 .git [2021-06-28T05:42:55.952Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 05:39 .github [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 28 05:39 .gitignore [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 28 05:39 Attribution.txt [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 28 05:39 Dockerfile [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 28 05:39 Dockerfile.build [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 28 05:39 Jenkinsfile [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 05:39 LICENSE [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 28 05:39 Makefile [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 28 05:39 README.md [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 05:36 VERSION [2021-06-28T05:42:55.952Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 05:39 bin [2021-06-28T05:42:55.952Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 05:39 cmd [2021-06-28T05:42:55.952Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 28 05:42 coverage.out [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 208 Jun 28 05:39 go.mod [2021-06-28T05:42:55.952Z] -rw-r--r-- 1 jenkins jenkins 20831 Jun 28 05:41 go.sum [2021-06-28T05:42:55.952Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 05:39 internal [2021-06-28T05:42:55.952Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 05:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:42:56.298Z] + 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=dd5d33fc7dead3a89b7455ddbb74124b65cebdda --label arch=arm64 --label version=0.0.0 . [2021-06-28T05:42:56.571Z] Sending build context to Docker daemon 383.5kB [2021-06-28T05:42:56.843Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T05:42:56.843Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-28T05:42:56.843Z] ---> f260440795be [2021-06-28T05:42:56.843Z] Step 3/24 : ARG MAKE='make build' [2021-06-28T05:42:57.132Z] ---> Running in ff0939ff4132 [2021-06-28T05:42:57.404Z] Removing intermediate container ff0939ff4132 [2021-06-28T05:42:57.404Z] ---> 2ee779a8d8e8 [2021-06-28T05:42:57.404Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T05:42:57.678Z] ---> Running in a89e26971399 [2021-06-28T05:42:58.273Z] Removing intermediate container a89e26971399 [2021-06-28T05:42:58.273Z] ---> e27a40d50171 [2021-06-28T05:42:58.273Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T05:42:58.563Z] ---> Running in f4db74d9dd01 [2021-06-28T05:42:58.835Z] Removing intermediate container f4db74d9dd01 [2021-06-28T05:42:58.835Z] ---> 88deb5ed371f [2021-06-28T05:42:58.835Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T05:42:59.109Z] ---> Running in 59a48ee70513 [2021-06-28T05:43:01.743Z] Removing intermediate container 59a48ee70513 [2021-06-28T05:43:01.743Z] ---> 419b7beecfb4 [2021-06-28T05:43:01.743Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T05:43:01.743Z] ---> Running in 894dfd96a848 [2021-06-28T05:43:02.747Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T05:43:03.723Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T05:43:04.327Z] OK: 145 MiB in 53 packages [2021-06-28T05:43:05.946Z] Removing intermediate container 894dfd96a848 [2021-06-28T05:43:05.946Z] ---> 2f04983ce621 [2021-06-28T05:43:05.946Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-28T05:43:05.946Z] ---> Running in 875404eece09 [2021-06-28T05:43:06.567Z] Removing intermediate container 875404eece09 [2021-06-28T05:43:06.567Z] ---> cda6d47af69e [2021-06-28T05:43:06.567Z] Step 9/24 : COPY . . [2021-06-28T05:43:07.587Z] ---> b06eb12c0b08 [2021-06-28T05:43:07.587Z] Step 10/24 : RUN go mod tidy [2021-06-28T05:43:07.862Z] ---> Running in 08fe20b2360c [2021-06-28T05:43:10.492Z] Removing intermediate container 08fe20b2360c [2021-06-28T05:43:10.492Z] ---> 6c30d3d641eb [2021-06-28T05:43:10.492Z] Step 11/24 : RUN make update [2021-06-28T05:43:10.766Z] ---> Running in 6a8fd129119b [2021-06-28T05:43:11.745Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T05:43:12.732Z] Removing intermediate container 6a8fd129119b [2021-06-28T05:43:12.732Z] ---> dd65c1b35cf8 [2021-06-28T05:43:12.732Z] Step 12/24 : RUN ${MAKE} [2021-06-28T05:43:13.007Z] ---> Running in 5bb0b950690b [2021-06-28T05:43:13.991Z] go mod tidy [2021-06-28T05:43:14.596Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-28T05:43:53.629Z] Removing intermediate container 5bb0b950690b [2021-06-28T05:43:53.629Z] ---> 4f4152199324 [2021-06-28T05:43:53.629Z] Step 13/24 : FROM alpine:3.12 [2021-06-28T05:43:53.629Z] 3.12: Pulling from library/alpine [2021-06-28T05:43:53.629Z] d2f70382dc9a: Pulling fs layer [2021-06-28T05:43:53.629Z] d2f70382dc9a: Download complete [2021-06-28T05:43:53.629Z] d2f70382dc9a: Pull complete [2021-06-28T05:43:53.629Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T05:43:53.629Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T05:43:53.629Z] ---> c4fd0aeabfcf [2021-06-28T05:43:53.629Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T05:43:53.629Z] ---> Running in df4522bb7f8e [2021-06-28T05:43:53.629Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-28T05:43:53.629Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-28T05:43:53.629Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T05:43:53.629Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T05:43:53.629Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T05:43:53.629Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T05:43:53.629Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T05:43:53.629Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T05:43:53.629Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T05:43:53.629Z] OK: 8 MiB in 20 packages [2021-06-28T05:43:53.906Z] Removing intermediate container df4522bb7f8e [2021-06-28T05:43:53.906Z] ---> 75ff951a6372 [2021-06-28T05:43:53.906Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-28T05:43:55.358Z] ---> 8a59f4934e2f [2021-06-28T05:43:55.358Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-28T05:43:55.974Z] ---> 708473004bcf [2021-06-28T05:43:55.974Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-28T05:43:56.571Z] ---> 2524d91a07fe [2021-06-28T05:43:56.571Z] Step 18/24 : EXPOSE 59993 [2021-06-28T05:43:56.845Z] ---> Running in e184c7a65a3f [2021-06-28T05:43:57.446Z] Removing intermediate container e184c7a65a3f [2021-06-28T05:43:57.446Z] ---> c13a6bc1438d [2021-06-28T05:43:57.446Z] Step 19/24 : EXPOSE 161 [2021-06-28T05:43:57.446Z] ---> Running in c495c2fdcbd5 [2021-06-28T05:43:57.723Z] Removing intermediate container c495c2fdcbd5 [2021-06-28T05:43:57.724Z] ---> 25566e707700 [2021-06-28T05:43:57.724Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-28T05:43:58.001Z] ---> Running in a1611cac1d4e [2021-06-28T05:43:58.604Z] Removing intermediate container a1611cac1d4e [2021-06-28T05:43:58.605Z] ---> fee7f66ab4bb [2021-06-28T05:43:58.605Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T05:43:58.605Z] ---> Running in be685c7e7728 [2021-06-28T05:43:58.879Z] Removing intermediate container be685c7e7728 [2021-06-28T05:43:58.879Z] ---> 71e5d6d3499d [2021-06-28T05:43:58.879Z] Step 22/24 : LABEL arch=arm64 [2021-06-28T05:43:59.154Z] ---> Running in 549b3957e450 [2021-06-28T05:43:59.750Z] Removing intermediate container 549b3957e450 [2021-06-28T05:43:59.750Z] ---> 61a92c04af73 [2021-06-28T05:43:59.750Z] Step 23/24 : LABEL git_sha=dd5d33fc7dead3a89b7455ddbb74124b65cebdda [2021-06-28T05:43:59.750Z] ---> Running in c02c6b3a5a9c [2021-06-28T05:44:00.028Z] Removing intermediate container c02c6b3a5a9c [2021-06-28T05:44:00.028Z] ---> a200014c2913 [2021-06-28T05:44:00.028Z] Step 24/24 : LABEL version=0.0.0 [2021-06-28T05:44:00.303Z] ---> Running in 059851a53b63 [2021-06-28T05:44:00.901Z] Removing intermediate container 059851a53b63 [2021-06-28T05:44:00.901Z] ---> 93c2b3236a1f [2021-06-28T05:44:00.901Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T05:44:00.901Z] Successfully built 93c2b3236a1f [2021-06-28T05:44:00.901Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:44:01.586Z] ---> job-cost.sh [2021-06-28T05:44:01.586Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-IFGK [2021-06-28T05:44:40.571Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T05:46:02.320Z] lf-activate-venv(): INFO: Adding /tmp/venv-IFGK/bin to PATH [2021-06-28T05:46:02.320Z] INFO: No Stack... [2021-06-28T05:46:02.911Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-28T05:46:03.506Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T05:46:03.859Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-06-28T05:46:03.859Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T05:46:03.921Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-117-2-stack-cost] [2021-06-28T05:46:03.929Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-117-2-stack-cost] did not exist. Created. [2021-06-28T05:46:03.929Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-117-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T05:46:04.311Z] /w/workspace/device-snmp-go/2@tmp/durable-15f84df3/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-15f84df3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-28T05:46:04.657Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-28T05:46:04.703Z] Warning: overwriting stash ‘stack-cost’ [2021-06-28T05:46:04.850Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T05:46:04.866Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-117-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-28T05:46:05.802Z] provisioning config files... [2021-06-28T05:46:05.811Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/config635170602779944468tmp [Pipeline] { [Pipeline] sh [2021-06-28T05:46:06.151Z] + set +x [2021-06-28T05:46:06.151Z] + bash -s -- [2021-06-28T05:46:06.151Z] + curl -s https://codecov.io/bash [2021-06-28T05:46:06.151Z] [2021-06-28T05:46:06.151Z] _____ _ [2021-06-28T05:46:06.151Z] / ____| | | [2021-06-28T05:46:06.151Z] | | ___ __| | ___ ___ _____ __ [2021-06-28T05:46:06.151Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-28T05:46:06.151Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-28T05:46:06.151Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-28T05:46:06.151Z] Bash-1.0.3 [2021-06-28T05:46:06.151Z] [2021-06-28T05:46:06.151Z] [2021-06-28T05:46:06.151Z] ==> git version 2.24.4 found [2021-06-28T05:46:06.151Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-28T05:46:06.151Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-28T05:46:06.151Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-28T05:46:06.151Z] ==> Jenkins CI detected. [2021-06-28T05:46:06.151Z] project root: . [2021-06-28T05:46:06.151Z] --> token set from env [2021-06-28T05:46:06.151Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-28T05:46:06.151Z] ==> Running gcov in . (disable via -X gcov) [2021-06-28T05:46:06.151Z] ==> Python coveragepy not found [2021-06-28T05:46:06.151Z] ==> Searching for coverage reports in: [2021-06-28T05:46:06.151Z] + . [2021-06-28T05:46:06.151Z] -> Found 1 reports [2021-06-28T05:46:06.151Z] ==> Detecting git/mercurial file structure [2021-06-28T05:46:06.151Z] ==> Reading reports [2021-06-28T05:46:06.151Z] + ./coverage.out bytes=7631 [2021-06-28T05:46:06.151Z] ==> Appending adjustments [2021-06-28T05:46:06.151Z] https://docs.codecov.io/docs/fixing-reports [2021-06-28T05:46:06.419Z] + Found adjustments [2021-06-28T05:46:06.419Z] ==> Gzipping contents [2021-06-28T05:46:06.419Z] 4.0K /tmp/codecov.fr5U0C.gz [2021-06-28T05:46:06.419Z] ==> Uploading reports [2021-06-28T05:46:06.419Z] url: https://codecov.io [2021-06-28T05:46:06.419Z] query: branch=PR-117&commit=dd5d33fc7dead3a89b7455ddbb74124b65cebdda&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-117%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=117&job=&cmd_args= [2021-06-28T05:46:06.419Z] -> Pinging Codecov [2021-06-28T05:46:06.419Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-117&commit=dd5d33fc7dead3a89b7455ddbb74124b65cebdda&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-117%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=117&job=&cmd_args= [2021-06-28T05:46:06.681Z] -> Uploading to [2021-06-28T05:46:06.681Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-28/6C56EA5C29638FB4528AC87E60AF5AE0/dd5d33fc7dead3a89b7455ddbb74124b65cebdda/33a1d7d4-be19-4b10-8d26-0cd878883b52.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210628T054606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb16848a99cc993d0a2ad47b9f1754140887fd70d1f863da55a60f3631d3bb69 [2021-06-28T05:46:06.681Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-28T05:46:06.681Z] Dload Upload Total Spent Left Speed [2021-06-28T05:46:07.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 4025 --:--:-- --:--:-- --:--:-- 4029 [2021-06-28T05:46:07.254Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/dd5d33fc7dead3a89b7455ddbb74124b65cebdda [Pipeline] } [2021-06-28T05:46:07.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:46:08.801Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:46:09.403Z] ---> package-listing.sh [2021-06-28T05:46:09.403Z] ++ facter osfamily [2021-06-28T05:46:09.403Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-28T05:46:09.666Z] + OS_FAMILY=redhat [2021-06-28T05:46:09.666Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-117 [2021-06-28T05:46:09.666Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-28T05:46:09.666Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-28T05:46:09.666Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-28T05:46:09.666Z] + PACKAGES=/tmp/packages_start.txt [2021-06-28T05:46:09.666Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-117 ']' [2021-06-28T05:46:09.666Z] + PACKAGES=/tmp/packages_end.txt [2021-06-28T05:46:09.666Z] + case "${OS_FAMILY}" in [2021-06-28T05:46:09.666Z] + rpm -qa [2021-06-28T05:46:09.666Z] + sort [2021-06-28T05:46:10.242Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-28T05:46:10.242Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-28T05:46:10.242Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-28T05:46:10.242Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-117 ']' [2021-06-28T05:46:10.242Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-117/archives/ [2021-06-28T05:46:10.242Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-117/archives/ [Pipeline] echo [2021-06-28T05:46:10.257Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-28T05:46:10.545Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:46:11.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T05:46:11.125Z] [2021-06-28T05:46:11.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-28T05:46:11.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T05:46:11.454Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-28T05:46:11.454Z] df20fa9351a1: Pulling fs layer [2021-06-28T05:46:11.454Z] 36b3adc4ff6f: Pulling fs layer [2021-06-28T05:46:11.454Z] 8ad3a11d3b57: Pulling fs layer [2021-06-28T05:46:11.454Z] 46f8f816bc3b: Pulling fs layer [2021-06-28T05:46:11.454Z] 93b61091891f: Pulling fs layer [2021-06-28T05:46:11.454Z] 93b9cdb0e59b: Pulling fs layer [2021-06-28T05:46:11.454Z] 5e14af77c1be: Pulling fs layer [2021-06-28T05:46:11.454Z] 01666e4c0597: Pulling fs layer [2021-06-28T05:46:11.454Z] aa168da1d23b: Pulling fs layer [2021-06-28T05:46:11.454Z] 93b9cdb0e59b: Waiting [2021-06-28T05:46:11.454Z] 5e14af77c1be: Waiting [2021-06-28T05:46:11.454Z] 01666e4c0597: Waiting [2021-06-28T05:46:11.454Z] aa168da1d23b: Waiting [2021-06-28T05:46:11.454Z] 46f8f816bc3b: Waiting [2021-06-28T05:46:11.454Z] 93b61091891f: Waiting [2021-06-28T05:46:11.454Z] 36b3adc4ff6f: Verifying Checksum [2021-06-28T05:46:11.454Z] 36b3adc4ff6f: Download complete [2021-06-28T05:46:11.454Z] 46f8f816bc3b: Verifying Checksum [2021-06-28T05:46:11.454Z] 46f8f816bc3b: Download complete [2021-06-28T05:46:11.734Z] df20fa9351a1: Verifying Checksum [2021-06-28T05:46:11.734Z] df20fa9351a1: Download complete [2021-06-28T05:46:11.734Z] 93b9cdb0e59b: Verifying Checksum [2021-06-28T05:46:11.734Z] 93b9cdb0e59b: Download complete [2021-06-28T05:46:11.734Z] 5e14af77c1be: Verifying Checksum [2021-06-28T05:46:11.734Z] 5e14af77c1be: Download complete [2021-06-28T05:46:11.734Z] 93b61091891f: Verifying Checksum [2021-06-28T05:46:11.734Z] 93b61091891f: Download complete [2021-06-28T05:46:11.734Z] 01666e4c0597: Verifying Checksum [2021-06-28T05:46:11.734Z] 01666e4c0597: Download complete [2021-06-28T05:46:11.734Z] df20fa9351a1: Pull complete [2021-06-28T05:46:11.734Z] 8ad3a11d3b57: Verifying Checksum [2021-06-28T05:46:11.734Z] 8ad3a11d3b57: Download complete [2021-06-28T05:46:11.998Z] 36b3adc4ff6f: Pull complete [2021-06-28T05:46:12.576Z] 8ad3a11d3b57: Pull complete [2021-06-28T05:46:12.576Z] 46f8f816bc3b: Pull complete [2021-06-28T05:46:12.846Z] 93b61091891f: Pull complete [2021-06-28T05:46:13.114Z] 93b9cdb0e59b: Pull complete [2021-06-28T05:46:13.114Z] 5e14af77c1be: Pull complete [2021-06-28T05:46:13.114Z] 01666e4c0597: Pull complete [2021-06-28T05:46:13.698Z] aa168da1d23b: Verifying Checksum [2021-06-28T05:46:13.698Z] aa168da1d23b: Download complete [2021-06-28T05:46:17.974Z] aa168da1d23b: Pull complete [2021-06-28T05:46:17.974Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-28T05:46:17.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T05:46:17.974Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-28T05:46:18.054Z] prd-centos7-docker-4c-2g-478 does not seem to be running inside a container [2021-06-28T05:46:18.091Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-117 -v /w/workspace/gexfoundry_device-snmp-go_PR-117:/w/workspace/gexfoundry_device-snmp-go_PR-117:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-117@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-117@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-28T05:46:23.011Z] $ docker top f3261b46592f1b86c8d5dae5ae8cd2fd5f77cd7f1550dcbe5591526506f8927f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T05:46:23.398Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-28T05:46:23.698Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-28T05:46:23.998Z] + ls /var/log/sa-host [2021-06-28T05:46:23.998Z] + sadf -c /var/log/sa-host/sa05 [2021-06-28T05:46:23.998Z] file_magic: OK [2021-06-28T05:46:23.998Z] HZ: Using current value: 100 [2021-06-28T05:46:23.998Z] file_header: OK [2021-06-28T05:46:23.998Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-28T05:46:23.998Z] Statistics: [2021-06-28T05:46:23.998Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T05:46:23.998Z] File successfully converted to sysstat format version 12.2.1 [2021-06-28T05:46:23.998Z] + sadf -c /var/log/sa-host/sa28 [2021-06-28T05:46:23.998Z] file_magic: OK [2021-06-28T05:46:23.998Z] HZ: Using current value: 100 [2021-06-28T05:46:23.998Z] file_header: OK [2021-06-28T05:46:23.998Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-28T05:46:23.998Z] Statistics: [2021-06-28T05:46:23.998Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T05:46:23.998Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T05:46:24.214Z] provisioning config files... [2021-06-28T05:46:24.225Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-117@tmp/config3878492437016652045tmp [Pipeline] { [Pipeline] echo [2021-06-28T05:46:24.249Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:46:24.550Z] ---> create-netrc.sh [Pipeline] } [2021-06-28T05:46:24.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:46:24.951Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-28T05:46:24.962Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:46:25.273Z] ---> sudo-logs.sh [2021-06-28T05:46:25.273Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-28T05:46:25.353Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:46:25.659Z] ---> job-cost.sh [2021-06-28T05:46:25.659Z] lf-activate-venv: SKIPPING [2021-06-28T05:46:25.659Z] DEBUG: total: 0.18000000715255737 [2021-06-28T05:46:25.659Z] INFO: Retrieving Stack Cost... [2021-06-28T05:46:27.046Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T05:46:27.307Z] INFO: Archiving Costs [Pipeline] echo [2021-06-28T05:46:27.320Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T05:46:27.612Z] ---> logs-deploy.sh [2021-06-28T05:46:27.612Z] lf-activate-venv: SKIPPING [2021-06-28T05:46:27.612Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-117/2 [2021-06-28T05:46:27.612Z] INFO: archiving workspace using pattern(s): [2021-06-28T05:46:28.563Z] Archives upload complete. [2021-06-28T05:46:28.563Z] INFO: archiving logs to Nexus