Pull request #93 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 1279fd2c208b2b7c25e6395e62580f943264114b+b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 (003f8fe856a9ae62dc4ecd4f0b01a4e0e62e4e59) 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-ssh1333373608494524134.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4590601484487620372.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-93/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-93/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4505268843886497997.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh185993510081071265.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-93/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-93/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5805736480935530286.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15233 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-93 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/jenkins-gitclient-ssh7273956102849680707.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/jenkins-gitclient-ssh5521968310255258494.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 1279fd2c208b2b7c25e6395e62580f943264114b Merge succeeded, producing 1279fd2c208b2b7c25e6395e62580f943264114b Checking out Revision 1279fd2c208b2b7c25e6395e62580f943264114b (PR-93) > git config core.sparsecheckout # timeout=10 > git checkout -f 1279fd2c208b2b7c25e6395e62580f943264114b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/jenkins-gitclient-ssh8588323652508441313.key > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1279fd2c208b2b7c25e6395e62580f943264114b # timeout=10 Commit message: "refactor: update for new service key name" > git rev-list --no-walk 6247689de478ed1fdecf524818edd4c928b9cd23 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T01:46:35.746Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T01:46:35.840Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T01:46:35.871Z] ========================================================= [2021-05-20T01:46:35.871Z] EdgeX Global Pipelines Version Info [2021-05-20T01:46:35.871Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:46:37.329Z] ------------------- [2021-05-20T01:46:37.329Z] stable info: [2021-05-20T01:46:37.329Z] ------------------- [2021-05-20T01:46:37.329Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T01:46:37.329Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T01:46:37.329Z] Message: update stable to v1.0.192 [2021-05-20T01:46:37.909Z] ------------------- [2021-05-20T01:46:37.909Z] experimental info: [2021-05-20T01:46:37.909Z] ------------------- [2021-05-20T01:46:37.909Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T01:46:37.909Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T01:46:37.909Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T01:46:38.047Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-20T01:46:38.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-20T01:46:38.095Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T01:46:38.118Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T01:46:38.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T01:46:38.166Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T01:46:38.191Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T01:46:38.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T01:46:38.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-20T01:46:38.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T01:46:38.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T01:46:38.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-20T01:46:38.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T01:46:38.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T01:46:38.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T01:46:38.410Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T01:46:38.435Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T01:46:38.459Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T01:46:38.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T01:46:38.507Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T01:46:38.531Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-20T01:46:38.556Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-20T01:46:38.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T01:46:38.604Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T01:46:38.629Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T01:46:38.655Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T01:46:38.681Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo [2021-05-20T01:46:38.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo [2021-05-20T01:46:38.730Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo [2021-05-20T01:46:38.755Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1279fd2c208b2b7c25e6395e62580f943264114b [Pipeline] echo [2021-05-20T01:46:38.792Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1279fd2 [Pipeline] echo [2021-05-20T01:46:38.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T01:46:38.903Z] provisioning config files... [2021-05-20T01:46:38.921Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config2501468813312649720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:46:39.246Z] ---> docker-login.sh [2021-05-20T01:46:39.246Z] nexus3.edgexfoundry.org:10001 [2021-05-20T01:46:39.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:46:39.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:46:39.778Z] Configure a credential helper to remove this warning. See [2021-05-20T01:46:39.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:46:39.778Z] [2021-05-20T01:46:39.778Z] Login Succeeded [2021-05-20T01:46:39.778Z] nexus3.edgexfoundry.org:10002 [2021-05-20T01:46:39.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:46:39.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:46:39.778Z] Configure a credential helper to remove this warning. See [2021-05-20T01:46:39.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:46:39.778Z] [2021-05-20T01:46:39.778Z] Login Succeeded [2021-05-20T01:46:39.778Z] nexus3.edgexfoundry.org:10003 [2021-05-20T01:46:40.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:46:40.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:46:40.042Z] Configure a credential helper to remove this warning. See [2021-05-20T01:46:40.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:46:40.042Z] [2021-05-20T01:46:40.042Z] Login Succeeded [2021-05-20T01:46:40.042Z] nexus3.edgexfoundry.org:10004 [2021-05-20T01:46:40.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:46:40.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:46:40.306Z] Configure a credential helper to remove this warning. See [2021-05-20T01:46:40.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:46:40.306Z] [2021-05-20T01:46:40.306Z] Login Succeeded [2021-05-20T01:46:40.306Z] docker.io [2021-05-20T01:46:40.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:46:40.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:46:40.881Z] Configure a credential helper to remove this warning. See [2021-05-20T01:46:40.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:46:40.881Z] [2021-05-20T01:46:40.881Z] Login Succeeded [2021-05-20T01:46:40.881Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T01:46:40.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T01:46:41.585Z] + git log --format=format:%s -1 1279fd2c208b2b7c25e6395e62580f943264114b [Pipeline] echo [2021-05-20T01:46:41.635Z] GIT_COMMIT: 1279fd2c208b2b7c25e6395e62580f943264114b, Commit Message: refactor: update for new service key name [Pipeline] echo [2021-05-20T01:46:41.650Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:46:42.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T01:46:42.661Z] [2021-05-20T01:46:42.661Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:46:42.991Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T01:46:42.991Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T01:46:42.991Z] 31603596830f: Pulling fs layer [2021-05-20T01:46:42.991Z] 54011a49482f: Pulling fs layer [2021-05-20T01:46:42.991Z] a6820b24f6d8: Pulling fs layer [2021-05-20T01:46:42.991Z] f581987b2513: Pulling fs layer [2021-05-20T01:46:42.991Z] f581987b2513: Waiting [2021-05-20T01:46:42.991Z] 54011a49482f: Verifying Checksum [2021-05-20T01:46:42.991Z] 54011a49482f: Download complete [2021-05-20T01:46:43.252Z] 31603596830f: Verifying Checksum [2021-05-20T01:46:43.252Z] 31603596830f: Download complete [2021-05-20T01:46:43.252Z] f581987b2513: Verifying Checksum [2021-05-20T01:46:43.252Z] f581987b2513: Download complete [2021-05-20T01:46:43.252Z] a6820b24f6d8: Verifying Checksum [2021-05-20T01:46:43.252Z] a6820b24f6d8: Download complete [2021-05-20T01:46:43.514Z] 31603596830f: Pull complete [2021-05-20T01:46:43.514Z] 54011a49482f: Pull complete [2021-05-20T01:46:44.116Z] a6820b24f6d8: Pull complete [2021-05-20T01:46:44.379Z] f581987b2513: Pull complete [2021-05-20T01:46:44.379Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T01:46:44.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T01:46:44.642Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T01:46:44.731Z] prd-centos7-docker-4c-2g-15233 does not seem to be running inside a container [2021-05-20T01:46:44.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-93 -v /w/workspace/dgexfoundry_device-snmp-go_PR-93:/w/workspace/dgexfoundry_device-snmp-go_PR-93:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T01:46:46.938Z] $ docker top 76a816e25ce4dd721c3c21f80d901cdac6f9524d3269737c745a9fde24fc85ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T01:46:47.080Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T01:46:47.080Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T01:46:47.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T01:46:47.215Z] $ docker exec 76a816e25ce4dd721c3c21f80d901cdac6f9524d3269737c745a9fde24fc85ce ssh-agent [2021-05-20T01:46:47.329Z] SSH_AUTH_SOCK=/tmp/ssh-BXqwzlqURhRK/agent.14 [2021-05-20T01:46:47.329Z] SSH_AGENT_PID=20 [2021-05-20T01:46:47.338Z] Running ssh-add (command line suppressed) [2021-05-20T01:46:47.452Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_2200920472920329779.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_2200920472920329779.key) [2021-05-20T01:46:47.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T01:46:47.768Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T01:46:47.784Z] $ docker exec --env ******** --env ******** 76a816e25ce4dd721c3c21f80d901cdac6f9524d3269737c745a9fde24fc85ce ssh-agent -k [2021-05-20T01:46:47.894Z] unset SSH_AUTH_SOCK; [2021-05-20T01:46:47.895Z] unset SSH_AGENT_PID; [2021-05-20T01:46:47.895Z] echo Agent pid 20 killed; [2021-05-20T01:46:47.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T01:46:47.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T01:46:47.951Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T01:46:48.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T01:46:48.073Z] $ docker exec 76a816e25ce4dd721c3c21f80d901cdac6f9524d3269737c745a9fde24fc85ce ssh-agent [2021-05-20T01:46:48.196Z] SSH_AUTH_SOCK=/tmp/ssh-g8pHUQf1ZP4Z/agent.54 [2021-05-20T01:46:48.196Z] SSH_AGENT_PID=60 [2021-05-20T01:46:48.203Z] Running ssh-add (command line suppressed) [2021-05-20T01:46:48.314Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_4549075005244757891.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_4549075005244757891.key) [2021-05-20T01:46:48.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T01:46:48.634Z] + git semver init [2021-05-20T01:46:48.634Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T01:46:48.634Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.git [2021-05-20T01:46:48.634Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-20T01:46:48.634Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T01:46:48.634Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T01:46:48.634Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T01:46:48.634Z] # $SEMVER_BRANCH = PR-93 [2021-05-20T01:46:48.634Z] # $SEMVER_TEMP = /tmp/semver-668567691 [2021-05-20T01:46:48.634Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-20T01:46:48.899Z] # '/tmp/semver-668567691' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver' [2021-05-20T01:46:48.899Z] # -> Force: false [2021-05-20T01:46:48.899Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver [Pipeline] } [2021-05-20T01:46:48.911Z] $ docker exec --env ******** --env ******** 76a816e25ce4dd721c3c21f80d901cdac6f9524d3269737c745a9fde24fc85ce ssh-agent -k [2021-05-20T01:46:49.018Z] unset SSH_AUTH_SOCK; [2021-05-20T01:46:49.020Z] unset SSH_AGENT_PID; [2021-05-20T01:46:49.020Z] echo Agent pid 60 killed; [2021-05-20T01:46:49.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T01:46:49.368Z] + git semver [Pipeline] } [2021-05-20T01:46:49.382Z] $ docker stop --time=1 76a816e25ce4dd721c3c21f80d901cdac6f9524d3269737c745a9fde24fc85ce [2021-05-20T01:46:50.737Z] $ docker rm -f 76a816e25ce4dd721c3c21f80d901cdac6f9524d3269737c745a9fde24fc85ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T01:46:51.124Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T01:46:51.388Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T01:46:51.392Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-20T01:46:51.887Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15232 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-20T01:46:51.906Z] Running in /w/workspace/device-snmp-go/12 [Pipeline] { [Pipeline] checkout [2021-05-20T01:46:52.097Z] Selected Git installation does not exist. Using Default [2021-05-20T01:46:52.097Z] The recommended git tool is: NONE [2021-05-20T01:46:56.717Z] using credential edgex-jenkins-ssh [2021-05-20T01:46:56.735Z] Cloning the remote Git repository [2021-05-20T01:46:56.776Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T01:46:56.881Z] > git init /w/workspace/device-snmp-go/12 # timeout=10 [2021-05-20T01:46:56.970Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T01:46:56.971Z] > git --version # timeout=10 [2021-05-20T01:46:56.989Z] > git --version # 'git version 2.17.1' [2021-05-20T01:46:56.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T01:46:57.068Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T01:46:57.675Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T01:46:57.697Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T01:46:57.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T01:46:57.766Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T01:46:57.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T01:46:57.782Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T01:46:58.335Z] Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 1279fd2c208b2b7c25e6395e62580f943264114b [2021-05-20T01:46:58.530Z] Merge succeeded, producing 1279fd2c208b2b7c25e6395e62580f943264114b [2021-05-20T01:46:58.531Z] Checking out Revision 1279fd2c208b2b7c25e6395e62580f943264114b (PR-93) [2021-05-20T01:46:58.349Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T01:46:58.364Z] > git checkout -f 1279fd2c208b2b7c25e6395e62580f943264114b # timeout=10 [2021-05-20T01:46:58.440Z] > git remote # timeout=10 [2021-05-20T01:46:58.456Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T01:46:58.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T01:46:58.479Z] > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 [2021-05-20T01:46:58.501Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T01:46:58.533Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T01:46:58.552Z] > git checkout -f 1279fd2c208b2b7c25e6395e62580f943264114b # timeout=10 [2021-05-20T01:47:02.871Z] Commit message: "refactor: update for new service key name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T01:47:04.040Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T01:47:04.452Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T01:47:04.802Z] + + truesudo [2021-05-20T01:47:04.802Z] service docker restart [2021-05-20T01:47:06.699Z] Still waiting to schedule task [2021-05-20T01:47:06.699Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T01:47:23.157Z] provisioning config files... [2021-05-20T01:47:23.182Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/12@tmp/config8817367183246514012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:47:23.596Z] ---> docker-login.sh [2021-05-20T01:47:23.596Z] nexus3.edgexfoundry.org:10001 [2021-05-20T01:47:24.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:47:24.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:47:24.793Z] Configure a credential helper to remove this warning. See [2021-05-20T01:47:24.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:47:24.793Z] [2021-05-20T01:47:24.793Z] Login Succeeded [2021-05-20T01:47:24.793Z] nexus3.edgexfoundry.org:10002 [2021-05-20T01:47:25.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:47:25.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:47:25.340Z] Configure a credential helper to remove this warning. See [2021-05-20T01:47:25.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:47:25.340Z] [2021-05-20T01:47:25.340Z] Login Succeeded [2021-05-20T01:47:25.340Z] nexus3.edgexfoundry.org:10003 [2021-05-20T01:47:25.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:47:25.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:47:25.617Z] Configure a credential helper to remove this warning. See [2021-05-20T01:47:25.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:47:25.617Z] [2021-05-20T01:47:25.617Z] Login Succeeded [2021-05-20T01:47:25.617Z] nexus3.edgexfoundry.org:10004 [2021-05-20T01:47:26.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:47:26.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:47:26.210Z] Configure a credential helper to remove this warning. See [2021-05-20T01:47:26.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:47:26.211Z] [2021-05-20T01:47:26.211Z] Login Succeeded [2021-05-20T01:47:26.211Z] docker.io [2021-05-20T01:47:26.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:47:26.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:47:26.759Z] Configure a credential helper to remove this warning. See [2021-05-20T01:47:26.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:47:26.759Z] [2021-05-20T01:47:26.759Z] Login Succeeded [2021-05-20T01:47:26.759Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T01:47:26.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T01:47:27.103Z] ========================================================= [2021-05-20T01:47:27.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T01:47:27.103Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:47:27.469Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-20T01:47:27.751Z] Sending build context to Docker daemon 392.7kB [2021-05-20T01:47:27.752Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T01:47:27.752Z] Step 2/10 : FROM ${BASE} [2021-05-20T01:47:28.028Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T01:47:28.028Z] 595b0fe564bb: Pulling fs layer [2021-05-20T01:47:28.028Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T01:47:28.028Z] 316046926c0a: Pulling fs layer [2021-05-20T01:47:28.028Z] 4ebd0625c992: Pulling fs layer [2021-05-20T01:47:28.028Z] 207e8628e3a3: Pulling fs layer [2021-05-20T01:47:28.028Z] c791037a9be2: Pulling fs layer [2021-05-20T01:47:28.028Z] ffd874e62e21: Pulling fs layer [2021-05-20T01:47:28.029Z] 4ebd0625c992: Waiting [2021-05-20T01:47:28.029Z] 207e8628e3a3: Waiting [2021-05-20T01:47:28.029Z] c791037a9be2: Waiting [2021-05-20T01:47:28.029Z] ffd874e62e21: Waiting [2021-05-20T01:47:28.029Z] 316046926c0a: Verifying Checksum [2021-05-20T01:47:28.029Z] 316046926c0a: Download complete [2021-05-20T01:47:28.029Z] 7186ed65a4f7: Verifying Checksum [2021-05-20T01:47:28.029Z] 7186ed65a4f7: Download complete [2021-05-20T01:47:28.029Z] 207e8628e3a3: Download complete [2021-05-20T01:47:28.029Z] c791037a9be2: Verifying Checksum [2021-05-20T01:47:28.029Z] c791037a9be2: Download complete [2021-05-20T01:47:28.306Z] 595b0fe564bb: Verifying Checksum [2021-05-20T01:47:28.306Z] 595b0fe564bb: Download complete [2021-05-20T01:47:28.911Z] 595b0fe564bb: Pull complete [2021-05-20T01:47:29.520Z] 7186ed65a4f7: Pull complete [2021-05-20T01:47:29.797Z] 316046926c0a: Pull complete [2021-05-20T01:47:30.779Z] ffd874e62e21: Verifying Checksum [2021-05-20T01:47:30.780Z] ffd874e62e21: Download complete [2021-05-20T01:47:32.208Z] 4ebd0625c992: Verifying Checksum [2021-05-20T01:47:32.208Z] 4ebd0625c992: Download complete [2021-05-20T01:47:42.368Z] 4ebd0625c992: Pull complete [2021-05-20T01:47:42.368Z] 207e8628e3a3: Pull complete [2021-05-20T01:47:42.368Z] c791037a9be2: Pull complete [2021-05-20T01:47:46.686Z] ffd874e62e21: Pull complete [2021-05-20T01:47:46.686Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T01:47:46.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T01:47:46.686Z] ---> cfc18b08335c [2021-05-20T01:47:46.686Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T01:47:48.129Z] ---> Running in c02af3b29f5b [2021-05-20T01:47:48.430Z] Removing intermediate container c02af3b29f5b [2021-05-20T01:47:48.430Z] ---> 16cbe20852f2 [2021-05-20T01:47:48.430Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T01:47:48.739Z] ---> Running in ac001db5b079 [2021-05-20T01:47:49.395Z] Removing intermediate container ac001db5b079 [2021-05-20T01:47:49.395Z] ---> bfd379f2dc8e [2021-05-20T01:47:49.395Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-20T01:47:49.395Z] ---> Running in bb982765a66f [2021-05-20T01:47:49.682Z] Removing intermediate container bb982765a66f [2021-05-20T01:47:49.682Z] ---> 917be3a2bcfa [2021-05-20T01:47:49.682Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T01:47:49.959Z] ---> Running in ab4b289f6c75 [2021-05-20T01:47:52.581Z] Removing intermediate container ab4b289f6c75 [2021-05-20T01:47:52.581Z] ---> dc0e5cf2f850 [2021-05-20T01:47:52.581Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T01:47:52.581Z] ---> Running in f96baa1aa73b [2021-05-20T01:47:53.562Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T01:47:54.994Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T01:47:55.587Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T01:47:55.587Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T01:47:55.866Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T01:47:55.866Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T01:47:55.866Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T01:47:56.139Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T01:47:56.139Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T01:47:56.412Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T01:47:56.685Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T01:47:56.685Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T01:47:56.685Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T01:47:56.957Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T01:47:56.957Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T01:47:56.957Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T01:47:57.231Z] OK: 145 MiB in 53 packages [2021-05-20T01:47:58.667Z] Removing intermediate container f96baa1aa73b [2021-05-20T01:47:58.667Z] ---> a292525041db [2021-05-20T01:47:58.667Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-20T01:47:58.667Z] ---> Running in 2b77ada0aac6 [2021-05-20T01:47:59.265Z] Removing intermediate container 2b77ada0aac6 [2021-05-20T01:47:59.265Z] ---> 05595fa8db86 [2021-05-20T01:47:59.265Z] Step 9/10 : COPY . . [2021-05-20T01:48:00.245Z] ---> 7348d1dc2fb7 [2021-05-20T01:48:00.245Z] Step 10/10 : RUN go mod download [2021-05-20T01:48:00.519Z] ---> Running in afacb07bef42 [2021-05-20T01:48:32.890Z] Removing intermediate container afacb07bef42 [2021-05-20T01:48:32.890Z] ---> 46847b79acc1 [2021-05-20T01:48:32.890Z] Successfully built 46847b79acc1 [2021-05-20T01:48:32.890Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:48:33.237Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T01:48:33.237Z] . [Pipeline] withDockerContainer [2021-05-20T01:48:33.453Z] prd-ubuntu18.04-docker-arm64-4c-16g-15232 does not seem to be running inside a container [2021-05-20T01:48:33.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T01:48:34.958Z] $ docker top 679515400d3a7938eaf2a595300f4f57bd889ee4ab10662ca85f4f0f7e742982 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T01:48:35.904Z] + go version [2021-05-20T01:48:35.904Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T01:48:35.923Z] $ docker stop --time=1 679515400d3a7938eaf2a595300f4f57bd889ee4ab10662ca85f4f0f7e742982 [2021-05-20T01:48:37.680Z] $ docker rm -f 679515400d3a7938eaf2a595300f4f57bd889ee4ab10662ca85f4f0f7e742982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:48:38.506Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T01:48:38.506Z] . [Pipeline] withDockerContainer [2021-05-20T01:48:38.733Z] prd-ubuntu18.04-docker-arm64-4c-16g-15232 does not seem to be running inside a container [2021-05-20T01:48:38.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T01:48:40.281Z] $ docker top af28adaacd88276be7961e21c6bf43803bd7d88dcd30b953df767f7a949eb033 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T01:48:41.213Z] + go mod tidy [Pipeline] sh [2021-05-20T01:48:42.495Z] + make test [2021-05-20T01:48:42.495Z] go mod tidy [2021-05-20T01:48:42.767Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T01:48:44.211Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-20T01:48:57.777Z] Running on prd-centos7-docker-4c-2g-15235 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws [2021-05-20T01:48:57.796Z] Running in /w/workspace/device-snmp-go/12 [Pipeline] { [Pipeline] checkout [2021-05-20T01:48:57.918Z] Selected Git installation does not exist. Using Default [2021-05-20T01:48:57.918Z] The recommended git tool is: NONE [2021-05-20T01:49:00.182Z] using credential edgex-jenkins-ssh [2021-05-20T01:49:00.199Z] Cloning the remote Git repository [2021-05-20T01:49:00.230Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T01:49:00.334Z] > git init /w/workspace/device-snmp-go/12 # timeout=10 [2021-05-20T01:49:00.364Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T01:49:00.364Z] > git --version # timeout=10 [2021-05-20T01:49:00.368Z] > git --version # 'git version 2.24.4' [2021-05-20T01:49:00.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T01:49:00.420Z] [INFO] Currently running in a labeled security context [2021-05-20T01:49:00.420Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T01:49:00.420Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/12@tmp/jenkins-gitclient-ssh5392969937048146778.key [2021-05-20T01:49:00.434Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T01:49:00.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T01:49:00.930Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T01:49:00.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-20T01:49:00.956Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-20T01:49:00.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T01:49:00.956Z] [INFO] Currently running in a labeled security context [2021-05-20T01:49:00.957Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T01:49:00.957Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/12@tmp/jenkins-gitclient-ssh4211881045734525523.key [2021-05-20T01:49:00.964Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T01:49:01.892Z] Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 1279fd2c208b2b7c25e6395e62580f943264114b [2021-05-20T01:49:01.984Z] Merge succeeded, producing 1279fd2c208b2b7c25e6395e62580f943264114b [2021-05-20T01:49:01.985Z] Checking out Revision 1279fd2c208b2b7c25e6395e62580f943264114b (PR-93) [2021-05-20T01:49:01.897Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T01:49:01.903Z] > git checkout -f 1279fd2c208b2b7c25e6395e62580f943264114b # timeout=10 [2021-05-20T01:49:01.934Z] > git remote # timeout=10 [2021-05-20T01:49:01.939Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T01:49:01.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T01:49:01.952Z] [INFO] Currently running in a labeled security context [2021-05-20T01:49:01.952Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T01:49:01.952Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/12@tmp/jenkins-gitclient-ssh4843550814087503795.key [2021-05-20T01:49:01.961Z] > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 [2021-05-20T01:49:01.970Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T01:49:01.985Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T01:49:01.990Z] > git checkout -f 1279fd2c208b2b7c25e6395e62580f943264114b # timeout=10 [2021-05-20T01:49:05.517Z] Commit message: "refactor: update for new service key name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T01:49:06.563Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T01:49:06.899Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T01:49:07.195Z] + true [2021-05-20T01:49:07.195Z] + sudo service docker restart [2021-05-20T01:49:07.195Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T01:49:25.377Z] provisioning config files... [2021-05-20T01:49:25.395Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/12@tmp/config8778176115508964689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:49:25.752Z] ---> docker-login.sh [2021-05-20T01:49:25.752Z] nexus3.edgexfoundry.org:10001 [2021-05-20T01:49:26.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:49:26.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:49:26.330Z] Configure a credential helper to remove this warning. See [2021-05-20T01:49:26.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:49:26.330Z] [2021-05-20T01:49:26.330Z] Login Succeeded [2021-05-20T01:49:26.330Z] nexus3.edgexfoundry.org:10002 [2021-05-20T01:49:26.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:49:26.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:49:26.596Z] Configure a credential helper to remove this warning. See [2021-05-20T01:49:26.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:49:26.596Z] [2021-05-20T01:49:26.596Z] Login Succeeded [2021-05-20T01:49:26.596Z] nexus3.edgexfoundry.org:10003 [2021-05-20T01:49:26.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:49:26.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:49:26.596Z] Configure a credential helper to remove this warning. See [2021-05-20T01:49:26.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:49:26.596Z] [2021-05-20T01:49:26.596Z] Login Succeeded [2021-05-20T01:49:26.596Z] nexus3.edgexfoundry.org:10004 [2021-05-20T01:49:26.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:49:26.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:49:26.862Z] Configure a credential helper to remove this warning. See [2021-05-20T01:49:26.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:49:26.862Z] [2021-05-20T01:49:26.862Z] Login Succeeded [2021-05-20T01:49:26.862Z] docker.io [2021-05-20T01:49:26.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T01:49:27.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T01:49:27.122Z] Configure a credential helper to remove this warning. See [2021-05-20T01:49:27.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T01:49:27.122Z] [2021-05-20T01:49:27.122Z] Login Succeeded [2021-05-20T01:49:27.122Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T01:49:27.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T01:49:27.309Z] ========================================================= [2021-05-20T01:49:27.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T01:49:27.309Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:49:27.619Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-20T01:49:27.619Z] Sending build context to Docker daemon 393.7kB [2021-05-20T01:49:27.619Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T01:49:27.619Z] Step 2/10 : FROM ${BASE} [2021-05-20T01:49:27.882Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T01:49:27.882Z] 540db60ca938: Pulling fs layer [2021-05-20T01:49:27.882Z] adcc1eea9eea: Pulling fs layer [2021-05-20T01:49:27.882Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T01:49:27.882Z] 0510c868ecb4: Pulling fs layer [2021-05-20T01:49:27.882Z] afea3b2eda06: Pulling fs layer [2021-05-20T01:49:27.882Z] 7809a108b3ef: Pulling fs layer [2021-05-20T01:49:27.882Z] f706445af74f: Pulling fs layer [2021-05-20T01:49:27.882Z] afea3b2eda06: Waiting [2021-05-20T01:49:27.882Z] 7809a108b3ef: Waiting [2021-05-20T01:49:27.882Z] f706445af74f: Waiting [2021-05-20T01:49:27.882Z] 0510c868ecb4: Waiting [2021-05-20T01:49:27.882Z] 4c4ab2625f07: Download complete [2021-05-20T01:49:27.882Z] adcc1eea9eea: Verifying Checksum [2021-05-20T01:49:27.882Z] adcc1eea9eea: Download complete [2021-05-20T01:49:27.882Z] afea3b2eda06: Verifying Checksum [2021-05-20T01:49:27.882Z] afea3b2eda06: Download complete [2021-05-20T01:49:27.882Z] 540db60ca938: Verifying Checksum [2021-05-20T01:49:27.882Z] 540db60ca938: Download complete [2021-05-20T01:49:27.882Z] 7809a108b3ef: Verifying Checksum [2021-05-20T01:49:27.882Z] 7809a108b3ef: Download complete [2021-05-20T01:49:28.147Z] 540db60ca938: Pull complete [2021-05-20T01:49:28.147Z] adcc1eea9eea: Pull complete [2021-05-20T01:49:28.408Z] 4c4ab2625f07: Pull complete [2021-05-20T01:49:29.805Z] f706445af74f: Verifying Checksum [2021-05-20T01:49:29.805Z] f706445af74f: Download complete [2021-05-20T01:49:30.379Z] 0510c868ecb4: Verifying Checksum [2021-05-20T01:49:30.379Z] 0510c868ecb4: Download complete [2021-05-20T01:49:31.258Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-20T01:49:31.258Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements [2021-05-20T01:49:31.541Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T01:49:33.715Z] 0510c868ecb4: Pull complete [2021-05-20T01:49:33.715Z] afea3b2eda06: Pull complete [2021-05-20T01:49:33.977Z] 7809a108b3ef: Pull complete [2021-05-20T01:49:35.386Z] f706445af74f: Pull complete [2021-05-20T01:49:35.386Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T01:49:35.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T01:49:35.386Z] ---> b068be0155e3 [2021-05-20T01:49:35.386Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T01:49:41.994Z] ---> Running in dbc9f53072a7 [2021-05-20T01:49:41.994Z] Removing intermediate container dbc9f53072a7 [2021-05-20T01:49:41.994Z] ---> ee9e1c1ac6a8 [2021-05-20T01:49:41.994Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T01:49:41.994Z] ---> Running in 28dbbc193c8e [2021-05-20T01:49:41.994Z] Removing intermediate container 28dbbc193c8e [2021-05-20T01:49:41.994Z] ---> c5c3c2df11b2 [2021-05-20T01:49:41.994Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-20T01:49:41.994Z] ---> Running in 711b4c6183f4 [2021-05-20T01:49:41.994Z] Removing intermediate container 711b4c6183f4 [2021-05-20T01:49:41.994Z] ---> e3da929cd0b3 [2021-05-20T01:49:41.994Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T01:49:41.994Z] ---> Running in fe676abec02d [2021-05-20T01:49:42.263Z] Removing intermediate container fe676abec02d [2021-05-20T01:49:42.263Z] ---> dc67275a53da [2021-05-20T01:49:42.263Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T01:49:42.263Z] ---> Running in 38f79e5e62ab [2021-05-20T01:49:42.527Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T01:49:43.468Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T01:49:43.728Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-20T01:49:43.728Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-20T01:49:43.989Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-20T01:49:43.989Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-20T01:49:44.249Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T01:49:44.249Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-20T01:49:44.249Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-20T01:49:44.510Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-20T01:49:44.770Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-20T01:49:44.770Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-20T01:49:44.770Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-20T01:49:45.033Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-20T01:49:45.033Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-20T01:49:45.033Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T01:49:45.303Z] OK: 156 MiB in 53 packages [2021-05-20T01:49:45.563Z] Removing intermediate container 38f79e5e62ab [2021-05-20T01:49:45.563Z] ---> a1494325e000 [2021-05-20T01:49:45.563Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-20T01:49:45.563Z] ---> Running in 56caca001e3b [2021-05-20T01:49:45.826Z] Removing intermediate container 56caca001e3b [2021-05-20T01:49:45.826Z] ---> d564bc3797bc [2021-05-20T01:49:45.826Z] Step 9/10 : COPY . . [2021-05-20T01:49:46.087Z] ---> 8a1106a57c5e [2021-05-20T01:49:46.087Z] Step 10/10 : RUN go mod download [2021-05-20T01:49:46.348Z] ---> Running in 7cb22cfcd405 [2021-05-20T01:49:58.351Z] gofmt -l . [2021-05-20T01:49:58.351Z] [ "`gofmt -l .`" = "" ] [2021-05-20T01:49:58.351Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T01:49:58.366Z] $ docker stop --time=1 af28adaacd88276be7961e21c6bf43803bd7d88dcd30b953df767f7a949eb033 [2021-05-20T01:49:58.617Z] Removing intermediate container 7cb22cfcd405 [2021-05-20T01:49:58.618Z] ---> f7e26d719325 [2021-05-20T01:49:58.618Z] Successfully built f7e26d719325 [2021-05-20T01:49:58.618Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-20T01:50:00.459Z] $ docker rm -f af28adaacd88276be7961e21c6bf43803bd7d88dcd30b953df767f7a949eb033 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:50:01.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T01:50:01.365Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T01:50:01.365Z] . [Pipeline] withDockerContainer [2021-05-20T01:50:01.455Z] prd-centos7-docker-4c-2g-15235 does not seem to be running inside a container [2021-05-20T01:50:01.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T01:50:01.970Z] Stashed 1 file(s) [2021-05-20T01:50:02.348Z] $ docker top 83155fe56ea9bfff7752d67f8814de32adf8c0984656f10cff88d86bc762086e -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-05-20T01:50:02.748Z] + go version [2021-05-20T01:50:02.748Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T01:50:04.864Z] $ docker stop --time=1 83155fe56ea9bfff7752d67f8814de32adf8c0984656f10cff88d86bc762086e [2021-05-20T01:50:06.067Z] $ docker rm -f 83155fe56ea9bfff7752d67f8814de32adf8c0984656f10cff88d86bc762086e [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:50:06.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T01:50:06.686Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T01:50:06.686Z] . [Pipeline] withDockerContainer [2021-05-20T01:50:06.769Z] prd-centos7-docker-4c-2g-15235 does not seem to be running inside a container [2021-05-20T01:50:06.813Z] + ls -al . [2021-05-20T01:50:06.813Z] total 128 [2021-05-20T01:50:06.813Z] drwxrwxr-x 7 jenkins jenkins 4096 May 20 01:49 . [2021-05-20T01:50:06.813Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:46 .. [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 6 May 20 01:46 .dockerignore [2021-05-20T01:50:06.813Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 01:47 .git [2021-05-20T01:50:06.813Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:46 .github [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 272 May 20 01:46 .gitignore [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 20 01:46 Attribution.txt [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 20 01:46 Dockerfile [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 20 01:46 Dockerfile.build [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 656 May 20 01:46 Jenkinsfile [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 20 01:46 LICENSE [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 936 May 20 01:46 Makefile [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 20 01:46 README.md [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 01:46 VERSION [2021-05-20T01:50:06.813Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:46 bin [2021-05-20T01:50:06.813Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:46 cmd [2021-05-20T01:50:06.813Z] -rw-r--r-- 1 jenkins jenkins 7631 May 20 01:49 coverage.out [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 222 May 20 01:46 go.mod [2021-05-20T01:50:06.813Z] -rw-r--r-- 1 jenkins jenkins 21438 May 20 01:48 go.sum [2021-05-20T01:50:06.813Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:46 internal [2021-05-20T01:50:06.813Z] -rw-rw-r-- 1 jenkins jenkins 209 May 20 01:46 version.go [2021-05-20T01:50:06.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T01:50:07.194Z] $ docker top f51823b64bafa89e6a6b30aac693b854c1e69072ded3d8569bca77c2d953284c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:50:07.591Z] + go mod tidy [2021-05-20T01:50:07.670Z] + 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=1279fd2c208b2b7c25e6395e62580f943264114b --label arch=arm64 --label version=0.0.0 . [Pipeline] sh [2021-05-20T01:50:07.945Z] Sending build context to Docker daemon 400.9kB [2021-05-20T01:50:08.153Z] + make test [2021-05-20T01:50:08.153Z] go mod tidy [2021-05-20T01:50:08.153Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-20T01:50:08.216Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T01:50:08.216Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-20T01:50:08.216Z] ---> 46847b79acc1 [2021-05-20T01:50:08.216Z] Step 3/24 : ARG MAKE='make build' [2021-05-20T01:50:08.488Z] ---> Running in f5e58cab8bd3 [2021-05-20T01:50:08.734Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-20T01:50:08.763Z] Removing intermediate container f5e58cab8bd3 [2021-05-20T01:50:08.763Z] ---> 8d514d53bf60 [2021-05-20T01:50:08.763Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T01:50:09.037Z] ---> Running in ca146415071a [2021-05-20T01:50:09.635Z] Removing intermediate container ca146415071a [2021-05-20T01:50:09.635Z] ---> 18023dc8be8d [2021-05-20T01:50:09.635Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T01:50:09.635Z] ---> Running in ab593ae6c870 [2021-05-20T01:50:10.228Z] Removing intermediate container ab593ae6c870 [2021-05-20T01:50:10.228Z] ---> 74049adb88cd [2021-05-20T01:50:10.228Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T01:50:10.228Z] ---> Running in 4dad66cdaeac [2021-05-20T01:50:12.198Z] Removing intermediate container 4dad66cdaeac [2021-05-20T01:50:12.198Z] ---> 895723dbdd05 [2021-05-20T01:50:12.198Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T01:50:12.472Z] ---> Running in d438aeff76ff [2021-05-20T01:50:13.922Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T01:50:14.519Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T01:50:15.532Z] OK: 145 MiB in 53 packages [2021-05-20T01:50:16.507Z] Removing intermediate container d438aeff76ff [2021-05-20T01:50:16.507Z] ---> c2052dffd10f [2021-05-20T01:50:16.507Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-20T01:50:16.507Z] ---> Running in 849c8782a6e8 [2021-05-20T01:50:17.110Z] Removing intermediate container 849c8782a6e8 [2021-05-20T01:50:17.110Z] ---> 8c8e8a244dac [2021-05-20T01:50:17.110Z] Step 9/24 : COPY . . [2021-05-20T01:50:18.557Z] ---> c6e30e044669 [2021-05-20T01:50:18.557Z] Step 10/24 : RUN go mod tidy [2021-05-20T01:50:18.557Z] ---> Running in 10160accf335 [2021-05-20T01:50:21.176Z] Removing intermediate container 10160accf335 [2021-05-20T01:50:21.176Z] ---> 098adc251324 [2021-05-20T01:50:21.176Z] Step 11/24 : RUN make update [2021-05-20T01:50:21.176Z] ---> Running in 2a012f5dd25e [2021-05-20T01:50:22.154Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T01:50:23.606Z] Removing intermediate container 2a012f5dd25e [2021-05-20T01:50:23.606Z] ---> ea8872ed5963 [2021-05-20T01:50:23.606Z] Step 12/24 : RUN ${MAKE} [2021-05-20T01:50:23.606Z] ---> Running in cc4adf7deaf5 [2021-05-20T01:50:23.711Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-20T01:50:23.711Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements [2021-05-20T01:50:23.711Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T01:50:24.586Z] go mod tidy [2021-05-20T01:50:25.188Z] 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-05-20T01:50:29.048Z] gofmt -l . [2021-05-20T01:50:29.048Z] [ "`gofmt -l .`" = "" ] [2021-05-20T01:50:29.048Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T01:50:29.633Z] $ docker stop --time=1 f51823b64bafa89e6a6b30aac693b854c1e69072ded3d8569bca77c2d953284c [2021-05-20T01:50:31.125Z] $ docker rm -f f51823b64bafa89e6a6b30aac693b854c1e69072ded3d8569bca77c2d953284c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T01:50:31.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T01:50:31.564Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T01:50:31.724Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-20T01:50:32.195Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T01:50:32.503Z] + ls -al . [2021-05-20T01:50:32.503Z] total 104 [2021-05-20T01:50:32.503Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 20 01:50 . [2021-05-20T01:50:32.503Z] drwxrwxr-x. 4 jenkins jenkins 30 May 20 01:49 .. [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 20 01:49 Attribution.txt [2021-05-20T01:50:32.503Z] drwxrwxr-x. 2 jenkins jenkins 60 May 20 01:49 bin [2021-05-20T01:50:32.503Z] drwxrwxr-x. 3 jenkins jenkins 32 May 20 01:49 cmd [2021-05-20T01:50:32.503Z] -rw-r--r--. 1 jenkins jenkins 7631 May 20 01:50 coverage.out [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 20 01:49 Dockerfile [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 20 01:49 Dockerfile.build [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 6 May 20 01:49 .dockerignore [2021-05-20T01:50:32.503Z] drwxrwxr-x. 8 jenkins jenkins 179 May 20 01:49 .git [2021-05-20T01:50:32.503Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 01:49 .github [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 272 May 20 01:49 .gitignore [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 222 May 20 01:49 go.mod [2021-05-20T01:50:32.503Z] -rw-r--r--. 1 jenkins jenkins 21438 May 20 01:50 go.sum [2021-05-20T01:50:32.503Z] drwxrwxr-x. 3 jenkins jenkins 20 May 20 01:49 internal [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 656 May 20 01:49 Jenkinsfile [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 20 01:49 LICENSE [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 936 May 20 01:49 Makefile [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 20 01:49 README.md [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 5 May 20 01:46 VERSION [2021-05-20T01:50:32.503Z] -rw-rw-r--. 1 jenkins jenkins 209 May 20 01:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:50:32.808Z] + 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=1279fd2c208b2b7c25e6395e62580f943264114b --label arch=amd64 --label version=0.0.0 . [2021-05-20T01:50:32.808Z] Sending build context to Docker daemon 401.9kB [2021-05-20T01:50:32.808Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T01:50:32.808Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-20T01:50:32.808Z] ---> f7e26d719325 [2021-05-20T01:50:32.808Z] Step 3/24 : ARG MAKE='make build' [2021-05-20T01:50:32.808Z] ---> Running in dfdfba96c5f7 [2021-05-20T01:50:33.069Z] Removing intermediate container dfdfba96c5f7 [2021-05-20T01:50:33.069Z] ---> 34c347b35edc [2021-05-20T01:50:33.069Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T01:50:33.069Z] ---> Running in 6af880034e76 [2021-05-20T01:50:33.069Z] Removing intermediate container 6af880034e76 [2021-05-20T01:50:33.069Z] ---> 3f88cefa1830 [2021-05-20T01:50:33.069Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T01:50:33.069Z] ---> Running in cfc25193cea4 [2021-05-20T01:50:33.069Z] Removing intermediate container cfc25193cea4 [2021-05-20T01:50:33.069Z] ---> ccbcd1020b53 [2021-05-20T01:50:33.069Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T01:50:33.069Z] ---> Running in e4ca930a3f6d [2021-05-20T01:50:33.645Z] Removing intermediate container e4ca930a3f6d [2021-05-20T01:50:33.645Z] ---> ce6871a3a74a [2021-05-20T01:50:33.645Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T01:50:33.645Z] ---> Running in 06f4a531b285 [2021-05-20T01:50:33.906Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T01:50:34.847Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T01:50:35.112Z] OK: 156 MiB in 53 packages [2021-05-20T01:50:35.385Z] Removing intermediate container 06f4a531b285 [2021-05-20T01:50:35.385Z] ---> 3e0248b830f2 [2021-05-20T01:50:35.385Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-20T01:50:35.385Z] ---> Running in 9b41c53daaa9 [2021-05-20T01:50:35.645Z] Removing intermediate container 9b41c53daaa9 [2021-05-20T01:50:35.645Z] ---> 6046bd5728f9 [2021-05-20T01:50:35.645Z] Step 9/24 : COPY . . [2021-05-20T01:50:35.908Z] ---> 89a168244b3e [2021-05-20T01:50:35.909Z] Step 10/24 : RUN go mod tidy [2021-05-20T01:50:35.909Z] ---> Running in 5202df36a59e [2021-05-20T01:50:36.483Z] Removing intermediate container 5202df36a59e [2021-05-20T01:50:36.483Z] ---> de954976172c [2021-05-20T01:50:36.483Z] Step 11/24 : RUN make update [2021-05-20T01:50:36.483Z] ---> Running in 7aa4422132d3 [2021-05-20T01:50:36.747Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T01:50:37.016Z] Removing intermediate container 7aa4422132d3 [2021-05-20T01:50:37.016Z] ---> 3d8273161740 [2021-05-20T01:50:37.016Z] Step 12/24 : RUN ${MAKE} [2021-05-20T01:50:37.016Z] ---> Running in a7c7fd11eadb [2021-05-20T01:50:37.285Z] go mod tidy [2021-05-20T01:50:37.558Z] 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-05-20T01:50:49.926Z] Removing intermediate container a7c7fd11eadb [2021-05-20T01:50:49.926Z] ---> 9a440a41e05f [2021-05-20T01:50:49.926Z] Step 13/24 : FROM alpine:3.12 [2021-05-20T01:50:49.926Z] 3.12: Pulling from library/alpine [2021-05-20T01:50:49.926Z] 339de151aab4: Pulling fs layer [2021-05-20T01:50:49.926Z] 339de151aab4: Verifying Checksum [2021-05-20T01:50:49.926Z] 339de151aab4: Download complete [2021-05-20T01:50:49.926Z] 339de151aab4: Pull complete [2021-05-20T01:50:49.926Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T01:50:49.926Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T01:50:49.926Z] ---> 13621d1b12d4 [2021-05-20T01:50:49.926Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T01:50:49.926Z] ---> Running in 8c491f805bc2 [2021-05-20T01:50:49.926Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T01:50:50.188Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T01:50:50.188Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T01:50:50.188Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T01:50:50.188Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T01:50:50.188Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T01:50:50.188Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T01:50:50.188Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T01:50:50.188Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T01:50:50.188Z] OK: 8 MiB in 20 packages [2021-05-20T01:50:50.453Z] Removing intermediate container 8c491f805bc2 [2021-05-20T01:50:50.453Z] ---> 907c071b04a7 [2021-05-20T01:50:50.453Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-20T01:50:51.029Z] ---> 210554018cbc [2021-05-20T01:50:51.029Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-20T01:50:51.029Z] ---> f153866598d9 [2021-05-20T01:50:51.029Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-20T01:50:51.296Z] ---> aac62c0d0e1c [2021-05-20T01:50:51.296Z] Step 18/24 : EXPOSE 49993 [2021-05-20T01:50:51.296Z] ---> Running in e685d0f4339e [2021-05-20T01:50:51.296Z] Removing intermediate container e685d0f4339e [2021-05-20T01:50:51.296Z] ---> c01c7c0ce194 [2021-05-20T01:50:51.296Z] Step 19/24 : EXPOSE 161 [2021-05-20T01:50:51.296Z] ---> Running in fe26fa896f6a [2021-05-20T01:50:51.557Z] Removing intermediate container fe26fa896f6a [2021-05-20T01:50:51.557Z] ---> ba8519a99669 [2021-05-20T01:50:51.557Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-20T01:50:51.557Z] ---> Running in 3c842f3a1e56 [2021-05-20T01:50:51.557Z] Removing intermediate container 3c842f3a1e56 [2021-05-20T01:50:51.557Z] ---> 3b1667a87582 [2021-05-20T01:50:51.557Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T01:50:51.557Z] ---> Running in fbbb7fc9f01a [2021-05-20T01:50:51.823Z] Removing intermediate container fbbb7fc9f01a [2021-05-20T01:50:51.823Z] ---> 8a2a37efd6d5 [2021-05-20T01:50:51.823Z] Step 22/24 : LABEL arch=amd64 [2021-05-20T01:50:51.823Z] ---> Running in 64805397c80b [2021-05-20T01:50:51.823Z] Removing intermediate container 64805397c80b [2021-05-20T01:50:51.823Z] ---> 28ad21fa5bf5 [2021-05-20T01:50:51.823Z] Step 23/24 : LABEL git_sha=1279fd2c208b2b7c25e6395e62580f943264114b [2021-05-20T01:50:51.823Z] ---> Running in e6afbf7d05f8 [2021-05-20T01:50:51.823Z] Removing intermediate container e6afbf7d05f8 [2021-05-20T01:50:51.823Z] ---> 89d938b74f6c [2021-05-20T01:50:51.823Z] Step 24/24 : LABEL version=0.0.0 [2021-05-20T01:50:51.823Z] ---> Running in c5dcc50900dd [2021-05-20T01:50:52.091Z] Removing intermediate container c5dcc50900dd [2021-05-20T01:50:52.091Z] ---> af6eae2da257 [2021-05-20T01:50:52.091Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T01:50:52.091Z] Successfully built af6eae2da257 [2021-05-20T01:50:52.091Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:50:52.959Z] ---> job-cost.sh [2021-05-20T01:50:52.959Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-X4i2 [2021-05-20T01:51:02.989Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T01:51:04.223Z] Removing intermediate container cc4adf7deaf5 [2021-05-20T01:51:04.223Z] ---> 28c5b272d4dd [2021-05-20T01:51:04.223Z] Step 13/24 : FROM alpine:3.12 [2021-05-20T01:51:04.223Z] 3.12: Pulling from library/alpine [2021-05-20T01:51:04.223Z] d2f70382dc9a: Pulling fs layer [2021-05-20T01:51:04.223Z] d2f70382dc9a: Download complete [2021-05-20T01:51:04.223Z] d2f70382dc9a: Pull complete [2021-05-20T01:51:04.223Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T01:51:04.223Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T01:51:04.223Z] ---> 9852663dfa18 [2021-05-20T01:51:04.223Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T01:51:04.223Z] ---> Running in 9e1d94ad6f6b [2021-05-20T01:51:04.223Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T01:51:04.223Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T01:51:04.223Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T01:51:04.223Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T01:51:04.223Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T01:51:04.223Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T01:51:04.494Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T01:51:04.494Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T01:51:04.494Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T01:51:04.494Z] OK: 8 MiB in 20 packages [2021-05-20T01:51:05.472Z] Removing intermediate container 9e1d94ad6f6b [2021-05-20T01:51:05.472Z] ---> a6203107c196 [2021-05-20T01:51:05.472Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-20T01:51:06.909Z] ---> 67f2c7907818 [2021-05-20T01:51:06.910Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-20T01:51:07.506Z] ---> 08f0c78c8ac8 [2021-05-20T01:51:07.506Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-20T01:51:08.099Z] ---> 49d0282b20fd [2021-05-20T01:51:08.099Z] Step 18/24 : EXPOSE 49993 [2021-05-20T01:51:08.391Z] ---> Running in 974492413d4a [2021-05-20T01:51:08.659Z] Removing intermediate container 974492413d4a [2021-05-20T01:51:08.659Z] ---> 94207cef1498 [2021-05-20T01:51:08.660Z] Step 19/24 : EXPOSE 161 [2021-05-20T01:51:08.930Z] ---> Running in e7a5c1434840 [2021-05-20T01:51:09.202Z] Removing intermediate container e7a5c1434840 [2021-05-20T01:51:09.202Z] ---> 5cd5d427a17f [2021-05-20T01:51:09.202Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-20T01:51:09.473Z] ---> Running in 12057e7b764f [2021-05-20T01:51:10.067Z] Removing intermediate container 12057e7b764f [2021-05-20T01:51:10.067Z] ---> 5a80bdb5921e [2021-05-20T01:51:10.067Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T01:51:10.067Z] ---> Running in 21d6d9c8fa01 [2021-05-20T01:51:10.661Z] Removing intermediate container 21d6d9c8fa01 [2021-05-20T01:51:10.661Z] ---> b3d28e4719dd [2021-05-20T01:51:10.661Z] Step 22/24 : LABEL arch=arm64 [2021-05-20T01:51:10.661Z] ---> Running in b18862063520 [2021-05-20T01:51:11.256Z] Removing intermediate container b18862063520 [2021-05-20T01:51:11.256Z] ---> 452daff95969 [2021-05-20T01:51:11.256Z] Step 23/24 : LABEL git_sha=1279fd2c208b2b7c25e6395e62580f943264114b [2021-05-20T01:51:11.256Z] ---> Running in 99e042631cf2 [2021-05-20T01:51:11.848Z] Removing intermediate container 99e042631cf2 [2021-05-20T01:51:11.848Z] ---> 72031b866586 [2021-05-20T01:51:11.848Z] Step 24/24 : LABEL version=0.0.0 [2021-05-20T01:51:12.119Z] ---> Running in b8cc0b9d054d [2021-05-20T01:51:12.712Z] Removing intermediate container b8cc0b9d054d [2021-05-20T01:51:12.712Z] ---> ca18798fab3a [2021-05-20T01:51:12.712Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T01:51:12.712Z] Successfully built ca18798fab3a [2021-05-20T01:51:12.712Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:51:13.276Z] ---> job-cost.sh [2021-05-20T01:51:13.277Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lNk2 [2021-05-20T01:51:15.255Z] lf-activate-venv(): INFO: Adding /tmp/venv-X4i2/bin to PATH [2021-05-20T01:51:15.255Z] INFO: No Stack... [2021-05-20T01:51:15.827Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T01:51:16.398Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T01:51:16.701Z] + cat /w/workspace/device-snmp-go/12/archives/cost.csv [2021-05-20T01:51:16.701Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T01:51:16.734Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-12-stack-cost] [2021-05-20T01:51:16.745Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-12-stack-cost] did not exist. Created. [2021-05-20T01:51:16.745Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T01:51:17.074Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T01:51:17.141Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T01:51:17.154Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-12-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-20T01:51:52.269Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T01:53:13.989Z] lf-activate-venv(): INFO: Adding /tmp/venv-lNk2/bin to PATH [2021-05-20T01:53:13.989Z] INFO: No Stack... [2021-05-20T01:53:13.989Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T01:53:13.989Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T01:53:14.329Z] + cut -d, -f6 [2021-05-20T01:53:14.329Z] + cat /w/workspace/device-snmp-go/12/archives/cost.csv [Pipeline] lock [2021-05-20T01:53:14.389Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-12-stack-cost] [2021-05-20T01:53:14.399Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-12-stack-cost] did not exist. Created. [2021-05-20T01:53:14.399Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T01:53:14.763Z] /w/workspace/device-snmp-go/12@tmp/durable-08c39fb5/script.sh: 1: /w/workspace/device-snmp-go/12@tmp/durable-08c39fb5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T01:53:15.105Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T01:53:15.137Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T01:53:15.271Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T01:53:15.286Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-12-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-20T01:53:16.026Z] provisioning config files... [2021-05-20T01:53:16.035Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config1347923885424911797tmp [Pipeline] { [Pipeline] sh [2021-05-20T01:53:16.372Z] + set +x [2021-05-20T01:53:16.372Z] + curl -s https://codecov.io/bash [2021-05-20T01:53:16.372Z] + bash -s -- [2021-05-20T01:53:16.372Z] [2021-05-20T01:53:16.372Z] _____ _ [2021-05-20T01:53:16.372Z] / ____| | | [2021-05-20T01:53:16.372Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T01:53:16.372Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T01:53:16.372Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T01:53:16.372Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T01:53:16.372Z] Bash-1.0.2 [2021-05-20T01:53:16.372Z] [2021-05-20T01:53:16.372Z] [2021-05-20T01:53:16.372Z] ==> git version 2.24.4 found [2021-05-20T01:53:16.372Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-20T01:53:16.372Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T01:53:16.372Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T01:53:16.372Z] ==> Jenkins CI detected. [2021-05-20T01:53:16.372Z] project root: . [2021-05-20T01:53:16.372Z] --> token set from env [2021-05-20T01:53:16.372Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T01:53:16.372Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T01:53:16.639Z] ==> Python coveragepy not found [2021-05-20T01:53:16.639Z] ==> Searching for coverage reports in: [2021-05-20T01:53:16.639Z] + . [2021-05-20T01:53:16.639Z] -> Found 1 reports [2021-05-20T01:53:16.639Z] ==> Detecting git/mercurial file structure [2021-05-20T01:53:16.639Z] ==> Reading reports [2021-05-20T01:53:16.639Z] + ./coverage.out bytes=7631 [2021-05-20T01:53:16.639Z] ==> Appending adjustments [2021-05-20T01:53:16.639Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T01:53:16.639Z] + Found adjustments [2021-05-20T01:53:16.639Z] ==> Gzipping contents [2021-05-20T01:53:16.639Z] 4.0K /tmp/codecov.gA9jky.gz [2021-05-20T01:53:16.639Z] ==> Uploading reports [2021-05-20T01:53:16.639Z] url: https://codecov.io [2021-05-20T01:53:16.639Z] query: branch=PR-93&commit=1279fd2c208b2b7c25e6395e62580f943264114b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-20T01:53:16.639Z] -> Pinging Codecov [2021-05-20T01:53:16.639Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-93&commit=1279fd2c208b2b7c25e6395e62580f943264114b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= [2021-05-20T01:53:17.214Z] -> Uploading to [2021-05-20T01:53:17.215Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/6C56EA5C29638FB4528AC87E60AF5AE0/1279fd2c208b2b7c25e6395e62580f943264114b/ca4ee5b5-d95c-4aea-8927-8425585bea7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T015316Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=570d600523296d18a8ebe4a2e4030a0b2d9e000a9c1e9f4198e61f0f8f495228 [2021-05-20T01:53:17.215Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T01:53:17.215Z] Dload Upload Total Spent Left Speed [2021-05-20T01:53:17.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 2754 --:--:-- --:--:-- --:--:-- 2750 100 1378 0 0 100 1378 0 2753 --:--:-- --:--:-- --:--:-- 2750 [2021-05-20T01:53:17.476Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/1279fd2c208b2b7c25e6395e62580f943264114b [Pipeline] } [2021-05-20T01:53:17.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:53:18.897Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:53:19.487Z] ---> package-listing.sh [2021-05-20T01:53:19.487Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T01:53:19.487Z] ++ facter osfamily [2021-05-20T01:53:19.751Z] + OS_FAMILY=redhat [2021-05-20T01:53:19.751Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-93 [2021-05-20T01:53:19.751Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T01:53:19.751Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T01:53:19.751Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T01:53:19.751Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T01:53:19.751Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-20T01:53:19.751Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T01:53:19.751Z] + case "${OS_FAMILY}" in [2021-05-20T01:53:19.751Z] + sort [2021-05-20T01:53:19.751Z] + rpm -qa [2021-05-20T01:53:20.325Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T01:53:20.325Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T01:53:20.325Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T01:53:20.325Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' [2021-05-20T01:53:20.325Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [2021-05-20T01:53:20.325Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [Pipeline] echo [2021-05-20T01:53:20.338Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-20T01:53:20.628Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:53:21.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T01:53:21.207Z] [2021-05-20T01:53:21.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T01:53:21.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T01:53:21.526Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T01:53:21.526Z] df20fa9351a1: Pulling fs layer [2021-05-20T01:53:21.526Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T01:53:21.526Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T01:53:21.526Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T01:53:21.526Z] 93b61091891f: Pulling fs layer [2021-05-20T01:53:21.526Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T01:53:21.526Z] 5e14af77c1be: Pulling fs layer [2021-05-20T01:53:21.526Z] 01666e4c0597: Pulling fs layer [2021-05-20T01:53:21.526Z] aa168da1d23b: Pulling fs layer [2021-05-20T01:53:21.526Z] 93b9cdb0e59b: Waiting [2021-05-20T01:53:21.526Z] 5e14af77c1be: Waiting [2021-05-20T01:53:21.526Z] 46f8f816bc3b: Waiting [2021-05-20T01:53:21.526Z] 01666e4c0597: Waiting [2021-05-20T01:53:21.526Z] aa168da1d23b: Waiting [2021-05-20T01:53:21.526Z] 93b61091891f: Waiting [2021-05-20T01:53:21.526Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T01:53:21.526Z] 36b3adc4ff6f: Download complete [2021-05-20T01:53:21.526Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T01:53:21.526Z] 46f8f816bc3b: Download complete [2021-05-20T01:53:21.795Z] df20fa9351a1: Verifying Checksum [2021-05-20T01:53:21.795Z] df20fa9351a1: Download complete [2021-05-20T01:53:21.795Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T01:53:21.795Z] 93b9cdb0e59b: Download complete [2021-05-20T01:53:21.795Z] 93b61091891f: Verifying Checksum [2021-05-20T01:53:21.795Z] 93b61091891f: Download complete [2021-05-20T01:53:21.795Z] 5e14af77c1be: Verifying Checksum [2021-05-20T01:53:21.795Z] 5e14af77c1be: Download complete [2021-05-20T01:53:21.795Z] 01666e4c0597: Verifying Checksum [2021-05-20T01:53:21.795Z] 01666e4c0597: Download complete [2021-05-20T01:53:21.795Z] df20fa9351a1: Pull complete [2021-05-20T01:53:22.061Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T01:53:22.061Z] 8ad3a11d3b57: Download complete [2021-05-20T01:53:22.061Z] 36b3adc4ff6f: Pull complete [2021-05-20T01:53:22.648Z] 8ad3a11d3b57: Pull complete [2021-05-20T01:53:22.648Z] 46f8f816bc3b: Pull complete [2021-05-20T01:53:22.909Z] 93b61091891f: Pull complete [2021-05-20T01:53:23.173Z] 93b9cdb0e59b: Pull complete [2021-05-20T01:53:23.173Z] 5e14af77c1be: Pull complete [2021-05-20T01:53:23.173Z] 01666e4c0597: Pull complete [2021-05-20T01:53:23.746Z] aa168da1d23b: Verifying Checksum [2021-05-20T01:53:23.746Z] aa168da1d23b: Download complete [2021-05-20T01:53:29.089Z] aa168da1d23b: Pull complete [2021-05-20T01:53:29.089Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T01:53:29.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T01:53:29.089Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T01:53:29.171Z] prd-centos7-docker-4c-2g-15233 does not seem to be running inside a container [2021-05-20T01:53:29.213Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-93 -v /w/workspace/dgexfoundry_device-snmp-go_PR-93:/w/workspace/dgexfoundry_device-snmp-go_PR-93:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-20T01:53:31.815Z] $ docker top a314507a2f6f89c5af799dc7fde0d80333ae494f04c3e8dc4f5fbe1008951ca6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T01:53:32.212Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T01:53:32.512Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T01:53:32.811Z] + ls /var/log/sa-host [2021-05-20T01:53:32.811Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T01:53:32.811Z] file_magic: OK [2021-05-20T01:53:32.811Z] HZ: Using current value: 100 [2021-05-20T01:53:32.811Z] file_header: OK [2021-05-20T01:53:32.811Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-20T01:53:32.811Z] Statistics: [2021-05-20T01:53:32.811Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T01:53:32.811Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T01:53:32.811Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T01:53:32.811Z] file_magic: OK [2021-05-20T01:53:32.811Z] HZ: Using current value: 100 [2021-05-20T01:53:32.811Z] file_header: OK [2021-05-20T01:53:32.811Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-20T01:53:32.811Z] Statistics: [2021-05-20T01:53:32.811Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T01:53:32.811Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T01:53:33.442Z] provisioning config files... [2021-05-20T01:53:33.455Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config4604274171929660239tmp [Pipeline] { [Pipeline] echo [2021-05-20T01:53:33.478Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:53:33.781Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T01:53:33.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T01:53:33.818Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:53:34.124Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T01:53:34.135Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:53:34.445Z] ---> sudo-logs.sh [2021-05-20T01:53:34.445Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T01:53:34.480Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:53:34.779Z] ---> job-cost.sh [2021-05-20T01:53:34.780Z] lf-activate-venv: SKIPPING [2021-05-20T01:53:34.780Z] DEBUG: total: 0.18000000715255737 [2021-05-20T01:53:34.780Z] INFO: Retrieving Stack Cost... [2021-05-20T01:53:35.356Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T01:53:35.928Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T01:53:35.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T01:53:36.252Z] ---> logs-deploy.sh [2021-05-20T01:53:36.252Z] lf-activate-venv: SKIPPING [2021-05-20T01:53:36.252Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-93/12 [2021-05-20T01:53:36.252Z] INFO: archiving workspace using pattern(s): [2021-05-20T01:53:37.210Z] Archives upload complete. [2021-05-20T01:53:37.210Z] INFO: archiving logs to Nexus